Skip to content
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

fix(flags): use scope flag parser for policy #3429

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Sep 1, 2023

Close: #3428

1. Explain what the PR does

8a96beb fix(flags): use scope flag parser for policy

Make PrepareFilterMapsFromPolicies() use parseScopeFlag() instead of
parsing the scope flag manually.

2. Explain how to test it

sudo ./dist/tracee -p examples/policies

3. Other comments

Make PrepareFilterMapsFromPolicies() use parseScopeFlag() instead of
parsing the scope flag manually.
@geyslan geyslan merged commit 8c56c0e into aquasecurity:main Sep 1, 2023
26 checks passed
@geyslan geyslan deleted the 3428-parse-pol-scope branch September 18, 2023 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: invalid scope option specified (!container), use '--help' for more info
2 participants