You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add rate_limit check to auditd container watchdog (#22620)
Add rate_limit check to auditd container watchdog
Why I did it
Auditd container recently enable rate limit, need watch dock to check this change applied correctly.
Work item tracking
Microsoft ADO (number only):32313402
How I did it
Add rate_limit check to auditd container watchdog
How to verify it
Pass all test case.
New test case added by: sonic-net/sonic-mgmt#18555
Manually verified the feature works, checked 4 cases:
running config match with /etc/audit/audit.rules, will return: OK
running config mismatch with /etc/audit/audit.rules, will return: FAIL (rate_limit: {} mismatch with config file setting: {})
running config rate limit no set, but rate limit set in /etc/audit/audit.rules, will return: FAIL (rate_limit not set = {}, config file setting: {})
rate limit disabled in /etc/audit/audit.rules, will return: OK
0 commit comments