HsmClusterAuditLoggingInfo

class oci.key_management.models.HsmClusterAuditLoggingInfo(**kwargs)

Bases: object

Status of management audit logging for the cluster.

Attributes

AUDIT_LOG_LIFECYCLE_STATE_CREATING A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_DISABLED A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_DISABLED_VALIDATED A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_DISABLING_BROKEN A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_DISABLING_IN_PROGRESS A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_ENABLED A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_FAILED A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_VERIFYING A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
AUDIT_LOG_LIFECYCLE_STATE_WAITING_FOR_CUSTOMER A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo.
audit_log_lifecycle_state [Required] Gets the audit_log_lifecycle_state of this HsmClusterAuditLoggingInfo.
bucket_name [Required] Gets the bucket_name of this HsmClusterAuditLoggingInfo.
compartment_id [Required] Gets the compartment_id of this HsmClusterAuditLoggingInfo.
dynamic_group_name [Required] Gets the dynamic_group_name of this HsmClusterAuditLoggingInfo.
is_enabled [Required] Gets the is_enabled of this HsmClusterAuditLoggingInfo.
namespace [Required] Gets the namespace of this HsmClusterAuditLoggingInfo.

Methods

__init__(**kwargs) Initializes a new HsmClusterAuditLoggingInfo object with values from keyword arguments.
AUDIT_LOG_LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “CREATING”

AUDIT_LOG_LIFECYCLE_STATE_DISABLED = 'DISABLED'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “DISABLED”

AUDIT_LOG_LIFECYCLE_STATE_DISABLED_VALIDATED = 'DISABLED_VALIDATED'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “DISABLED_VALIDATED”

AUDIT_LOG_LIFECYCLE_STATE_DISABLING_BROKEN = 'DISABLING_BROKEN'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “DISABLING_BROKEN”

AUDIT_LOG_LIFECYCLE_STATE_DISABLING_IN_PROGRESS = 'DISABLING_IN_PROGRESS'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “DISABLING_IN_PROGRESS”

AUDIT_LOG_LIFECYCLE_STATE_ENABLED = 'ENABLED'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “ENABLED”

AUDIT_LOG_LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “FAILED”

AUDIT_LOG_LIFECYCLE_STATE_VERIFYING = 'VERIFYING'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “VERIFYING”

AUDIT_LOG_LIFECYCLE_STATE_WAITING_FOR_CUSTOMER = 'WAITING_FOR_CUSTOMER'

A constant which can be used with the audit_log_lifecycle_state property of a HsmClusterAuditLoggingInfo. This constant has a value of “WAITING_FOR_CUSTOMER”

__init__(**kwargs)

Initializes a new HsmClusterAuditLoggingInfo object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this HsmClusterAuditLoggingInfo.
  • bucket_name (str) – The value to assign to the bucket_name property of this HsmClusterAuditLoggingInfo.
  • namespace (str) – The value to assign to the namespace property of this HsmClusterAuditLoggingInfo.
  • compartment_id (str) – The value to assign to the compartment_id property of this HsmClusterAuditLoggingInfo.
  • dynamic_group_name (str) – The value to assign to the dynamic_group_name property of this HsmClusterAuditLoggingInfo.
  • audit_log_lifecycle_state (str) – The value to assign to the audit_log_lifecycle_state property of this HsmClusterAuditLoggingInfo. Allowed values for this property are: “CREATING”, “WAITING_FOR_CUSTOMER”, “VERIFYING”, “DISABLING_IN_PROGRESS”, “DISABLING_BROKEN”, “DISABLED_VALIDATED”, “FAILED”, “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
audit_log_lifecycle_state

[Required] Gets the audit_log_lifecycle_state of this HsmClusterAuditLoggingInfo. The current lifecycle state of the audit logs.

Allowed values for this property are: “CREATING”, “WAITING_FOR_CUSTOMER”, “VERIFYING”, “DISABLING_IN_PROGRESS”, “DISABLING_BROKEN”, “DISABLED_VALIDATED”, “FAILED”, “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The audit_log_lifecycle_state of this HsmClusterAuditLoggingInfo.
Return type:str
bucket_name

[Required] Gets the bucket_name of this HsmClusterAuditLoggingInfo. Audit logs bucket name.

Returns:The bucket_name of this HsmClusterAuditLoggingInfo.
Return type:str
compartment_id

[Required] Gets the compartment_id of this HsmClusterAuditLoggingInfo. Compartment of the bucket.

Returns:The compartment_id of this HsmClusterAuditLoggingInfo.
Return type:str
dynamic_group_name

[Required] Gets the dynamic_group_name of this HsmClusterAuditLoggingInfo. Name of dynamic group used for audit log upload.

Returns:The dynamic_group_name of this HsmClusterAuditLoggingInfo.
Return type:str
is_enabled

[Required] Gets the is_enabled of this HsmClusterAuditLoggingInfo. Whether audit logging is enabled.

Returns:The is_enabled of this HsmClusterAuditLoggingInfo.
Return type:bool
namespace

[Required] Gets the namespace of this HsmClusterAuditLoggingInfo. Bucket namespace.

Returns:The namespace of this HsmClusterAuditLoggingInfo.
Return type:str