goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.6k stars 472 forks source link

Support for s3 as a storage for goss.yaml #672

Closed luc-lynx closed 3 years ago

luc-lynx commented 3 years ago

Describe the feature: Just imagine you do security stuff and you've got a lot of different teams and a lot of different virtual machines with goss deployed. You release a new version of goss.yaml and you'd like to update it on all your fleet. You can do it with your regular deployment pipeline (usually - lots of deployment pipelines), but sometimes it's just more convenient to keep goss.yaml in one place reachable from all the virtual machines.

Amazon S3 is usually a good choice for that.

So, how it might look like

$ goss -g s3://<s3-endpoint>/<s3-bucket>/goss.yaml validate

or just

$ goss -g s3://<s3-endpoint>/<s3-bucket>/ validate

then goss will look for goss.yaml and other included files in that s3 bucket.

Describe alternatives you've considered

As for now we can update goss.yaml using and out of band method. For example, a cron job or systemd timer. But the solution will ease all the things.

luc-lynx commented 3 years ago

@aelsabbahy Any chance to get it approved before implementation? :)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.