Reference: AWS entity provider

The AWS entity provider integrates an AWS instance with Tanium to ingest AWS resources from an organizational unit or AWS account.

Important:

To use the Amazon Web Services (AWS) entity provider, you must be:

  • An AWS commercial customer

The AWS entity provider is not supported for AWS GovCloud.

For more information about AWS, see AWS documentation: Overview of Amazon Web Services.

You can view AWS cloud entities in Tanium Console alongside devices managed using Tanium Client. You can ingest AWS resources associated with the following services:

  • Amazon API Gateway

  • Amazon CloudFront

  • Amazon Cognito

  • Amazon DynamoDB

  • Amazon Elastic Compute Cloud (EC2), including Elastic Load Balancing and Auto Scaling

  • Amazon Elastic Container Service (ECS)

  • Amazon Elastic File System (EFS)

  • Amazon Elastic Kubernetes Service (EKS)

  • Amazon OpenSearch Service

  • Amazon Relational Database Service (RDS)

  • Amazon Redshift

  • Amazon Route 53

  • Amazon Simple Notification Service (SNS)

  • Amazon Simple Queue Service (SQS)

  • Amazon Simple Storage Service (Amazon S3)

  • Amazon Virtual Private Cloud (VPC)

  • AWS Amplify

  • AWS AppSync

  • AWS Certificate Manager

  • AWS Elastic Beanstalk

  • AWS Identity and Access Management (IAM)

  • AWS Key Management Service (KMS)

  • AWS Lambda

For more information about using AWS entity provider data in Attack Path Mapping, see Investigating attack paths.

Before you begin

  • You must have an AWS account plan. For more information, see AWS documentation: What is AWS Billing and Cost Management?.

  • You must configure an IAM role and custom trust policy for each AWS organization or account that you want to monitor.

    Note: You can configure the IAM role and custom trust policy using a template when you configure the AWS profile. For more information, see Create an AWS profile.
  • Configure Tanium Cloud to add one of the following URLs as a verified domain and allow bidirectional traffic between Tanium Cloud and the AWS endpoint. For more information, see Tanium Cloud User Guide: Configuring network egress for Tanium Cloud.

    AWS customer type Allowed endpoint1 Description
    commercial customer https://organizations.us-east-1.amazonaws.com communicate between Tanium and AWS commercial cloud

Architecture

Tanium Core Platform establishes a secure connection with your AWS instance and retrieves cloud entity data from selected organizational units (OU) and AWS accounts. This data is cached in Tanium Core Platform. After the interval that you configure in the AWS profile, Tanium Core Platform retrieves all cloud data and updates Tanium Core Platform with this information. Depending on the number of resources, this synchronization might take several minutes to complete.

Tanium operators that issue questions in Tanium Console can target all types of managed entities, including resources managed using the AWS entity provider. Tanium operators can also include resources managed using the AWS entity provider in Tanium Reporting reports and dashboards, or export the data using Tanium Connect.

Figure 1. Example Amazon Web Services entity provider architecture
Example architecture with resource data ingested by Amazon Web Services entity provider

Requirements

Review the requirements before you install and use the AWS entity provider.

Core platform dependencies

Make sure that your environment meets the following requirements:

  • Tanium Exposure Management Standard or Plus bundle

  • Tanium External Attack Surface license

  • Tanium Client: No client requirements.

Solution dependencies

Other Tanium solutions are required for the AWS entity provider to function (required dependencies) or for specific AWS entity provider features to work (feature-specific dependencies). The installation method that you select determines if the Tanium Server automatically imports dependencies or if you must manually import them.

Note: Some AWS entity provider dependencies have their own dependencies, which you can see by clicking the links in the lists of Required dependencies and Feature-specific dependencies. Note that the links open the user guides for the latest version of each solution, not necessarily the minimum version that the AWS entity provider requires.

Required dependencies

The AWS entity provider has the following required dependencies:

  • Tanium Cloud Entity Service

Feature-specific dependencies

If you select only Endpoint Provider to import, you must manually import or update its feature-specific dependencies regardless of Tanium Console or Tanium Core Platform versions. The AWS entity provider has the following feature-specific dependencies at the specified minimum versions:

  • Tanium Connect to export AWS cloud entity data to a destination

    Tanium Reporting to include AWS cloud entity data in reports and dashboards

Endpoints and entities

Review the endpoint and entity requirements for the AWS entity provider.

Supported internet protocols

The AWS entity provider supports IPv4 and IPv6 addresses.

Supported operating systems

The following endpoint operating systems are supported with the AWS entity provider.

  • Linux
  • macOS
  • Windows

For more information about EC2 supported operating systems, see Amazon Web Services documentation: Amazon Machine Images in Amazon EC2 and Amazon Web Services documentation: Amazon EC2 instances.

The AWS entity provider does not install the Tanium Client or deploy packages to entities. For Tanium Client operating system support, see Tanium Client Management User Guide: Client version and host system requirements.

Third-party software

