[File Integrity Monitoring] Exclude files that regularly changes#7573
Merged
chemamartinez merged 3 commits intoelastic:mainfrom Aug 29, 2023
Merged
[File Integrity Monitoring] Exclude files that regularly changes#7573chemamartinez merged 3 commits intoelastic:mainfrom
chemamartinez merged 3 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
🌐 Coverage report
|
efd6
approved these changes
Aug 28, 2023
Contributor
efd6
left a comment
There was a problem hiding this comment.
It seems odd that the beats db is in /usr/share; ISTM that it should be in $XDG_STATE_HOME or similar.
|
Package fim - 1.10.1 containing this change is available at https://epr.elastic.co/search?package=fim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Avoid monitoring by default
/usr/share. It contains the folder where the elastic agent is installed, including thebeat.dbdatabase which is updated every time a change in FIM happens, so it generates an infinite loop.Exclude by default files that are expected to be modified, in particular,
.tmp,.logand.dbfiles. FIM should be focused on monitoring files whose changes may represent a security issue, monitoring files that change regularly may imply a noise that makes this task more difficult.Checklist
changelog.ymlfile.