8000 [v0.22.5] Refactor: Restructure event and rename context by geyslan · Pull Request #4415 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[v0.22.5] Refactor: Restructure event and rename context #4415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

geyslan
Copy link
Member
@geyslan geyslan commented Dec 6, 2024

1. Explain what the PR does

af77e24 chore(api): bump grpc and protoc versions
22f24c6 Refactor: Restructure event and rename context

af77e24 chore(api): bump grpc and protoc versions

0757020 bumped grpc and protoc versions but the Dockerfile was not
updated to reflect the new versions.

This bumps again protoc making the Dockerfile to use the latest
versions.

commit: 715b629 (main), cherry-pick

22f24c6 Refactor: Restructure event and rename context

This commit introduces two key changes to the Tracee event structure:

- Renames the `context` field to `workload` to provide a more specific and
  clear description of the execution environment.
- Moves the `triggeredBy` field from the `data` section to the root of the
  event structure. This ensures the `data` section is strictly defined by the
  event-specific schema, improving consistency and clarity.

These changes constitute a breaking change to the API. However, as `traceectl`
is not yet merged, it is acceptable to introduce this breaking change now to
avoid future complications.

commit: 0757020 (main), cherry-pick

2. Explain how to test it

3. Other comments

yanivagman and others added 2 commits December 6, 2024 09:38
This commit introduces two key changes to the Tracee event structure:

- Renames the `context` field to `workload` to provide a more specific and
  clear description of the execution environment.
- Moves the `triggeredBy` field from the `data` section to the root of the
  event structure. This ensures the `data` section is strictly defined by the
  event-specific schema, improving consistency and clarity.

These changes constitute a breaking change to the API. However, as `traceectl`
is not yet merged, it is acceptable to introduce this breaking change now to
avoid future complications.

commit: 0757020 (main), cherry-pick
0757020 bumped grpc and protoc versions but the Dockerfile was not
updated to reflect the new versions.

This bumps again protoc making the Dockerfile to use the latest
versions.

commit: 715b629 (main), cherry-pick
@geyslan geyslan requested a review from rscampos December 6, 2024 12:59
@geyslan geyslan self-assigned this Dec 6, 2024
@geyslan geyslan added the cherry-pick Label for cherry-pick PRs label Dec 6, 2024
Copy link
Collaborator
@rscampos rscampos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@geyslan
Copy link
Member Author
geyslan commented Dec 6, 2024

/fast-forward

Copy link
github-actions bot commented Dec 6, 2024

Triggered from #4415 (comment) by @​geyslan.

Trying to fast forward v0.22.0 (69dd8b4) to v0.22.5-cpick-4390-4405 (af77e24).

Target branch (v0.22.0):

commit 69dd8b4f73157a9ef666841a1c1d4d77eb3a80be (HEAD -> v0.22.0, tag: v0.22.4, origin/v0.22.0)
Author: Gregório G. <geyslan@gmail.com>
Date:   Mon Nov 11 11:40:24 2024 -0300

    chore(k8s): prepare v0.22.4 release (#4383)
    
    commit: f3b116cc (main), cherry-pick

Pull request (v0.22.5-cpick-4390-4405):

commit af77e247a0ef4f51005ed079254c671cc9af1c3a (pull_request/v0.22.5-cpick-4390-4405)
Author: Geyslan Gregório <geyslan@gmail.com>
Date:   Mon Dec 2 12:14:35 2024 -0300

    chore(api): bump grpc and protoc versions
    
    0757020 bumped grpc and protoc versions but the Dockerfile was not
    updated to reflect the new versions.
    
    This bumps again protoc making the Dockerfile to use the latest
    versions.
    
    commit: 715b629 (main), cherry-pick

Fast forwarding v0.22.0 (69dd8b4) to v0.22.5-cpick-4390-4405 (af77e24).

$ git push origin af77e247a0ef4f51005ed079254c671cc9af1c3a:v0.22.0
error: dst refspec v0.22.0 matches more than one
error: failed to push some refs to 'https://github.com/aquasecurity/tracee.git'

@geyslan geyslan merged commit 622ea3a into aquasecurity:v0.22.0 Dec 6, 2024
3 checks passed
@geyslan geyslan deleted the v0.22.5-cpick-4390-4405 branch February 19, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0