-
Notifications
You must be signed in to change notification settings - Fork 59
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
new: introduce allowedTypes #251
new: introduce allowedTypes #251
Conversation
9dd6b8d
to
a507d93
Compare
…pe of artifacts It does so by retrieving the manifest and checking the mediaType from layer[0] (the one and only for our artifacts) Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
a507d93
to
3dfeed8
Compare
…ollow Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
668d9a2
to
3fbb30e
Compare
Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
3fbb30e
to
3cf1f49
Compare
Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
[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:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: cfef034a22ce905b7db06462f408ce3f95af2989
|
Signed-off-by: Lorenzo Susini susinilorenzo1@gmail.com
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area library
/area cli
What this PR does / why we need it:
Falcoctl is able to download any kind of artifacts, including shared libraries that could be potentially used by Falco and loaded. For security reasons, we want to let users be able to decide which kind of artifacts falcoctl is allowed to pull by means of a whitelist. If the list is empty everything is allowed for ease of use.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: