Class AuditSpecification
Represents an audit policy relevant for the target database.The audit policy could be in any one of the following 3 states in the target database
- Created and enabled
- Created but not enabled
- Not created For more details on relevant audit policies for the target database, refer to documentation.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class AuditSpecification
Properties
AuditPolicyCategory
Declaration
[Required(ErrorMessage = "AuditPolicyCategory is required.")]
[JsonProperty(PropertyName = "auditPolicyCategory")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AuditPolicyCategory? AuditPolicyCategory { get; set; }
Property Value
Type | Description |
---|---|
AuditPolicyCategory? | The category to which the audit policy belongs. |
Remarks
Required
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
DatabasePolicyNames
Declaration
[Required(ErrorMessage = "DatabasePolicyNames is required.")]
[JsonProperty(PropertyName = "databasePolicyNames")]
public List<string> DatabasePolicyNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Indicates the names of corresponding database policy ( or policies) in the target database. |
Remarks
Required
EnableStatus
Declaration
[Required(ErrorMessage = "EnableStatus is required.")]
[JsonProperty(PropertyName = "enableStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AuditSpecification.EnableStatusEnum? EnableStatus { get; set; }
Property Value
Type | Description |
---|---|
AuditSpecification.EnableStatusEnum? | Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled. |
Remarks
Required
EnabledEntities
Declaration
[Required(ErrorMessage = "EnabledEntities is required.")]
[JsonProperty(PropertyName = "enabledEntities")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AuditSpecification.EnabledEntitiesEnum? EnabledEntities { get; set; }
Property Value
Type | Description |
---|---|
AuditSpecification.EnabledEntitiesEnum? | Indicates on whom the audit policy is enabled. |
Remarks
Required
IsCreated
Declaration
[Required(ErrorMessage = "IsCreated is required.")]
[JsonProperty(PropertyName = "isCreated")]
public bool? IsCreated { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the policy is already created on the target database. |
Remarks
Required
IsEnabledForAllUsers
Declaration
[Required(ErrorMessage = "IsEnabledForAllUsers is required.")]
[JsonProperty(PropertyName = "isEnabledForAllUsers")]
public bool? IsEnabledForAllUsers { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions. |
Remarks
Required
IsSeededInDataSafe
Declaration
[Required(ErrorMessage = "IsSeededInDataSafe is required.")]
[JsonProperty(PropertyName = "isSeededInDataSafe")]
public bool? IsSeededInDataSafe { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe. |
Remarks
Required
IsSeededInTarget
Declaration
[Required(ErrorMessage = "IsSeededInTarget is required.")]
[JsonProperty(PropertyName = "isSeededInTarget")]
public bool? IsSeededInTarget { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the audit policy is one of the predefined policies provided by Oracle Database. |
Remarks
Required
IsViewOnly
Declaration
[Required(ErrorMessage = "IsViewOnly is required.")]
[JsonProperty(PropertyName = "isViewOnly")]
public bool? IsViewOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target. |
Remarks
Required
PartiallyEnabledMsg
Declaration
[JsonProperty(PropertyName = "partiallyEnabledMsg")]
public string PartiallyEnabledMsg { get; set; }
Property Value
Type | Description |
---|---|
string | Provides information about the policy that has been only partially enabled. |