AWS Security Hub Connector
The AWS Security Hub connector addresses fragmented vulnerability visibility by consolidating findings from multiple AWS services and partner tools into a unified view. It ingests host-level vulnerabilities from EC2 instances, container environments, and other AWS resources, then processes them through deduplication, normalization, and enrichment using Qualys' TruRisk scoring system.
For security teams managing AWS environments across multiple accounts and regions, this integration eliminates the need to manually correlate alerts from disparate sources, enabling faster prioritization and remediation of the most critical risks.
The connector's automated synchronization ensures teams maintain current awareness of their security posture without the overhead of manual data aggregation.
Connector Details
The following table summarizes what the AWS Security Hub Connector supports.
| Vendor | Amazon |
| Product Name | AWS Security Hub |
| Category | Vulnerability Management |
| Findings Support | Yes |
| Supported Assets | Host Assets (Compute) |
Configure the Connector
Configuration is completed in three steps within Qualys ETM. A valid connection test must pass before you can proceed.
Before You Begin
Create the IAM role, trust relationship, and permissions that the connector needs.
Create a Profile and Connection
Name the connection and authenticate with AWS Security Hub.
Set the Scope and Schedule
Choose the data to ingest and how often the connector runs.
Before You Begin - Authentication
Complete all steps in this section before configuring the connector in Qualys ETM. You will need access to the AWS Management Console with permissions to create IAM roles and policies.
Have the following items ready before proceeding:
- Access to the AWS Management Console with permissions to create IAM roles and policies.
- The Role ARN of the IAM role you will create (noted from the IAM dashboard after role creation).
- Your default AWS region where AWS Security Hub is actively configured.
- A unique External ID string of your choice. You will enter this in Qualys ETM and in your AWS IAM trust policy.
Example:qualys-securityhub-connector-01
Creating an IAM Role for the Connector
Follow these steps to create the IAM role and configure the trust relationship that allows the Qualys connector to access AWS Security Hub.
- Log in to the AWS Management Console and navigate to IAM > Roles > Create role.
- In the Trusted entity type section, select AWS account.
- Under Account options, select Another AWS account, and then enter 178650962893 in the Account ID field.
- Select Require external ID, and enter the external ID specified in the Qualys ETM connector configuration.
- Click Next.
Do not select This account. The trusted account must be the Qualys AWS account (178650962893).
- Create the IAM role without attaching a managed policy. After the role is created, attach the following inline policy. This policy grants the permissions required by the Qualys ETM connector, including access to AWS Security Hub findings and the Amazon EC2 resources used during connector validation.
Inline Policy
{ "Version": "2012-10-17", "Statement": [ { "Sid": "QualysSecurityHubRead", "Effect": "Allow", "Action": [ "securityhub:GetFindings", "securityhub:DescribeHub" ], "Resource": "*" }, { "Sid": "QualysEC2Read", "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeImages", "ec2:DescribeRegions", "ec2:DescribeInstanceAttribute" ], "Resource": "*" } ] }In addition to AWS Security Hub permissions, the connector requires the following Amazon EC2 read permissions to retrieve host asset records:
ec2:DescribeInstances,ec2:DescribeImages,ec2:DescribeRegions, andec2:DescribeInstanceAttribute. Configure these permissions to support successful completion of the Authorization Scope Check during connection testing. - Assign a name and description to the role, then click Create role.
- Navigate back to the Roles list, click the newly created role, and copy the value in the ARN field. You will enter this ARN in Qualys ETM during connector setup.
Configure the Trust Relationship
- In the IAM role summary, select the Trust relationships tab and click Edit trust policy.
- Add the Qualys AWS user as a trusted principal:
arn:aws:iam::178650962893:user/aws-connector - Include the External ID condition in the trust policy. Use the same External ID value that you specify in the Qualys ETM connector configuration. The External ID value in the trust policy and the connector configuration must match exactly for authentication to succeed.
- Save the updated trust policy.
If you do not have permission to create IAM roles, contact your AWS administrator. For additional guidance, see the AWS IAM documentation.
Permissions Required
To create an IAM policy for the required permissions below, refer to Step 3 of Creating an IAM Role for the Connector.
securityhub:GetFindings |
securityhub:DescribeHub |
ec2:DescribeInstances |
ec2:DescribeImages |
ec2:DescribeRegions |
ec2:DescribeInstanceAttribute |
Scope and Data Access
The connector retrieves vulnerability findings from AWS Security Hub, which aggregates findings from multiple AWS services and partner integrations. Resource types can be configured during profile setup to determine which resources' findings are ingested. Non-CVE vulnerability scores are mapped to Qualys Detection Scores (0–100 scale) across 5 severity levels with a configurable default severity fallback.
Key Rotation
AWS IAM role-based authentication does not use static credentials that require rotation. If the trust relationship or External ID needs to be updated, modify the IAM role's trust policy in the AWS Console and update the connector configuration in Qualys ETM accordingly.
Create a Profile & Connection
This step establishes the connector's identity and authenticates it with AWS Security Hub. Navigate to the Connectors section of Qualys ETM and select Create AWS Security Hub Connection.
Connector Details
| Field | Description |
|---|---|
| Name | A unique display name for this connector instance. Example: AWS Security Hub260506102111511 |
| Description | Optional free-text description of this connection. Maximum 164 characters. |
Authentication Details
| Field | Type | Description |
|---|---|---|
| Base Account ID | String (read-only) | The Qualys AWS account ID used as the trusted principal in your IAM role's trust relationship. Pre-populated by Qualys ETM. Example: 178650962893 |
| External ID | String | A unique identifier you define and enter here. Enter this same value in the sts:ExternalId condition of your AWS IAM role trust policy. The value must match exactly in both places. Example: qualys-securityhub-connector-01 |
| Role ARN | String | The Amazon Resource Name of the IAM role you created with Security Hub access. Format: arn:aws:iam::<account-id>:role/<role-name>. Example: arn:aws:iam::860454016470:role/qint-assume-role3 |
| Region | String (dropdown) | The AWS region where AWS Security Hub is actively configured. The connector pulls findings from this region. Example: US East (Ohio) |

