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

Feature: Added declarative subcommand for test command #219

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

GLVSKiriti
Copy link
Contributor

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:
It adds a declarative sub-command for the test command. Which takes yaml file path and parses it and runs the tests similar to the run declarative functionality which we added earlier and it also tests whether a falco rule is triggered or not by connecting to the running falco instance through grpc api.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:
@alacuku @jasondellaluce

Signed-off-by: GLVS Kiriti <glvskiriti2003369@gmail.com>
Copy link
Member

@alacuku alacuku left a comment

Choose a reason for hiding this comment

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

/lgtm

@poiana
Copy link

poiana commented Aug 22, 2024

LGTM label has been added.

Git tree hash: 5399ffc06bab035f0883f1388132bdacc6723616

@poiana
Copy link

poiana commented Aug 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alacuku, GLVSKiriti, leogr

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:

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

@poiana poiana merged commit 96c64fd into falcosecurity:gsoc2024 Aug 22, 2024
4 checks passed
@GLVSKiriti GLVSKiriti deleted the declarativeTestCommand branch August 22, 2024 08:58
@leogr leogr modified the milestones: v0.12.0, v0.13.0 Oct 2, 2024
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.

4 participants