Skip to content

Commit 3ffc9cf

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

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

.checkov.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
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
1+
# Checkov configuration
2+
# Skip scanning dependency directories and cache folders
3+
skip-path:
4+
- node_modules
5+
- .venv
6+
- .cache

0 commit comments

Comments
 (0)