AWS Security Services Cheat Sheet

AWS Identity and Security Services

AWS Security Services Cheat Sheet

AWS Identity and Security Services

AWS IAM Identity Center (Successor to AWS SSO)

  • is a centralized workforce identity management service that provides single sign-on (SSO) access to multiple AWS accounts and business applications.
  • was renamed from AWS Single Sign-On (AWS SSO) in July 2022.
  • enables administrators to define, customize, and assign fine-grained access across AWS accounts and applications.
  • provides workforce users a portal to access AWS accounts and cloud applications assigned to them.
  • supports integration with external identity providers (IdPs) like Microsoft Active Directory, Okta, and Azure AD.
  • simplifies multi-account access management through AWS Organizations integration.
  • provides temporary credentials instead of long-term IAM user credentials.
  • supports attribute-based access control (ABAC) for fine-grained permissions.

Key Management Service – KMS

  • is a managed encryption service that allows the creation and control of encryption keys to enable data encryption.
  • provides a highly available key storage, management, and auditing solution to encrypt the data across AWS services & within applications.
  • uses hardware security modules (HSMs) that are FIPS 140-3 Security Level 3 certified (upgraded from FIPS 140-2 in May 2023).
  • seamlessly integrates with several AWS services to make encrypting data in those services easy.
  • supports multi-region keys, which are AWS KMS keys in different AWS Regions. Multi-Region keys are not global and each multi-region key needs to be replicated and managed independently.
  • supports External Key Store (XKS) capability (November 2022) allowing customers to store and control encryption keys on-premises or outside AWS cloud while using AWS KMS.
  • provides three key store options: Default KMS key store, CloudHSM custom key store, and External key store (XKS).
  • supports on-demand key rotation (April 2024) allowing immediate rotation of symmetric encryption keys without waiting for automatic rotation schedules, with a maximum of 10 on-demand rotations per key.
  • offers flexible automatic rotation periods (90 days to 2560 days) instead of the previous fixed annual rotation.
  • supports post-quantum cryptography:
    • ML-KEM hybrid post-quantum key exchange for TLS connections to KMS endpoints, protecting against “harvest now, decrypt later” attacks.
    • ML-DSA (FIPS 204) post-quantum digital signatures (June 2025) for quantum-resistant signing operations within FIPS 140-3 Level 3 certified HSMs.

CloudHSM

  • provides secure cryptographic key storage to customers by making hardware security modules (HSMs) available in the AWS cloud
  • helps manage your own encryption keys using FIPS 140-3 Level 3 validated HSMs (upgraded from FIPS 140-2).
  • single tenant, dedicated physical device to securely generate, store, and manage cryptographic keys used for data encryption
  • are inside the VPC (not EC2-classic) & isolated from the rest of the network
  • can use VPC peering to connect to CloudHSM from multiple VPCs
  • integrated with Amazon Redshift and Amazon RDS for Oracle
  • EBS volume encryption, S3 object encryption and key management can be done with CloudHSM but requires custom application scripting
  • is NOT fault-tolerant and would need to build a cluster as if one fails all the keys are lost
  • enables quick scaling by adding and removing HSM capacity on-demand, with no up-front costs.
  • automatically load balance requests and securely duplicates keys stored in any HSM to all of the other HSMs in the cluster.
  • launched hsm2m.medium instance type (August 2024) with FIPS 140-3 Level 3 certification, increased key storage (16,666 keys), higher elliptic curve performance, mTLS support, and non-FIPS cluster mode option.
  • deprecated hsm1.medium instance type — no new hsm1 clusters can be created as of April 2025; customers must migrate to hsm2m.medium.
  • expensive, prefer AWS Key Management Service (KMS) if cost is a criteria.

AWS Payment Cryptography

  • is a managed service for payment processing cryptographic operations (launched June 2023).
  • provides payment-specific HSMs that replace on-premises payment hardware security modules.
  • helps meet PCI (Payment Card Industry) security requirements and compliance needs.
  • supports cryptographic operations like PIN generation, validation, and credit/debit card security code processing.
  • manages underlying physical HSM infrastructure and key management automatically.
  • integrates with AWS IAM for authorization and AWS CloudTrail for auditing.
  • enables payment processing workloads to move to the cloud securely.
  • provides elastic scaling for payment cryptography operations.

