Class: Aws::CloudTrailData::Types::AuditEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudTrailData::Types::AuditEvent
- 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
-
#event_data ⇒ String
The content of an audit event that comes from the event, such as
userIdentity
,userAgent
, andeventSource
. -
#event_data_checksum ⇒ String
A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches with the checksum.
-
#id ⇒ String
The original event ID from the source event.
Instance Attribute Details
#event_data ⇒ String
The content of an audit event that comes from the event, such as
userIdentity
, userAgent
, and eventSource
.
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_checksum ⇒ String
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
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 |
#id ⇒ String
The original event ID from the source event.
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 |