AWS Cloud Trail Service Tables

The AWS Cloud Trail Service integration uses the following tables

Tables

AWSCloudTrailEvents

NameTypeDescription
AccessKeyIDstringThe AWS access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.
AssumedRoleArnstringThe Amazon Resource Name (ARN) of the IAM role that was assumed during the event.
AssumedRoleIDstringThe unique identifier for the assumed role session.
AuthenticationMethodstringThe method used to authenticate the request, such as password, multi-factor authentication, or federated.
AwsRegionstringThe AWS Region where the event occurred.
BatchDatedatetimeThe date when the data was collected or processed.
BytesTransferredInintegerThe number of bytes transferred into AWS services during the event.
BytesTransferredOutintegerThe number of bytes transferred out of AWS services during the event.
CipherSuitestringThe cipher suite used for the TLS connection between the client and AWS service.
CognitoIdpUsEast1AmazonawsComUsEast1AaaaaaaaastringLikely represents a specific Cognito Identity Provider endpoint or configuration.
ConfigIDintegerAn identifier for the specific configuration or data snapshot.
DurationSecondsintegerThe duration, in seconds, of the session. This is part of the sessionContext within userIdentity.
ErrorCodestringThe AWS service error code returned if the request failed.
ErrorMessagestringA descriptive message explaining why the request failed, if applicable.
EventCategorystringThe category of the event. Valid values include Management, Data, Insight, ConfigurationItem, Evidence, and ActivityAuditLog.
EventDataStorestringThe identifier of the event data store where the event is recorded.
EventIDstringA unique identifier for the event.
EventNamestringThe name of the API operation that was performed.
EventSourcestringThe AWS service that the request was made to, such as ec2.amazonaws.com.
EventTimedatetimeThe date and time when the event occurred.
EventTypestringThe type of the event. Valid values include AwsApiCall, AwsServiceEvent, AwsConsoleSignIn, and others.
EventVersionstringThe version of the event record format.
ManagementEventbitIndicates whether the event is a management event.
MessagestringA message associated with the event.
MessageAttributesstringAttributes associated with the message in the event.
MessageStructurestringThe structure of the message in the event.
NamestringA name associated with the event or resource.
ReadonlybitIndicates whether the operation was read-only.
RecipientAccountIDstringThe AWS account ID that received the request.
RequestIDstringThe identifier for the request.
ResponseCredentialsAccessKeyIdstringThe access key ID used in the response.
ResponseCredentialsExpirationdatetimeThe expiration time of the credentials used in the response.
ResponseCredentialsSessionTokenstringThe session token used in the response.
ResponseIdentityIdstringThe identity ID in the response.
ResponseMessageIdstringThe message ID in the response.
ResponseUserArnstringThe ARN of the user in the response.
ResponseUserNamestringThe username in the response.
RoleArnstringThe ARN of the IAM role that was assumed during the event.
RoleSessionNamestringThe name of the session when the IAM role was assumed.
SessionCredentialFromConsolebitThis is an optional field available only for event data stores, which is used to filter management and data events based on whether the events originated from an AWS Management Console session.
SessionTokenstringThe temporary security token provided by AWS STS when temporary security credentials are used.
SharedEventIDstringA GUID generated by CloudTrail to uniquely identify events from the same AWS action that are sent to different AWS accounts.
SignatureVersionstringThe version of the AWS Signature used to sign the request, such as SigV4.
SourceIPAddressstringThe IP address from which the request was made. For actions originating from the AWS Management Console, this is the IP address of the underlying customer resource, not the console web server.
SubjectstringThe subject line of the message published to an Amazon SNS topic.
TlsCipherSuitestringThe cipher suite used for the TLS connection between the client and AWS service.
TlsClientProvidedHostHeaderstringThe host header provided by the client during the TLS handshake.
TlsVersionstringThe version of the TLS protocol used for the connection, such as TLSv1.2.
TokenExpirationdatetimeThe expiration time of the temporary security credentials.
TopicArnstringThe Amazon Resource Name (ARN) of the Amazon SNS topic to which a message was published.
UserAgentstringThe agent through which the request was made, such as aws-cli/2.13.5 Python/3.11.4.
UserIdentityAccessKeyIDstringThe access key ID used to make the request.
UserIdentityAccountIDstringThe AWS account ID associated with the identity that made the request.
UserIdentityArnstringThe Amazon Resource Name (ARN) of the identity that made the request.
UserIdentityPrincipalIDstringThe unique identifier for the principal that made the request.
UserIdentitySessionContextCreationDatedatetimeThe date and time when the session was created.
UserIdentitySessionContextMfaAuthenticatedbitIndicates whether multi-factor authentication (MFA) was used for the session.
UserIdentitySessionContextSessionIssuerAccountIDstringThe AWS account ID of the entity that issued the session.
UserIdentitySessionContextSessionIssuerArnstringThe ARN of the entity that issued the session.
UserIdentitySessionContextSessionIssuerPrincipalIDstringThe principal ID of the entity that issued the session.
UserIdentitySessionContextSessionIssuerTypestringThe type of the entity that issued the session, such as Role or User.
UserIdentitySessionContextSessionIssuerUserNamestringThe username of the entity that issued the session.
UserIdentityTypestringThe type of identity that made the request, such as IAMUser, AssumedRole, or FederatedUser.
UserIdentityUserNamestringThe username of the identity that made the request.
UserNamestringA user name or role name of the requester that called the API in the event returned.
VpcEndpointAccountIDstringThe AWS account ID of the owner of the VPC endpoint through which the request was made.
VpcEndpointIDstringThis field is only used to filter CloudTrail network activity events and is optional.

