-
Notifications
You must be signed in to change notification settings - Fork 682
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
RFC: Harmonize profile location targets in inspec.yml/kitchen.yml/audit cookbook #1227
Comments
Personally I really like the approach we are using for
we would use:
In
|
I think there is still some room for clarity around specifying the Supermarket and Compliance server urls. What is the strategy there? Perhaps:
|
@jeremymv2 the first is already available:
The harmonized approach would bring that to all tools. See https://github.com/chef/inspec/blob/master/lib/bundles/inspec-supermarket/target.rb#L16-L21 the inspec supermarket command still needs to be able to do that. Maybe we introduce a |
I like this idea a lot. I played around with what it would look like to parse this into an array of urls/profile paths to send to the runner, it's nice and simple; straightforward. |
This has been implemented in audit cookbook 2.0, kitchen-inspec 0.16 |
Currently we use different ways to define profiles locations in InSpec world:
CLI:
inspec.yml (yml format)
git references can be more complex:
inspec.lock (yml format)
kitchen.yml (yml format)
audit cookbook (json format)
The goal of this issue is to find a solution that harmonizes the different approaches across tooling so that users are enabled to easily copy&paste profile locations across tools.
Currently the single string-based location in a url based format is not enough, since its not working on cli, kitchen and audit cookbook.
The text was updated successfully, but these errors were encountered: