How to disable all built-in rules in secret scan #6906
-
QuestionIn secret scanning, I would like to scan using only the rules I have written myself and disable all built-in rules TargetContainer Image ScannerSecret Output FormatNone ModeNone Operating SystemLinux Versionv0.45.0 |
Beta Was this translation helpful? Give feedback.
Answered by
nikpivkin
Jun 11, 2024
Replies: 1 comment 1 reply
-
Hi @25vhsxpeuacg7153 ! You can't skip all built-in rules directly, but you can enable only 1 rule with a non-existing id and then Trivy will skip all built-in ones. enable-builtin-rules:
- "skip" /сс @DmitriyLewen |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
25vhsxpeuacg7153
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @25vhsxpeuacg7153 !
You can't skip all built-in rules directly, but you can enable only 1 rule with a non-existing id and then Trivy will skip all built-in ones.
/сс @DmitriyLewen