AWS Private Certificate Authority (Private CA)

  • is a managed private certificate authority service for issuing and managing private SSL/TLS certificates.
  • removes upfront investment and ongoing maintenance costs of operating your own private CA.
  • supports two operating modes: General-purpose mode (certificates with any validity period) and Short-lived certificate mode (certificates valid up to 7 days, launched February 2023).
  • integrates with AWS Certificate Manager (ACM) for automated certificate provisioning and renewal.
  • supports Private CA Connector for Active Directory (September 2023) enabling AWS Private CA as drop-in replacement for self-managed enterprise CAs without local agents.
  • supports post-quantum ML-DSA digital certificates (November 2025) for transitioning PKI toward post-quantum cryptography.
  • provides audit and compliance support through AWS CloudTrail integration.
  • enables certificate-based authentication for services like Amazon WorkSpaces.

AWS WAF

  • is a web application firewall that helps monitor the HTTP/HTTPS traffic and allows controlling access to the content.
  • helps protect web applications from attacks by allowing rules configuration that allow, block, or monitor (count) web requests based on defined conditions. These conditions include IP addresses, HTTP headers, HTTP body, URI strings, SQL injection and cross-site scripting.
  • helps define Web ACLs, which is a combination of Rules that is a combinations of Conditions and Action to block or allow
  • integrated with CloudFront, Application Load Balancer (ALB), API Gateway, Amazon Cognito, AWS App Runner, and AWS Verified Access.
  • supports custom origins outside of AWS, when integrated with CloudFront
  • provides AWS WAF Fraud Control with three capabilities:
    • Account Takeover Prevention (ATP) – Protects login pages against credential stuffing attacks
    • Account Creation Fraud Prevention (ACFP) – Detects and blocks automated bot-based account creation
    • Bot Control – Detects and controls common bots and targeted bots with a catalog of 650+ unique bots including AI crawlers, AI data collectors, AI assistants, and LLM training crawlers
  • supports Challenge and CAPTCHA actions for bot mitigation.
  • provides AI Activity Dashboard (February 2026) for visibility into AI bot and agent traffic patterns.
  • launched AI Traffic Monetization (June 2026), a Bot Control capability that lets content providers price, meter, and collect payment from AI bots and agents accessing their content and APIs via HTTP 402 Payment Required responses.
  • AWS WAF Classic reached end of support on September 30, 2025. All customers must use AWS WAF (v2).

AWS Verified Access

  • provides VPN-less, secure access to corporate applications (GA April 2023).
  • implements Zero Trust security model for application access without traditional VPN.
  • validates each application request against identity and device security requirements before granting access.
  • integrates with identity providers (IdPs) and device management systems for authentication and authorization.
  • uses Cedar policy language for fine-grained access control policies.
  • supports AWS WAF integration for additional web application protection.
  • provides signed identity context to end applications for additional security.
  • simplifies remote access management and improves user experience compared to VPN.
  • eliminates VPN infrastructure management overhead.

Amazon Verified Permissions

  • is a fully managed fine-grained authorization service for custom applications (GA June 2023).
  • uses Cedar, an open-source policy language released May 2023, for defining authorization policies.
  • enables developers to externalize authorization logic from application code.
  • provides centralized policy management and administration.
  • offers millisecond-latency authorization decisions with provably correct results.
  • supports policy validation using automated reasoning to prevent misconfigurations.
  • integrates with identity providers for user and group information.
  • enables fine-grained permissions based on user attributes, resource attributes, and context.
  • provides policy versioning and audit capabilities.
  • follows “explicit permit” and “forbid overrides permit” principles.

AWS Secrets Manager

  • helps protect secrets needed to access applications, services, and IT resources.
  • enables you to easily rotate, manage, and retrieve database credentials, API keys, and other secrets throughout their lifecycle.
  • secure secrets by encrypting them with encryption keys managed using AWS KMS.
  • offers native secret rotation with built-in integration for RDS, Redshift, and DocumentDB.
  • supports Lambda functions to extend secret rotation to other types of secrets, including API keys and OAuth tokens.
  • supports IAM and resource-based policies for fine-grained access control to secrets and centralized secret rotation audit for resources in the AWS Cloud, third-party services, and on-premises.
  • enables secret replication in multiple AWS regions to support multi-region applications and disaster recovery scenarios, automatically keeping replicas in sync including rotation.
  • launched Managed External Secrets (November 2025) — a new secret type enabling automatic rotation for third-party SaaS credentials (Salesforce, MongoDB Atlas, Confluent Cloud, Datadog, Snowflake) without custom Lambda rotation functions.
  • supports hybrid post-quantum TLS (ML-KEM) for protecting secrets against future quantum computing threats (April 2026).
  • supports private access using VPC Interface endpoints

