List events contained in a single archive batch.




List events contained in a single archive batch. The batch must not be marked as successfully archived already. A batch’s events may be listed multiple times, as long as it is not marked as successfully archived. If automated archiving is configured, then this operation is disabled.


--archive-id <value>
[--cli-input-json <value>]


--archive-id (string)

The archive ID of the batch.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.


auditEvents -> (array)

The audit events in the archive batch.

item -> (object)

The model for an audit event.

version -> (string)

The version of the event structure.

id -> (string)

UUID for this event.

eventSource -> (string)

The source service of the event. It must be the name of a service as enumerated in the CRN definition.

eventName -> (string)

The name of the event. Each source defines all its event names, and a name must be unique for its source.

timestamp -> (integer)

The Unix timestamp, in milliseconds (UTC), when the event occurred.

actorIdentity -> (object)

Identity information about the actor that initiated an event. Only one of the fields in this message may be set.

actorCrn -> (string)

The CRN of the actor who initiated this event.

actorServiceName -> (string)

The name of the service that initiated this event. It must be the name of a service as enumerated in the CRN definition.

accountId -> (string)

Account id in which this event occurred.

requestId -> (string)

Id of the request that initiated this event. Optional.

resultCode -> (string)

Optional result code.

resultMessage -> (string)

Optional result message, a short message (about one sentence) describing the result.

apiRequestEvent -> (object)

The model for an API request event, as a part of CdpAuditEvent. These events are triggered by requests to public CDP API services.

requestParameters -> (string)

The API request parameters.

responseParameters -> (string)

The API response parameters. Only recorded for mutating calls.

mutating -> (boolean)

Whether the request mutates the state of resources.

apiVersion -> (string)

The API version associated with the request.

sourceIPAddress -> (string)

The source IP address of the requester.

userAgent -> (string)

The user agent that made the API request.

cdpServiceEvent -> (object)

The model for a service event, as a part of CdpAuditEvent. These events are created by Cloudera CDP services, but are not directly triggered by a request to a public CDP API service.

additionalServiceEventDetails -> (string)

Optional JSON that contains additional details for an event and/or a result associated with the event. Each service defines the structure of details for each event.

resourceCrns -> (array)

The CRNs of the resources operated on.

item -> (string)

detailsVersion -> (string)

The schema version of the additional service event details for this service event. Maintained by the service.

interactiveLoginEvent -> (object)

The model for a login event, as a part of CdpAuditEvent. CDP logs attempts to interactively login to the CDP console. This includes logins using Cloudera SSO and through any federated interactive login events.

identityProviderCrn -> (string)

The identity provider CRN used to interactively login. For Cloudera SSO the ID is ‘crn:altus:iam:us-west-1:altus:samlProvider:cloudera-sso’. For identity provider connectors the connector’s CRN is used.

identityProviderSessionId -> (string)

The identity provider session ID for this interactive login request. For SAML 2.0 identity federation this is the SessionIndex of the SAML AuthnResponse. (Deprecated: No replacement, as this was never available.)

identityProviderUserId -> (string)

The user ID as indicated by the identity provider. The specific format and type of this identifier is determined by the IdP. For Cloudera SSO this is the email used to login.

email -> (string)

The email of the user as provided to CDP.

sourceIPAddress -> (string)

The source IP address from which the login request came from.

firstName -> (string)

The first name of the user, if provided.

lastName -> (string)

The last name of the user, if provided.

accountAdmin -> (boolean)

Whether the user was marked as account admin. Can only be ‘true’ for users using Cloudera SSO.

groups -> (array)

A list of group names the user belongs to as received in CDP. Only available for non Cloudera SSO login events.

item -> (string)

userCrn -> (string)

The CDP user CRN for the user. This may be empty if the login failed.

filteredInvalidGroups -> (array)

The groups that are invalid and filtered (ignored) during the interactive login through non Cloudera SSO IdP. It is a subset of the groups the user belongs to as received in CDP. It can be empty for any of the following reasons: 1) If the account is not entitled for this feature. 2) If the membership sync is off for the IdP used during the interactive login. 3) If all the groups were valid during login through non Cloudera SSO IdP. 4) If the login is performed through Cloudera SSO. 5) If the login fails before filtering invalid groups.

item -> (string)

Form Factors