Bug report
This was originally reported in bug #116429 although it was not specifically pointed out there.
The "open" audit event "mode" does not contain information for os.open calls. It is always None. (This is unfortunate because I was hoping to run an audit report on all files being opened either for reading or for writing separately, and due to this limitation you can't do that.)
The https://docs.python.org/3/library/audit_events.html documentation states the mode field is there for os.open. Without some documentation note to the contrary, one would expect the field to exist and contain valid information.
CPython versions tested on:
3.16
Operating systems tested on:
No response
Reactions are currently unavailable
Bug report
This was originally reported in bug #116429 although it was not specifically pointed out there.
The "open" audit event "mode" does not contain information for os.open calls. It is always None. (This is unfortunate because I was hoping to run an audit report on all files being opened either for reading or for writing separately, and due to this limitation you can't do that.)
The https://docs.python.org/3/library/audit_events.html documentation states the mode field is there for os.open. Without some documentation note to the contrary, one would expect the field to exist and contain valid information.
CPython versions tested on:
3.16
Operating systems tested on:
No response