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
Skiping CKV2_GHA_1 is not honoured #6216
Comments
Hi @AttilaT thank you for reaching out. skip_check should come under steps. Please the following example: Example:
|
Hi @AttilaT thank you for reaching out. skip_check should come under steps. Please the following example: Example: `on: [push]
` |
It's not a viable solution as that will skip it for all the files being scanned while I only need it for one. Is it selective when the inline skip works and when not, if yes is there any documentation on it? |
Please follow this doc. https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html |
Please allow me to re-iterate as the doc is not helping. I'm scanning a Github workflow yaml file that contains at top level This There are multiple files and only one specific is allowed to use |
Thanks for the details. After internal discussions, we concluded it was a feature request. Feel free to contribute to it. |
Could you share some details to what would need changing? |
Describe the issue
The inline skip
CKV2_GHA_1
is not honoured.Examples
When scanning the below yaml file
Version (please complete the following information):
v3.2.74
The text was updated successfully, but these errors were encountered: