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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| static_stig-0.1.10.tar.gz | 3.1 kB | Without provenance | Details for static_stig-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| static_stig-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for static_stig-0.1.10-py3-none-any.whl |
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
|
Security for static-stig 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.