-
Notifications
You must be signed in to change notification settings - Fork 680
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
Inspec multi-server queries #1616
Comments
@juju4 thank you for submitting this inquiry. I am unaware of any current plans for InSpec itself to query multiple systems. At Chef, we have some commercial offerings that allow you to use the audit cookbook (which is open source) to run InSpec profiles every time Chef runs on your node so you don't have to actively scan your infrastructure - it will continuously scan. If you wish to package your application with Habitat (which I strongly encourage you to check out!), we have some cool integrations with Habitat that allow you to ship your compliance profiles with your application which will then continuously scan your fleet for you automatically. @arlimus and @chris-rock, please correct me if I'm mistaken. |
@juju4 Thank you for bringing that up. Thank you @adamleff for the clarification. InSpec is following the unix principle: 'Do One Thing and Do It Well'. Therefore we aim to provide the best tool for infrastructure testing and compliance scanning. InSpec is prepared for on-top automation. We use InSpec as the compliance engine for Chef Automate and Chef Compliance. Please checkout our CLI json feature like |
Sadly, if I'm very happy with inspec, I'm not in a Chef environment, so need to review how to best used it widely else go back to serverspec. |
@juju4 we have successfully run inspec by using a powershell script. You could also use ansible or saltstack to do it. We may be using jenkins as a runner and the nunit output formatter to see the tests in Jenkins. There are a lot of options there for you, even if it's not built into the product. |
Thanks @mhedgpeth Was not worrying much about Jenkins use but more how to translate with other inventory tools like the one of ansible or salt. There is ansiblespec tool which does that for serverspec and an issue exists to include inspec support but for now, it's pending contributions. |
@juju4 InSpec does not depend on Chef. Also Chef Compliance is a standalone server that can be deployed independently of Chef Server. We have a lot of companies that use InSpec/Chef Compliance with various devops tools (even manual deployment). Could you help me understand how that is tight to the multi server project? |
@juju4 Can you please help me to understand which specific integrations are missing for you? This would allow us to help the community to add InSpec in the local tooling. InSpec is independent from any devops tool. We are proofing this continuously with our support for the dev-sec project, where we use inspec in combination with Ansible, Chef and Puppet. |
Hello @chris-rock But I'm trying to find the glue with my three main use cases
For ansible, I think the preferred road would probably through ansiblespec. not sure if other options existing or new. |
@mhedgpeth I'm very interested about how you got inspec to run through powershell, especially if it's in a domain environment. My goal is to run inspec against a fleet of servers in a domain environment, maybe through a jenkins pipeline where I can specify the hostnames to run it against. |
Description
Any integrated option or plan to query multiple systems at once?
Any alternative recommendation like
https://github.com/hack2learn/inspec-multi-server
Typical use cases:
Thanks
The text was updated successfully, but these errors were encountered: