8000 types: change Event fields by geyslan · Pull Request #3196 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

types: change Event fields #3196

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 1 commit into from
Jun 2, 2023
Merged

Conversation

geyslan
Copy link
Member
@geyslan geyslan commented Jun 1, 2023

1. Explain what the PR does

types: change Event fields

"MatchedPolicies" pass to be named "MatchedPoliciesKernel" and
propagated through the pipeline without being changed (internal).

"MatchedPoliciesUser" is a new bitmask of the policies that matched
after applying user land filters through the pipeline (internal).

"MatchedPoliciesNames" is now named "MatchedPolicies" (public).

2. Explain how to test it

3. Other comments

Required by #3183

@geyslan geyslan self-assigned this Jun 1, 2023
Comment on lines +37 to +39
MatchedPoliciesKernel uint64 `json:"-"`
MatchedPoliciesUser uint64 `json:"-"`
MatchedPolicies []string `json:"matchedPolicies,omitempty"`
Copy link
Member Author

Choose a reason for hiding this comment

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

Actual changes.

Copy link
Contributor
@rafaeldtinoco rafaeldtinoco left a comment

Choose a reason for hiding this comment

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

LGTM. Reviewing #3183 and will propose my changes to that PR so you can rebase that PR on top of this type change and merge that PR with my suggested changes (if you agree). Mostly documenting stuff (and applying the policies+network fix).

"MatchedPolicies" pass to be named "MatchedPoliciesKernel" and
propagated through the pipeline without being changed (internal).

"MatchedPoliciesUser" is a new bitmask of the policies that matched
after applying user land filters through the pipeline (internal).

"MatchedPoliciesNames" is now named "MatchedPolicies" (public).
@geyslan geyslan force-pushed the 3171-types-change branch from c93ef5e to 93a9ce8 Compare June 2, 2023 11:25
@geyslan geyslan merged commit e48d0a5 into aquasecurity:main Jun 2, 2023
@geyslan geyslan deleted the 3171-types-change branch June 3, 2023 11:06
geyslan added a commit to geyslan/tracee that referenced this pull request Jun 5, 2023
"MatchedPolicies" pass to be named "MatchedPoliciesKernel" and
propagated through the pipeline without being changed (internal).

"MatchedPoliciesUser" is a new bitmask of the policies that matched
after applying user land filters through the pipeline (internal).

"MatchedPoliciesNames" is now named "MatchedPolicies" (public).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0