Skip to main content

Static STIG

Overview

This tool allows users to run OSCAP STIGs against a static image instead of waiting to do so at runtime. It will pull the image and determine its base distro and run a standard STIG profile against the image before outputting the results to a file on your local machine.

Requirements

Static STIG requires docker to run. Ensure that Docker is installed and your user is a part of the Docker group so the use of sudo isn't required to run docker commands. Additionally, ensure that your user owns the directory you are running Static STIG in.

How to Run

Run pip install -U static-stig

To run Static STIG, simply run package and give it the desired target image: static-stig -i registry_url/repo/image:tag

For exammple, to run a stig against the latest ubuntu image run static-stig -i docker.io/library/ubuntu:latest

To run a STIG against an image in a private repository, run the same command with the credential flags: static-stig -i registry_url/repo/image:tag -u username -p password -r registry_url

Future Features

  • More compatibility with OSCAP XCCDF options
  • Compatibility with more OSCAP Profiles
  • Add a flag to allow specifying a profile

Known Shortcomings

  • The DISA STIG list lags a few years behind releases of OS versions
  • The STIG list used here isn't compatible with MacOS based images

Release files for static-stig 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for static-stig 0.1.10
File Size Uploaded
static_stig-0.1.10.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for static-stig 0.1.10
File Interpreter ABI Platform
static_stig-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / static_stig-0.1.10.tar.gz

Download URL static_stig-0.1.10.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bf610a36c6f380af9ff41bb0a5ec8aac1af434cea78c040739e466c4cd1d4872
BLAKE2b-256 checksum
How to use checksums
5c32bfb7674ca6f74c884449b81169e117f30803883205bc61787d9a831f55e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / static_stig-0.1.10-py3-none-any.whl

Download URL static_stig-0.1.10-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
794198aab1e0d4881a95f755bb2920e1b1044a6a3d2aae17e5006fdbfede3da4
BLAKE2b-256 checksum
How to use checksums
1243872a49be0c5afb806b82f2225997dc9c1c0ce8cd1e1c25351d9be7aba7a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page