-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tracee: signatures-dir accept multiple values #3246
tracee: signatures-dir accept multiple values #3246
Conversation
6d2138b
to
df127df
Compare
24951ca
to
a3d41b5
Compare
a3d41b5
to
ab03daf
Compare
@@ -54,10 +54,15 @@ func main() { | |||
return fmt.Errorf("invalid target specified: %s", strings.ToLower(c.String("rego-runtime-target"))) | |||
} | |||
|
|||
var rulesDir []string | |||
if c.String("rules-dir") != "" { | |||
rulesDir = []string{c.String("rules-dir")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be GetStringArray?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not changing tracee-rules
, only tracee
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1. Explain what the PR does
Fix #3179
2. Explain how to test it
The tracee-rules binary should be working as before:
The unified binary should now support multiple directories:
3. Other comments