- After entering all authentication details, click Test Connection. The following checks are performed:
- Network Reachability
- TLS Handshake
- Authentication Credential Check
- Authorization Scope Check
- Data Fetch
If the Authorization Scope Check fails with error code Access Denied, verify that the Assume Role ARN entered in Qualys ETM is correct, confirm the IAM role's trust policy includes the Qualys AWS user (
arn:aws:iam::178650962893:user/aws-connector) as a trusted principal with the correct External ID condition, and confirm that theAWSSecurityHubFullAccesspolicy is attached to the role. If the Data Fetch check also fails, verify the selected Default Region matches the AWS region where Security Hub is actively configured.
- Once all checks pass, click Next to proceed to Step 2.
Set the Scope & Schedule
Define which data to synchronize and how frequently the connector runs.
- Data to Sync: Select one of the following options:
- Assets & Findings – Ingests both asset records and associated vulnerability or misconfiguration findings.
- Assets – Ingests asset records only, without findings.
- Advanced Settings (optional): Turn on the Advanced Settings toggle to select the asset classes and finding types that you want to ingest into ETM.
- Schedule: Under the Schedule section, select an execution frequency from the Occurs dropdown (for example, Daily). The system will display the calculated start date, end date, and timezone for the scheduled run. The schedule configuration supports recurring synchronization, such as Daily.

Schedule times are interpreted in UTC. For recurring schedules, specify a start date, end date, and recurrence interval.
- Click Next.
Advanced Settings
Enabling the Advanced Settings toggle on the Scope & Schedule page or clicking the Advanced Settings link opens a panel with three tabs: Filters, Transform Map, and Risk Severity Mapping.
Filters
Use the Filters tab to restrict which asset types and findings are ingested.

