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

Question: Is there a way to include the sha256 (or other) matcher automatically when adding a file to goss.yaml? #1007

Open
spemmons opened this issue Nov 30, 2024 · 1 comment
Labels

Comments

@spemmons
Copy link

I would like to automatically include sha256 or one of the other checksum types automatically when adding a file to the goss.yaml

Is there a recommended way to do that?

@aelsabbahy
Copy link
Member

Goss add doesn't provide an option to add this.

It used to be default include different checksums and file sizes, but with the v0.4.0 release it was stripped to being more minimalist.

Perhaps there's an improvement to be made here where a goss add can specify all the fields it wants dynamically on the cli. This would empower a user to deviate from the default.

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

No branches or pull requests

2 participants