AWS EC2 Connector

The following is not supported in Tenable FedRAMP Moderate environments. For more information, see the Tenable FedRAMP Product Offering.

Amazon Elastic Compute Cloud (Amazon EC2) is a core service provided by Amazon Web Services (AWS) that allows users to run virtual machines (called instances) in the cloud. These instances can be used to host applications, run batch jobs, serve websites, or perform virtually any compute-related task—without needing to own or manage physical hardware.

Tip: For more information on how third-party integrations work, see Connectors.

Connector Details

Details Description

Supported products

Amazon Elastic Compute Cloud (AWS EC2)

Category

Asset Inventory

Ingested data

Assets only

Ingested Asset Classes

Devices

Resources

Integration type

UNI directional (data is transferred from the Connector to Tenable Exposure Management in one direction)

Supported version and type

SaaS (latest)

Prerequisites and User Permissions

Before you begin configuring the connector, make sure to:

Add a Connector

To add a new connector:

  1. In the left navigation menu, click Connectors.

    The Connectors page appears.

  2. In the upper-right corner, click Add new connector.

    The Connector Library appears.

  3. In the search box, type the name of the connector.

  4. On the tile for the connector, click Connect.

    The connector configuration options appear.

Configure the Connector

  1. (Optional) In the Connector's Name text box, type a descriptive name for the connector.

  2. (Optional) To use a preconfigured on-prem connector to connect to this connector, from the Gateway drop-down, select the on-prem connector you want to use for the connector. Otherwise, select Don't use gateway.

    Note: For information about configuring a gateway, see Tenable On-Prem Connector.
  3. In the Regions text box, type a comma separated list of the cloud regions in which your AWS accounts reside.

  4. Do one of the following:

    • For a single AWS account:

      1. In the Access Key Integration section, in the Access Key and Secret Key text boxes, paste the access and secret keys generated in AWS.

    • For multiple AWS accounts:

      1. In the ARN integration section, in the External ID text box, type the external ID for your AWS account.

      2. In the ARNs text box, type a list of comma separated ARNs from which you want to pull AWS data.

      Important! At least one of the provided ARNs must have access to each selected region to allow successful data collection.

      Note! Exposure Management attempts to sync each selected region using all available ARNs. Partial coverage is supported, but at least one ARN must have access to every selected region to ensure complete data ingestion.
  5. In the Data pulling configuration section, you can configure dynamic settings specific to the connector.

    • In the Asset Retention text box, type the number of days after which you want assets to be removed from Tenable Exposure Management. If an asset has not been detected or updated within the specified number of days, it is automatically removed from the application, ensuring your asset inventory is current and relevant.

      Tip: For more information, see Asset Retention.
  6. In the Test connectivity section, click the Test Connectivity button to verify that Tenable Exposure Management can connect to your connector instance.

    • A successful connectivity test confirms that the platform can connect to the connector instance. It does not, however, guarantee that the synchronization process will succeed, as additional syncing or processing issues may arise.

    • If the connectivity test fails, an error message with details about the issue appears. Click Show tests for more information about the exact error.

  7. In the Connector scheduling section, configure the time and day(s) on which you want connector syncs to occur.

    Tip: For more information, see Connector Scheduling.
  8. Click Create. Tenable Exposure Management begins syncing the connector. The sync can take some time to complete.

  9. To confirm the sync is complete, do the following:

AWS in Tenable Exposure Management

Locate Connector Assets in Tenable Exposure Management

As the connector discovers assets, Tenable Exposure Management ingests those devices for reporting.

To view assets by connector:

  1. In Tenable Exposure Management, navigate to the Assets page.

  2. In the Filters section, under 3rd Party Connectors, click the connector name for which you want to view assets.

    The asset list updates to show only assets from the selected connector.

  3. Click on any asset to view Asset Details.

Data Mapping

Exposure Management integrates with the connector via API to retrieve relevant weakness and asset data, which is then mapped into the Exposure Management system. The following tables outline how fields and their values are mapped from the connector to Exposure Management.

Device Mapping

Tenable Exposure Management UI Field

AWS EC2 Field

Unique Identifier

InstanceId

Asset - External Identifier or

Asset - Provider Identifier

InstanceId

Asset - Name

PublicDnsName or InstanceId

