CreateUnifiedAuditPolicyDetails

class oci.data_safe.models.CreateUnifiedAuditPolicyDetails(**kwargs)

Bases: object

The details required to create a new unified audit policy.

Methods:

__init__(**kwargs)

Initializes a new CreateUnifiedAuditPolicyDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateUnifiedAuditPolicyDetails.

conditions

[Required] Gets the conditions of this CreateUnifiedAuditPolicyDetails.

defined_tags

Gets the defined_tags of this CreateUnifiedAuditPolicyDetails.

description

Gets the description of this CreateUnifiedAuditPolicyDetails.

display_name

Gets the display_name of this CreateUnifiedAuditPolicyDetails.

freeform_tags

Gets the freeform_tags of this CreateUnifiedAuditPolicyDetails.

security_policy_id

[Required] Gets the security_policy_id of this CreateUnifiedAuditPolicyDetails.

status

[Required] Gets the status of this CreateUnifiedAuditPolicyDetails.

unified_audit_policy_definition_id

[Required] Gets the unified_audit_policy_definition_id of this CreateUnifiedAuditPolicyDetails.

__init__(**kwargs)

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

Parameters
  • security_policy_id (str) – The value to assign to the security_policy_id property of this CreateUnifiedAuditPolicyDetails.

  • unified_audit_policy_definition_id (str) – The value to assign to the unified_audit_policy_definition_id property of this CreateUnifiedAuditPolicyDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateUnifiedAuditPolicyDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateUnifiedAuditPolicyDetails.

  • description (str) – The value to assign to the description property of this CreateUnifiedAuditPolicyDetails.

  • status (str) – The value to assign to the status property of this CreateUnifiedAuditPolicyDetails.

  • conditions (list[oci.data_safe.models.PolicyCondition]) – The value to assign to the conditions property of this CreateUnifiedAuditPolicyDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateUnifiedAuditPolicyDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateUnifiedAuditPolicyDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateUnifiedAuditPolicyDetails. The OCID of the compartment in which to create the unified audit policy.

Returns

The compartment_id of this CreateUnifiedAuditPolicyDetails.

Return type

str

property conditions

[Required] Gets the conditions of this CreateUnifiedAuditPolicyDetails. Lists the audit policy provisioning conditions.

Returns

The conditions of this CreateUnifiedAuditPolicyDetails.

Return type

list[oci.data_safe.models.PolicyCondition]

property defined_tags

Gets the defined_tags of this CreateUnifiedAuditPolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this CreateUnifiedAuditPolicyDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateUnifiedAuditPolicyDetails. The description of the unified audit policy in Data Safe.

Returns

The description of this CreateUnifiedAuditPolicyDetails.

Return type

str

property display_name

Gets the display_name of this CreateUnifiedAuditPolicyDetails. The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.

Returns

The display_name of this CreateUnifiedAuditPolicyDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateUnifiedAuditPolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags

Example: {“Department”: “Finance”}

Returns

The freeform_tags of this CreateUnifiedAuditPolicyDetails.

Return type

dict(str, str)

property security_policy_id

[Required] Gets the security_policy_id of this CreateUnifiedAuditPolicyDetails. The OCID of the security policy corresponding to the unified audit policy.

Returns

The security_policy_id of this CreateUnifiedAuditPolicyDetails.

Return type

str

property status

[Required] Gets the status of this CreateUnifiedAuditPolicyDetails. Indicates whether the unified audit policy has been enabled or disabled.

Returns

The status of this CreateUnifiedAuditPolicyDetails.

Return type

str

property unified_audit_policy_definition_id

[Required] Gets the unified_audit_policy_definition_id of this CreateUnifiedAuditPolicyDetails. The OCID of the associated unified audit policy definition.

Returns

The unified_audit_policy_definition_id of this CreateUnifiedAuditPolicyDetails.

Return type

str