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

Simplify dependency in inspec.yml #1048

Closed
chris-rock opened this issue Sep 12, 2016 · 0 comments
Closed

Simplify dependency in inspec.yml #1048

chris-rock opened this issue Sep 12, 2016 · 0 comments
Milestone

Comments

@chris-rock
Copy link
Contributor

Description

Currently we already support various targets for dependencies, but the description is quite verbose.

depends:
  - supermarket: hardening/ssh-hardening
  - compliance: base/linux
  - name: os-hardening
    url: https://github.com/dev-sec/tests-os-hardening/archive/master.zip
  - name: ssl-benchmark
    git: https://github.com/dev-sec/ssl-benchmark.git
  - name: windows-patch-benchmark
    git: https://github.com/chris-rock/windows-patch-benchmark.git
  - name: linux
    compliance: base/linux

We should support a simplification of the above as a shortcut for the user:

depends
  - name: hardening/ssh-hardening # default is supermarket
  - supermarket: hardening/ssh-hardening
  - compliance: base/linux
  - git: https://github.com/chris-rock/windows-patch-benchmark.git
@chris-rock chris-rock added this to the 0.35.0 milestone Sep 12, 2016
@arlimus arlimus added the ready label Sep 12, 2016
stevendanna added a commit that referenced this issue Sep 13, 2016
- Allow users to elide the `name` attributes
- Assume a default source of supermarket

Fixes #1048

Signed-off-by: Steven Danna <steve@chef.io>
stevendanna added a commit that referenced this issue Sep 13, 2016
- Allow users to elide the `name` attributes
- Assume a default source of supermarket

Fixes #1048

Signed-off-by: Steven Danna <steve@chef.io>
stevendanna added a commit that referenced this issue Sep 13, 2016
- Allow users to elide the `name` attributes
- Assume a default source of supermarket

Fixes #1048

Signed-off-by: Steven Danna <steve@chef.io>
chris-rock pushed a commit that referenced this issue Sep 14, 2016
- Allow users to elide the `name` attributes
- Assume a default source of supermarket

Fixes #1048

Signed-off-by: Steven Danna <steve@chef.io>
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

4 participants