We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--only-policy
Running --only-policy (or --skip-policy) doesn't check if the policy IDs exist, leading to bad UX and misleading output.
--skip-policy
Throw an error if using a policy ID that doesn't exist
Fail silently
Check if policy IDs exist first
curio scan . --only-policy CR-000
curio scan . --skip-policy CR-000
The text was updated successfully, but these errors were encountered:
This also applies to detectors (check the detector exists)
Sorry, something went wrong.
elsapet
Successfully merging a pull request may close this issue.
Description
Running
--only-policy
(or--skip-policy
) doesn't check if the policy IDs exist, leading to bad UX and misleading output.Expected Behavior
Throw an error if using a policy ID that doesn't exist
Actual Behavior
Fail silently
Possible Fix
Check if policy IDs exist first
Steps to Reproduce
curio scan . --only-policy CR-000
curio scan . --skip-policy CR-000
Your Environment
The text was updated successfully, but these errors were encountered: