Skip to content

Amazon Inspector is a vulnerability management service that detects and scans Amazon EC2 instances, container images, AWS Lambda functions, and code repositories. This guide walks you through the steps to gather the necessary information and configure your service for the purpose of creating an integration with Synqly's Application Security connector.

The operations executed by Synqly's Application Security connector will only return results that appear under the Code Security tab in the Amazon Inspector Console. This only includes resources that match the resource type of CODE_REPOSITORY.

Prerequisites

Before you begin, ensure that you have:

  • Activated Amazon Inspector
  • Access to an AWS account with the ability to create IAM policies, roles, and users

Need to activate Amazon Inspector? See the Amazon Inspector Getting Started docs page

For more information on the policy actions required to access IAM resources see the Amazon IAM Permissions required to access IAM resources docs page

Required Policy Actions

OperationRequired Policy Action
Query Applicationsinspector2:ListFindingAggregations
Query Application Findingsinspector2:ListFindings
Query findings across all applicationsinspector2:ListFindings
Get Application Finding Detailsinspector2:ListFindings
inspector2:ListFindingAggregations

Generating an Access Key and Secret

1. Creating a IAM Policy

  1. Log into the AWS Management Console and open the IAM Console. This can be done by searching for the IAM console or going to this link https://console.aws.amazon.com/iam/
  2. Select Policies from the sidebar on the left
  3. Select Create Policy
  4. Find the Policy Editor and then the Select a service section. Using the search box at the top of this section search for the Inspector2 service
  5. In the Actions allowed section, check the boxes of each of the required policy actions. The required policy actions can be found above in the section titled Required Policy Actions
  6. Once you have checked the box of each required policy action, select Next.
  7. On the Review and create page, fill the Policy Name and Description fields. Take note of the policy name as you will need this in the next section
  8. Select Create Policy. You have now created a new policy, proceed to the next section titled 2. Creating a new user with API only access


For more information on creating a new policy using the visual editor, see the AWS IAM Creating IAM Policies docs page

2. Creating a new user with API only access

  1. If you have not already, log into the AWS Management Console and open the IAM Console. This can be done by searching for the IAM console or going to this link https://console.aws.amazon.com/iam/
  2. Select Users from the sidebar on the left
  3. Select Create user
  4. Fill in the user name field. Leave the Provide user access to the AWS Management Console box Unchecked
  5. Select Next
  6. Find the Permissions options section and select the Attach policies directly option
  7. Find the Permissions policies section and use the search box to search for the policy you created in the previous section titled 1. Creating a IAM Policy.
  8. Check the box to the left of the policy and then select Next at the bottom of the page
  9. Review the details and then select Create user at the bottom of the page. You have now created a new user with API only access, proceed to the next section titled 3. Creating the Access Key and Secret


For more information on creating a new user in the IAM Console, see the AWS IAM Create an IAM user in your AWS account docs page

3. Creating the Access Key and Secret

  1. If you have not already, log into the AWS Management Console and open the IAM Console. This can be done by searching for the IAM console or going to this link https://console.aws.amazon.com/iam/
  2. If not already, return to the main users page by selecting Users from the sidebar on the left
  3. Select the name of the new user that you created in the previous section titled 2. Creating a new user with API only access
  4. Select Security Credentials
  5. Find the Access keys section and select Create access key
  6. If prompted to select a use case, select Other
  7. Fill in the description tag value and select Create access key
  8. You have now created the access key and access key secret that will be used to configure a new Synqly Amazon Inspector integration. Take note of these values and store them in a safe location


For more information on creating and managing access key for IAM users, see the AWS IAM Manage access keys for IAM user docs page

Configuring the Integration

To configure a new Amazon Inspector integration in the Synqly system, provide each of the values as defined below:

Integration ParameterDescription
RegionThis is your Amazon Inspector region. This value is found by navigating to the Amazon Inspector console and extracting the region from the url. The url uses this format: {region}.console.aws.amazon.com
Access Key IdThis is the Access key ID value generated from executing the steps above
Secret Access KeyThis is the Secret access key value generated from executing the steps above
Session (Optional)This is a token generated when using temporary credentials with AWS resources. This token is not generated by following this guide, you may leave this value blank