AWS Shield

  • is a managed service that provides protection against Distributed Denial of Service (DDoS) attacks for applications running on AWS
  • provides protection for all AWS customers against common and most frequently occurring infrastructure (layer 3 and 4) attacks like SYN/UDP floods, reflection attacks, and others to support high availability of applications on AWS.
  • provides AWS Shield Advanced with additional protections against more sophisticated and larger attacks for applications running on EC2, ELB, CloudFront, AWS Global Accelerator, and Route 53.
  • Shield Advanced provides 24/7 access to AWS Shield Response Team (SRT) and cost protection against DDoS-related spikes.
  • AWS Shield Network Security Director (preview) performs analysis of resources to visualize network topology, identify configuration issues, and provide actionable remediation recommendations.

AWS GuardDuty

  • offers threat detection that enables continuous monitoring and protects the AWS accounts and workloads.
  • is a Regional service
  • analyzes continuous streams of meta-data generated from AWS accounts and network activity found in AWS CloudTrail Events, EKS audit logs, VPC Flow Logs, and DNS Logs.
  • integrated threat intelligence
  • combines machine learning, anomaly detection, network monitoring, and malicious file discovery, utilizing both AWS-developed and industry-leading third-party sources to help protect workloads and data on AWS
  • supports suppression rules, trusted IP lists, and threat lists. Now supports custom entity lists (September 2025) with domain-based threat intelligence in addition to IP-based lists.
  • provides Malware Protection to detect malicious files on EBS volumes and S3 objects (on-demand scanning API).
  • provides EKS Runtime Monitoring using fully managed EKS add-on for visibility into container runtime activities (file access, process execution, network connections).
  • provides RDS Protection for profiling and monitoring access activity to Amazon Aurora databases.
  • provides Lambda Protection for monitoring AWS Lambda function invocations and runtime behavior.
  • can identify specific containers within EKS clusters that are potentially compromised and detect privilege escalation attempts.
  • launched Extended Threat Detection (December 2024) — AI/ML-powered attack sequence identification that detects multi-stage attacks spanning multiple AWS data sources and resources, including EC2 instances and ECS clusters on Fargate.
  • offers flexible protection plan configuration — new accounts can inherit protection plans automatically, and plans can be enabled/disabled independently.
  • operates completely independently from the resources so there is no risk of performance or availability impacts on the workloads.

Amazon Inspector

  • is a vulnerability management service that continuously scans the AWS workloads for vulnerabilities
  • automatically discovers and scans EC2 instances and container images residing in Elastic Container Registry (ECR) for software vulnerabilities and unintended network exposure.
  • supports AWS Lambda function scanning for vulnerabilities in application code and dependencies.
  • provides CI/CD integration with open-source plugins for Jenkins, TeamCity, and other CI/CD tools to scan container images at build time.
  • provides code security capabilities including static application security testing (SAST), software composition analysis (SCA), and infrastructure as code (IaC) scanning via SCM tool connections.
  • supports agentless EC2 scanning (March 2026) with expanded detection coverage including Windows OS vulnerability scanning without requiring an agent.
  • launched Inspector VM Scanner (May 2026) for improved agent-based scanning with more granular package collection and reduced CPU utilization on EC2 instances.
  • creates a finding, when a software vulnerability or network issue is discovered, that describes the vulnerability, rates its severity, identifies the affected resource, and provides remediation guidance.
  • is a Regional service.
  • Amazon Inspector Classic reached end of support on May 20, 2026. All customers must use Amazon Inspector (v2).

Amazon Security Lake

  • is a fully managed security data lake service (GA November 2023).
  • automatically centralizes security data from AWS environments, SaaS providers, on-premises, and cloud sources into a purpose-built data lake.
  • normalizes security data into the Open Cybersecurity Schema Framework (OCSF) standard format.
  • aggregates data from AWS services like CloudTrail, VPC Flow Logs, Route 53 logs, and third-party sources.
  • enables comprehensive security data analysis across entire organization.
  • automatically collects data for existing and new accounts with multi-account support.
  • stores security data in customer’s own AWS account for data ownership and control.
  • integrates with analytics tools like Amazon Athena, Amazon OpenSearch, and third-party SIEM solutions.
  • supports cross-region data aggregation for centralized security monitoring.
  • pricing based on data ingestion volume and normalization (no charge for third-party or custom data).

