检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Parent topic: Audit Instance
Parent topic: Audit Instance
Audit and Logs Audit Cloud Trace Service (CTS) records operations on the cloud resources in your account. You can use the logs generated by CTS to perform security analysis, trace resource changes, audit compliance, and locate faults.
What Do I Do If I Audit RDS Postgres Database but No Audit Result Is Displayed? Symptom No audit result is displayed after an RDS Postgres database is audited. Possible Causes The configuration of the DBSS audit instance is incorrect. Check the configuration again.
DISABLE; -- Delete the adt1 audit policy. gaussdb=# DROP AUDIT POLICY adt1; Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: A
DISABLE; -- Drop the adt1 audit policy. gaussdb=# DROP AUDIT POLICY adt1; Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: A
Audit Logs Scenarios After you enable CTS and the management tracker is created, CTS starts recording operations on cloud resources. After a data tracker is created, the system starts to record user operations on data in OBS buckets.
Audit and Logging Audit Cloud Trace Service (CTS) records operations on the cloud resources in your account. You can use the logs generated by CTS to perform security analysis, track resource changes, audit compliance, and locate faults.
Downloading the Audit Agent Function This API is used to download the audit agent. Calling Method For details, see Calling APIs.
Helpful Links CREATE AUDIT POLICY and ALTER AUDIT POLICY Parent topic: SQL Syntax
ALTER AUDIT POLICY Function ALTER AUDIT POLICY modifies the unified audit policy. Precautions Only user poladmin, user sysadmin, or the initial user can perform this operation. The unified audit policy takes effect only after enable_security_policy is set to on.
For details about how to back up system audit logs, see Which Types of System Data Can Be Backed Up in the CBH System? Parent topic: O&M Log Audit
Examples -- Create the adt1 policy. gaussdb=# CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Drop the audit policy adt1. gaussdb=# DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a message
Examples -- Create the adt1 policy. gaussdb=# CREATE AUDIT POLICY adt1 PRIVILEGES CREATE; CREATE AUDIT POLICY -- Delete the audit policy adt1. gaussdb=# DROP AUDIT POLICY adt1; DROP AUDIT POLICY -- When you delete the audit policy adt0 that does not exist, the system displays a
Parent topic: Deploying the Database Audit Agent in a Container
CREATE AUDIT POLICY Description Creates a unified audit policy. Precautions Only the user with the POLADMIN or SYSADMIN permission, or initial user has the permission to create and maintain audit policies.
=# DROP USER dev_audit; Helpful Links ALTER AUDIT POLICY and DROP AUDIT POLICY Parent topic: C
Viewing Audit Results Viewing SQL Statement Details Viewing Session Distribution Viewing the Audit Dashboard Viewing Audit Reports Viewing Trend Analysis
Parent topic: Audit Logs
Helpful Links ALTER AUDIT POLICY and CREATE AUDIT POLICY Parent topic: SQL Syntax