| Filter | Options | Description |
|---|---|---|
| Resource Types | - | Resource type selection determines the scope of Security Hub findings imported into Qualys ETM. This is default selected. |
| Create assets that don't exist in Qualys | - | If enabled, the connector ingests all those assets that are not created/exist in Qualys. |
Click Save once the changes are saved in the Advanced Settings panel.
Transform Map
The Transform Map tab displays the active field mapping configuration between AWS Security Hub source fields and Qualys ETM target fields. The connector provides an out-of-box transform map that can be used without modification. You may clone the map to create a custom configuration.
Risk Severity Mapping
The Risk Severity Mapping tab defines how AWS Security Hub severity values are translated into Qualys severity levels and QDS scores for findings that are not scored automatically by the Qualys Cloud Threat Database.
Qualys automatically updates scores for CVE-based vulnerabilities available in the Qualys Cloud Threat Database. The severity mapping below applies only to findings that are not CVE-based or are not present in the Qualys Cloud Threat Database.
| Expected Source Value | Severity | QDS Score (Range 1–100) |
|---|---|---|
| 1 | 1 | 20 |
| 2 | 2 | 40 |
| 3 | 3 | 60 |
| 4 | 4 | 80 |
| 5 | 5 | 100 |
The default Severity is 2. This value is applied when the severity value from AWS Security Hub is unavailable for a given finding.
Review and Confirm
Review all configuration settings before creating the connector. Verify the connector name, Base URL, authentication type (Access Key), and scope selections.

Click Create to finalize. The connector is registered immediately after creation.
How the Connection Works
The AWS Security Hub Connector consolidates vulnerability findings from across the AWS ecosystem, including AWS services and partner tool integrations, and imports them into Qualys ETM for unified risk analysis and prioritization. Qualys ETM processes the incoming data by de-duplicating redundant entries, normalizing data formats, enriching findings with additional context, and calculating risk scores using TruRisk.
Each connector run retrieves host asset records from EC2 instances and container environments, along with vulnerability findings from AWS Security Hub. Findings include external asset IDs, severity levels, CVSS scores (v2.0 and v3.0), exploit and patch availability status, references, recommendations, and timestamps.
Connector States
A successfully configured connector progresses through the following states:

