Skip to content
New issue

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

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

Already on GitHub? # to your account

test(userspace/libsinsp): add cases for formatters and minor improvements #1787

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

jasondellaluce
Copy link
Contributor

What type of PR is this?

/kind cleanup

Any specific area of the project related to this PR?

/area tests

Does this PR require a change in the driver versions?

What this PR does / why we need it:

I realized that we don't have coverage in our output formatting system, which is also the construct used by Falco for formatting output strings and fields when security rules are triggered. This PR achieves decent coverage, and also adds minor improvements to the test suite for what concerns filters.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@jasondellaluce
Copy link
Contributor Author

/milestone 0.16.0

@poiana poiana added this to the 0.16.0 milestone Apr 9, 2024
@poiana poiana added the size/XL label Apr 9, 2024
@LucaGuerra
Copy link
Contributor

Thank you! Just some minor comments

@jasondellaluce jasondellaluce force-pushed the test/formatters-filters-improvement branch from d29e090 to c4a1b84 Compare April 9, 2024 14:27
@jasondellaluce
Copy link
Contributor Author

Thanks Luca! Accepted all your suggestions

Copy link
Contributor

@LucaGuerra LucaGuerra left a comment

Choose a reason for hiding this comment

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

Thank you! (hoping CI will pass)

@poiana
Copy link
Contributor

poiana commented Apr 9, 2024

LGTM label has been added.

Git tree hash: 8d692bc1286f87a4d63d38c92ceba773272054e8

Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

@FedeDP
Copy link
Contributor

FedeDP commented Apr 10, 2024

@jasondellaluce can you rebase to fix ci?

jasondellaluce and others added 3 commits April 10, 2024 10:12
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Co-authored-by: Luca Guerra <luca@guerra.sh>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
@jasondellaluce jasondellaluce force-pushed the test/formatters-filters-improvement branch from c4a1b84 to 0fa9ce0 Compare April 10, 2024 10:13
@poiana poiana removed the lgtm label Apr 10, 2024
@poiana poiana added the lgtm label Apr 10, 2024
@poiana
Copy link
Contributor

poiana commented Apr 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, jasondellaluce, LucaGuerra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Andreagit97,LucaGuerra,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link
Contributor

poiana commented Apr 10, 2024

LGTM label has been added.

Git tree hash: 13310cf01d370f760bd2f1661cfe289d9fecfab3

@poiana poiana merged commit eadccc5 into master Apr 10, 2024
40 of 43 checks passed
@poiana poiana deleted the test/formatters-filters-improvement branch April 10, 2024 10:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants