> For the complete documentation index, see [llms.txt](https://docs.prismacloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prismacloud.io/content-collections/administration/configure-external-integrations-on-prisma-cloud/integrate-prisma-cloud-with-aws-inspector.md).

# Integrate Prisma Cloud with AWS Inspector

Learn how to integrate Prisma® Cloud with Amazon Inspector.

Get a contextual view into cloud assets risks with Prisma Cloud’s Amazon Inspector integration. Activate this integration to allow Prisma® Cloud to ingest vulnerability data and security best practice deviations to identify suspicious traffic to sensitive workloads, such as databases with known vulnerabilities.

1. Enable Amazon Inspector on your EC2 instances. To set up Amazon Inspector, see [Amazon documentation](https://aws.amazon.com/premiumsupport/knowledge-center/set-up-amazon-inspector/).
2. Enable read-access permissions to Amazon GuardDuty on the IAM Role policy.

   The Prisma Cloud IAM Role policy you use to onboard your AWS setup needs to include these permissions:

   * `inspector:Describe*`
   * `inspector:List*`

     tt:\[NOTE] If you used the CFT templates to onboard your AWS account, the Prisma Cloud IAM Role policy already has the permissions required for Amazon Inspector.
3. After the Prisma Cloud service begins ingesting Amazon Inspector data, you can use RQL queries for visibility into the host vulnerability information collected from it.
   1. Navigate to **Investigate > Search** page.
      1. To search for **Config Query**, enter the following RQL query.

         ```
         config from cloud.resource where finding.type = 'AWS Inspector Runtime Behavior Analysis'
         ```

         **AWS Inspector Runtime Behavior Analysis**— Fetches all resources which are in violation of one or more rules reported by the AWS Runtime Behavior Analysis package.

         ```
         config from cloud.resource where finding.type = 'AWS Inspector Security Best Practices'
         ```

         **AWS Inspector Security Best Practices**— Fetches all resources which are in violation of one or more rules reported by the AWS Inspector security best practices package.
      2. Select an asset to view the **Finding Types** side panel. The panel lists threats or security issues associated with the asset.

         <figure><img src="/files/Nd3vDaqXs04SFEA9fsXR" alt="inspector audit trail query"><figcaption></figcaption></figure>

         <figure><img src="/files/60MpIdF9LM3Fvcl9oscd" alt="inspector findings query"><figcaption></figcaption></figure>
   2. To search for **Network Query**, enter the following RQL query.

      ```
      network from vpc.flow_record where dest.resource IN ( resource where finding.type = 'AWS Inspector Runtime Behavior Analysis' )

      network from vpc.flow_record where dest.resource IN ( resource where finding.type = 'AWS Inspector Security Best Practices' )
      ```

      The query returns a visual representation of the assets for further investigation.

      <figure><img src="/files/TdHbtCial2J4ajrB4sl9" alt="inspector network query"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.prismacloud.io/content-collections/administration/configure-external-integrations-on-prisma-cloud/integrate-prisma-cloud-with-aws-inspector.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