Amazon Detective

  • helps analyze, investigate, and quickly identify the root cause of potential security issues or suspicious activities.
  • automatically collects log data from the AWS resources and uses machine learning, statistical analysis, and graph theory to build a linked set of data to easily conduct faster and more efficient security investigations.
  • enables customers to view summaries and analytical data associated with CloudTrail logs, EKS audit logs, VPC Flow Logs.
  • provides finding groups that let you examine multiple activities related to a potential security event, analyze root cause for high severity GuardDuty findings, and visualize entity connections.
  • provides detailed summaries, analysis, and visualizations of the behaviors and interactions amongst your AWS accounts, EC2 instances, AWS users, roles, and IP addresses.
  • supports automated investigation of IAM users and roles for indicators of compromise (IoC).
  • maintains up to a year of aggregated data
  • is a Regional service and needs to be enabled on a region-by-region basis.
  • is a multi-account service that aggregates data from monitored member accounts under a single administrative account within the same region.
  • integrates with Amazon Security Lake for lateral movement investigations.
  • has no impact on the performance or availability of the AWS infrastructure since it retrieves the log data and findings directly from the AWS services.

AWS Security Hub

  • is a unified cloud security solution that prioritizes critical security issues and helps respond at scale to protect cloud environments.
  • was completely re-imagined at re:Invent 2025 — now unifies AWS security services including Amazon GuardDuty, Amazon Inspector, and Amazon Macie into a single experience.
  • provides near real-time risk analytics (GA December 2025) with automated correlation, enrichment, and prioritization of security signals from multiple sources.
  • collects security data from across AWS accounts, services, and supported third-party partner products.
  • is Regional but supports cross-region aggregation of findings.
  • automatically runs continuous, account-level configuration and security checks based on AWS best practices and industry standards including CIS Foundations, PCI DSS, and NIST frameworks.
  • detects unused IAM permissions, roles, and credentials (May 2026) across the AWS organization for identity risk reduction.
  • offers Security Hub Extended plan (2026) providing full-stack enterprise security with 21+ curated partner solutions across 9 security categories (endpoint, identity, email, network, data, browser, cloud, AI, security operations).
  • supports integration with Amazon EventBridge for custom actions and automated remediation.
  • has multi-account management through AWS Organizations integration, which allows delegating an administrator account for the organization.
  • works with AWS Config to perform most of its security checks for controls.

AWS Macie

  • Macie is a data security service that discovers sensitive data by using machine learning and pattern matching, provides visibility into data security risks, and enables automated protection against those risks.
  • provides an inventory of the S3 buckets and automatically evaluates and monitors the buckets for security and access control.
  • automates the discovery, classification, and reporting of sensitive data.
  • supports automated sensitive data discovery that continuously samples and analyzes S3 objects, builds an interactive data map, and provides a sensitivity score for each bucket.
  • generates a finding for you to review and remediate as necessary if it detects a potential issue with the security or privacy of the data, such as a bucket that becomes publicly accessible.
  • can analyze objects encrypted with dual-layer server-side encryption (DSSE-KMS).
  • provides multi-account support using AWS Organizations to enable Macie across all of the accounts.
  • is a regional service and must be enabled on a region-by-region basis and helps view findings across all the accounts within each Region.
  • supports VPC Interface Endpoints to access Macie privately from a VPC without an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection.

AWS Artifact

  • is a self-service audit artifact retrieval portal that provides customers with on-demand access to AWS’ compliance documentation and agreements.
  • can use AWS Artifact Reports to download AWS security and compliance documents, such as AWS ISO certifications, Payment Card Industry (PCI), and System and Organization Control (SOC) reports.
  • supports listCustomerAgreements API (November 2024) for programmatic tracking of active agreements across accounts.
  • provides SOC reports in machine-readable OSCAL format in addition to PDF.

