Class BulkCreateUnifiedAuditPolicyDetails
The details required to bulk create unified audit policies.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class BulkCreateUnifiedAuditPolicyDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment in which to create the unified audit policy. |
Remarks
Required
PolicyNames
Declaration
[JsonProperty(PropertyName = "policyNames")]
public List<string> PolicyNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The list of unified audit policy names to be imported. |
SecurityPolicyId
Declaration
[Required(ErrorMessage = "SecurityPolicyId is required.")]
[JsonProperty(PropertyName = "securityPolicyId")]
public string SecurityPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the security policy corresponding to the unified audit policy. |
Remarks
Required
ShouldPreserveCasing
Declaration
[JsonProperty(PropertyName = "shouldPreserveCasing")]
public bool? ShouldPreserveCasing { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the casing of the policy names provided in the request payload should be preserved during creation. By default all policy names will be converted to upper case. |
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the target database. |
Remarks
Required
UnifiedAuditPolicyDefinitionIds
Declaration
[JsonProperty(PropertyName = "unifiedAuditPolicyDefinitionIds")]
public List<string> UnifiedAuditPolicyDefinitionIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The list of unified audit policy definition ocids. If unified audit policy definition ids are provided, the imported audit policy will be associated to the specified unified audit policy definition based on the policy name. Else, for every audit policy that gets imported, a new unified audit policy definition will be created. |