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

Support setting checksum in aqua-policy.yaml #2807

Open
suzuki-shunsuke opened this issue Apr 6, 2024 · 1 comment
Open

Support setting checksum in aqua-policy.yaml #2807

suzuki-shunsuke opened this issue Apr 6, 2024 · 1 comment

Comments

@suzuki-shunsuke
Copy link
Member

Feature Overview

Support setting checksum in aqua-policy.yaml.

Why is the feature needed?

To enforce the checksum verification via Policy.

Workaround

Use AQUA_ENFORCE_CHECKSUM and AQUA_ENFORCE_REQUIRE_CHECKSUM.

These environment variables are useful especially in CI, but it's difficult to ask users to set environment variables on their local environment.

Example Code

$ 

Configuration

aqua-policy.yaml

checksum:
  enabled: true
  require_checksum: true

Note

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Apr 6, 2024
@suzuki-shunsuke
Copy link
Member Author

Policy is useful to enforce policies in the project level, but isn't useful to enforce policies in machine level.
Environment variables AQUA_ENFORCE_CHECKSUM and AQUA_ENFORCE_REQUIRE_CHECKSUM are useful to enforce policies in machine level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant