11PEP: 578
22Title: Python Runtime Audit Hooks
3- Version: $Revision$
4- Last-Modified: $Date$
53Author: Steve Dower <steve.dower@python.org>
64BDFL-Delegate: Christian Heimes <christian@python.org>
7- Status: Accepted
5+ Status: Final
86Type: Standards Track
9- Content-Type: text/x-rst
107Created: 16-Jun-2018
118Python-Version: 3.8
129Post-History: 28-Mar-2019, 07-May-2019
1310
11+ .. canonical-doc :: :ref:`python:audit-events`
12+
1413Abstract
1514========
1615
@@ -85,7 +84,7 @@ The aim of these changes is to enable both application developers and
8584system administrators to integrate Python into their existing
8685monitoring systems without dictating how those systems look or behave.
8786
88- We propose two API changes to enable this: an Audit Hook and Verified
87+ We propose two API changes to enable this: an Audit Hook and Verified
8988Open Hook. Both are available from Python and native code, allowing
9089applications and frameworks written in pure Python code to take
9190advantage of the extra messages, while also allowing embedders or
@@ -284,7 +283,7 @@ API Availability
284283
285284While all the functions added here are considered public and stable API,
286285the behavior of the functions is implementation specific. Most
287- descriptions here refer to the CPython implementation, and while other
286+ descriptions here refer to the CPython implementation, and while other
288287implementations should provide the functions, there is no requirement
289288that they behave the same.
290289
@@ -506,7 +505,7 @@ The argument that this is "security by obscurity" is valid, but
506505irrelevant. Security by obscurity is only an issue when there are no
507506other protective mechanisms; obscurity as the first step in avoiding
508507attack is strongly recommended (see `this article
509- <https://danielmiessler.com/study /security-by-obscurity/> `_ for
508+ <https://danielmiessler.com/p /security-by-obscurity/> `_ for
510509discussion).
511510
512511This idea is rejected because there are no appropriate reasons for an
@@ -557,7 +556,7 @@ a secure or audited environment.
557556References
558557==========
559558
560- .. [1 ] Python Performance Benchmark Suite `<https://github.com/python/performance >`_
559+ .. [1 ] Python Performance Benchmark Suite `<https://github.com/python/pyperformance >`_
561560
562561 .. [2 ] Python Security model - Sandbox `<https://python-security.readthedocs.io/security.html#sandbox >`_
563562
@@ -567,4 +566,4 @@ Copyright
567566Copyright (c) 2019 by Microsoft Corporation. This material may be
568567distributed only subject to the terms and conditions set forth in the
569568Open Publication License, v1.0 or later (the latest version is presently
570- available at http ://www.opencontent. org/openpub/ ).
569+ available at https ://spdx. org/licenses/OPUBL-1.0.html ).
0 commit comments