Amazon Inspector
Cloud service · AWS · Updated

Amazon Inspector

In short

Amazon Inspector is a security assessment service offered by Amazon Web Services (AWS) that automatically assesses applications for vulnerabilities or deviations from best practices, and produces a detailed list of security findings prioritized by level of severity.

Cloud Services Hub →

5 key features of Amazon Inspector

Amazon Inspector offers automated vulnerability management, continuous scanning, integration with AWS services, comprehensive reporting, and customizable rule packages for effective security assessments.

01
Automated Vulnerability Management

Amazon Inspector automatically assesses applications for vulnerabilities or deviations from best practices, including network accessibility and common vulnerabilities and exposures (CVEs) in the Amazon EC2 instances.

02
Continuous Scanning

Amazon Inspector continuously scans the AWS environment to identify software vulnerabilities and unintended network exposure, ensuring that risks are identified as soon as they arise.

03
Integrated AWS Services

Integrates with AWS Security Hub and Amazon EventBridge to automate workflows and ticket routing.

04
Comprehensive Reporting

Provides detailed findings of the security assessment, including severity levels and remediation steps, to help prioritize and manage security issues effectively.

05
SBOM Scan API

The Amazon Inspector Scan API scans software bills of materials (SBOMs) on demand and can integrate into CI/CD pipelines to assess resources outside AWS.

Where Amazon Inspector is used

Amazon Inspector is used for vulnerability management, compliance assurance, DevSecOps integration, and automated security assessments to enhance the security and compliance posture of AWS workloads.

  1. 01
    Vulnerability Management

    Amazon Inspector is used to automatically scan AWS workloads for vulnerabilities and unintended network exposures. Organizations can leverage this capability to continuously monitor and rectify security vulnerabilities in their AWS resources, ensuring compliance with their security policies and standards.

  2. 02
    Compliance Assurance

    Supports compliance requirements and best practices for NIST CSF, PCI DSS, and other regulations through Amazon Inspector scans.

  3. 03
    DevSecOps Integration

    Amazon Inspector can be seamlessly integrated into CI/CD pipelines to automatically assess application security as part of the development process. This enables developers and security teams to address vulnerabilities early in the development lifecycle, promoting a culture of security and operational excellence.

  4. 04
    Automated Security Assessments

    Organizations can use Amazon Inspector to automate the process of security assessment reporting. By scheduling regular scans, users can receive reports detailing the security health of their AWS environment, enabling proactive risk management and mitigation strategies.

How Amazon Inspector is priced

Amazon Inspector pricing varies between agent-based assessments for EC2 instances or servers, and event-based assessments for AWS resources like Lambda functions and containers without installing agents.

Amazon EC2 instance scans

Charged by the average number of EC2 instances assessed during the month, for both agent-based and agentless scanning. Intermittently running instances are prorated by their total running time.

Amazon ECR container image scans

Charged for the number of images initially scanned when pushed to ECR and the number of image rescans performed each month.

Amazon EC2 CIS Benchmark assessments

Charged per assessment per EC2 instance.

On-demand container image scanning

Charged by the number of container images scanned per month, including scans within CI/CD tools and on-demand scans outside those tools.

AWS Lambda standard scans

Charged by the average number of Lambda functions scanned per month, prorated by Inspector coverage hours from discovery until deletion or exclusion from scanning.

AWS Lambda code scans

Charged by the average number of Lambda functions scanned per month, prorated by Inspector coverage hours from discovery until deletion or exclusion from scanning.

Code repository scans

Charged by the total number of scans across repositories for each supported scan type: first-party code (SAST), third-party dependencies (SCA), and infrastructure as code (IaC).

Microsoft Azure Virtual Machine scans

Charged by the average number of Azure VMs assessed per month, with intermittently running VMs prorated by total running time.

Microsoft Azure Container Registry image scans

Charged for the number of images initially scanned when pushed to ACR and the number of image rescans performed each month.

Microsoft Azure Function App scans

Charged by the average number of Azure Function Apps scanned per month, prorated by Inspector coverage hours.

Continuous AMI scanning

Charged by the average number of AMIs scanned per month, prorated by the time each AMI is scanned.

One-time AMI scanning

Charged per AMI scan for a one-time vulnerability assessment.

Services Amazon Inspector works with

