检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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 Downloading the Audit Agent URI GET /v2/{project_id}/audit/{instance_id}/agents/{agent_id}/download Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String ** Parameter description**: Specifies the project ID.
For details, see Enabling Upload Audit Logs to LTS. Rule Logic If audit logs are not uploaded to LTS, the GaussDB instance is non-compliant. If audit logs are uploaded to LTS, the GaussDB instance is compliant. Parent topic: GaussDB
Solution Enable audit log reporting. For details, see Configuring Log Reporting. Rule Logic If audit log reporting is not enabled for a TaurusDB instance, this instance is non-compliant. If audit log reporting is enabled for a TaurusDB instance, this instance is compliant.
audit policy. m_db=# DROP AUDIT POLICY adt1; Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: A
Parent topic: Deploying the Database Audit Agent in a Container
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 message
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
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
=#DROP USER dev_audit; Helpful Links ALTER AUDIT POLICY and DROP AUDIT POLICY Parent topic: C
USER dev_audit; Helpful Links ALTER AUDIT POLICY and DROP AUDIT POLICY Parent topic: C
Helpful Links ALTER AUDIT POLICY and CREATE AUDIT POLICY Parent topic: SQL Syntax
Helpful Links CREATE AUDIT POLICY and ALTER AUDIT POLICY Parent topic: SQL Syntax
Helpful Links CREATE AUDIT POLICY and ALTER AUDIT POLICY Parent topic: SQL Syntax
Helpful Links ALTER AUDIT POLICY and CREATE AUDIT POLICY Parent topic: SQL Syntax
Viewing Audit Results Viewing SQL Statement Details Viewing Session Distribution Viewing the Audit Dashboard Viewing Audit Reports Viewing Trend Analysis
Examples See Examples in section "CREATE AUDIT POLICY." Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: SQL Syntax
Examples See Examples in section "CREATE AUDIT POLICY." Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: SQL Syntax
ENABLE|DISABLE Enables or disables the unified audit policy. If ENABLE|DISABLE is not specified, ENABLE is used by default. Examples See Examples in "CREATE AUDIT POLICY." Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: SQL Syntax
ENABLE|DISABLE Enables or disables the unified audit policy. If ENABLE|DISABLE is not specified, ENABLE is used by default. Examples See Examples in "CREATE AUDIT POLICY." Helpful Links CREATE AUDIT POLICY and DROP AUDIT POLICY Parent topic: SQL Syntax