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 InSpec attributes #108

Closed
chris-rock opened this issue Oct 19, 2016 · 3 comments
Closed

Support InSpec attributes #108

chris-rock opened this issue Oct 19, 2016 · 3 comments
Labels
Type: Enhancement Adds new functionality.
Milestone

Comments

@chris-rock
Copy link
Collaborator

InSpec introduced a new feature called attributes with InSpec 1.0 inspec/inspec#719. At this point, kitchen-inspec does not support this feature. My expectation is, that attributes work across the Chef tool chain.

a simple attribute https://github.com/chef/inspec/blob/master/examples/profile-attribute.yml file looks like

user: bob
password: secret

To support attributes in kitchen.yml, we could do the following:

suites:
  - name: default
    verifier:
      inspec_tests:
        - https://github.com/dev-sec/tests-ssh-hardening
      attributes:
        user: bob
        password: secret

Not sure if we want to support external yml files?

@gsaslis
Copy link

gsaslis commented Oct 26, 2016

👍

also 👍 on the external yml files (in fact, I would even give this preference over the inline attributes declaration)

@chris-rock chris-rock modified the milestone: 0.16.0 Oct 31, 2016
@chris-rock
Copy link
Collaborator Author

Related to #97

@chris-rock
Copy link
Collaborator Author

Fixed via #116

@tas50 tas50 added Type: Enhancement Adds new functionality. and removed enhancement labels Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

No branches or pull requests

3 participants