AWS Security Services – Practice Questions

  1. A company needs to manage encryption keys with FIPS 140-3 Level 3 compliance and wants AWS to handle the infrastructure. Which service should they use?
    • A. AWS CloudHSM
    • B. AWS KMS ✓
    • C. AWS Secrets Manager
    • D. AWS Certificate Manager
  2. A financial institution needs to process payment card transactions in the cloud while meeting PCI compliance requirements. Which service should they use?
    • A. AWS CloudHSM
    • B. AWS KMS
    • C. AWS Payment Cryptography ✓
    • D. AWS Private CA
  3. A company wants to provide secure access to corporate applications without using VPN. Which service implements Zero Trust access?
    • A. AWS Client VPN
    • B. AWS Verified Access ✓
    • C. AWS Direct Connect
    • D. AWS PrivateLink
  4. A development team needs to externalize authorization logic from their application and use fine-grained permissions. Which service should they use?
    • A. AWS IAM
    • B. Amazon Cognito
    • C. Amazon Verified Permissions ✓
    • D. AWS IAM Identity Center
  5. A company needs to centralize security data from multiple AWS accounts and third-party sources for analysis. Which service should they use?
    • A. AWS Security Hub
    • B. Amazon Security Lake ✓
    • C. Amazon Detective
    • D. AWS CloudTrail
  6. Which AWS service uses AI/ML to detect multi-stage attack sequences spanning multiple data sources and resources?
    • A. Amazon Inspector
    • B. AWS Security Hub
    • C. Amazon GuardDuty Extended Threat Detection ✓
    • D. Amazon Detective
  7. A company wants to scan EC2 instances for vulnerabilities without installing any agent. Which capability supports this?
    • A. AWS Config Rules
    • B. Amazon Inspector agentless scanning ✓
    • C. AWS Security Hub
    • D. Amazon GuardDuty
  8. Which AWS WAF capability allows content providers to charge AI bots for accessing their content?
    • A. AWS WAF Fraud Control
    • B. AWS WAF Bot Control
    • C. AWS WAF AI Traffic Monetization ✓
    • D. AWS Shield Advanced
  9. A company needs to automatically rotate third-party SaaS credentials without writing custom Lambda functions. Which feature supports this?
    • A. AWS Secrets Manager Managed External Secrets ✓
    • B. AWS Systems Manager Parameter Store
    • C. AWS KMS automatic rotation
    • D. AWS Config
  10. A security team wants a unified view that correlates findings from GuardDuty, Inspector, and Macie with near real-time risk analytics. Which service provides this?
    • A. Amazon Detective
    • B. Amazon Security Lake
    • C. AWS Security Hub ✓
    • D. AWS CloudTrail Lake
  11. An organization needs to protect their KMS encryption keys against future quantum computing threats. Which KMS feature should they use?
    • A. External Key Store (XKS)
    • B. Multi-Region keys
    • C. ML-KEM hybrid post-quantum TLS ✓
    • D. On-demand key rotation
  12. Which service was renamed from AWS Single Sign-On (SSO) in July 2022?
    • A. AWS IAM
    • B. Amazon Cognito
    • C. AWS IAM Identity Center ✓
    • D. AWS Directory Service

References

Amazon Inspector

Amazon Inspector

Amazon Inspector

⚠️ Amazon Inspector Classic – End of Support

Amazon Inspector Classic reached End of Life (EOL) on May 20, 2026. The Inspector Classic console and all Classic resources are no longer accessible.

Migration: Use Amazon Inspector (v2) which provides automated, continuous scanning with significantly expanded capabilities including Lambda scanning, agentless EC2 scanning, CI/CD integration, and code security scanning.

  • Amazon Inspector is an automated vulnerability management service that continuously scans AWS workloads for software vulnerabilities and unintended network exposure.
  • automatically discovers and scans EC2 instances, container images in Amazon ECR and within CI/CD tools, AWS Lambda functions, and code repositories for software vulnerabilities and unintended network exposure.
  • creates a finding when a software vulnerability or network issue is discovered, that describes the vulnerability, rates its severity, identifies the affected resource, and provides remediation guidance.
  • calculates a highly contextualized Inspector risk score for each finding by correlating CVE information with factors such as network access and exploitability to prioritize the most critical vulnerabilities.
  • is a Regional service and configurations need to be repeated across each region.
  • supports both agent-based and agentless scanning for EC2 instances.
  • uses the Systems Manager (SSM) agent for agent-based scanning to collect software inventory and configurations.
  • offers agentless scanning using EBS volume snapshots for instances without SSM Agent installed or configured.
  • SSM agents can be set up as VPC Interface endpoints to avoid sending any information over the internet.
  • uses an IAM AWSServiceRoleForAmazonInspector2 service-linked-role linked directly to Inspector with all the permissions required to call other AWS services on your behalf.
  • has multi-account management through AWS Organizations integration, which allows delegating an administrator account for the organization.
  • supports organization-wide management through AWS Organizations policies to centrally configure and manage scan types across all accounts, selected OUs, or individual accounts.
  • integrates with AWS Security Hub which collects and centralizes the security data from across the AWS accounts, services, and other supported products.
  • is available both as a standalone service and as a core capability within AWS Security Hub.

Amazon Inspector

