How do you integrate threat modelling into a two-week sprint without slowing the team?
IntermediateScenarioPipeline Security Scanning
Answer
Situation read → Heavy threat modelling workshops do not survive agile cadence. It needs to be small and triggered.
What I'd do →
- Trigger it only for changes with new trust boundaries: new service, new data type, new external integration, auth changes.
- Use a 30-minute session with a simple data flow diagram and STRIDE prompts.
- Capture threats as backlog tickets with acceptance criteria.
- Keep diagrams as code (Mermaid or a Threat Dragon file) in the repo.
- Security champions facilitate so the security team is not a bottleneck.
Why → Lightweight, repeated modelling finds design flaws that no scanner will.
Interview tip → Say "design flaws need design-time review".
More on Pipeline Security Scanning
You are asked to add security to an existing CI pipeline. Where do SAST, SCA, secrets scanning and DAST each go?BeginnerGitleaks flags an AWS access key in a pull request. The developer says it is a test key. What do you do?BeginnerDevelopers fear security scans will slow the pipeline from 6 to 20 minutes. How do you roll them out?BeginnerA SAST tool reports 2,000 findings on a legacy repo the first time you run it. How do you introduce it without freezing delivery?IntermediateA developer insists a scanner finding is a false positive. What is your process?BeginnerSCA flags a critical CVE in a transitive dependency and no patched version exists. What are your options?Intermediate