Audit#
- class Audit(source_entity=None, cluster_reference=None, affected_entities=None, operation_type=None, message=None, parameters=None, operation_start_time=None, operation_end_time=None, user_reference=None, service_name=None, audit_type=None, status=None, creation_time=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#
Bases:
ExternalizableAbstractModel- Parameters:
source_entity – (
source_entity)cluster_reference – (
cluster_reference)affected_entities – (
affected_entities) List of all entities that are affected by the event/audit.operation_type – (
operation_type)message – (
message) Additional message associated with the audit.parameters – (
parameters) Additional parameters associated with the audit. These parameters can be used to indicate custom key-value pairs for a given audit instance. For example, a service down audit in Prism Central can have the service name as a parameter.operation_start_time – (
operation_start_time) The audit operation start time in ISO 8601 format.operation_end_time – (
operation_end_time) The audit operation end time in ISO 8601 format.user_reference – (
user_reference)service_name – (
service_name) The service which raised the event/audit. For internal Nutanix services, this value is set to “Nutanix”.audit_type – (
audit_type) The unique name for a given audit type. For example, VMCloneAudit, VMDeleteAudit and so on.status – (
status)creation_time – (
creation_time) The time in ISO 8601 format when the audit was created.
- property affected_entities#
List of all entities that are affected by the event/audit.
- Type:
list[
EntityReference]
- property audit_type#
The unique name for a given audit type. For example, VMCloneAudit, VMDeleteAudit and so on.
- Type:
str
- property cluster_reference#
- Type:
- property creation_time#
The time in ISO 8601 format when the audit was created.
- Type:
datetime
- property message#
Additional message associated with the audit.
- Type:
str
- property operation_end_time#
The audit operation end time in ISO 8601 format.
- Type:
datetime
- property operation_start_time#
The audit operation start time in ISO 8601 format.
- Type:
datetime
- property operation_type#
- Type:
- property parameters#
Additional parameters associated with the audit. These parameters can be used to indicate custom key-value pairs for a given audit instance. For example, a service down audit in Prism Central can have the service name as a parameter.
- Type:
list[
Parameter]
- property service_name#
The service which raised the event/audit. For internal Nutanix services, this value is set to “Nutanix”.
- Type:
str
- property source_entity#
- Type:
- property user_reference#
- Type: