This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new cbe8245990 Improve audit_logs.rst (#36213)
cbe8245990 is described below

commit cbe8245990a066af97a0e0981de00402c0bcd637
Author: Ryan Hatter <25823361+rnh...@users.noreply.github.com>
AuthorDate: Sun Dec 17 18:38:19 2023 -0500

    Improve audit_logs.rst (#36213)
    
    Add more detail and accuracy to audit logs documentation
---
 docs/apache-airflow/security/audit_logs.rst | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/docs/apache-airflow/security/audit_logs.rst 
b/docs/apache-airflow/security/audit_logs.rst
index 9ce5137786..aac2723c7b 100644
--- a/docs/apache-airflow/security/audit_logs.rst
+++ b/docs/apache-airflow/security/audit_logs.rst
@@ -50,17 +50,18 @@ Audit logs can be accessed through the Airflow UI. They are 
located under the "B
 Types of Events
 ---------------
 
-Airflow provides a set of predefined events that can be tracked in audit logs. 
These events include:
-
-- ``action_trigger_dag``: Triggering a DAG
-- ``action_create``: Creating a DAG or task
-- ``action_edit``: Modifying a DAG or task
-- ``action_delete``: Deleting a DAG or task
-- ``action_failed``: Setting a task as failed
-- ``action_success``: Setting a task as successful
-- ``action_retry``: Retrying a failed task
-- ``action_clear``: Clearing a task's state
-
+Airflow provides a set of predefined events that can be tracked in audit logs. 
These events include, but aren't limited to:
+
+- ``trigger``: Triggering a DAG
+- ``[variable,connection].create``: A user created a Connection or Variable
+- ``[variable,connection].edit``: A user modified a Connection or Variable
+- ``[variable,connection].delete``: A user deleted a Connection or Variable
+- ``delete``: A user deleted a DAG or task
+- ``failed``: Airflow or a user set a task as failed
+- ``success``: Airflow or a user set a task as success
+- ``retry``: Airflow or a user retried a task instance
+- ``clear``: A user cleared a task's state
+- ``cli_task_run``: Airflow triggered a task instance
 
 In addition to these predefined events, Airflow allows you to define custom 
events that can be tracked in audit logs.
 This can be done by calling the ``log`` method of the ``TaskInstance`` object.

Reply via email to