Monitoring & Logging Infrastructure
Reference: security-groups/group-5-monitoring-logging.md
Tasks
- Centralized log storage — KMS-encrypted GCS bucket with lifecycle policies (7-year retention for compliance)
- Log sinks — route security events from Cloud SQL, GKE, Compute, and IAM to centralized storage and BigQuery
- Prometheus/Grafana deployment (optional) — monitoring stack with security dashboards
- Security alerting rules — alerts for error rates, PSA violations, unauthorized API access, database connection failures
- Real-time log analysis — Cloud Function + Pub/Sub pipeline for critical security events
Important Notes
- All credentials (Grafana admin password, SMTP config, Slack webhooks, email addresses) must use
config.requireSecret() or config.require() — never hardcode
- Alert names should reference Pod Security Admission, not deprecated PodSecurityPolicy
Acceptance Criteria
Monitoring & Logging Infrastructure
Reference:
security-groups/group-5-monitoring-logging.mdTasks
Important Notes
config.requireSecret()orconfig.require()— never hardcodeAcceptance Criteria