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

Pull kritis signer policy yaml from external storage #622

Open
djrut opened this issue Sep 26, 2022 · 0 comments
Open

Pull kritis signer policy yaml from external storage #622

djrut opened this issue Sep 26, 2022 · 0 comments

Comments

@djrut
Copy link

djrut commented Sep 26, 2022

Is your feature request related to a problem? Please describe.

Currently, the Kritis signer binary only accepts a policy file that resides on the local filesystem. In the context of Kritis Signer being containerized (i.e. most cases), the policy file must be "baked" into the container image. This becomes problematic when multiple unique policies are required (maybe due to differing security sensitivity of workloads being analyzed/signed). In this case, it requires creating multiple Kritis signer container images each with a custom baked in policy file.

Describe the solution you'd like

Provide the option of pulling the policy.yaml from an external location, for example GCS. For example using the command line option: "-policy=gs://bucket/path/policy.yaml", with the binary detecting a GCS path and pulling the policy accordingly.

Describe alternatives you've considered

Requires building multiple kritis signer images with the policy.yaml baked in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant