Updated on 2024-02-02 GMT+08:00

Viewing Audit Logs

Cloud Trace Service (CTS) records operations on LakeFormation instances for query, audit, and backtrack.

Operations Recorded by CTS

Table 1 Operations recorded by CTS

Operation

Resource Type

Trace Name

Creating a catalog

Catalog

createCatalog

Deleting a catalog

Catalog

dropCatalog

Modifying a catalog

Catalog

alterCatalog

Creating a database

Database

createDatabase

Deleting a database

Database

dropDatabase

Modifying a database

Database

alterDatabase

Creating a data table

Table

createTable

Deleting a data table.

Table

dropTable

Modifying a data table.

Table

alterTable

Clearing the data in a table

Table

truncateTable

Creating a function

Function

createFunction

Modifying the attributes of a function

Function

alterFunction

Deleting a function

Function

dropFunction

Creating an instance

instance

createInstance

Modifying an instance

instance

updateInstance

Deleting an instance

instance

deleteInstance

Granting permissions

Access

grantAccess

Revoking authorization

Access

revokeAccess

Updating statistics about a specified column in a table

TableColumnStatistic

setTableColumnStatistics

Deleting statistics about a specified column in a table

TableColumnStatistic

deleteTableColumnStatistics

Adding column restrictions for creating tables in batches

TableConstraint

addConstraints

Deleting a column restriction

TableConstraint

deleteConstraints

Adding partition information in batches

Partition

addPartitions

Modifying partition information in batches

Partition

alterPartitions

Deleting partition information in batches

Partition

dropPartitions

Clearing list information in batches

Partition

truncatePartitions

Setting partition column statistics in batches

PartitionColumnStatistic

setPartitionColumnStatistics

Deleting partition column statistics

PartitionColumnStatistic

deletePartitionColumnStatistics

Viewing an Audit Log

Query LakeFormation traces on the CTS console.

For details, visit Querying Real-Time Traces.