AWS Inspector Features

  • Continuously scan environments for vulnerabilities and network exposure
    • automatically discovers and begins scanning eligible resources without the need to manually schedule or configure assessment scans.
    • all resources are continually rescanned when new CVEs are published or when changes occur, including new software installation on an EC2 instance or updates to code repositories.
  • Assess vulnerabilities accurately with the Inspector Risk score
    • Inspector calculates a highly contextualized risk score by correlating CVE information with environmental factors such as network reachability and exploitability data.
    • helps prioritize the most critical findings and vulnerable resources.
  • Identify high-impact findings with the Inspector dashboard
    • offers a high-level view of findings from across your environment.
  • Manage findings using customizable views
    • Inspector console offers a Findings view.
    • users can use filters and suppression rules to generate customized finding reports.
    • suppression rules allow suppression of findings based on criteria defined by the organization for acceptable risks.
  • Automatic closure of remediated findings
    • automatically detects if a vulnerability has been patched or remediated and changes the state of the finding to “Closed” without manual intervention.
  • Monitor and process findings with other services and systems
    • publishes findings to
      • Amazon EventBridge, which can then be monitored and processed in near-real time as part of the existing security and compliance workflows or routed to SNS, Lambda, etc.
      • AWS Security Hub.
      • Amazon ECR for container image vulnerabilities, enabling resource owners to view and remediate.
  • Detailed coverage monitoring
    • provides a comprehensive, near real-time overview of organization-wide environment coverage.
    • highlights resources not being actively monitored and provides guidance on how to include them.

Inspector Scanning Types

Amazon EC2 Scanning

  • scans EC2 instances for common vulnerabilities and exposures (CVEs), network exposure issues, and operating system and programming language package vulnerabilities.
  • performs network reachability scans once every 12 hours and package vulnerability scans on a variable cadence depending on the scan method.
  • supports two scanning methods:
    • Agent-based scanning – uses the SSM Agent to collect software inventory from running instances.
    • Agentless scanning – takes snapshots of EBS volumes to extract data without installing an agent. GA since April 2024.
  • Enhanced EC2 Scanning (VM Scanner) – uses the Amazon Inspector VM Scanner (replacing the older SSM plugin) for more granular package collection with fewer compute resources. Installed and updated via SSM associations.
  • supports expanded agentless scanning including Windows OS vulnerability scanning without requiring an agent (March 2026).
  • Deep inspection for Linux-based instances automatically scans for programming language package vulnerabilities (Python, Java, Node.js, Go, etc.) beyond OS-level packages.

Amazon ECR Container Image Scanning

  • scans container images in Amazon ECR for software vulnerabilities.
  • supports scratch, distroless, and Chainguard images for minimal and security-focused container base images.
  • maps ECR images to their deployment footprint across Amazon ECS tasks and Amazon EKS pods.
  • provides insights on deployment scope – when images were last used, how many tasks or pods are using them, and which clusters are running the image.
  • helps prioritize remediation based on actual image usage and deployment status.

AWS Lambda Function Scanning

  • scans Lambda functions for software vulnerabilities in their application packages and dependencies.
  • Lambda code scanning scans custom proprietary application code for code security vulnerabilities such as injection flaws, data leaks, weak cryptography, or missing encryption based on AWS security best practices.
  • upon detecting code vulnerabilities, generates actionable security findings with detector name, impacted code snippets, and remediation suggestions.
  • uses generative AI and automated reasoning to provide in-context code patches for multiple classes of vulnerabilities.
  • can scan both Lambda functions and layers; by addressing vulnerabilities at foundational layers, it improves security of all downstream Lambda functions.
  • does not support scanning Lambda functions encrypted with customer managed keys.

CI/CD Pipeline Scanning

  • integrates with developer tools like Jenkins and TeamCity for container image assessments within CI/CD pipelines.
  • pushes security earlier in the software development lifecycle (shift-left).
  • findings are available in the CI/CD tool’s dashboard, allowing automated actions like blocking builds or image pushes to registries.
  • CI/CD tools can be hosted anywhere – in AWS, on-premises, or hybrid clouds.
  • uses the Amazon Inspector SBOM Generator (Sbomgen) to produce a Software Bill of Materials and the Inspector Scan API to scan for vulnerabilities.
  • supports custom CI/CD integrations via the SBOM Generator and Scan API combination.

Code Security Scanning (June 2025)

  • expands vulnerability management to application source code through native integration with GitHub and GitLab (SCM tools).
  • delivers three core capabilities:
    • Static Application Security Testing (SAST) – analyzes application source code for security vulnerabilities.
    • Software Composition Analysis (SCA) – evaluates third-party dependencies for known vulnerabilities.
    • Infrastructure as Code (IaC) scanning – validates infrastructure definitions for misconfigurations.
  • findings are surfaced both in the Inspector console for an aggregated view across the organization and within the SCM platform as fast feedback for developers.
  • enables consistent vulnerability management from code to compute resources running on AWS.

CIS Benchmark Assessments

  • supports the Center for Internet Security (CIS) Benchmarks for on-demand and targeted assessments against OS-level CIS configuration benchmarks for EC2 instances.
  • supports both Level 1 and Level 2 configuration benchmark checks.
  • supported operating systems include Amazon Linux 2, Windows Server 2019, and Windows Server 2022.
  • CIS scans can be run across AWS Organization accounts.
  • launched January 2024.

