@@ -1540,6 +1540,12 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
15401540 result of implicit invocation via language syntax or built-in functions.
15411541 See :ref: `special-lookup `.
15421542
1543+ .. audit-event :: object.__getattr__ obj,name object.__getattribute__
1544+
1545+ For certain sensitive attribute accesses, raises an
1546+ :ref: `auditing event <auditing >` ``object.__getattr__ `` with arguments
1547+ ``obj `` and ``name ``.
1548+
15431549
15441550.. method :: object.__setattr__(self, name, value)
15451551
@@ -1551,12 +1557,24 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
15511557 call the base class method with the same name, for example,
15521558 ``object.__setattr__(self, name, value) ``.
15531559
1560+ .. audit-event :: object.__setattr__ obj,name,value object.__setattr__
1561+
1562+ For certain sensitive attribute assignments, raises an
1563+ :ref: `auditing event <auditing >` ``object.__setattr__ `` with arguments
1564+ ``obj ``, ``name ``, ``value ``.
1565+
15541566
15551567.. method :: object.__delattr__(self, name)
15561568
15571569 Like :meth: `__setattr__ ` but for attribute deletion instead of assignment. This
15581570 should only be implemented if ``del obj.name `` is meaningful for the object.
15591571
1572+ .. audit-event :: object.__delattr__ obj,name object.__delattr__
1573+
1574+ For certain sensitive attribute deletions, raises an
1575+ :ref: `auditing event <auditing >` ``object.__delattr__ `` with arguments
1576+ ``obj `` and ``name ``.
1577+
15601578
15611579.. method :: object.__dir__(self)
15621580
0 commit comments