Skip to content
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

Add ArgVal signature helper #3954

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

oshaked1
Copy link
Contributor

@oshaked1 oshaked1 commented Apr 3, 2024

1. Explain what the PR does

Add ArgVal signature helper to extract a generic type from event arguments.

This function is simply copied from pkg/events/parse/params.go so it is now available for signatures.

3. Other comments

This PR is needed for #3953

…guments.

This function is simply copied from `pkg/events/parse/params.go` so it is now available for signatures.
@geyslan
Copy link
Member

geyslan commented Apr 3, 2024

What about a pkg to keep the same logic and be imported by both instead of duplicating it? Perhaps utils?

Copy link
Collaborator

@yanivagman yanivagman left a comment

Choose a reason for hiding this comment

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

LGTM

@yanivagman yanivagman merged commit 37dc481 into aquasecurity:main Apr 4, 2024
33 checks passed
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.

None yet

3 participants