During an investigation you cannot tell who read a production Secret: EKS audit logs show nothing for `get secrets`
AdvancedTroubleshootingDAST, runtime detection and compliance scans
Answer
Likely causes → The audit control-plane log type is not enabled on the cluster. On self-managed clusters, the audit policy may set level: None for Secrets or only log write verbs.
Diagnose →
aws eks describe-cluster --name prod --query 'cluster.logging.clusterLogging'
# self-managed: check --audit-policy-file rules for resources: ["secrets"]
Fix → Enable audit logging going forward:
aws eks update-cluster-config --name prod \
--logging '{"clusterLogging":[{"types":["audit","authenticator"],"enabled":true}]}'
For self-managed clusters, log Secrets at Metadata level, never Request, which would write secret values into the logs. The past reads cannot be recovered, so assume the secret is exposed and rotate it.
Prevent → Make audit logging part of the cluster baseline, ship logs to a SIEM with retention that meets your compliance needs, and alert on unusual Secret list calls.
More on DAST, runtime detection and compliance scans
The ZAP baseline scan of your React SPA finishes in 40 seconds with only header warnings and no real findingsIntermediateThe authenticated ZAP full scan only ever tests the login page and `/logout`, and the report shows mostly `302` responsesIntermediate`zap-baseline.py` fails the pipeline with exit code 2 even though the report has no high-risk alertsBeginnerThe DAST job reports nothing, and its log shows mostly `403` and `429` responsesBeginnerAn active DAST scan against staging created 12,000 junk records and sent password-reset emails to real customer addresses copied from prodIntermediateNuclei runs in CI against staging and reports nothing for a known exposed `/.git/config`Beginner