@@ -1535,6 +1535,12 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
15351535 result of implicit invocation via language syntax or built-in functions.
15361536 See :ref: `special-lookup `.
15371537
1538+ .. audit-event :: object.__getattr__ obj,name object.__getattribute__
1539+
1540+ For certain sensitive attribute accesses, raises an
1541+ :ref: `auditing event <auditing >` ``object.__getattr__ `` with arguments
1542+ ``obj `` and ``name ``.
1543+
15381544
15391545.. method :: object.__setattr__(self, name, value)
15401546
@@ -1546,12 +1552,24 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
15461552 call the base class method with the same name, for example,
15471553 ``object.__setattr__(self, name, value) ``.
15481554
1555+ .. audit-event :: object.__setattr__ obj,name,value object.__setattr__
1556+
1557+ For certain sensitive attribute assignments, raises an
1558+ :ref: `auditing event <auditing >` ``object.__setattr__ `` with arguments
1559+ ``obj ``, ``name ``, ``value ``.
1560+
15491561
15501562.. method :: object.__delattr__(self, name)
15511563
15521564 Like :meth: `__setattr__ ` but for attribute deletion instead of assignment. This
15531565 should only be implemented if ``del obj.name `` is meaningful for the object.
15541566
1567+ .. audit-event :: object.__delattr__ obj,name object.__delattr__
1568+
1569+ For certain sensitive attribute deletions, raises an
1570+ :ref: `auditing event <auditing >` ``object.__delattr__ `` with arguments
1571+ ``obj `` and ``name ``.
1572+
15551573
15561574.. method :: object.__dir__(self)
15571575
0 commit comments