generated from falcosecurity/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat(decl): add process test resource and kill system call test step #241
Merged
poiana
merged 7 commits into
falcosecurity:declarative-testing
from
ekoops:ekoops/proc-and-kill
Nov 19, 2024
Merged
feat(decl): add process test resource and kill system call test step #241
poiana
merged 7 commits into
falcosecurity:declarative-testing
from
ekoops:ekoops/proc-and-kill
Nov 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abstract process creation through a new process package. Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]>
ekoops
changed the title
Ekoops/proc and kill
feat(decl): add process test resource and kill system call test step
Nov 19, 2024
ekoops
force-pushed
the
ekoops/proc-and-kill
branch
from
November 19, 2024 17:28
b04cdcf
to
38684d8
Compare
Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]>
Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]
Signed-off-by: Leonardo Di Giovanna <[email protected]>
Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]>
Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]>
Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-authored-by: Aldo Lacuku <[email protected]>
ekoops
force-pushed
the
ekoops/proc-and-kill
branch
from
November 19, 2024 17:32
38684d8
to
2cf4b77
Compare
leogr
approved these changes
Nov 19, 2024
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekoops, 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 |
LGTM label has been added. Git tree hash: a2624c88cc6e292476c137e9c1fb25bbce596395
|
/hold |
/unhold |
poiana
merged commit Nov 19, 2024
4194bf7
into
falcosecurity:declarative-testing
5 of 6 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind cleanup
/kind feature
Any specific area of the project related to this PR?
/area pkg
What this PR does / why we need it:
This PR introduces the
process
test resource and thekill
system call test step. Theprocess
test resources is required to test the rules involving processes manipulation, such as killing a process or tracing it. The code for creating a configurable process has been exported in a separate packageprocess
, and it is leveraged by thehost
runner and theprocess
resource. Moreover, this PR fixes some minor style issues.The following is a yaml sample to test the behaviour:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: