Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AuditEventSummary

The resource represents the audit events collected from the target database by Oracle Data Safe.

Properties

Optional actionTaken

actionTaken: undefined | string

The action taken for this audit event.

auditEventTime

auditEventTime: Date

The time that the audit event occurs in the target database.

Optional auditLocation

auditLocation: AuditLocation

The location of the audit. Currently the value is audit table.

Optional auditPolicies

auditPolicies: undefined | string

Comma-seperated list of audit policies that caused the current audit event.

Optional auditTrailId

auditTrailId: undefined | string

The OCID of the audit trail that generated this audit event. To be noted, this field has been deprecated.

Optional auditType

auditType: AuditType

The type of the auditing.

Optional clientHostname

clientHostname: undefined | string

The name of the host machine from which the session was spawned.

Optional clientId

clientId: undefined | string

The client identifier in each Oracle session.

Optional clientIp

clientIp: undefined | string

The IP address of the host machine from which the session was spawned.

Optional clientProgram

clientProgram: undefined | string

The application from which the audit event was generated. For example SQL Plus or SQL Developer.

Optional commandParam

commandParam: undefined | string

List of bind variables associated with the command text.

Optional commandText

commandText: undefined | string

The SQL associated with the audit event.

compartmentId

compartmentId: string

The OCID of the compartment containing the audit event. The compartment is the same as that of audit profile of the target database resource.

databaseType

databaseType: DatabaseType

The type of the target database that was audited. Allowed values are

  • DATABASE_CLOUD_SERVICE - Represents Oracle Database Cloud Services.
  • AUTONOMOUS_DATABASE - Represents Oracle Autonomous Databases.
  • INSTALLED_DATABASE - Represents databases running on-premises or on compute instances.

Optional databaseUniqueName

databaseUniqueName: undefined | string

Unique name of the database associated to the peer target database.

Optional dbUserName

dbUserName: undefined | string

The name of the database user whose actions were audited.

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 errorCode

errorCode: undefined | string

Oracle Error code generated by the action. Zero indicates the action was successful.

Optional errorMessage

errorMessage: undefined | string

The detailed message on why the error occurred.

Optional eventName

eventName: undefined | string

The name of the detail action executed by the user on the target database. For example ALTER SEQUENCE, CREATE TRIGGER or CREATE INDEX.

Optional extendedEventAttributes

extendedEventAttributes: undefined | string

List of all other attributes of the audit event seperated by a colon other than the one returned in audit record.

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 event.

isAlerted

isAlerted: boolean

Indicates whether an alert was raised for this audit event.

Optional objectName

objectName: undefined | string

The name of the object affected by the action.

Optional objectOwner

objectOwner: undefined | string

The schema name of the object affected by the action.

Optional objectType

objectType: undefined | string

The type of the object in the source database affected by the action. For example PL/SQL, SYNONYM or PACKAGE BODY.

Optional operation

operation: undefined | string

The name of the action executed by the user on the target database. For example ALTER, CREATE or DROP.

Optional operationStatus

operationStatus: OperationStatus

Indicates whether the operation was a success or a failure.

Optional osTerminal

osTerminal: undefined | string

The operating system terminal of the user session.

Optional osUserName

osUserName: undefined | string

The name of the operating system user for the database session.

Optional peerTargetDatabaseKey

peerTargetDatabaseKey: undefined | number

The secondary id assigned for the peer database registered with Data Safe. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional targetClass

targetClass: TargetClass

The class of the target that was audited.

targetId

targetId: string

The OCID of the target database that was audited.

targetName

targetName: string

The name of the target database that was audited.

timeCollected

timeCollected: Date

The timestamp when this audit event was collected from the target database by Data Safe.

Optional trailSource

trailSource: model.AuditTrailSource

The underlying source of unified audit trail.

Functions

getDeserializedJsonObj

getJsonObj