pub struct AuditLog {Show 23 fields
pub id: String,
pub type: AuditLogEventType,
pub effective_at: u32,
pub project: Option<AuditLogProject>,
pub actor: AuditLogActor,
pub api_key_created: Option<AuditLogApiKeyCreated>,
pub api_key_updated: Option<AuditLogApiKeyUpdated>,
pub api_key_deleted: Option<AuditLogApiKeyDeleted>,
pub invite_sent: Option<AuditLogInviteSent>,
pub invite_accepted: Option<AuditLogInviteAccepted>,
pub invite_deleted: Option<AuditLogInviteDeleted>,
pub login_failed: Option<AuditLogLoginFailed>,
pub logout_failed: Option<AuditLogLogoutFailed>,
pub organization_updated: Option<AuditLogOrganizationUpdated>,
pub project_created: Option<AuditLogProjectCreated>,
pub project_updated: Option<AuditLogProjectUpdated>,
pub project_archived: Option<AuditLogProjectArchived>,
pub service_account_created: Option<AuditLogServiceAccountCreated>,
pub service_account_updated: Option<AuditLogServiceAccountUpdated>,
pub service_account_deleted: Option<AuditLogServiceAccountDeleted>,
pub user_added: Option<AuditLogUserAdded>,
pub user_updated: Option<AuditLogUserUpdated>,
pub user_deleted: Option<AuditLogUserDeleted>,
}Expand description
A log of a user action or configuration change within this organization.
Fields§
§id: StringThe ID of this log.
type: AuditLogEventTypeThe event type.
effective_at: u32The Unix timestamp (in seconds) of the event.
project: Option<AuditLogProject>The project that the action was scoped to. Absent for actions not scoped to projects.
actor: AuditLogActorThe actor who performed the audit logged action.
api_key_created: Option<AuditLogApiKeyCreated>The details for events with the type api_key.created.
api_key_updated: Option<AuditLogApiKeyUpdated>The details for events with the type api_key.updated.
api_key_deleted: Option<AuditLogApiKeyDeleted>The details for events with the type api_key.deleted.
invite_sent: Option<AuditLogInviteSent>The details for events with the type invite.sent.
invite_accepted: Option<AuditLogInviteAccepted>The details for events with the type invite.accepted.
invite_deleted: Option<AuditLogInviteDeleted>The details for events with the type invite.deleted.
login_failed: Option<AuditLogLoginFailed>The details for events with the type login.failed.
logout_failed: Option<AuditLogLogoutFailed>The details for events with the type logout.failed.
organization_updated: Option<AuditLogOrganizationUpdated>The details for events with the type organization.updated.
project_created: Option<AuditLogProjectCreated>The details for events with the type project.created.
project_updated: Option<AuditLogProjectUpdated>The details for events with the type project.updated.
project_archived: Option<AuditLogProjectArchived>The details for events with the type project.archived.
service_account_created: Option<AuditLogServiceAccountCreated>The details for events with the type service_account.created.
service_account_updated: Option<AuditLogServiceAccountUpdated>The details for events with the type service_account.updated.
service_account_deleted: Option<AuditLogServiceAccountDeleted>The details for events with the type service_account.deleted.
user_added: Option<AuditLogUserAdded>The details for events with the type user.added.
user_updated: Option<AuditLogUserUpdated>The details for events with the type user.updated.
user_deleted: Option<AuditLogUserDeleted>The details for events with the type user.deleted.