STIG/SRG API Tools¶
This document describes useful online tools and APIs for accessing, validating, and working with DISA STIGs and SRGs in documentation and code.
Cyber Trackr Live¶
Cyber Trackr Live is a valuable online resource that provides access to Security Technical Implementation Guides (STIGs) and Security Requirements Guides (SRGs) through both a web interface and API.
Web Interface¶
The web interface allows browsing and searching STIGs and SRGs by:
- Title
- Version
- Release date
- Content
For example, to view the Kubernetes STIG v1r11:
API Usage¶
Cyber Trackr Live offers a robust API for programmatic access to STIGs and SRGs, which can be extremely valuable for:
- Validation of STIG/SRG requirements in documentation
- Automated compliance checking
- Building tools that integrate with STIG content
- Keeping documentation aligned with the latest STIG releases
API Endpoints¶
The base API URL is https://cyber.trackr.live/api/
Endpoint | Description | Example |
---|---|---|
/stig |
List all available STIGs | https://cyber.trackr.live/api/stig |
/stig/{title}/{version}/{release} |
Get specific STIG | https://cyber.trackr.live/api/stig/Kubernetes/2/2 |
Getting a List of STIGs¶
This returns a JSON object with available STIGs grouped by title, including all versions and releases.
Example response format:
Getting a Specific STIG¶
To retrieve details for a specific STIG, including all requirements:
This returns detailed information including:
- STIG metadata (release date, version)
- Requirements with vulnerability IDs (V-######)
- Rule descriptions
- Check procedures
- Fix procedures
Using the API for Documentation Validation¶
The API can be used to validate documentation against official STIG/SRG content:
- Verify Accuracy of Requirement References:
- Check for Updated Requirements:
- Extract Requirement Text:
Integration into Documentation Workflow¶
This API can be integrated into documentation workflows to:
- Generate Documentation Stubs:
- Create initial compliance documentation with correct IDs and descriptions
-
Generate skeleton files for STIG/SRG requirements
-
Validate Documentation Accuracy:
- Check that requirement IDs mentioned in documentation exist
- Verify descriptions match official sources
-
Flag outdated references when new STIG versions are released
-
Create Custom Compliance Reports:
- Generate reports showing alignment with specific STIGs
- Create matrices showing coverage across multiple STIGs
Implementation Example: STIG ID Validator Script¶
Here's a simple example script that could validate STIG IDs in markdown documentation:
Related Documentation¶
- Documentation Tools - Other documentation tools
- Contributing Guidelines - General contribution guidelines
- DISA Container Platform SRG - Our SRG alignment
- Kubernetes STIG - Our STIG alignment