Inspector Finding Types

  • Package Vulnerability
    • identifies software packages exposed to common vulnerabilities and exposures (CVEs).
    • generated for EC2 instances, ECR container images, and Lambda functions.
    • supports Java Gradle inventory and scanning (January 2026), plus MySQL, MariaDB, PHP, Jenkins-core, 7zip (Windows), Elasticsearch, and Curl/LibCurl.
  • Network Reachability
    • indicates allowed network paths to EC2 instances in the environment.
    • generated only for EC2 resources.
  • Code Vulnerability
    • identifies code security vulnerabilities in Lambda functions and code repositories.
    • includes missing encryption, data leaks, injection flaws, and weak cryptography.
    • provides code snippets and AI-powered remediation suggestions.

SBOM (Software Bill of Materials)

  • offers automated and centralized management of SBOM exports.
  • enables easy export of a consolidated SBOM for all monitored resources to a pre-configured S3 bucket.
  • supports industry standard formats (CycloneDX).
  • SBOM artifacts can be used with Amazon Athena queries or Amazon QuickSight dashboards for insights and trend visualization.
  • Amazon Inspector SBOM Generator (Sbomgen) is used behind the scenes for ECR scanning, Lambda scanning, and agentless EC2 scanning.

Multi-Account Management

  • supports simplified one-click onboarding and integration with AWS Organizations.
  • allows assigning an Inspector Delegated Administrator (DA) account that can start and configure all member accounts and consolidate findings.
  • supports organization-wide management through AWS Organizations policies (November 2025) to centrally configure scan types – EC2 scanning, ECR scanning, Lambda Standard and Code Scanning, and Code Security – across all accounts, selected OUs, or individual accounts.
  • new accounts are automatically onboarded when Inspector policies are configured.

AWS Certification Exam Practice Questions

  • Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
  • AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
  • AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
  • Open to further feedback, discussion and correction.
  1. Which of the following services allows you to analyze EC2 Instances against pre-defined security templates to check for vulnerabilities?
    1. AWS Trusted Advisor
    2. AWS Inspector
    3. AWS WAF
    4. AWS Shield
  2. Your company has a set of AWS resources which consists of EC2 Instances. The Security departments need to run vulnerability analysis on these machines to ensure that the Instances comply with the latest security standards. Which of the following would you implement for this requirement?
    1. AWS WAF
    2. AWS Snowball
    3. AWS CloudFront
    4. AWS Inspector
  3. A company wants to scan its EC2 instances for software vulnerabilities without installing any additional software or agents on the instances. Which Amazon Inspector feature should they use?
    1. Agent-based scanning with SSM Agent
    2. Agentless scanning
    3. CIS Benchmark assessments
    4. Network reachability analysis
  4. A development team wants to detect vulnerabilities in their container images before deploying to production. They use Jenkins as their CI/CD tool. Which Amazon Inspector capability should they use?
    1. Amazon ECR Enhanced Scanning
    2. Amazon Inspector CI/CD pipeline integration with Jenkins plugin
    3. Amazon Inspector Lambda code scanning
    4. Amazon Inspector network reachability scan
  5. Which Amazon Inspector finding type identifies code security issues such as injection flaws, data leaks, and missing encryption in Lambda functions?
    1. Package Vulnerability
    2. Network Reachability
    3. Code Vulnerability
    4. Configuration Vulnerability
  6. A security team wants to centrally manage Amazon Inspector scan types across all accounts in their AWS Organization without manual configuration for each account. Which feature should they use?
    1. Inspector Delegated Administrator
    2. AWS Config rules
    3. Amazon Inspector policies through AWS Organizations
    4. AWS Security Hub standards
  7. Which of the following scan types does Amazon Inspector Code Security provide? (Choose THREE)
    1. Static Application Security Testing (SAST)
    2. Dynamic Application Security Testing (DAST)
    3. Software Composition Analysis (SCA)
    4. Infrastructure as Code (IaC) scanning
    5. Penetration testing

References

AWS Identity & Security Services Cheat Sheet

AWS Identity & Security Services Cheat Sheet

AWS Identity and Security Services

📌 Last Updated: June 2026 — Includes AWS Security Hub reimagined (re:Invent 2025), AWS Security Agent (GA March 2026), mandatory MFA enforcement for all root users, GuardDuty Extended Threat Detection, and IAM Identity Center multi-Region replication.

AWS Identity Services Cheat Sheet

AWS Security Services Cheat Sheet

AWS Identity & Security Services Overview

AWS Security, Identity, and Compliance services provide a comprehensive set of tools to help protect data, accounts, and workloads. These services are organized into the following categories:

