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

Supermarket and Compliance support #84

Merged
merged 1 commit into from
May 10, 2016
Merged

Conversation

chris-rock
Copy link
Collaborator

allows kitchen-inspec to work with inspec supermarket profiles and profiles stored in Chef Compliance

fixes #80
superseeds inspec/inspec#703

You can define the profiles as following:

suites:
  - name: supermarket
    run_list:
      - recipe[ssh-hardening]
    verifier:
      inspec_tests:
        - supermarket://hardening/ssh-hardening
  # before you are able to use the compliance plugin, you need to run
  # insecure is only required if you use self-signed certificates
  # $ inspec compliance login https://compliance.test --user admin --insecure --token ''
  - name: compliance
    run_list:
      - recipe[ssh-hardening]
    verifier:
      inspec_tests:
        - compliance://base/ssh

@@ -29,4 +29,21 @@ suites:
- recipe[os_prepare]
verifier:
inspec_tests:
- https://github.com/nathenharvey/tmp_compliance_profile
- https://github.com/nathenharvey/tmp_compliance_profil
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be profile with an e ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yupp, not sure, who did this 💩

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@jeremymv2
Copy link
Contributor

Looks like a great improvement 👍

@arlimus
Copy link
Collaborator

arlimus commented May 10, 2016

Looks great, cheers @chris-rock 👍

@chris-rock chris-rock merged commit c23406e into master May 10, 2016
@chris-rock chris-rock deleted the chris-rock/supermarket branch May 10, 2016 14:10
@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

Successfully merging this pull request may close these issues.

Cannot run supermarket and compliance profiles
5 participants