Skip to content

punitladtw/inspec-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inspec AWS Account configuration validation

Dependency installation

In order to run inspec against aws, we'll need to install these dependencies:

Run the tests

Prior to running tests, you'll need to login to AWS via saml2aws (against your IdP). Run:

saml2aws configure --url="<idp-url>" --username="<your-username>" --password="<your-password>" --profile="<your-profile-name>"
saml2aws login

Note: I've found more success with specifying the username and password directly in the configure command, rather than without. Not sure why, ymmv when you don't specify it.

Once logged in, you can run tests with:

AWS_PROFILE=<your-profile-name> AWS_REGION=<your-region> inspec exec . -t aws:// 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages