Skip to content

Commit

Permalink
Exclude SYSTEM audit db from generic audit.query
Browse files Browse the repository at this point in the history
The SYSTEM audit database records a large number of events since
it's being fed by auditd. This means we probably don't want
to overload users with its results in our UI.
  • Loading branch information
anodos325 committed Jan 15, 2025
1 parent 97e2773 commit e29ef49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/audit/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


ALL_AUDITED = [svc[0] for svc in AUDITED_SERVICES]
BULK_AUDIT = ['SMB']
BULK_AUDIT = ['SMB', 'SYSTEM']
NON_BULK_AUDIT = [svc for svc in ALL_AUDITED if svc not in BULK_AUDIT]

# We set the refquota limit
Expand Down

0 comments on commit e29ef49

Please sign in to comment.