Skip to content

Conversation

@olsajiri
Copy link
Contributor

wip

@netlify
Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit e35bac7
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/68eeb1d19cb73c00079312db
😎 Deploy Preview https://deploy-preview-4184--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Oct 13, 2025
@olsajiri olsajiri force-pushed the pr/olsajiri/exec branch 3 times, most recently from 0fbb328 to 9dd22a4 Compare October 13, 2025 22:08
olsajiri and others added 13 commits October 17, 2025 11:29
As the comment suggested the filename could be sent through
data event, let's read the filename instead.

Signed-off-by: Jiri Olsa <[email protected]>
We can return just proc object and error without the bool state.

Making nopMsgProcess part of execParse init code so there's no
longer need for the function.

Signed-off-by: Jiri Olsa <[email protected]>
Adding test for execParse with api.EventErrorFilename and make
sure we get proper results.

Signed-off-by: Jiri Olsa <[email protected]>
Add test for execParse with just filename and make sure
we get proper results.

Signed-off-by: Jiri Olsa <[email protected]>
Adding support to read environment variables.

It's guarded with tg_conf_map::env_vars_enabled variable.

Partially resolves #2648

Signed-off-by: Mikita Iwanowski <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
This patch adds:
1. Adds a new field `envs` to the `ExecveEvent` message in the Tetragon API.
2. Updates the Go API to include the new `envs` field in the `ExecveEvent` struct.
3. Adds `--enable-process-environment-variables` flag to conditionally read env vars with ProcessExec events

Partially resolves #2648

Signed-off-by: Mikita Iwanowski <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/minor This PR introduces a minor user-visible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants