Which risks and test oracles matter most for secrets and identity after configuration drift is discovered?
Answer
Prioritize the risks that could invalidate the user or business outcome before treating configuration and infrastructure as versioned product behavior with observable dependencies. Focus on secrets and identity after configuration drift is discovered. Use declared configuration, health signals and known-good environment baselines as the oracle. Cover startup, connectivity, permissions, capacity, rollout and rollback. Keep data and dependencies controlled enough to reproduce failures. Release only when the environment is reproducible and failure behavior is diagnosable before user impact.
Strong answer includes
- explicit risk and test oracle for secrets and identity
- checks configuration as code
- covers rollout and rollback
- measurable evidence and residual-risk statement
Practical example
After discovering a service account in production had broader permissions than its declared policy specified, the main risk flagged was privilege drift going undetected between audits, and the oracle became an automated comparison of live IAM bindings against the source-controlled policy, run daily instead of only during manual audits.