Skip to content

AuditEvent

Source code in docs_src/capo_cloudtrail_data/types/audit_event.py
class AuditEvent(TypedDict, closed=True):
    id: "capo_cloudtrail_data.types.uuid.Uuid"
    """<p>The original event ID from the source event.</p>"""
    event_data: "str"
    """<p>The content of an audit event that comes from the event, such as <code>userIdentity</code>, <code>userAgent</code>, and <code>eventSource</code>.</p>"""
    event_data_checksum: NotRequired["str"]
    """<p>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:</p> <p> <code>printf %s <i>$eventdata</i> | openssl dgst -binary -sha256 | base64</code> </p>"""

event_data instance-attribute

event_data: str

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

event_data_checksum instance-attribute

event_data_checksum: NotRequired[str]

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

id instance-attribute

id: Uuid

The original event ID from the source event.