- Registered – The connector has been successfully created and registered to fetch data from AWS Security Hub.
- Scheduled – The connector is scheduled and waiting to execute its first or next connection run.
- Processing – A connection is actively executing and the connector is fetching asset and findings data from AWS Security Hub.
- Processed – The connector has successfully fetched assets. Findings import may still be in progress; allow additional time for all findings to appear in ETM.
The initial data import may take up to 2 hours to complete. The Processed state confirms the connector is correctly configured, but findings (particularly for large environments) may continue to process after the state changes. Wait for findings to fully appear before concluding that import is incomplete.
Viewing Assets and Findings in ETM
Once the connector reaches the Processed state, navigate to Enterprise TruRisk Management (ETM) to view the imported data.
To view imported assets:
- Go to Assets > Host in the ETM Inventory tab.
- Use the following filter:
inventory:(source:`AWS Security Hub`)
To view vulnerability findings:
- Go to Findings > Vulnerabilities in the ETM Risk Management tab.
- Use the following filter:
finding.vendorProductName:`Security Hub`
Click any asset or finding to view detailed information, including risk scores, severity, CVSS scores, exploit availability, patch availability, and remediation recommendations.
Troubleshooting
Use the following table to diagnose and resolve common issues with the AWS Security Hub connector.
| Issue | Resolution |
|---|---|
| Authentication failure on connector run | Verify the Assume Role ARN entered in Qualys ETM is correct. Confirm the IAM role's trust policy includes the Qualys AWS user (arn:aws:iam::178650962893:user/aws-connector) as a trusted principal with the correct External ID condition. Check that the AWSSecurityHubFullAccess policy is attached to the role. |
| Connection test fails | Verify the Default Region matches the AWS region where Security Hub is actively configured. Confirm the IAM role exists and has not been deleted or modified. Check that AWS STS is enabled in the target region. |
| No findings imported after first run | The connector transitions through Registered, Scheduled, Processing, and Processed states. The entire process may take up to 2 hours for completion. Verify that AWS Security Hub has active findings in the specified region. Check the connector state in Qualys ETM to confirm it has reached the Processed state. |
| Insufficient permissions error | Confirm the IAM role has the AWSSecurityHubFullAccess managed policy attached, or that the minimum inline policy grants the required read access to Security Hub findings and resources. If you cannot modify IAM policies, contact your AWS administrator. |
| Authorization Scope Check fails on the EC2 Fetch Component with an Unknown Error, even though Security Hub permissions are correct | The IAM role is missing EC2 read permissions. The connector runs a separate EC2 Fetch Component that requires ec2:DescribeInstances, ec2:DescribeImages, ec2:DescribeRegions, and ec2:DescribeInstanceAttribute. Add these actions to the role's inline policy. See Step 3 under Creating an IAM Role for the Connector. |
Additional Information
API Reference
The connector uses the AWS Security Hub API to retrieve findings. Authentication is performed via AWS STS AssumeRole using the configured IAM role ARN and External ID. The connector queries the following primary endpoint:
securityhub.<region>.amazonaws.com– Security Hub findings retrievalsts.amazonaws.com– IAM role assumption (STS)
For full API documentation, see the AWS Security Hub API Reference.
Transformation Map
The active transform map for this connector is the AWS Security Hub – Vulnerability map.
AWS Security Hub – Vulnerability Findings MapAWS Security Hub – Vulnerability Findings Map
| Source Attribute (AWS Security Hub) | Target Attribute (Qualys ETM) |
|---|---|
resources.details.awsEc2Instance.imageId |
externalAssetId (Required) |
title |
findingName (Required) |
productFields.aws/securityhub/FindingId |
externalFindingId (Required) |
severity.labelLOW | MEDIUM | HIGH | CRITICAL
|
findingSeverity1 | 2 | 3 | 4 | 5
|
description |
findingDescription |
firstObservedAt |
findingFirstFoundOn |
lastObservedAt |
findingLastFoundOn |
productName |
productName |
remediation.recommendation.text |
recommendation |
vulnerability.cvss.cvss2.0 |
cvssV2Base |
vulnerability.cvss.cvss3.0 |
cvss3Base |
vulnerability.exploitAvailable |
isExploitAvailable |
vulnerability.fixAvailable |
isPatchAvailable |
vulnerability.referenceUrls[] |
references |
productFields.RelatedAWSResources:0/name |
assetName |
resources.id |
cloudInstanceId |
resources.type |
System Type |
Frequently Asked Questions
Why is my connector stuck in Processing?
The initial data import may take up to 2 hours to complete. The Processed state means assets were imported successfully; for large environments, findings may continue to process after the state changes. If the connector stays in Processing well beyond that, see the Troubleshooting section.
Can I import host assets without vulnerability findings?
Yes. In the Set the Scope & Schedule step, set Data to Sync to Assets instead of Assets & Findings. The connector then ingests asset records only, without findings.
What permissions does the IAM role need?
Attach the AWSSecurityHubFullAccess managed policy to the IAM role, or use a minimum inline policy that grants read access to Security Hub findings and resources. If you cannot create or modify IAM roles and policies, contact your AWS administrator. See Permissions Required for details.
Where do I find the External ID for the trust policy?
Qualys ETM generates the External ID automatically and displays it in the read-only External ID field on the Profile & Connectivity form. Copy this value into the IAM role's trust policy before you test the connection. See Authentication Details.
Why does the connection test fail with Access Denied?
Verify that the Role ARN entered in Qualys ETM is correct, that the IAM role's trust policy includes the Qualys AWS user (arn:aws:iam::178650962893:user/aws-connector) as a trusted principal with the correct External ID condition, and that the AWSSecurityHubFullAccess policy is attached to the role. If the Data Fetch check also fails, confirm that the selected region matches the AWS region where Security Hub is actively configured.
Do I need to rotate credentials for this connector?
No. AWS IAM role-based authentication does not use static credentials that require rotation. If the trust relationship or External ID changes, update the IAM role's trust policy in the AWS Console and update the connector configuration in Qualys ETM accordingly. See Key Rotation.
Where do I see AWS Security Hub data in ETM?
- Assets — go to Assets > Host in the ETM Inventory tab and apply the filter
inventory:(source:`AWS Security Hub`) - Findings — go to Findings > Vulnerabilities in the ETM Risk Management tab and apply the filter
finding.vendorProductName:`Security Hub`