Your CI/CD SaaS provider announces a breach and advises customers to rotate all secrets. What is your plan?
AdvancedScenarioIncident Response and Governance
Answer
Situation read → Every secret stored in that provider, and every token it could mint, must be treated as compromised.
What I'd do →
- Export the inventory of secrets: org, project and context variables, SSH deploy keys, cloud integrations.
- Rotate in risk order: cloud credentials, production database, signing keys, then third-party API tokens.
- Review cloud audit logs (CloudTrail, GCP audit) for use of those credentials from unknown IPs since the breach window.
- Check for persistence: new IAM users, keys, roles, or modified CI configs.
- Long-term: replace stored cloud keys with OIDC federation so there is nothing to steal.
Why → Rotation without log review misses attackers who already used the keys to create their own access.
Interview tip → Cite OIDC as the structural fix; it shrinks the blast radius of the next provider breach.
More on Incident Response and Governance
You find a ransom note in an S3 bucket and most objects have been deleted. What do you do in the first hour?AdvancedYour company has its first real security incident and people are all talking at once in Slack. How do you organise the response?BeginnerAn EC2 instance is confirmed compromised. A colleague wants to terminate it immediately. What do you do instead?IntermediateFalco reports a reverse shell from a pod in EKS. How do you contain it while keeping evidence?AdvancedAfter a security incident, leadership wants to know who to blame. How do you run the post-incident review?BeginnerYou are asked to run a security tabletop exercise for the engineering team. How do you design it?Intermediate