Add maximum files per second option#6830
Conversation
Molter73
left a comment
There was a problem hiding this comment.
We need to add max_fps to the configuration on demand.
9c9c90c to
51ab6bc
Compare
Molter73
left a comment
There was a problem hiding this comment.
While testing this PR I realized that the change is also affecting the initial scan which could delay the start of whodata and realtime mode operations. I suggest adding a parameter to check_max_fps in order to skip the check on the initial scan, potentially we could add a configuration option so this can switched on or off by the user.
I also realized that the limit is not being applied to Windows registry entries, we could add it in a future PR.
b650aaa to
023d030
Compare
e42f88a to
b3e6c73
Compare
b3e6c73 to
920acd5
Compare
|
This is the integration test report in a Ubuntu VM. The test These are the integration test in jenkins: |
Style corrections.
ce16159 to
356347d
Compare
713a47a to
2dedae5
Compare
Description
This PR aims to add a new option for FIM.
With this option, a limit can be set for how many files per second are read.
If this limit is reached, the scan will be stoped for 1 second and it will continue as normal.
Closes #5645
Configuration options
Logs/Alerts example
Tests