You must have an AWS account plan to use the AWS entity provider. For more information, see AWS documentation: What is AWS Billing and Cost Management?

Host and network security requirements

Specific ports and processes are needed to run the AWS entity provider.

Ports

The following ports are required for AWS entity provider communication.

Source Destination Port Protocol Purpose
AWS instance 443 TCP Establish a connection between and AWS
best practice: Configure firewall policies to open ports for Tanium traffic with TCP-based rules instead of application identity-based rules. For example, on a Palo Alto Networks firewall, configure the rules with service objects or service groups instead of application objects or application groups.

Security exclusions

The AWS entity provider requires no specific security exclusions. For a list of all security exclusions to define across Tanium, see Tanium Client Management Guide: Reference: Endpoint security exclusions.

User role requirements

The following tables list the role permissions required to use the AWS entity provider.

Note: The roles listed in this section cover entity provider configuration only. For Attack Path Mapping role requirements, see User role requirements.

For more information about role permissions and associated content sets, see Tanium Console User Guide: RBAC overview.

Note: Assign the Integration Operator - AWS and Integrations Gallery Operator system roles to a user to configure the AWS entity provider. Assign the Integration Viewer - AWS and Integrations Gallery Viewer system roles to a user to view AWS entity provider details in Integrations Gallery.
Table 1. Partner Integration user role permissions
Permission Integration Operator - AWS1 Integration Viewer - AWS1
Partner Integration Gallery Aws
View AWS information in Integrations Gallery

Yes

READ

WRITE

Yes

READ

1The permissions for this role provide solution permissions for other solutions. To view the provided permissions, see Tanium Console User Guide: View effective role permissions.

View the Details page

The Details page for the AWS entity provider shows the following information:

  • Service Enablement toggle
  • Profiles count and link

To view the Details page:

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services.

View the Configuration page

The Configuration page for the AWS entity provider shows the following information:

To view the Configuration page:

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services.
  3. Click Configuration.

View the About page

The About page for the AWS entity provider shows the following information:

  • Discover Resources
  • Identify Relationships

To view the About page:

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services.
  3. Click About.

Configure integration between Tanium and AWS

Each AWS profile configuration connects to an OU or AWS account in a one-to-one relationship, using the following components:

  • the OU ID or AWS account ID, to locate and connect to an OU or AWS account

  • a custom AWS trust policy, to provide the required permissions to an IAM role

  • the AWS role Amazon Resource Name (ARN) to retrieve cloud entity data

The AWS entity provider fully synchronizes with your AWS organization or account on a configurable schedule, ingesting all cloud entity data into Tanium Core Platform. This cloud entity data is associated with the following attributes:

  • A Provider Type of Amazon Web Services

  • A Provider Name of the AWS profile name

  • An Entity Type of Cloud

Depending on the number of cloud entities in the AWS organization or AWS account, this synchronization might take several minutes. If you retrieve data associated with cloud entities in Tanium Core Platform, such as by issuing a question, the information is accurate as of the synchronization time. Any updates since the synchronization with AWS are not reflected in Tanium Core Platform until the next synchronization.

Note the following:

  • Tanium Client is not installed on AWS resources when you use the AWS entity provider to ingest cloud entity data. Tanium functionality that requires a Tanium Client, such as deploying a package or retrieving certain sensor data, cannot be performed on this cloud entity data. For example, you cannot apply custom tagging to cloud entity data, as custom tagging requires a package.
  • Because data associated with cloud entities is cached during synchronization, questions that return cloud entity data might return the data for cloud entities much faster than for devices managed using Tanium Client, as the Tanium Clients might need time to respond to the question. For example, if you issue a question that targets all entities, the live updates percentage might significantly increase almost immediately as the cloud entity data is available, and then increase at a slower rate as Tanium Clients respond.

  • If a resource is removed from AWS, the corresponding cloud entity data is not removed from Tanium Core Platform until the next full synchronization.
  • If you delete an AWS profile, this action also removes all cloud entity data that the deleted profile ingested into Tanium Core Platform. For more information, see Delete an AWS profile.

Enable the AWS integration

  1. From the Main menu, go to Shared Services > Integrations Gallery.
    Tip: You can also configure the integration in Atlas. Go to Command Palette Command Palette > Gallery Gallery Mode and then search for Amazon Web Services.
  2. In the Integrations section, click Amazon Web Services and then click Configuration.
  3. Click Enable and then confirm your selection.

Create an AWS profile

Create an AWS profile to ingest AWS resources from an organizational unit (OU) or AWS account. If you configure an OU for ingestion, the AWS entity provider also ingests AWS resources from all child OUs and AWS accounts unless you exclude OUs or AWS accounts.

