Skip to content

ActorSession

Source code in docs_src/capo_securityhub/types/actor_session.py
class ActorSession(TypedDict, closed=True):
    uid: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p> Unique identifier of the session. </p>"""
    mfa_status: NotRequired[
        "capo_securityhub.types.actor_session_mfa_status.ActorSessionMfaStatus"
    ]
    """<p> Indicates whether multi-factor authentication (MFA) was used for authentication during the session.</p> <p>In CloudTrail, you can find this value as <code>userIdentity.sessionContext.attributes.mfaAuthenticated</code>.</p>"""
    created_time: NotRequired["capo_securityhub.types.long.Long"]
    """<p>The timestamp for when the session was created. </p> <p>In CloudTrail, you can find this value as <code>userIdentity.sessionContext.attributes.creationDate</code>.</p>"""
    issuer: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p> The issuer of the session. </p> <p>In CloudTrail, you can find this value as <code>userIdentity.sessionContext.sessionIssuer.arn</code>.</p>"""

created_time instance-attribute

created_time: NotRequired[Long]

The timestamp for when the session was created.

In CloudTrail, you can find this value as userIdentity.sessionContext.attributes.creationDate.

issuer instance-attribute

issuer: NotRequired[NonEmptyString]

The issuer of the session.

In CloudTrail, you can find this value as userIdentity.sessionContext.sessionIssuer.arn.

mfa_status instance-attribute

mfa_status: NotRequired[ActorSessionMfaStatus]

Indicates whether multi-factor authentication (MFA) was used for authentication during the session.

In CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated.

uid instance-attribute

uid: NotRequired[NonEmptyString]

Unique identifier of the session.