iac-scanning
/iac-scanning
Skanuje kod infrastruktury jako kod, w tym Kubernetes, Helm i Dockerfile, szuka błędnych konfiguracji i bramkuje pipeline CI.
- Autor
- kaandgnsh ↗
- Repozytorium
- Claude-Blue ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 01.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 4
Brak sygnałów. Repozytorium zmienione 01.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Skanuje kod infrastruktury jako kod, w tym Kubernetes, Helm i Dockerfile, szuka błędnych konfiguracji i bramkuje pipeline CI.
Oryginalny opis (EN)
Scan and review infrastructure-as-code (Terraform, CloudFormation, Bicep/ARM, Kubernetes manifests, Helm, Dockerfiles) for security misconfigurations with Checkov, Trivy config, KICS or tfsec-equivalents, triage findings, write custom policies, and gate pipelines. Use when reviewing IaC pull requests, adding IaC scanning to CI, or preventing cloud misconfigurations before deployment.
Jak działa
- Tools
- High-value checks
- Triage & suppression
- Related skills
- References
Podgląd SKILL.md
--- name: iac-scanning description: Scan and review infrastructure-as-code (Terraform, CloudFormation, Bicep/ARM, Kubernetes manifests, Helm, Dockerfiles) for security misconfigurations with Checkov, Trivy config, KICS or tfsec-equivalents, triage findings, write custom policies, and gate pipelines. Use when reviewing IaC pull requests, adding IaC scanning to CI, or preventing cloud misconfigurations before deployment. license: MIT metadata: category: devsecops version: "2.0.0" verification: documented --- # IaC Scanning ## Tools ```sh checkov -d . --framework terraform,kubernetes,dockerfile --output sarif --output-file-path results/ checkov -f plan.json --framework terraform_plan # scan rendered plan (resolves variables/modules) trivy config --severity HIGH,CRITICAL . # Trivy misconfiguration scanning (tfsec engine merged into Trivy) kics scan -p . -o results/ --report-formats sarif ``` For Terraform, scanning the **plan JSON** (`terraform plan -out tf.plan && terraform show -json tf.plan > plan.json`) catches values hidden behind variables and modules. ## High-value checks Public storage (S3 `block_public_acls`, Azure `allow_blob_public_access`, GCS `uniform_bucket_level_access` + no `allUsers`), security groups/NSGs open to `0.0.0.0/0` on admin ports, encryption at rest/in transit disabled, logging disabled (CloudTrail, flow logs, diagnostic settings), IAM wildcards (`"Action": "*"`, `"Resource": "*"`), public database endpoints, IMDSv1 allowed (`http_tokens = "optional"`), Kubernetes privileged pods/hostPath/root users, secrets in plain text variables. ## Triage & suppression - Validate context: a public bucket for a static website may be intended — suppress inline with justification: - Checkov: `#checkov:skip=CKV_AWS_20:Public website bucket, approved RISK-123` - Trivy: `#trivy:ignore:AVD-AWS-0086` (with comment) - Fail CI on new HIGH/CRITICAL; report MEDIUM. - Custom policies for org rules (Checkov YAML/Python policies, OPA/Rego with conftest: `conftest test plan.json -p policy/`). ## Related skills `cloud-posture-assessment`, `release-gate`, `k8s-admission-control`, `dockerfile-hardening`, `cloud-firewall-build` ## References - Checkov: https://www.checkov.io/ - Trivy misconfiguration scanning: https://trivy.dev/latest/docs/scanner/misconfiguration/ - KICS: https://docs.kics.io/ - Conftest: https://www.conftest.dev/
Wersje
W bazie nie ma innych skilli o nazwie iac-scanning.
Migawka bazy z 13.11.2026 · wersja paczki e5e7951285ac (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100implementing-infrastructure-as-code-security-scanning
Wdraża automatyczne skanowanie IaC narzędziami Checkov, tfsec i KICS dla Terraform, CloudFormation, Kubernetes i Helm, blokując niebezpieczne zmiany w PR. - 100checkov
Skanuje infrastrukturę jako kod (Terraform, CloudFormation, Kubernetes, Helm, Dockerfile, ARM, Bicep) pod kątem błędnych konfiguracji i naruszeń zgodności, z bramką w CI/CD (SARIF) i własnymi politykami. - 90iac-security-workflow
Przegląda lokalną konfigurację infrastruktury jako kodu, np. Terraform czy Kubernetes, narzędziami Trivy i Checkov. - 100iac-security
Skanuje pliki Terraform, Kubernetes, CloudFormation i Azure ARM pod kątem błędnych konfiguracji, ryzyk i naruszeń zgodności przed wdrożeniem. - 100checkov-and-tfsec-iac-security-scanning
Konfiguruje Checkov i tfsec do skanowania IaC (Terraform, CloudFormation, Kubernetes) pod kątem błędnych konfiguracji, takich jak zaszyte sekrety, zbyt szerokie polityki IAM i niezaszyfrowane magazyny, przed apply. - 90iac-security-review
Przegląda kod infrastruktury (Terraform, CloudFormation, Bicep, Helm) pod kątem błędnych ustawień bezpieczeństwa przed wdrożeniem.