Commit Graph

4 Commits

Author SHA1 Message Date
Laurent Monin
6a8053fcf0 make_prefixes_dict(): split code to list_from_prefixes_string() 2023-09-18 10:54:30 +02:00
Laurent Monin
b8a0002fbe event_match_prefixes() -> is_matching_a_prefix()
This method isn't strictly related to events, but rather to dot-separated keys, use more generic names
2023-09-18 10:54:30 +02:00
Laurent Monin
ea0d4f5a13 make_events_prefixes() -> make_prefixes_dict()
Not directly linked to audit events
2023-09-18 10:54:30 +02:00
Laurent Monin
1390ac7f2d Add a command-line option to enable audit, using Python 3.8 sys.addaudithook()
That's a debugging feature.

Try '--audit os.mkdir,open' or '--audit all'
2023-09-18 10:54:30 +02:00