الملفات
ghaymah-exam-waleed-secops/q1-audit/audit-checklist.md

2.0 KiB

Ghaymah Security Audit Checklist (15 Items)

1. Container Security

  1. Minimal Base Images: Use distroless or minimal Alpine images from trusted registries to reduce attack surface.
  2. Non-Root Execution: Configure securityContext.runAsNonRoot: true in deployment manifests to prevent container privilege escalation.
  3. Container Image Scanning: Integrate vulnerability scanners (e.g., Trivy/Grype) into the CI/CD pipeline before pushing to Ghaymah Container Registry.

2. Network Security

  1. Kubernetes Network Policies: Enforce strict ingress/egress rules allowing inter-service communication only on required ports.
  2. TLS Encryption in Transit: Mandate TLS 1.3 / mTLS for all microservices communication managed via Ghaymah Ingress Controller.
  3. Port & Interface Restriction: Close unneeded open ports (e.g., SSH, DB ports) on public IPs, exposing only 80/443 via reverse proxy.

3. OWASP Top 5 Mitigation

  1. Broken Access Control: Enforce RBAC at API Gateway layer and validate JWT claims on every endpoint.
  2. Cryptographic Failures: Encrypt data at rest on Ghaymah Block Storage using AES-256 with automated KMS key rotation.
  3. Injection Protection: Deploy Ghaymah Web Application Firewall (WAF) to filter SQLi, Command Injection, and XSS payloads.
  4. Insecure Design: Implement threat modeling and adhere to Least Privilege access policies during architecture design.
  5. Security Misconfiguration: Disable verbose stack traces/debug modes and obscure Server/OS headers.

4. Data & Storage Security

  1. Secrets Management: Retrieve API keys and DB credentials dynamically using Ghaymah Secrets Manager instead of hardcoding.
  2. Immutable Backups: Utilize Ghaymah Backup to create WORM (Write Once Read Many) encrypted snapshots.

5. Identity & Access Management (IAM)

  1. Enforce MFA: Require Multi-Factor Authentication for all Ghaymah Cloud console and CLI management accounts.
  2. Privilege Auditing: Perform automated 30-day reviews to revoke stale credentials and unused service accounts.