Note: Use the Integration Operator - AWS system role to configure the AWS Organization profile.
  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services and then click Configuration.
  3. Click Create Profile.
  4. Enter an AWS profile Name.
  5. Select a Scope:

    • If you want to monitor an organization, select Organization and then enter the Organization OU ID.

    • If you want to monitor an AWS account, select Account.

      Note: The AWS Account ID is generated from the AWS Role ARN value.
  6. Assign the AWS profile to a Content Set.
  7. If you selected Organization, optionally exclude child OUs or AWS accounts:

    • If you want to exclude child OUs, enter a comma-separated list of Excluded Organization Units.

    • If you want to exclude child AWS accounts, enter a comma-separated list of Excluded Accounts.

  8. Select a Scan Interval.
  9. Configure an IAM role with the required permissions using a Deployment Type:

  10. Enter the AWS Role ARN associated with the created app.

  11. Click Verify Connection to confirm proper profile configuration. If an error is returned, check the configuration and then try again.
  12. Click Create.

Edit an AWS profile

Edit an AWS profile to update the Content Set, Scan Interval, or AWS Role ARN.

After you create an AWS profile, you cannot update the display Name, Scope, Organization OU ID, or AWS Account ID. If you want to change these values, delete the existing AWS profile and then create a new one.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services and then click Configuration.
  3. Click Edit.
  4. Configure the settings for the AWS profile.
  5. Click Save.

Disable an AWS profile

Disabling an AWS profile also stops ingestion of AWS cloud entity data for this entity provider. Cloud entity data that this entity provider ingested remains in Tanium, but does not reflect changes in AWS that occur after the AWS profile is disabled.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services and then click Configuration.
  3. Select Enabled for the AWS profile that you want to disable.

Delete an AWS profile

Deleting an AWS profile also removes all AWS cloud entity data that this entity provider ingested.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services and then click Configuration.
  3. Click Delete for the AWS profile that you want to delete.

Disable the AWS integration

Disabling the AWS integration disables all AWS profiles. AWS cloud entity data ingested remains in Tanium, but does not reflect changes in AWS that occur after the AWS integration is disabled.

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services.
  3. Select Service Enablement to disable the integration.

Monitor AWS integration

Review the following sections to learn how to monitor the AWS integration.

View AWS organization and AWS account profiles

To view the AWS organization and AWS account profiles:

  1. From the Main menu, go to Shared Services > Integrations Gallery.
  2. In the Integrations section, click Amazon Web Services.
  3. Click Configuration.

Filter AWS profile list

You can filter or order the list of AWS profiles.

  • To filter for a specific instance, enter a string value in the Filter items field. The list updates with any instances that contain the value you entered. To clear the filter, click X in the Filter items field.
  • To filter for a specific field value, enter a string value in the Profile Name, Profile Scope, Created By, or Created On filter fields.
  • Click a column header to sort the instances by the data in the column in descending order. Click the column header again to sort the list in ascending order. To clear the sort, click the column header a third time.

Use AWS entity data

Review the following sections to learn how to use AWS entity data in Tanium.

Include AWS entities in a report

  1. Perform one of the following steps based on whether you plan to edit an existing report or create a new view of entity data that you might or might not save as a report.

    • Existing report: Open the report and click Edit Data.

    • New view or report: From the Main menu, go to Data > Explore Data.

      Tip: You can also access the Explore Data page from the following locations:
      • An existing report: Click New Report or, in a non-editable report, click Explore Data.
      • The Data > Reports page: Click Create Report.
  2. Select a Data Source to limit the results to endpoints managed using Tanium Client or an entity provider, or select All Entities to return results from all endpoints.

    Note: Select Save as default to save your current Data Source selection for future reports.
  3. Configure the report. For more information, see Tanium Reporting User Guide: Explore data and create reports.

    Note: If you select AWS or All Entities as the Data Source, you can filter results to show only AWS entities.

Export AWS entity data using Tanium Connect

If the connection source supports AWS entity data, such as the Tanium Reporting (Source Data) source, you can export this data using Tanium Connect. For more information, see Tanium Connect User Guide: Overview.

Troubleshooting

If the AWS integration is not performing as expected, you might need to troubleshoot issues or change settings.

Cannot establish connection between Tanium and AWS

If the Tanium instance cannot establish a connection with AWS, verify that all IDs match the AWS settings, and that the network traffic is allowed.

  • Ensure that an IAM role is configured, and that you configured a custom trust policy.

    Note: You can configure the IAM role and custom trust policy using a template when you configure the AWS profile. For more information, see Create an AWS profile.
  • Ensure that a network egress allow list rule exists in your Tanium Cloud instance for traffic to the AWS endpoint over port 443/TCP. If this rule does not exist, create it. For more information, see Tanium Cloud User Guide: Configuring network egress for Tanium Cloud.
  • AWS customer type Allowed endpoint Description
    commercial customer https://organizations.us-east-1.amazonaws.com communicate between Tanium and AWS commercial cloud
  • Ensure that no network block list rules block traffic to the AWS endpoint. If a network block list rule identifies a CIDR range or uses wildcards to identify URLs, and includes the AWS endpoint, either create an exception or adjust the evaluation priority to allow this traffic.