falcosecurity / event-generator

Generate a variety of suspect actions that are detected by Falco rulesets
Apache License 2.0
94 stars 40 forks source link

new(pkg/runner/helper): added SpawnAsWithSymlink and modified SpawnAs to make a copy #198

Closed loresuso closed 7 months ago

loresuso commented 7 months ago

… to copy or symlink the binary

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:

The change introduced by this PR can be used to trigger rules that are based on proc.exepath rather than proc.name for better detection purposes.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

loresuso commented 7 months ago

We should be good now @leogr, mind to take a look? :)

poiana commented 7 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: leogr, loresuso

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](https://github.com/falcosecurity/event-generator/blob/main/OWNERS)~~ [leogr] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
poiana commented 7 months ago

LGTM label has been added.

Git tree hash: d5d5a67388982394ddc7aeb0b96c09a57122a831