Class ProvisionAuditConditions
Represents audit policies with corresponding audit provisioning conditions.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class ProvisionAuditConditions
Properties
AuditPolicyName
Declaration
[Required(ErrorMessage = "AuditPolicyName is required.")]
[JsonProperty(PropertyName = "auditPolicyName")]
public string AuditPolicyName { get; set; }
Property Value
Type | Description |
---|---|
string | Indicates the audit policy name available for provisioning from Data Safe. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database. |
Remarks
Required
EnableConditions
Declaration
[JsonProperty(PropertyName = "enableConditions")]
public List<EnableConditions> EnableConditions { get; set; }
Property Value
Type | Description |
---|---|
List<EnableConditions> | Indicates the users/roles in the target database for which the audit policy will be enforced, and the success/failure event condition to generate the audit event. |
IsEnabled
Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the policy has to be enabled or disabled in the target database. Set this to true if you want the audit policy to be enabled in the target database. If the seeded audit policy is not already created in the database, the provisioning creates and enables them. If this is set to false, the policy will be disabled in the target database. |
Remarks
Required
IsPrivUsersManagedByDataSafe
Declaration
[Required(ErrorMessage = "IsPrivUsersManagedByDataSafe is required.")]
[JsonProperty(PropertyName = "isPrivUsersManagedByDataSafe")]
public bool? IsPrivUsersManagedByDataSafe { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the privileged user list is managed by Data Safe. |
Remarks
Required