Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AuditPolicy

The resource represents all available audit policies relevant for the target database with their corresponding audit conditions. The audit policies could be in any one of the following 3 states in the target database

  1. Created and enabled
  2. Created but not enabled
  3. Not created For more details on available audit policies, refer to documentation.

Properties

Optional auditConditions

auditConditions: Array<AuditConditions>

Lists the audit policy provisioning conditions for the target database.

Optional auditSpecifications

auditSpecifications: Array<AuditSpecification>

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

compartmentId

compartmentId: string

The OCID of the compartment containing the audit policy.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags

Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}

Optional description

description: undefined | string

Description of the audit policy.

displayName

displayName: string

The display name of the audit policy.

Optional freeformTags

freeformTags: undefined | object

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: {@code {\"Department\": \"Finance\"}}

id

id: string

The OCID of the audit policy.

isDataSafeServiceAccountExcluded

isDataSafeServiceAccountExcluded: boolean

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

Optional lifecycleDetails

lifecycleDetails: undefined | string

Details about the current state of the audit policy in Data Safe.

lifecycleState

The current state of the audit policy.

Optional systemTags

systemTags: undefined | object

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}

targetId

targetId: string

The OCID of the target for which the audit policy is created.

timeCreated

timeCreated: Date

The time the the audit policy was created, in the format defined by RFC3339.

Optional timeLastProvisioned

timeLastProvisioned: Date

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

Optional timeLastRetrieved

timeLastRetrieved: Date

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

Optional timeUpdated

timeUpdated: Date

The last date and time the audit policy was updated, in the format defined by RFC3339.

Functions

getDeserializedJsonObj

getJsonObj