Skip to content

Commit 6ae32ea

Browse files
ci: add .checkov.yaml to ignore node_modules
1 parent 24bad0f commit 6ae32ea

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.checkov.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Checkov config: skip scanning third-party dependency folders
2+
# This prevents Checkov from analyzing files under node_modules and similar
3+
# which often include GitHub Actions/workflows belonging to dependencies.
4+
# See: https://www.checkov.io/ for configuration options.
5+
6+
skip_paths:
7+
- "**/node_modules/**"
8+
- "**/.venv/**"
9+
- "**/.cache/**"
10+
# Optionally you can explicitly skip checks (not recommended globally)
11+
# skip_checks:
12+
# - CKV2_GHA_1

0 commit comments

Comments
 (0)