Skip to content

Commit

Permalink
Update audit-log.md (#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Jan 9, 2023
1 parent 3852fb1 commit 07edcb1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ NebulaGraph 的审计日志功能可以将 Graph 服务接受到的所有操作
|:--|:--|:--|
|`login` |-| 客户端尝试连接 Graph 服务时,记录相关信息。 |
|`exit` |-| 断开与 Graph 服务的连接时,记录相关信息。 |
|`ddl` |`CREATE SPACE``DROP SPACE``CREATE TAG``DROP TAG``ALTER TAG``DELETE TAG``CREATE EDGE``DROP EDGE``ALTER EDGE``CREATE INDEX``REBUILD INDEX``DROP INDEX``CREATE FULLTEXT INDEX``REBUILD FULLTEXT INDEX``DROP FULLTEXT INDEX`|记录 DDL 语句的信息。 |
|`dql` |`MATCH``LOOKUP``GO``FETCH``GET SUBGRAPH``FIND PATH``UNWIND``GROUP BY``ORDER BY``YIELD``LIMIT``RETURN`|记录 DQL 语句的信息。|
|`ddl` |`CREATE SPACE``DROP SPACE``CREATE TAG``DROP TAG``ALTER TAG``DELETE TAG``CREATE EDGE``DROP EDGE``ALTER EDGE``CREATE INDEX``DROP INDEX``CREATE FULLTEXT INDEX``DROP FULLTEXT INDEX`|记录 DDL 语句的信息。 |
|`dql` |`MATCH``LOOKUP``GO``FETCH``GET SUBGRAPH``FIND PATH``UNWIND``GROUP BY``ORDER BY``YIELD``LIMIT``RETURN``REBUILD INDEX``REBUILD FULLTEXT INDEX`|记录 DQL 语句的信息。|
|`dml` |`INSERT VERTEX``DELETE VERTEX``UPDATE VERTEX``UPSERT VERTEX``INSERT EDGE``DELETE EDGE``UPDATE EDGE``UPSERT EDGE`|记录 DML 语句的信息。 |
|`dcl`|`CREATE USER``GRANT ROLE``REVOKE ROLE``CHANGE PASSWORD``ALTER USER``DROP USER``CREATE SNAPSHOT``DROP SNAPSHOT``ADD LISTENER``REMOVE LISTENER``BALANCE``SUBMIT JOB``STOP JOB``RECOVER JOB``ADD DRAINER``REMOVE DRAINER`|记录 DCL 语句的信息。|
|`util`|`SHOW HOSTS``SHOW USERS``SHOW ROLES``SHOW SNAPSHOTS``SHOW SPACES``SHOW PARTS``SHOW TAGS``SHOW EDGES``SHOW INDEXES``SHOW CREATE SPACE``SHOW CREATE TAG/EDGE``SHOW CREATE INDEX``SHOW INDEX STATUS``SHOW LISTENER``SHOW TEXT SEARCH CLIENTS``SHOW DRAINER CLIENTS``SHOW FULLTEXT INDEXES``SHOW CONFIGS``SHOW CHARSET``SHOW COLLATION``SHOW STATS``SHOW SESSIONS``SHOW META LEADER``SHOW DRAINERS``SHOW QUERIES``SHOW JOB``SHOW JOBS``DESCRIBE INDEX``DESCRIBE EDGE``DESCRIBE TAG``DESCRIBE SPACE``DESCRIBE USER``USE SPACE``SIGN IN TEXT SERVICE``SIGN OUT TEXT SERVICE``SIGN IN DRAINER SERVICE``SIGN OUT DRAINER SERVICE``EXPLAIN``PROFILE``KILL QUERY``DOWNLOAD HDFS``INGEST`|记录工具类语句的信息。 |
|`dcl`|`CREATE USER``GRANT ROLE``REVOKE ROLE``CHANGE PASSWORD``ALTER USER``DROP USER``CREATE SNAPSHOT``DROP SNAPSHOT``ADD LISTENER``REMOVE LISTENER``BALANCE``SUBMIT JOB``STOP JOB``RECOVER JOB``ADD DRAINER``REMOVE DRAINER``SIGN IN DRAINER SERVICE``SIGN OUT DRAINER SERVICE``DOWNLOAD HDFS``INGEST`|记录 DCL 语句的信息。|
|`util`|`SHOW HOSTS``SHOW USERS``SHOW ROLES``SHOW SNAPSHOTS``SHOW SPACES``SHOW PARTS``SHOW TAGS``SHOW EDGES``SHOW INDEXES``SHOW CREATE SPACE``SHOW CREATE TAG/EDGE``SHOW CREATE INDEX``SHOW INDEX STATUS``SHOW LISTENER``SHOW TEXT SEARCH CLIENTS``SHOW DRAINER CLIENTS``SHOW FULLTEXT INDEXES``SHOW CONFIGS``SHOW CHARSET``SHOW COLLATION``SHOW STATS``SHOW SESSIONS``SHOW META LEADER``SHOW DRAINERS``SHOW QUERIES``SHOW JOB``SHOW JOBS``DESCRIBE INDEX``DESCRIBE EDGE``DESCRIBE TAG``DESCRIBE SPACE``DESCRIBE USER``USE SPACE``SIGN IN TEXT SERVICE``SIGN OUT TEXT SERVICE``EXPLAIN``PROFILE``KILL QUERY`|记录工具类语句的信息。 |
|`unknown`|-|记录未能识别的语句。|

## 设置审计日志
Expand Down

0 comments on commit 07edcb1

Please sign in to comment.