Class AuditConditions
Represents audit policies with corresponding audit provisioning conditions.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class AuditConditions
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. 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 is enforced, and the success/failure event condition to generate the audit event.. |
IsDataSafeServiceAccountAudited
Declaration
[Required(ErrorMessage = "IsDataSafeServiceAccountAudited is required.")]
[JsonProperty(PropertyName = "isDataSafeServiceAccountAudited")]
public bool? IsDataSafeServiceAccountAudited { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the Data Safe user activity on the target database will be audited by the policy. |
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