Skip to main content

Security use cases

A catalogue of practical security use cases across the five Well-Architected security epics. Use it as a checklist when designing an engagement's security scope.

01 — Identity and access management​

Objective. Manage identities and permissions at scale so the right people and machines have access to the right resources under the right conditions.

Design principles: centralise the identity provider; use groups and attributes for fine-grained access; use temporary credentials; enforce strong sign-in such as MFA; set permissions to specific actions on specific resources under specific conditions; use permissions boundaries and SCPs; adopt attribute-based access control so policies scale; continuously validate that policies still protect what they were written to protect.

Use caseWhat it means in practice
Keep AWS policies and practices up to dateEvery process has a documented, versioned owner; the document changes when the process does
Configure a password policyAlign with the organisation's standard; enforce length, complexity and reuse rules; rotate and retire credentials
Centralise identityIdentity Center or an external IdP; no local IAM users for people
Use temporary credentialsRoles and OIDC for humans and machines; access keys are an exception with a rotation policy
Apply least privilegeSpecific actions on specific resources; no */*; permissions boundaries where delegation is needed
Validate permissions continuouslyIAM Access Analyzer and unused-permission findings drive policy changes
Adopt ABAC where it scalesTag-based conditions instead of per-resource policy edits

02 — Infrastructure protection​

Objective. Protect systems against unintended and unauthorised access and against vulnerabilities, using defence in depth.

Design principles: create network layers and place workloads with no internet requirement in private subnets; use security groups, NACLs and network firewalls; apply zero trust according to the value of the asset; use VPC endpoints for private connectivity; inspect and filter traffic at each layer; use hardened images; secure any hybrid infrastructure physically.

Use caseWhat it means in practice
Deploy AWS Network FirewallStateful inspection at the VPC perimeter — ingress, egress, and over VPN or Direct Connect
Segment by subnetPublic subnets for load balancers; private subnets for application and data
Use VPC endpointsS3, ECR, CloudWatch, Secrets Manager reachable without traversing the internet
Harden imagesCIS-aligned builds produced by the Packer pipeline, not hand-configured
Require IMDSv2Enforced by SCP to remove metadata credential theft
Filter egressDomain allow-lists for environments that do not need open internet
Apply WAF on public endpointsManaged rule groups plus custom rules for the application's abuse patterns

03 — Threat detection​

Objective. Identify misconfigurations, threats and unexpected behaviour quickly enough to respond.

Design principles: monitor ubiquitously; correlate across network, OS, application and database sources; agree tactical, operational and strategic intelligence goals; use deception where it adds signal.

Use caseWhat it means in practice
Delete abandoned objectsRetention policies remove stale data and the cost and exposure that come with it
Track who changes resourcesCloudTrail across all accounts and regions, centralised and alarmed
Patch managed nodesSystems Manager patch compliance; patch baselines by environment
Implement a virtual SOCControl Tower, Security Hub, GuardDuty and centralised logging as the detection foundation
Correlate findingsSecurity Hub aggregation; EventBridge routing to the owning team
Detect credential misuseGuardDuty findings with automated containment
Monitor anomaliesCost anomaly detection, GuardDuty anomaly findings, Config drift

04 — Data protection​

Objective. Protect data at rest and in transit, and manage the keys that protect it.

Design principles: classify data and apply controls according to classification; encrypt by default; separate key administration from key use; limit access to the data to the people and services that need it; retain only as long as required.

Use caseWhat it means in practice
Use KMS keys for sensitive dataSeparate keys per classification and service boundary; automatic rotation
Use TLS 1.2 or higher in transitEnforced at the load balancer, database connections and file systems
Encrypt backupsKMS encryption on backups, snapshots and replicas
Manage secrets centrallySecrets Manager with rotation; no secrets in code or images
Control data residencyRegion restrictions and a documented data map
Classify and tagDataClassification tag drives retention, access and encryption requirements
Protect keys from deletionKey deletion requires a waiting period and raises an alarm

05 — Incident response​

Objective. Detect, contain, recover and learn — with a rehearsed process rather than an improvised one.

Design principles: prepare access and tooling before an incident; use automation for the deterministic containment steps; preserve evidence; review every incident.

Use caseWhat it means in practice
Maintain an incident response procedureDocumented roles, escalation, communication and decision rights
Automate response with Security HubPredefined remediation for common findings, with a human gate where action is destructive
Contain compromised credentialsAutomatic deactivation or session revocation on a GuardDuty finding
Isolate a compromised instanceReplace security groups; snapshot volumes for forensics
Preserve evidenceLog archive is immutable; snapshots retained before remediation
PractiseTabletop exercises and a game day that exercises detection through to recovery

Mapping to standards​

EpicPrimary standards
Identity and access managementIdentity and SSO, Service control policies
Infrastructure protectionInfrastructure protection, Network and encryption
Threat detectionDetection, API activity tracking
Data protectionNetwork and encryption, Security best practices
Incident responseRunbooks, Security best practices