-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.checkov.yaml
More file actions
42 lines (38 loc) · 1.31 KB
/
.checkov.yaml
File metadata and controls
42 lines (38 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Checkov Configuration
# Security scanning configuration with documented exemptions
# Directories to skip
skip-path:
- cdk.out
- .venv
- lambda/kubectl-applier-simple-build
- lambda/helm-installer-build
- htmlcov
- .mypy_cache
- .pytest_cache
- .ruff_cache
# Example manifests are documentation/templates, not production code
- examples
# dockerfiles/ contains Dockerfiles for K8s services
- dockerfiles
# Frameworks to scan
framework:
- kubernetes
- dockerfile
# Compact output
compact: true
# Skip specific checks globally with justification:
#
# === Dockerfile Checks ===
# CKV_DOCKER_2: HEALTHCHECK not needed for Lambda containers (Lambda manages health)
# or development containers (Dockerfile.dev)
# CKV_DOCKER_3: USER directive not needed for Lambda containers (runs as Lambda runtime user)
# Dockerfile.dev is for local development only
#
# === Kubernetes Checks ===
# Kubernetes check skips for NVIDIA device plugin are defined inline in the manifest
# (lambda/kubectl-applier-simple/manifests/50-nvidia-device-plugin.yaml)
# using checkov:skip comments for better traceability.
skip-check:
# Dockerfile checks
- CKV_DOCKER_2 # HEALTHCHECK - not applicable for Lambda/dev containers
- CKV_DOCKER_3 # USER - Lambda runtime handles user, dev container runs locally