falcosecurity / event-generator

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

chore(dockerignore): use white-list approach #227

Closed ekoops closed 7 hours ago

ekoops commented 1 day ago

Use white-list approach to exclude unneeded but currently included files and directories.

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: This PR allows docker to exclude unneeded but currently included files and directories. Contextually, it replaces the black-list approach with a white-list approach: this allows to explicitly include only the needed items.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

poiana commented 1 day ago

Welcome @ekoops! It looks like this is your first PR to falcosecurity/event-generator 🎉

poiana commented 7 hours ago

LGTM label has been added.

Git tree hash: 848377dc77b37f7570cbe34ae635671c5e163ab4

poiana commented 7 hours ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alacuku, ekoops

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)~~ [alacuku] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment