Skip to main content

Amazon CloudTrail

Amazon CloudTrail by Amazon Web Services (AWS) records API activity across your AWS infrastructure for auditing, compliance, and security analysis. You can bring management event data from Amazon CloudTrail into Brinqa to gain a unified view of API usage across your AWS accounts and regions, thus strengthening your cybersecurity posture.

This document details the information you must provide for the connector to authenticate with Amazon CloudTrail and how to obtain that information from Amazon. See create a data integration for step-by-step instructions on setting up the integration.

Required connection settings

When setting up a data integration, select Amazon CloudTrail from the Connector dropdown. If you cannot find the connector in the dropdown, make sure that you have installed it first. You must provide the following information to authenticate Amazon CloudTrail with Brinqa:

  • Access key ID and Secret access key: The access keys associated with the AWS account. The account must have the required read-only permissions for the specific AWS service. For additional information, see Create an IAM user for AWS access.

  • Default region: The AWS region for the connector. If not specified, the connector uses the AWS Default Region Provider Chain.

Create an IAM user for AWS access

For detailed steps on creating an IAM user and obtaining access keys, see the Amazon EC2 connector documentation. Follow the same process, but attach the required CloudTrail permissions (cloudtrail:LookupEvents) instead of the EC2 permissions.

The connector authenticates using the AWS SDK's credential resolution chain. If an assume-role ARN is configured, the connector assumes that IAM role using the provided credentials. Otherwise, it uses the provided access keys directly, falling back to the AWS Default Credential Provider Chain (environment variables, ~/.aws/credentials, or EC2 instance metadata).

Additional settings

The Amazon CloudTrail connector contains additional options for specific configuration:

  • Assume role ARN: ARN of an IAM role to assume. Comma-separated to assume multiple roles in the same sync.

  • Session duration: Assume-role session duration in seconds. The default setting is 3600.

  • Page size: The maximum number of records to get per API request. The default setting is 100. It is not recommended to go over 100.

  • Parallel requests: The maximum number of parallel API requests. The default setting is 8.

  • Maximum retries: The maximum number of times that the integration attempts to connect to the Amazon CloudTrail API before giving up and reporting a failure. The default setting is 10.

Types of data to retrieve

The Amazon CloudTrail connector can retrieve the following types of data from the Amazon CloudTrail API:

Table 1: Data retrieved from Amazon CloudTrail

Connector ObjectRequiredMaps to Data Model
CloudTrailEventYesCloud Resource
info

For detailed steps on how to view the data retrieved from Amazon CloudTrail in the Brinqa Platform, see How to view your data.

Attribute mappings

Expand the section below to view the mappings between the source and the Brinqa data model attributes.

CloudTrailEvent

Table 2: CloudTrailEvent attribute mappings

Source Field NameSDM Attribute
Event.accessKeyIdACCESS_KEY_ID
Event.eventIdEVENT_ID
Event.eventNameEVENT_NAME
Event.eventName (falls back to UID)NAME
Event.eventSourceEVENT_SOURCE
Event.eventTimeEVENT_TIME
Event.readOnlyREAD_ONLY
Event.resources[]RESOURCES
Event.usernameUSERNAME
Generated (composite {region}:{eventName}:{eventTime}:{username} fallback when eventId is missing)UID
Generated (constant AWS)CLOUD_PROVIDER
Generated (sync region)REGION
Generated (sync timestamp)LAST_CAPTURED

Operation options

The Amazon CloudTrail connector supports the following operation options. See connector operation options for information about how to apply them.

Table 3: Amazon CloudTrail operation options

Connector ObjectOptionAll Possible ValuesDescriptionExample
CloudTrailEventlookbackDaysAny numeric valueNumber of days back from now to look up events. The configured since SyncToken takes precedence when it is more recent than this window. The default value is 7.Key: lookbackDays Value: 3. This key and value combination only retrieves events from the last 3 days.
note

The option keys and values are case-sensitive as they are shown in this documentation.

APIs

The Amazon CloudTrail connector uses the AWS CloudTrail API. Specifically, it uses the following endpoints:

Table 4: Amazon CloudTrail API endpoints

Connector ObjectAPI Endpoint
CloudTrailEventcloudtrail:LookupEvents

Changelog

The Amazon CloudTrail connector has undergone the following changes:

note

This connector is part of a bundled release with other connectors from the same vendor. If a version shows "No change", it means that the connector version was updated for consistency as part of the bundle, but no functional changes were made to this specific connector. You can update to or skip this version without affecting your existing configuration.

Table 5: Amazon CloudTrail changelog

VersionDescriptionDate Published
3.1.0Initial Integration+ release.June 1st, 2026