Navigate Ways of Working
AI Use Cases: Security
AI use cases for Security: Agentic Security Review, Dependency Upgrades, Security Incident Investigation, Sensitive Data Map.
Part of the AI Use Case Catalogue. Every entry names its owner, how much the agent may do alone, the human checkpoint and how the result is verified; the catalogue overview explains each field.
Full process: Security Requirements in the Engineering Process, and the DevOps Principles for related guidance.
AI-030: Agentic Security Review
Purpose: Look for security flaws across the codebase as well as the diff, catching the context-dependent issues rule-based scanners miss, and try to exploit candidate findings in staging before reporting them.
Owner: Staff Engineer (sets the standards); Platform squad (builds and maintains)
Autonomy: Runs within set rules
Human checkpoint: On a security-sensitive pull request, the human reader decides, using the agent’s briefing. Elsewhere, blocking findings go back to the authoring agent to fix.
Verification: A finding the agent exploited in staging carries the exploit. SAST, dependency scanning and secrets detection keep running alongside.
Context: Every commit, as part of CI, plus a scheduled pass across the whole codebase.
Artefacts Required:
- The change set and the surrounding code
- Security patterns documentation
- Known vulnerability patterns for the stack
- A staging environment the agent may attack
Artefacts Produced:
- Findings with severity, evidence and remediation
- A briefing for the reader of each security-sensitive pull request
AI-031: Dependency Upgrades
Purpose: Keep dependencies current and close advisories by opening and shipping the upgrades.
Owner: Platform squad
Owner: Whoever takes the platform work
Autonomy: Runs within set rules
Human checkpoint: Patch and minor upgrades ship through the gates without one. A major version, or any upgrade that changes a public interface, goes to the Tech Lead as a design question first.
Verification: Scenarios, functional tests and contract tests stay green, with dependency and image scanning in CI.
Context: Continuous. The agent watches advisories, checks whether the vulnerable code path is used, and opens the upgrade with the evidence attached. Small, frequent upgrades beat a quarterly upgrade sprint.
Artefacts Required:
- Dependency manifests and lock files
- Advisory feeds
- Usage of affected packages in the codebase
Artefacts Produced:
- Committed upgrades, each with the advisory it closes
- Escalations for upgrades that need a design decision
AI-032: Security Incident Investigation
Purpose: Analyse access logs and system behaviour during a security incident to establish the scope of exposure: what was accessed, by whom, and when.
Owner: On-call engineer / Tech Lead
Autonomy: Drafts
Human checkpoint: Containment, customer notification and regulator notification are human decisions, every time. The agent recommends; the on-call engineer and the Tech Lead decide.
Verification: Every scope claim cites the log entries behind it.
Context: During or immediately after a security incident.
Artefacts Required:
- Access logs (authentication, API, database)
- System and application logs
- Timeline of known incident events
- Normal baseline behaviour
Artefacts Produced:
- Scope assessment: what was accessed, by whom, when
- Anomalous access patterns
- Recommended containment actions
AI-033: Sensitive Data Map
Purpose: Keep a current map of where PII and other sensitive data lives and moves through the system: data flow diagrams and an inventory.
Owner: Staff Engineer
Autonomy: Runs within set rules
Human checkpoint: The Staff Engineer approves each change to the map, and decides what a new sensitive field needs before it ships.
Verification: A CI check fails any change to a data model or contract that adds or moves sensitive data without updating the map.
Context: Every change to a data model or API contract. The map is what compliance work and the security review read.
Artefacts Required:
- Data models, API contracts and service interactions
- Infrastructure configuration
- Architecture overview
Artefacts Produced:
- Data flow diagrams: PII locations, movement between services, storage, access controls
- Sensitive data inventory
← Cross-Squad Dependencies · All stages · Metrics and Systemic Review →