8000 Refactor: Remove Rego signature support by yanivagman · Pull Request #4426 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor: Remove Rego signature support #4426

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 18, 2024

Conversation

yanivagman
Copy link
Collaborator

1. Explain what the PR does

This PR removes support for Rego-based signatures in Tracee.

Rego signatures, while easier to write than compiled Go signatures, introduced performance overhead. This removal simplifies the Tracee codebase and prepares for the future introduction of Wasm-based signatures, which will offer both improved performance and extended capabilities.

In the meantime, users can leverage the following:

  • Go-based signatures: For optimal performance and custom event handling.
  • Tracee policies: For basic event filtering needs, providing a convenient way to define filters directly within the policy.

Tracee policies currently address the most common use case for signatures. Future development will focus on expanding Tracee's capabilities to accommodate more advanced scenarios.

2. Explain how to test it

3. Other comments

Copy link
Member
@geyslan geyslan left a comment

Choose a reason for hiding this comment

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

LGTM. There's only a unit test err, perhaps related to formatting.

@yanivagman yanivagman force-pushed the remove_rego_support branch 6 times, most recently from d986657 to 7a2674e Compare December 15, 2024 16:16
@yanivagman yanivagman linked an issue Dec 18, 2024 that may be closed by this pull request
This commit removes support for Rego-based signatures in Tracee.

Rego signatures, while easier to write than compiled Go signatures,
introduced performance overhead. This removal simplifies the Tracee codebase
and prepares for the future introduction of Wasm-based signatures,
which will offer both improved performance and extended capabilities.

In the meantime, users can leverage the following:

- **Go-based signatures:** For optimal performance and custom event handling.
- **Tracee policies:** For basic event filtering needs, providing a convenient
way to define filters directly within the policy.

Tracee policies currently address the most common use case for signatures.
Future development will focus on expanding Tracee's capabilities to accommodate
more advanced scenarios.
This commit removes the 'Verify Signatures' step from the GitHub Actions
workflow as it was specifically testing for rego signatures, which are no
longer supported in the project.
@yanivagman yanivagman merged commit b56ee73 into aquasecurity:main Dec 18, 2024
34 checks passed
@yanivagman yanivagman deleted the remove_rego_support branch December 18, 2024 08:37
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.

Drop rego support
2 participants
0