From f3446a18a2643fa2c1819f3ec05e0d09188b10b9 Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Wed, 11 Jun 2025 03:25:36 +0800 Subject: [PATCH 1/3] gh-135361: update documentation for remote_debugger_script audit event Signed-off-by: Manjusaka --- Doc/library/sys.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 55e442b20ff877..4503ce1b19f42a 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -1933,6 +1933,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only interpreter is pre-release (alpha, beta, or release candidate) then the local and remote interpreters must be the same exact version. + .. audit-event:: remote_debugger_script script_path + .. availability:: Unix, Windows. .. versionadded:: 3.14 From 8ed5410057e9c6efc945f3a8f5092cd73a6db52c Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Mon, 16 Jun 2025 02:11:50 +0800 Subject: [PATCH 2/3] fix review idea Signed-off-by: Manjusaka --- Doc/library/sys.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 4503ce1b19f42a..28fe486239a2d7 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -1935,6 +1935,10 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. audit-event:: remote_debugger_script script_path + When the script is executed in the remote process, an + :ref:`auditing event ```remote_debugger_script`` is raised + with the path in the remote process. + .. availability:: Unix, Windows. .. versionadded:: 3.14 From a25fcda6a0cddedf0a8c6ac747a12bda2729955f Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Mon, 16 Jun 2025 02:19:15 +0800 Subject: [PATCH 3/3] Update docs Signed-off-by: Manjusaka --- Doc/library/sys.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 28fe486239a2d7..71f9999464ab52 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -1936,7 +1936,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. audit-event:: remote_debugger_script script_path When the script is executed in the remote process, an - :ref:`auditing event ```remote_debugger_script`` is raised + :ref:`auditing event ` + ``sys.remote_debugger_script`` is raised with the path in the remote process. .. availability:: Unix, Windows.