class

OpenAI::AuditLog

Inherits JSON::Serializable < Reference < Object

A log of a user action or configuration change within this organization.

Constructors

new(id : String = "", type_value : AuditLogEventType = AuditLogEventType::ApiKeyCreated, effective_at : Int64 = 0, project : AuditLogProject | Nil = nil, actor : AuditLogActor = AuditLogActor.new, api_key_created : AuditLogApiKeyCreated | Nil = nil, api_key_updated : AuditLogApiKeyUpdated | Nil = nil, api_key_deleted : AuditLogApiKeyDeleted | Nil = nil, checkpoint_permission_created : AuditLogCheckpointPermissionCreated | Nil = nil, checkpoint_permission_deleted : AuditLogCheckpointPermissionDeleted | Nil = nil, external_key_registered : AuditLogExternalKeyRegistered | Nil = nil, external_key_removed : AuditLogExternalKeyRemoved | Nil = nil, group_created : AuditLogGroupCreated | Nil = nil, group_updated : AuditLogGroupUpdated | Nil = nil, group_deleted : AuditLogGroupDeleted | Nil = nil, scim_enabled : AuditLogScimEnabled | Nil = nil, scim_disabled : AuditLogScimDisabled | Nil = nil, invite_sent : AuditLogInviteSent | Nil = nil, invite_accepted : AuditLogInviteAccepted | Nil = nil, invite_deleted : AuditLogInviteDeleted | Nil = nil, ip_allowlist_created : AuditLogIpAllowlistCreated | Nil = nil, ip_allowlist_updated : AuditLogIpAllowlistUpdated | Nil = nil, ip_allowlist_deleted : AuditLogIpAllowlistDeleted | Nil = nil, ip_allowlist_config_activated : AuditLogIpAllowlistConfigActivated | Nil = nil, ip_allowlist_config_deactivated : AuditLogIpAllowlistConfigDeactivated | Nil = nil, login_succeeded : Hash(String, JSON::Any) | Nil = nil, login_failed : AuditLogLoginFailed | Nil = nil, logout_succeeded : Hash(String, JSON::Any) | Nil = nil, logout_failed : AuditLogLogoutFailed | Nil = nil, organization_updated : AuditLogOrganizationUpdated | Nil = nil, project_created : AuditLogProjectCreated | Nil = nil, project_updated : AuditLogProjectUpdated | Nil = nil, project_archived : AuditLogProjectArchived | Nil = nil, project_deleted : AuditLogProjectDeleted | Nil = nil, rate_limit_updated : AuditLogRateLimitUpdated | Nil = nil, rate_limit_deleted : AuditLogRateLimitDeleted | Nil = nil, role_created : AuditLogRoleCreated | Nil = nil, role_updated : AuditLogRoleUpdated | Nil = nil, role_deleted : AuditLogRoleDeleted | Nil = nil, role_assignment_created : AuditLogRoleAssignmentCreated | Nil = nil, role_assignment_deleted : AuditLogRoleAssignmentDeleted | Nil = nil, service_account_created : AuditLogServiceAccountCreated | Nil = nil, service_account_updated : AuditLogServiceAccountUpdated | Nil = nil, service_account_deleted : AuditLogServiceAccountDeleted | Nil = nil, user_added : AuditLogUserAdded | Nil = nil, user_updated : AuditLogUserUpdated | Nil = nil, user_deleted : AuditLogUserDeleted | Nil = nil, certificate_created : AuditLogCertificateCreated | Nil = nil, certificate_updated : AuditLogCertificateUpdated | Nil = nil, certificate_deleted : AuditLogCertificateDeleted | Nil = nil, certificates_activated : AuditLogCertificatesActivated | Nil = nil, certificates_deactivated : AuditLogCertificatesDeactivated | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

actor
Source
actor=(actor : AuditLogActor)
Source
api_key_created

The details for events with this type.

Source
api_key_created=(api_key_created : AuditLogApiKeyCreated | Nil)

The details for events with this type.

Source
api_key_deleted

The details for events with this type.

Source
api_key_deleted=(api_key_deleted : AuditLogApiKeyDeleted | Nil)

The details for events with this type.

Source
api_key_updated

The details for events with this type.

Source
api_key_updated=(api_key_updated : AuditLogApiKeyUpdated | Nil)

The details for events with this type.

Source
certificate_created

The details for events with this type.

Source
certificate_created=(certificate_created : AuditLogCertificateCreated | Nil)

The details for events with this type.

Source
certificate_deleted

The details for events with this type.

Source
certificate_deleted=(certificate_deleted : AuditLogCertificateDeleted | Nil)

The details for events with this type.

Source
certificate_updated

The details for events with this type.

Source
certificate_updated=(certificate_updated : AuditLogCertificateUpdated | Nil)

The details for events with this type.

Source
certificates_activated

The details for events with this type.

Source
certificates_activated=(certificates_activated : AuditLogCertificatesActivated | Nil)

The details for events with this type.

Source
certificates_deactivated

The details for events with this type.

Source
certificates_deactivated=(certificates_deactivated : AuditLogCertificatesDeactivated | Nil)

The details for events with this type.

Source
checkpoint_permission_created

The project and fine-tuned model checkpoint that the checkpoint permission was created for.

Source
checkpoint_permission_created=(checkpoint_permission_created : AuditLogCheckpointPermissionCreated | Nil)

The project and fine-tuned model checkpoint that the checkpoint permission was created for.

Source
checkpoint_permission_deleted

The details for events with this type.

Source
checkpoint_permission_deleted=(checkpoint_permission_deleted : AuditLogCheckpointPermissionDeleted | Nil)

The details for events with this type.

Source
effective_at

The Unix timestamp (in seconds) of the event.

Source
effective_at=(effective_at : Int64)

The Unix timestamp (in seconds) of the event.

Source
external_key_registered

The details for events with this type.

Source
external_key_registered=(external_key_registered : AuditLogExternalKeyRegistered | Nil)

The details for events with this type.

Source
external_key_removed

The details for events with this type.

Source
external_key_removed=(external_key_removed : AuditLogExternalKeyRemoved | Nil)

The details for events with this type.

Source
group_created

The details for events with this type.

Source
group_created=(group_created : AuditLogGroupCreated | Nil)

The details for events with this type.

Source
group_deleted

The details for events with this type.

Source
group_deleted=(group_deleted : AuditLogGroupDeleted | Nil)

The details for events with this type.

Source
group_updated

The details for events with this type.

Source
group_updated=(group_updated : AuditLogGroupUpdated | Nil)

The details for events with this type.

Source
id

The ID of this log.

Source
id=(id : String)

The ID of this log.

Source
invite_accepted

The details for events with this type.

Source
invite_accepted=(invite_accepted : AuditLogInviteAccepted | Nil)

The details for events with this type.

Source
invite_deleted

The details for events with this type.

Source
invite_deleted=(invite_deleted : AuditLogInviteDeleted | Nil)

The details for events with this type.

Source
invite_sent

The details for events with this type.

Source
invite_sent=(invite_sent : AuditLogInviteSent | Nil)

The details for events with this type.

Source
ip_allowlist_config_activated

The details for events with this type.

Source
ip_allowlist_config_activated=(ip_allowlist_config_activated : AuditLogIpAllowlistConfigActivated | Nil)

The details for events with this type.

Source
ip_allowlist_config_deactivated

The details for events with this type.

Source
ip_allowlist_config_deactivated=(ip_allowlist_config_deactivated : AuditLogIpAllowlistConfigDeactivated | Nil)

The details for events with this type.

Source
ip_allowlist_created

The details for events with this type.

Source
ip_allowlist_created=(ip_allowlist_created : AuditLogIpAllowlistCreated | Nil)

The details for events with this type.

Source
ip_allowlist_deleted

The details for events with this type.

Source
ip_allowlist_deleted=(ip_allowlist_deleted : AuditLogIpAllowlistDeleted | Nil)

The details for events with this type.

Source
ip_allowlist_updated

The details for events with this type.

Source
ip_allowlist_updated=(ip_allowlist_updated : AuditLogIpAllowlistUpdated | Nil)

The details for events with this type.

Source
login_failed

The details for events with this type.

Source
login_failed=(login_failed : AuditLogLoginFailed | Nil)

The details for events with this type.

Source
login_succeeded

This event has no additional fields beyond the standard audit log attributes.

Source
login_succeeded=(login_succeeded : Hash(String, JSON::Any) | Nil)

This event has no additional fields beyond the standard audit log attributes.

Source
logout_failed

The details for events with this type.

Source
logout_failed=(logout_failed : AuditLogLogoutFailed | Nil)

The details for events with this type.

Source
logout_succeeded

This event has no additional fields beyond the standard audit log attributes.

Source
logout_succeeded=(logout_succeeded : Hash(String, JSON::Any) | Nil)

This event has no additional fields beyond the standard audit log attributes.

Source
organization_updated

The details for events with this type.

Source
organization_updated=(organization_updated : AuditLogOrganizationUpdated | Nil)

The details for events with this type.

Source
project

The project that the action was scoped to. Absent for actions not scoped to projects. Note that any admin actions taken via Admin API keys are associated with the default project.

Source
project=(project : AuditLogProject | Nil)

The project that the action was scoped to. Absent for actions not scoped to projects. Note that any admin actions taken via Admin API keys are associated with the default project.

Source
project_archived

The details for events with this type.

Source
project_archived=(project_archived : AuditLogProjectArchived | Nil)

The details for events with this type.

Source
project_created

The details for events with this type.

Source
project_created=(project_created : AuditLogProjectCreated | Nil)

The details for events with this type.

Source
project_deleted

The details for events with this type.

Source
project_deleted=(project_deleted : AuditLogProjectDeleted | Nil)

The details for events with this type.

Source
project_updated

The details for events with this type.

Source
project_updated=(project_updated : AuditLogProjectUpdated | Nil)

The details for events with this type.

Source
rate_limit_deleted

The details for events with this type.

Source
rate_limit_deleted=(rate_limit_deleted : AuditLogRateLimitDeleted | Nil)

The details for events with this type.

Source
rate_limit_updated

The details for events with this type.

Source
rate_limit_updated=(rate_limit_updated : AuditLogRateLimitUpdated | Nil)

The details for events with this type.

Source
role_assignment_created

The details for events with this type.

Source
role_assignment_created=(role_assignment_created : AuditLogRoleAssignmentCreated | Nil)

The details for events with this type.

Source
role_assignment_deleted

The details for events with this type.

Source
role_assignment_deleted=(role_assignment_deleted : AuditLogRoleAssignmentDeleted | Nil)

The details for events with this type.

Source
role_created

The details for events with this type.

Source
role_created=(role_created : AuditLogRoleCreated | Nil)

The details for events with this type.

Source
role_deleted

The details for events with this type.

Source
role_deleted=(role_deleted : AuditLogRoleDeleted | Nil)

The details for events with this type.

Source
role_updated

The details for events with this type.

Source
role_updated=(role_updated : AuditLogRoleUpdated | Nil)

The details for events with this type.

Source
scim_disabled

The details for events with this type.

Source
scim_disabled=(scim_disabled : AuditLogScimDisabled | Nil)

The details for events with this type.

Source
scim_enabled

The details for events with this type.

Source
scim_enabled=(scim_enabled : AuditLogScimEnabled | Nil)

The details for events with this type.

Source
service_account_created

The details for events with this type.

Source
service_account_created=(service_account_created : AuditLogServiceAccountCreated | Nil)

The details for events with this type.

Source
service_account_deleted

The details for events with this type.

Source
service_account_deleted=(service_account_deleted : AuditLogServiceAccountDeleted | Nil)

The details for events with this type.

Source
service_account_updated

The details for events with this type.

Source
service_account_updated=(service_account_updated : AuditLogServiceAccountUpdated | Nil)

The details for events with this type.

Source
type_value
Source
type_value=(type_value : AuditLogEventType)
Source
user_added

The details for events with this type.

Source
user_added=(user_added : AuditLogUserAdded | Nil)

The details for events with this type.

Source
user_deleted

The details for events with this type.

Source
user_deleted=(user_deleted : AuditLogUserDeleted | Nil)

The details for events with this type.

Source
user_updated

The details for events with this type.

Source
user_updated=(user_updated : AuditLogUserUpdated | Nil)

The details for events with this type.

Source