databaseActivityEventList JSON array for database activity streams
The audit log payload is an encrypted databaseActivityEventList
JSON array. The following table lists alphabetically the
fields for each activity event in the decrypted DatabaseActivityEventList
array of an audit log.
When unified auditing is enabled in Oracle Database, the audit records are populated in
this new audit trail. The UNIFIED_AUDIT_TRAIL
view displays audit records in tabular form by
retrieving the audit records from the audit trail. When you start a database activity stream, a column in
UNIFIED_AUDIT_TRAIL
maps to a field in the databaseActivityEventList
array.
Important
The event structure is subject to change. Amazon RDS might add new fields to activity events in the future. In applications that parse the JSON data, make sure that your code can ignore or take appropriate actions for unknown field names.
databaseActivityEventList fields for Amazon RDS for Oracle
The following are databaseActivityEventList
fields for Amazon RDS for Oracle.
Field | Data Type | Source | Description |
---|---|---|---|
|
string |
|
The class of activity event. This corresponds to the
For more information, see UNIFIED_AUDIT_TRAIL |
|
string |
|
The application the client used to connect as reported by the client. The client doesn't have to
provide this information, so the value can be null. A sample value is |
|
string |
|
Name of the action executed by the user. To understand the complete action, read both the command
name and the |
|
string |
|
The SQL statement associated with the event. A sample value is |
|
string |
|
The name of the database. |
|
number |
|
Numerical identifier for the database. A sample value is |
|
string |
N/A |
The database protocol. In this beta, the value is |
|
string |
|
Name of the database user whose actions were audited. A sample value is |
|
string |
N/A |
This field isn't used for RDS for Oracle and is always null. |
|
object |
|
By default, this object is empty. When you start the activity stream with the
For more information, see UNIFIED_AUDIT_TRAIL |
|
string |
N/A |
This field isn't used for RDS for Oracle and is always null. |
|
number |
|
Oracle Database error code generated by the action. If the action succeeded, the value is
|
|
string |
|
Timestamp of the creation of the audit trail entry. A sample value is |
|
string |
|
The network communication protocol. A sample value is |
|
string |
|
The name of the object affected by the action. A sample value is |
|
string |
|
The schema name of object affected by the action. A sample value is |
|
list |
|
The list of bind variables, if any, associated with |
|
number |
|
Operating system process identifier of the Oracle database process. A sample value is
|
|
string |
|
Either the client IP address or name of the host from which the session was spawned. A sample value
is |
|
string |
|
The client port number. A typical value in Oracle Database environments is |
|
number |
N/A |
This field isn't used for RDS for Oracle and is always null. |
|
string |
Database host |
The IP address of the database server host. A sample value is |
|
string |
N/A |
The database server type. The value is always |
|
string |
Database host |
The Amazon RDS for Oracle version, Release Update (RU), and Release Update Revision (RUR). A sample
value is |
|
string |
Database host |
The name of the service. A sample value is |
|
number |
|
The session identifier of the audit. An example is |
|
string |
N/A |
This field isn't used for RDS for Oracle and is always null. |
|
number |
|
Numeric ID for each statement run. A statement can cause many actions. A sample value is
|
|
N/A |
N/A |
This field isn't used for RDS for Oracle and is always null. |
|
string |
|
The identifier of the transaction in which the object is modified. A sample value is
|
databaseActivityEventList fields for Amazon RDS for SQL Server
The following are databaseActivityEventList
fields for Amazon RDS for SQL Server.
Field | Data Type | Source | Description |
---|---|---|---|
|
string |
|
The class of activity event. For more information, see SQL Server Audit (Database Engine) |
|
string |
|
The application that the client connects as reported by the client (SQL Server version 14 and higher). This field is null in SQL Server version 13. |
|
string |
|
The general category of the SQL statement. The value for this field depends on the value of the class. |
|
string |
|
This field indicates the SQL statement. |
|
string |
|
Name of the database. |
|
string |
N/A |
The database protocol. This value is |
|
string |
|
The database user for the client authentication. |
|
string |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
object |
Each field in |
By default, this object is empty. When you start the activity stream with
the |
|
string |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
integer |
|
Indicates whether the action that started the event succeeded. This field can't be null. For all the events except login events, this field reports whether the permission check succeeded or failed, but not whether the operation succeeded or failed. Values include:
|
|
string |
|
The event timestamp that is recorded by the SQL Server. |
|
string |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
string |
|
The name of the database object if the SQL statement is operating on an object. |
|
string |
|
The database object type if the SQL statement is operating on an object type. |
|
string |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
integer |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
string |
|
The IP address or hostname of the client that issued the SQL statement (SQL Server version 14 and higher). This field is null in SQL Server version 13. |
|
integer |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
integer |
|
The number of table rows affected by the SQL statement (SQL Server version 14 and higher). This field is in SQL Server version 13. |
|
string |
Database Host |
The IP address of the host database server. |
|
string |
N/A |
The database server type. The value is |
|
string |
Database Host |
The database server version, for example, 15.00.4073.23.v1.R1 for SQL Server 2017. |
|
string |
Database Host |
The name of the service. An example value is |
|
integer |
|
Unique identifier of the session. |
|
string |
N/A |
This field isn't used by Amazon RDS for SQL Server and the value is null. |
|
string |
|
A unique identifier for the client's SQL statement.
The identifier is different for each event that is generated. A sample value is |
|
integer |
|
An identifier to determine the sequence number for a statement. This identifier helps when large records are split into multiple records. |
|
integer |
|
An identifier of a transaction. If there aren't any active transactions, the value is zero. |
|
string |
Database activity stream generated |
The type of event. The values are |