AWS Security HubAWS Security Hub

Amazon Inspector findings are automatically sent to AWS Security Hub, where you can aggregate the findings from various AWS security services into a consistent format for easier management and remediation.

AWS OrganizationsAWS Organizations

Amazon Inspector integrates with AWS Organizations, enabling you to manage and delegate responsibilities, such as security assessments, across multiple AWS accounts in an organization.

AWS LambdaAWS Lambda

Amazon Inspector integrates with AWS Lambda to automate responses to findings. For instance, you can create Lambda functions that automatically remediate specific types of vulnerabilities when detected by Amazon Inspector.

Amazon CloudWatchAmazon CloudWatch

Amazon Inspector finding events can be routed through Amazon EventBridge to CloudWatch Logs. This lets you retain finding changes, search them alongside operational logs, and create log-based alerts.

Amazon CodeGuruAmazon CodeGuru

Amazon Inspector Lambda code scanning uses Amazon CodeGuru detectors to identify security vulnerabilities in function code. Findings can identify problems such as injection flaws, insecure cryptography, and sensitive information exposure.

Amazon DetectiveAmazon Detective

Amazon Inspector findings forwarded to AWS Security Hub can be investigated in Amazon Detective. Detective adds resource relationships and activity context to help determine whether a vulnerable resource is involved in suspicious activity.

Amazon EC2Amazon EC2

Amazon Inspector discovers EC2 instances and scans them for vulnerable software packages and unintended network exposure. It also supports CIS Benchmark assessments for supported instance operating systems.

Amazon Elastic Block Store (Amazon EBS)Amazon Elastic Block Store (Amazon EBS)

Amazon Inspector agentless EC2 scanning uses snapshots of EBS volumes to inspect installed software without requiring an agent on the instance. Inspector manages temporary scanning resources and removes them after the scan.

Amazon Elastic Container Registry (Amazon ECR)Amazon Elastic Container Registry (Amazon ECR)

Amazon Inspector provides enhanced scanning for private ECR repositories, detecting vulnerabilities in operating-system and programming-language packages within container images. Continuous scanning updates findings when newly published vulnerabilities affect an image.

Amazon Elastic Container Service (Amazon ECS)Amazon Elastic Container Service (Amazon ECS)

Amazon Inspector maps scanned ECR images to running ECS workloads. Image usage information helps prioritize vulnerabilities in images that are actually deployed rather than sitting unused in a registry.

What is Amazon Inspector

2 min read

Amazon Inspector is a security vulnerability assessment service designed to help organizations enhance the security and compliance of their applications deployed on Amazon Web Services (AWS). As businesses increasingly move their operations to the cloud, ensuring the security of their applications and data becomes paramount. Amazon Inspector automates the security assessment process by scanning AWS resources for vulnerabilities or deviations from best practices. 

One of the core strengths of Amazon Inspector is its deep integration with AWS, enabling it to effortlessly assess the configuration and behavior of AWS resources. It works by analyzing the application's network accessibility, identifying the vulnerabilities or deviations, and then providing detailed findings. These findings are accompanied by a severity rating, which helps organizations prioritize issues based on their potential impact on the security posture. This comprehensive analysis is critical in todays fast-evolving threat landscape, allowing businesses to proactively identify and mitigate vulnerabilities before they can be exploited. 

EC2 network reachability findings assess accessibility to or from VPC edges, including internet gateways, VPC peering connections, and VPNs through virtual gateways. They help identify exposure caused by misconfigured security groups, network ACLs, and gateways.

For SSM agent-based EC2 scanning, Amazon Inspector starts rescans when packages are installed or uninstalled, a new CVE is published, or a vulnerable package is updated. Agentless EC2 scans run every 24 hours.

EC2 scanning supports agent-based scanning with AWS Systems Manager Agent and agentless scanning. For new customers, hybrid scan mode is enabled by default with EC2 scanning: it uses SSM Agent for application inventory and automatically falls back to agentless scanning when the agent is not installed or configured.

Amazon Inspector is designed with simplicity in mind. Setting up and starting the assessments can be done with just a few clicks in the AWS Management Console. Once activated, Amazon Inspector automatically discovers running EC2 instances, Lambda functions, and ECR repositories and starts continually scanning workloads for software vulnerabilities and unintended network exposure. 

