Skip to main content

IaC Scan Runner CLI

Project description

IaC Scan Runner

Service that checks your IaC for issues and vulnerabilities.

GitHub Workflow Status Docker Image Version (latest by date) PyPI Test PyPI

Aspect Information
Tool name IaC Scan Runner
Docker image xscanner/runner
PyPI package iac-scan-runner
Documentation docs

Table of Contents

Purpose and description

The IaC Scan Runner is a REST API service used to scan IaC (Infrastructure as Code) package and perform various code checks in order to find possible vulnerabilities and improvements. Explore the docs for more info.

Running

This section explains how to run the REST API.

Run with Docker

You can run the REST API using a public xscanner/runner Docker image as follows:

# run IaC Scan Runner REST API in a Docker container and 
# navigate to localhost:8080/swagger or localhost:8080/redoc
$ docker run --name iac-scan-runner -p 8080:80 xscanner/runner

Or you can build the image locally and run it as follows:

# build Docker container (it will take some time) 
$ docker build -t iac-scan-runner .
# run IaC Scan Runner REST API in a Docker container and 
# navigate to localhost:8080/swagger or localhost:8080/redoc
$ docker run --name iac-scan-runner -p 8080:80 iac-scan-runner

Run from CLI

To run using the IaC Scan Runner CLI:

# install the CLI
$ python3 -m venv .venv && . .venv/bin/activate
(.venv) $ pip install iac-scan-runner
# print OpenAPI specification
(.venv) $ iac-scan-runner openapi
# install prerequisites
(.venv) $ iac-scan-runner install
# run IaC Scan Runner REST API
(.venv) $ iac-scan-runner run

Run from source

To run locally from source:

# install prerequisites
$ python3 -m venv .venv && . .venv/bin/activate
(.venv) $ pip install -r requirements.txt
(.venv) $ ./install-checks.sh
# run IaC Scan Runner REST API (add --reload flag to apply code changes on the way)
(.venv) $ uvicorn src.iac_scan_runner.api:app

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iac-scan-runner-0.0.3.tar.gz (141.3 kB view details)

Uploaded Source

Built Distribution

iac_scan_runner-0.0.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file iac-scan-runner-0.0.3.tar.gz.

File metadata

  • Download URL: iac-scan-runner-0.0.3.tar.gz
  • Upload date:
  • Size: 141.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for iac-scan-runner-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bff21bf605b5e1bb50a6c33e1b458a09485bd69594bf2e14a9f7f6ae4b22bc20
MD5 cb1d591a331b56a2079275b6a84d2a03
BLAKE2b-256 4ee8a958521b6ee2619cec8a0f2d19382837cd18a9ac147541769d5c9e1cc04d

See more details on using hashes here.

File details

Details for the file iac_scan_runner-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: iac_scan_runner-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for iac_scan_runner-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dfd6f7cbf38a4ce5c23717195563dbcf161534f43d91b311f9c84db32f379d14
MD5 970f8139853655745a2fc37bbd32d4f2
BLAKE2b-256 a1cf08535a3eb13250f50a4988c51fad4b05f4585802f89828c2b5ef6ab2da7f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page