Identity and Access Management

  • AWS Identity and Access Management (IAM) – Securely manage access to AWS services and resources using users, groups, roles, and policies
  • AWS IAM Identity Center (formerly AWS SSO) – Centrally manage SSO access to multiple AWS accounts and business applications
    • Now supports multi-Region replication (Feb 2026) for high availability
    • Supports IPv6 dual-stack endpoints
  • Amazon Cognito – Customer identity and access management (CIAM) for web and mobile apps
    • Now supports passwordless authentication with passkeys (FIDO2/WebAuthn), email OTP, and SMS OTP (Nov 2024)
    • New feature tiers: Essentials and Plus (Nov 2024)
    • Managed Login for pre-built authentication UIs
  • Amazon Verified Permissions – Scalable, fine-grained authorization using Cedar policy language for custom applications
  • AWS Resource Access Manager (RAM) – Securely share AWS resources across accounts and within AWS Organizations
  • AWS Directory Service – Managed Microsoft Active Directory in the AWS Cloud

Detection and Response

  • Amazon GuardDuty – Intelligent threat detection that continuously monitors for malicious activity
    • Extended Threat Detection (re:Invent 2024) – AI/ML-powered attack sequence identification across multiple data sources
    • Now covers EC2, ECS, EKS, S3, and IAM attack sequences
    • Custom entity lists for domain-based threat intelligence (Sept 2025)
  • Amazon Detective – Analyze, investigate, and identify root cause of security findings using ML and graph theory
  • Amazon Inspector – Automated vulnerability management for EC2 instances and container images in ECR
  • AWS Security Hub – Cloud security posture management (CSPM) and unified security operations
    • Reimagined at re:Invent 2025 – Unifies GuardDuty, Inspector, and other services into a single experience
    • Near real-time analytics and risk prioritization (GA Dec 2025)
    • Extended Plan (GA Feb 2026) – Full-stack enterprise security with 21 curated partner solutions across 9 categories
    • Expanding to multicloud environments
  • AWS Security Agent (GA March 2026) – AI-powered frontier agent for proactive application security
    • Automated security reviews tailored to organizational requirements
    • On-demand context-aware penetration testing
    • Full repository code scanning (Preview May 2026)
    • Operates like a human penetration tester – identifies, exploits, and validates vulnerabilities

Data Protection

Network and Application Protection

  • AWS WAF – Web application firewall to protect against common web exploits and bots
  • AWS Shield – Managed DDoS protection (Standard and Advanced tiers)
  • AWS Network Firewall – Managed network firewall for VPC with stateful inspection and IPS
  • AWS Firewall Manager – Centrally configure and manage firewall rules across accounts in AWS Organizations

Security Data Management and Compliance

  • Amazon Security Lake – Centralize security data from AWS, SaaS, on-premises using OCSF standard
    • Achieved FedRAMP High and Moderate authorization (April 2025)
  • AWS Audit Manager – Continuously audit AWS usage for risk and compliance assessment
  • AWS Artifact – On-demand access to AWS security and compliance reports

Key Updates (2024-2026)

  • MFA Enforcement (2024-2025) – AWS now mandates MFA for all root users across all account types. Prevents over 99% of password-related attacks.
  • AWS Security Hub Reimagined (re:Invent 2025) – Completely redesigned to unify security services into a single experience with near real-time analytics and AI-driven risk prioritization.
  • AWS Security Agent (GA March 2026) – First AI-powered frontier agent for autonomous application security testing and code scanning.
  • GuardDuty Extended Threat Detection (re:Invent 2024) – AI/ML attack sequence identification now covers EC2, ECS, EKS workloads.
  • IAM Identity Center Multi-Region (Feb 2026) – Replicate identity center configuration across multiple AWS Regions for high availability.
  • Amazon Cognito Passwordless (Nov 2024) – Native passkey support with FIDO2/WebAuthn, email OTP, and SMS OTP authentication.
  • Centralized Root Access Management (Nov 2024) – Centrally manage root credentials and perform privileged tasks across AWS Organizations member accounts.
  • Agentic AI Security Framework (2025) – New Agentic AI Security Scoping Matrix for securing autonomous AI systems.

AWS Certification Relevance

  • Solutions Architect (Associate/Professional) – IAM, VPC security, encryption, Security Hub, GuardDuty
  • Security Specialty – All services in depth, including Security Lake, Detective, Macie, Inspector
  • SysOps Administrator – Security Hub, Config, GuardDuty, IAM best practices
  • Developer Associate – Cognito, IAM roles, KMS, Secrets Manager
  • DevOps Professional – Security automation, Inspector, Security Hub integrations