Skip to content
Back to skills

Secure Deployment Review

ASecurity

Container, K8s, CI/CD ve runtime security review.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
devopsgoawsgitapici/cdsecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill secure-deployment-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Secure Deployment Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Secure Deployment Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-secure-deployment-review/badge)](https://www.skillsdirectory.com/skills/aibot88-secure-deployment-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: secure-deployment-review
description: Container, K8s, CI/CD ve runtime security review.
---

# Secure Deployment Review

## Ortak Doktrin

`agents/shared/severity-rubric.md` ve `agents/shared/escalation-matrix.md` default-load
sayılır (`agents/coordination.md` §11). Bu skill'in çıktısı **Critical / High / Medium /
Low + kanıt** formatında olmak zorunda — spekülatif Critical yasak. Sahiplik dışı bulgu
ilgili agent'a delege; karar yetkisi eşiği aşılırsa **kullanıcı onayı zorunlu**.

## Ne Zaman Kullanılır
- Yeni servis prod'a alınıyor
- Quarterly audit
- Security incident sonrası hardening
- Compliance prep (SOC2/ISO/PCI)

## Workflow
1. **Image**
   - Trivy/Grype scan; critical/high CVE listele
   - Pinned base, non-root, distroless tercih
   - SBOM üret (syft) ve sakla
2. **K8s**
   - kubesec/polaris/kube-score
   - PodSecurity admission `restricted`
   - NetworkPolicy default-deny + explicit allow
   - RBAC least privilege
   - ServiceAccount workload-spesifik
3. **Secret**
   - ESO / Vault / SOPS
   - Rotate prosedürü
   - Repo'da hardcoded (gitleaks)
4. **CI/CD**
   - Pipeline secret SCOPE'lu
   - Artifact imzalama (cosign)
   - Provenance (SLSA L2+)
   - Branch protection
5. **Runtime**
   - Falco/Tetragon kuralları
   - Pod logs PII redact
   - egress allowlist

## Checklist
- [ ] Image CVE scan CI'da gating
- [ ] Pinned base + signed
- [ ] Non-root, readonly fs
- [ ] NetworkPolicy default-deny
- [ ] PodSecurity restricted
- [ ] Secret manager (no hardcoded)
- [ ] RBAC minimal
- [ ] Pipeline OIDC (no static cloud cred)
- [ ] Artifact signed + provenance
- [ ] Audit log enable

## Antipattern
- `latest` tag prod
- Root user container
- `privileged: true` justify yok
- `hostNetwork`, `hostPID` justify yok
- ClusterRole `*` üzerine `*`
- CI'da static AWS_ACCESS_KEY env
- Secret base64'e tutup "şifreli" diye geçmek
- Telemetry'ye stack trace + PII
- Public S3 bucket / public Postgres

## Örnek Agent Davranışı
```
User: /security-audit deploy
Agent:
1. trivy image api:1.42 -> 2 critical, 5 high
2. kubesec deploy.yaml -> runAsNonRoot eksik, capabilities drop yok
3. NetworkPolicy yok namespace production
4. RBAC: api-sa ClusterRole get pods (gereksiz, namespaced'e indir)
5. Rapor (severity sıralı) + fix önerileri
```

## Çıktı Formatı
```markdown
# Secure Deploy Review: <scope>

## Critical/High/Medium/Low
## Fix önerileri (kanıt + komut/diff)
## Compliance mapping (CWE/OWASP/CIS)
```

Files in this skill

  • SKILL.md2.4 KB
  • source.json596 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.