InSpec run from serverless environments (lambda)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
.gitignore
Dockerfile
LICENSE
README.md
cf-serverless-inspec.json
lambda.py

README.md

serverless-inspec: InSpec running serverless

Requirements

serverless-inspec requires the following

  • Docker installed on the build system

Getting Started

Clone the github repository

git clone https://github.com/martezr/serverless-inspec.git

Change directory to serverless-inspec

cd serverless-inspec

Build the package

scripts/build.sh

Deploy the cloudformation template

scripts/deploy.sh $inspec_bucket $output_bucket

Lambda Function

IAM Permissions

Supported Environment Variables

  • HOME: /tmp
  • GITHUB_REPO:
  • INSPEC_AWS_REGION: