Class: Aws::CloudTrailData::Types::AuditEvent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/types.rb

Overview

An event from a source outside of Amazon Web Services that you want CloudTrail to log.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_dataString

The content of an audit event that comes from the event, such as userIdentity, userAgent, and eventSource.

Returns:

  • (String)


35
36
37
38
39
40
41
# File 'gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/types.rb', line 35

class AuditEvent < Struct.new(
  :event_data,
  :event_data_checksum,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#event_data_checksumString

A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches with the checksum. Calculate the checksum by running a command like the following:

printf %s $eventdata | openssl dgst -binary -sha256 | base64

Returns:

  • (String)


35
36
37
38
39
40
41
# File 'gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/types.rb', line 35

class AuditEvent < Struct.new(
  :event_data,
  :event_data_checksum,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The original event ID from the source event.

Returns:

  • (String)


35
36
37
38
39
40
41
# File 'gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/types.rb', line 35

class AuditEvent < Struct.new(
  :event_data,
  :event_data_checksum,
  :id)
  SENSITIVE = []
  include Aws::Structure
end