---
title: Amazon Inspector
description: >-
  A security assessment service that enhances the security and compliance of
  your AWS resources.
breadcrumbs: Docs > Integrations > Amazon Inspector
---

# Amazon Inspector
Integration version1.0.0
## Overview{% #overview %}

Amazon Inspector is a security vulnerability assessment service that helps improve the security and compliance of your AWS resources.

Enable this integration to see all your Inspector metrics in Datadog.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Amazon Web Services integration](https://docs.datadoghq.com/integrations/amazon_web_services/) first.

### Metric collection{% #metric-collection %}

1. In the [AWS integration page](https://app.datadoghq.com/integrations/amazon-web-services), ensure that `Inspector` is enabled under the `Metric Collection` tab.
1. Install the [Datadog - Amazon Inspector integration](https://app.datadoghq.com/integrations/amazon-inspector).

### Log collection{% #log-collection %}

#### Enable logging{% #enable-logging %}

Configure Amazon Inspector to send logs either to a S3 bucket or to CloudWatch.

**Note**: If you log to a S3 bucket, make sure that `amazon_inspector` is set as *Target prefix*.

#### Send logs to Datadog{% #send-logs-to-datadog %}

1. If you haven't already, set up the [Datadog Forwarder Lambda function](https://docs.datadoghq.com/logs/guide/forwarder/).

1. Once the Lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your Amazon Inspector logs in the AWS console:

   - [Add a manual trigger on the S3 bucket](https://docs.datadoghq.com/logs/guide/send-aws-services-logs-with-the-datadog-lambda-function/?tab=awsconsole#collecting-logs-from-s3-buckets)
   - [Add a manual trigger on the CloudWatch Log Group](https://docs.datadoghq.com/logs/guide/send-aws-services-logs-with-the-datadog-lambda-function/?tab=awsconsole#collecting-logs-from-cloudwatch-log-group)

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **aws.inspector.total\_assessment\_run\_findings**(count) | The number of findings for this target.                       |
| **aws.inspector.total\_assessment\_runs**(count)          | The number of assessment runs for this target.                |
| **aws.inspector.total\_healthy\_agents**(count)           | The number of agents that match this target that are healthy. |
| **aws.inspector.total\_matching\_agents**(count)          | The number of agents that match this target.                  |

### Events{% #events %}

The Amazon Inspector integration does not include any events.

### Service Checks{% #service-checks %}

The Amazon Inspector integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