AWSEventInsightAttributionDetails

NameTypeDescription
ValuestringThe specific attribute (e.g., user identity ARN, user agent, or error code) that contributed to the API calls or errors during the unusual activity period.
AveragefloatThe average number of API calls or errors per minute associated with the specified value during the unusual activity period. This metric helps identify which attributes had significant deviations from the baseline.
TypestringThe category of the attribute in the attributions block. Valid values include userIdentityArn, userAgent, or errorCode. This categorization helps in understanding the nature of the attribute contributing to the anomaly.
IDintegerA unique identifier for the attribution entry. While not explicitly detailed in the standard AWS CloudTrail documentation, this field may be present in certain implementations to uniquely identify each attribution detail.
InsightAttributionIDintegerA unique identifier for the specific attribution within the Insights event. This ID helps in correlating attribution details across different parts of the Insights data.
InsightAttributionConfigIDintegerAn identifier linking the attribution detail to a specific configuration or rule that generated the Insight. This helps in tracing back the attribution to its configuration source.
ConfigIDintegerAn identifier for the configuration that was in effect during the time of the Insight. This can be useful for auditing and understanding the context in which the Insight was generated.
BatchDatedatetimeThe date when the batch of events, including the Insight, was processed. This helps in tracking the processing timeline of events.

AWSEventInsightAttributions

NameTypeDescription
AttributestringThe specific attribute (e.g., user identity ARN, user agent, or error code) that contributed to the API calls or errors during the unusual activity period.
IDintegerA unique identifier for the attribution entry.
InsightDetailsIDintegerA unique identifier for the specific attribution within the Insights event. This ID helps in correlating attribution details across different parts of the Insights data.
InsightDetailsConfigIDintegerAn identifier linking the attribution detail to a specific configuration or rule that generated the Insight. This helps in tracing back the attribution to its configuration source.
ConfigIDintegerAn identifier for the configuration that was in effect during the time of the Insight. This can be useful for auditing and understanding the context in which the Insight was generated.
BatchDatedatetimeThe date when the batch of events, including the Insight, was processed. This helps in tracking the processing timeline of events.

AWSEventInsights

NameTypeDescription
StatestringIndicates whether the event marks the beginning (Start) or end (End) of the unusual activity detected by CloudTrail Insights.
EventSourcestringThe AWS service that was the source of the unusual activity, such as ec2.amazonaws.com or s3.amazonaws.com.
EventNamestringThe name of the API operation that exhibited unusual behavior, such as StartInstances or DeleteBucket.
InsightTypestringThe type of Insights event detected. Possible values are ApiCallRateInsight for unusual API call rates and ApiErrorRateInsight for unusual error rates.
AWSCloudTrailEventModelIDstringA unique identifier for the event model used by CloudTrail to represent the structure of the Insights event. This ID helps in correlating and analyzing events across different models.
IDintegerA unique identifier for the specific Insights event record. This ID can be used to retrieve or reference the event in analyses.
ConfigIDintegerAn identifier for the configuration that was in effect during the time of the Insights event. This can be useful for auditing and understanding the context in which the Insight was generated.
BatchDatedatetimeThe date when the batch of events, including the Insight, was processed. This helps in tracking the processing timeline of events.

AWSEventInsightStatistics

NameTypeDescription
BaselineAveragefloatThe average value of a specific metric (e.g., API call count or error rate) over a baseline period before the anomaly was detected.
InsightAveragefloatThe average value of the same metric during the time period of the Insight (when the anomaly was active).
InsightDurationintegerThe length of time (in seconds or minutes) that the Insight event lasted.
BaselineDurationintegerThe length of the baseline period used to calculate the baseline average.
IDintegerA unique identifier for the Event Insight Statistics record.
InsightDetailsIDintegerA reference ID linking the statistics record to the specific Insight event details it describes.
ConfigIDintegerThe ID of the configuration set or system that collected or reported the statistics.
BatchDatedatetimeThe date when the data for the Insight Statistics was batched or recorded, useful for tracking data freshness and update cycles.

AWSEventResources

NameTypeDescription
ARNstringThe Amazon Resource Name of the resource that was involved in the event. Uniquely identifies the resource across all AWS services.
NamestringThe name of the resource that was impacted or referenced in the CloudTrail event.
TypestringThe type of AWS resource (e.g., AWS::EC2::Instance, AWS::S3::Bucket) involved in the event.
AccountIDstringThe AWS account ID that owns the resource.
ConfigIDintegerIdentifier linking the resource to a specific configuration or data collection context.
BatchDatedatetimeThe date on which the resource event data was collected or processed in batch.

Bridge Table

AWSCloudTrailEvents_AWSEventResources

NameTypeDescription
EventsEventIDstringThe AWS account ID that owns the resource.
EventResourcesConfigIDintegerIdentifier linking the resource to a specific configuration or data collection context.
EventsConfigIDintegerAn identifier for the specific configuration or data snapshot.
EventResourcesARNstringThe Amazon Resource Name of the resource that was involved in the event. Uniquely identifies the resource across all AWS services.

Did this page help you?