2016-09-20 13:45:31 -07:00
---
title: InSpec - Tutorials
2018-02-21 16:42:55 -08:00
Description: InSpec is an open source (OSS) automated testing tool for integration, compliance, security, and other policy requirements. Get started with building your InSpec skills with hands-on tutorials.
priority: 0.7
change_frequency: daily
2016-09-20 13:45:31 -07:00
---
2018-02-17 16:44:42 +01:00
/! header and tiles
header.bg-gradient.margin-top-offset.short-bg.relative
.row
2018-02-19 17:04:16 -08:00
.columns.large-7.medium-7.mobile-12.z-20
2018-02-17 16:44:42 +01:00
.margin-both
h2.t-white#icon-trigger
2017-01-06 00:06:40 -08:00
| Clear, step-by-step instructions for getting started and building your InSpec skills
2018-02-19 17:04:16 -08:00
.row.strict-center.mobile-row
.large-6.medium-6.mobile-12.columns.margin-under-xs
.box-white.shadow.strict-center.fit-height.relative.slide-up.z-20
2018-02-17 16:44:42 +01:00
.align-vertical-50
small.t-gray module 1
hr.center.margin-under-xs
h3.pad-top-xs Try InSpec
p
| See how InSpec can help you quickly identify potential compliance and security issues on your infrastructure.
a.button.btn-lg.btn-purple.shadow-dark.margin-top-xs href="https://learn.chef.io/modules/try-inspec#/"
i.fa.fa-book
span start learning
.triangle-right
2018-02-19 17:04:16 -08:00
.large-6.medium-6.mobile-12.columns.margin-under-xs
.box-white.shadow.strict-center.fit-height.relative.slide-up.z-20
2018-02-17 16:44:42 +01:00
.align-vertical-50
small.t-gray module 2
hr.center.margin-under-xs
h3.pad-top-xs Explore InSpec Resources
p
| Build an InSpec profile that verifies whether an NGINX installation meets your requirements.
a.button.btn-lg.btn-purple.shadow-dark.margin-top-xs href="https://learn.chef.io/modules/explore-inspec-resources#/"
i.fa.fa-book
span start learning
.triangle-right
#particles-second
canvas.particles-js-canvas-el /
2017-01-06 00:06:40 -08:00
2018-02-17 16:44:42 +01:00
.margin-under
2018-02-19 17:04:16 -08:00
.row.strict-center.mobile-row
.large-6.medium-6.mobile-12.columns.margin-under-xs
.box-white.shadow.strict-center.fit-height.relative.slide-up.z-20
2018-02-17 16:44:42 +01:00
.align-vertical-50
small.t-gray module 3
hr.center.margin-under-xs
h3.pad-top-xs Create an InSpec Profile from Compliance Documentation
p
| See how to create a compliance profile from documentation, using the Center for Internet Security (CIS) benchmarks as an example.
a.button.btn-lg.btn-purple.shadow-dark.margin-top-xs href="https://learn.chef.io/modules/create-profile-from-doc#/"
i.fa.fa-book
span start learning
.triangle-right
2018-02-19 17:04:16 -08:00
.large-6.medium-6.mobile-12.columns.margin-under-xs
.box-white.shadow.strict-center.fit-height.relative.slide-up.z-20
2018-02-17 16:44:42 +01:00
.align-vertical-50
small.t-gray module 4
hr.center.margin-under-xs
h3.pad-top-xs Automating Compliance for Finance
p
| Learn how Hewlett Packard Enterprise (HPE) uses InSpec to ensure compliance and security.
a.button.btn-lg.btn-purple.shadow-dark.margin-top-xs href="https://learn.chef.io/modules/hp-compliance#/"
i.fa.fa-book
span start learning
2018-02-17 10:27:10 -08:00
2018-02-17 16:44:42 +01:00
.triangle-right
2017-01-06 00:06:40 -08:00
2018-02-17 10:27:10 -08:00
/! community tutorials
.row.relative.margin-under-sm
.columns.strict-center
hr.center
small.t-gray from the community
h2.txt-margin Tutorials from our community
hr.center
.margin-under
2018-02-19 17:04:16 -08:00
.row.columns
2018-02-17 10:27:10 -08:00
.box-white.brdr-left.shadow.margin-under-xs.slide-left
.flex.align.collapseToggle
2018-02-21 16:42:55 -08:00
img.avatar src="/images/community/users/Annie.png" alt="image for Annie Hedgepath"
2018-02-17 10:27:10 -08:00
.block.margin-left-sm
h3.a-purple Getting started with InSpec - The InSpec basics series
small.t-gray by annie hedgepath
2018-02-19 17:04:16 -08:00
a.strict-right.mobile-hide
2018-02-17 10:27:10 -08:00
i.collapsebtn.fa
.collapseContent.margin-top-sm
a.block href="http://www.anniehedgie.com/inspec-basics-1"
i.fa.fa-angle-double-right
span InSpec Tutorial: Day 1 - Hello World
a.block href="http://www.anniehedgie.com/inspec-basics-2"
i.fa.fa-angle-double-right
span InSpec Tutorial: Day 2 - Command Resource
a.block href="http://www.anniehedgie.com/inspec-basics-3"
i.fa.fa-angle-double-right
span InSpec Tutorial: Day 3 - File Resource
a.block href="http://www.anniehedgie.com/inspec-basics-4"
i.fa.fa-angle-double-right
span InSpec Tutorial: Day 4 - Custom Matchers
a.block href="http://www.anniehedgie.com/inspec-basics-5"
i.fa.fa-angle-double-right
span InSpec Tutorial: Day 5 - Creating a Profile
a.block href="http://www.anniehedgie.com/inspec-basics-6"
i.fa.fa-angle-double-right
span InSpec Basics: Day 6 - Ways to Run It and Places to Store It
a.block href="http://www.anniehedgie.com/inspec-basics-7"
i.fa.fa-angle-double-right
span InSpec Basics: Day 7 - How to Inherit a Profile from Chef Compliance Server
a.block href="http://www.anniehedgie.com/inspec-basics-8"
i.fa.fa-angle-double-right
span InSpec Basics: Day 8 - Regular Expressions
a.block href="http://www.anniehedgie.com/inspec-basics-9"
i.fa.fa-angle-double-right
span InSpec Basics: Day 9 - Attributes
2018-02-19 17:04:16 -08:00
.row.columns
2018-02-17 10:27:10 -08:00
.box-white.brdr-left.shadow.margin-under-xs.slide-left
.flex.align.collapseToggle
2018-02-21 16:42:55 -08:00
img.avatar src="/images/community/users/Christian.png" alt="image for Christian Johannsen"
2018-02-17 10:27:10 -08:00
.block.margin-left-sm
h3.a-purple Windows infrastructure testing using InSpec - Two part series
small.t-gray by Christian Johannsen
2018-02-19 17:04:16 -08:00
a.strict-right.mobile-hide
2018-02-17 10:27:10 -08:00
i.collapsebtn.fa
.collapseContent.margin-top-sm
a.block href="http://datatomix.com/?p=236"
i.fa.fa-angle-double-right
span Windows infrastructure testing using InSpec - Part 1
a.block href="http://datatomix.com/?p=238"
i.fa.fa-angle-double-right
span Windows infrastructure testing using InSpec and Profiles - Part 2
2018-02-19 17:04:16 -08:00
.row.columns
2018-02-17 10:27:10 -08:00
.box-white.brdr-left.shadow.margin-under-xs.slide-left
.flex.align
2018-02-21 16:42:55 -08:00
img.avatar src="/images/community/users/jeremy.png" alt="image for Jeremy Miller"
2018-02-17 10:27:10 -08:00
.block.margin-left-sm
a.a-purple href="https://github.com/jeremymv2/chef-intranet-scaffolding/blob/master/README.md"
h3.a-purple Operating InSpec in an air-gapped environment
small.t-gray by Jeremy Miller
2018-02-19 17:04:16 -08:00
a.strict-right.mobile-hide href="https://github.com/jeremymv2/chef-intranet-scaffolding/blob/master/README.md"
2018-02-17 10:27:10 -08:00
i.fa.fa-angle-double-right
2018-02-19 17:04:16 -08:00
.row.columns
2018-02-17 10:27:10 -08:00
.box-white.brdr-left.shadow.margin-under-xs.slide-left
.flex.align
2018-02-21 16:42:55 -08:00
img.avatar src="/images/community/users/noavatar.png" alt="image for blindscientist"
2018-02-17 10:27:10 -08:00
.block.margin-left-sm
a.a-purple href="http://scienceofficersblog.blogspot.de/2016/02/testing-ansible-with-inspec.html"
h3.a-purple Testing Ansible with InSpec
small.t-gray by blindscientist
2018-02-19 17:04:16 -08:00
a.strict-right.mobile-hide href="http://scienceofficersblog.blogspot.de/2016/02/testing-ansible-with-inspec.html"
2018-02-17 10:27:10 -08:00
i.fa.fa-angle-double-right
2018-02-17 16:44:42 +01:00
.scrollToTop.shadow-dark
2018-02-21 16:42:55 -08:00
img#scrollup src="/images/home/arrow.svg" onerror="this.src='/images/home/arrow.png'" alt="image of scroll to top arrow"