tracing: Add policy for file monitoring#1109
Merged
Merged
Conversation
tpapagian
force-pushed
the
pr/apapag/file_observability
branch
from
June 26, 2023 11:00
8918b58 to
7accb74
Compare
Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
tpapagian
force-pushed
the
pr/apapag/file_observability
branch
from
June 26, 2023 12:30
7accb74 to
ba65383
Compare
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
Introduced in #940. Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
tpapagian
force-pushed
the
pr/apapag/file_observability
branch
from
June 26, 2023 12:57
ba65383 to
f244821
Compare
tpapagian
marked this pull request as ready for review
June 26, 2023 13:21
kkourt
approved these changes
Jun 27, 2023
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.
This PR updates the file access use case. We use 3 new hooks to provide better visibility and remove the need to have
followfdactions. This is done by using more appropriate hooks deeper in the kernel stack.These hooks are responsible to monitor read/write accesses (including different ways to do I/O), mmap calls to files that we care about, and
truncatesystem calls.This PR also updates the encoder to pretty print these new hooks and also updates the documentation.