No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file static_stig-0.1.10.tar.gz
.
File metadata
- Download URL: static_stig-0.1.10.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf610a36c6f380af9ff41bb0a5ec8aac1af434cea78c040739e466c4cd1d4872 |
|
MD5 | 9965fb82bceaf376f6297aeb4e42aad4 |
|
BLAKE2b-256 | 5c32bfb7674ca6f74c884449b81169e117f30803883205bc61787d9a831f55e7 |
File details
Details for the file static_stig-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: static_stig-0.1.10-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794198aab1e0d4881a95f755bb2920e1b1044a6a3d2aae17e5006fdbfede3da4 |
|
MD5 | a1d707e90cf0572e75ae3b508a1fcb72 |
|
BLAKE2b-256 | 1243872a49be0c5afb806b82f2225997dc9c1c0ce8cd1e1c25351d9be7aba7a9 |