Configure Zero-touch API Based Scan

The below AWS configurations are required from the customer to enable API Based assessment on the Connector app. You can enable zero-touch API Based scan to perform vulnerability assessments on your new assets with cloud native APIs. The below configurations allow Qualys to listen to changes in the instance states and pass the running instance data to run scans.

Pre-requisites for API Based Scan

•    Qualys Cloud Platform subscription with active VMDR.
•    Enable Zero-touch API Based Scan to your subscription from Qualys Backoffice. Contact your Qualys technical account manager (TAM) for enabling it.
•    AWS EC2 instances that report the inventory to AWS SSM.
•    AWS EventBridge configurations.

OS Compatibility

The following section lists the OS versions and supported platforms for Qualys Zero Touch API Based Assessment. Refer to API-based Scan OS Compatibility.

Configure AWS SSM Inventory

The SSM inventory must be configured to capture the instance data to perform scans. The SSM agent can be configured in selected regions or all regions. Follow the below steps to configure for either setting.

 

Configure EventBridge

Once the SSM agent is installed to collect instance data, we configure the EventBridge to listen to changes in instance state.

There are two ways of configuring EventBridge. Either manually from the AWS console or by uploading a CloudFormation template. Let us go through both methods below.

 

Additional Information

Connector permissions to be added for API-based Assessment. Provide these permissions in your AWS console. 

 

Create a policy that includes the permissions:

  • "ssm:ListInventoryEntries"

  • "ssm:DescribeInstanceInformation"

  • "ec2:DescribeInstances"

  • "ec2:DescribeAddresses"

  • "ec2:DescribeImages"

  • "ec2:DescribeRegions"

 

Refer to the following link to learn how to provide cross-account role access by creating an IAM role. Learn more.