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

Signatures helpers improvement #4345

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Oct 9, 2024

Required by: #4331

1. Explain what the PR does

0b23713 feat(helpers): robust int and uint arg helpers

Add a new uint argument helpers, which extracts a data argument from an
event by name and returns it if it was one of the uint types.
Additionally, add further checks for int64 and int types in the already
existing int argument helper.

4d5e47d feat(helpers): unparsed flag helpers

flag helpers previously took a string argument to test against possible
flag configurations. New implementation takes the integer form and
makes the test with the bit flag directly.

Co-authored-by: Geyslan Gregório <geyslan@gmail.com>

2. Explain how to test it

3. Other comments

NDStrahilevitz and others added 2 commits October 9, 2024 16:30
flag helpers previously took a string argument to test against possible
flag configurations. New implementation takes the integer form and
makes the test with the bit flag directly.

Co-authored-by: Geyslan Gregório <geyslan@gmail.com>
Add a new uint argument helpers, which extracts a data argument from an
event by name and returns it if it was one of the uint types.
Additionally, add further checks for int64 and int types in the already
existing int argument helper.
@geyslan geyslan requested a review from rscampos October 9, 2024 19:40
@geyslan geyslan self-assigned this Oct 9, 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 Oct 9, 2024

/fast-forward

@github-actions github-actions bot merged commit 0b23713 into aquasecurity:main Oct 9, 2024
32 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.

3 participants