Asset - Operating Systems

 

Platform or PlatformDetails

Asset - IPv4 Adresses

Asset - IPv6 Adresses

PrivateIpAddress

PublicIpAddress

Asset - MAC Addresses

MacAddress

Asset - Host Fully Qualified DNS

PrivateDnsName

Asset - First Observation Date

LaunchTime

Asset - External Tags

Tags

Asset Custom Attributes

AvailabilityZone

InstanceType

SecurityGroups

AmiLaunchIndex

KeyName

Resource Mapping

Tenable Exposure Management UI Field

AWS EC2 Field

Unique Identifier

GroupId

Asset - Name

GroupName

Provider Names

AWS

Cloud Resource Type

AWS::EC2::SecurityGroup

Asset - External Identifier or

Asset - Provider Identifier

GroupId

Asset - External Tags

Tags

Asset Custom Attributes

VpcId

OwnerId

Status Update Mechanisms

Every day, Tenable Exposure Management syncs with the vendor's platform to receive updates on existing findings and assets and to retrieve new ones (if any were added).

The table below describes how the status update mechanism works in the connector for findings and assets ingested into Tenable Exposure Management.

Update Type in Exposure Management

Mechanism (When?)

Archiving Assets

  • Asset that appears in Exposure Management and is not returned on the next connector sync

  • Asset not seen for X days according to "Last Seen". See Asset Retention

  • (Configurable) Asset status (State.Name) changes to one of the selected statuses defined in the Asset Retention configuration: pending, running, shutting-down, terminated, stopping, stopped. The status terminated is selected by default.

Change a Finding status from "Active" to "Fixed"

  • [Finding no longer appears in the scan findings]

  • [Finding status changes to [resolved], [ignored], or [suppressed] on the vendor side]

  • [Findings status on the connector's side indicates irrelevancy (e.g., "[INACTIVE]")]

Note: Updates on the vendor side are reflected in Tenable Exposure Management only when the next scheduled connector sync time is complete (once a day).

Support Limitations and Expected Behavior

This section outlines any irregularities, expected behaviors, or limitations related to integration of the connector and Exposure Management. It also highlights details about ingested and non-ingested data to clarify data handling and functionality within this integration.

API Endpoints in Use

API version: 11.3.0

API

Use in Tenable Exposure Management

Required Permissions

describe_instances generating Devices EC2 describeInstances
describe_security_groups generating Resources EC2 describeSecurityGroups

Data Validation

This section shows how to validate and compare data between Tenable Exposure Management and the AWS EC2 platform.

Asset Data Validation

Objective: Ensure the number of assets in AWS EC2 aligns with the number of devices displayed in Tenable Exposure Management.

In AWS EC2 :

  1. Navigate to EC2 > Instances.

  2. Ensure that all instance states are selected.

  3. Review the total number of EC2 instances.

    Note the number of terminated instances. These are archived by default and do not appear Exposure Management.

  4. Subtract the terminated instances from the total to get the count of active instances expected in Exposure Management.

In Tenable Exposure Management:

  1. Locate your connector assets.

  2. Compare the total number of assets between AWS EC2  and Tenable Exposure Management.

Expected outcome: The asset count in Exposure Management may not perfectly match those in AWS EC2, as the connector captures data via periodic snapshots rather than real-time updates. Discrepancies can occur due to instance changes between syncs, short-lived instances, regional filtering, or IAM permission limitations.

Security Groups (Resources) Data Validation

Objective: Ensure the number of assets in AWS EC2 aligns with the number of resources displayed in Tenable Exposure Management.

In AWS EC2:

  1. Navigate to EC2 > Network & Security > Security Groups.

  2. Review the total number of security groups.

In Tenable Exposure Management:

  1. Locate your connector assets.

  2. Compare the total number of resources between AWS EC2  and Tenable Exposure Management.

Expected outcome: Resources listed AWS EC2 should match those shown in Exposure Management.

If an asset is not visible in Exposure Management, check the following conditions:

  • The asset status changed to one of the selected statuses defined in the Asset Retention configuration.

  • The asset was archived based on the last observed date (last seen).

  • The asset was archived based its status.

  • The asset was archived because it did not return in the connector's next sync.

    Tip: To learn more on how assets and findings change status, see Status Update Mechanisms.