Moreover, Amazon Inspector offers detailed recommendations on how to address the identified issues. These recommendations are actionable, allowing developers and security teams to clearly understand the steps needed to remediate vulnerabilities, ultimately enhancing the security posture of their applications. 

Using Amazon Inspector, organizations can automate regular security assessments, thereby continuously monitoring their AWS resources for vulnerabilities. This continuous monitoring is essential for maintaining compliance with industry regulations and standards, as it ensures that security is not just a one-time check but an ongoing process. 

In summary, Amazon Inspector is an essential service for any organization deploying applications on AWS, offering comprehensive, automated security assessments that adapt to the latest threat landscape. By simplifying the process of identifying and remediating vulnerabilities, Amazon Inspector enables businesses to more effectively protect their applications and data against current and emerging security threats.

Concepts related to Amazon Inspector

Amazon Inspector exam questions

Real practice exam questions on Amazon Inspector, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIF-C01

A company stores container images for an AI inference application in Amazon Elastic Container Registry (Amazon ECR). The security team must identify known vulnerabilities in operating system packages and application dependencies. It also needs updated findings when new vulnerabilities are published, even if no new image is pushed. Which solution best meets these requirements?

Show answerCORRECT ANSWER

Enable ECR enhanced scanning with Amazon Inspector and configure continuous scanning with an appropriate image rescan duration.

Amazon Inspector integrates with ECR enhanced scanning to identify vulnerabilities in supported operating system packages and application dependencies. Continuous scanning updates findings as new vulnerabilities are disclosed for images that remain eligible under the configured rescan duration.

MLA-C02

An ML team is preparing to release a custom inference container stored in Amazon ECR. Amazon Inspector reports a HIGH-severity vulnerability in an operating-system package inherited from the container's base image. The finding identifies the installed package version and a fixed version. The application source-code security checks pass.

The platform team updates the base image's existing tag to reference a new image that contains the fixed package. However, a new assessment of the previously built inference image still reports the vulnerability. The release has not been deployed.

Which action should the ML engineer take to remediate the release candidate and verify the result?

Show answerCORRECT ANSWER

Pull the patched base image, rebuild the inference image without reusing the old base layers, and push the new image. Confirm that the assessment of the new image digest no longer reports the affected package version.

Container images retain the layers used when they were built. Rebuilding with the patched base incorporates the corrected package. Assessing the resulting image digest verifies that the release artifact, rather than just its base-image tag, has been remediated.

SAP-C03

A company runs Amazon Linux EC2 container hosts across 30 AWS accounts in two AWS Regions. All hosts are AWS Systems Manager managed nodes. Application images are stored in private Amazon ECR repositories and contain operating system packages and supported programming-language packages. Images remain deployed for 30 days without necessarily being pushed again.

The company currently uses an AWS predefined patch baseline for the hosts. An existing deployment pipeline distributes account-specific and Region-specific configurations, and maintenance windows run AWS-RunPatchBaseline against designated patch groups.

The security team introduces two requirements:

• Container images must be scanned automatically for operating system and programming-language package vulnerabilities, including newly published vulnerabilities throughout the 30-day deployment period.
• Hosts that are missing patches approved by the baseline must report CRITICAL severity in native Systems Manager patch compliance results, rather than Unspecified. The existing patch approval criteria and maintenance-window workflow must be preserved.

Which solution meets these requirements?

Show answerCORRECT ANSWER

Enable ECR enhanced scanning with continuous scanning for the repositories and configure Amazon Inspector image eligibility to cover at least 30 days. Create regional custom baselines by copying the predefined baseline, preserve its approval criteria, and set the approval rules' compliance level to CRITICAL. Use the existing pipeline to distribute the custom baselines and associate them with the patch groups.

ECR enhanced scanning uses Amazon Inspector to assess operating system and supported programming-language packages and continuously reassess eligible images when relevant vulnerabilities are published. Copying the predefined baseline allows the company to preserve its approval criteria while configuring CRITICAL compliance severity for missing approved patches. Associating the custom baselines with the existing patch groups preserves the maintenance-window execution workflow.

Practice Amazon Inspector in a full exam

Questions on Amazon Inspector in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon Inspector in lessons

23 short lessons on Amazon Inspector in 8 certification courses.

and 17 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.