Skip to content
/ stgo Public
forked from danfedick/stgo

A command-line Stig Viewer written in Golang

License

Notifications You must be signed in to change notification settings

lt-brlara/stgo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STIG Viewer

This is a simple command-line tool to read and search through JSON data containing Security Technical Implementation Guide (STIG) information. It allows users to list all the IDs within the provided STIG data and search for findings with a specific STIG version. The program can read data from a local file or fetch data from a remote URL.

This application was designed for the Application STIG. For more information about STIGs, visit the STIG Viewer website.

Demo

You can watch a demo of the program in action here: asciicast

Installation

  1. Make sure you have Go installed on your system.
  2. Clone this repository to your local machine.
  3. Navigate to the project directory and build the binary:
cd stig-viewer
go build -o stgo ./main.go

Usage

Listing Vulnerability IDs

To list all Vulnerability IDs within the provided STIG data, use the -file flag for a local file or the -url flag for a remote URL:

./stgo -file ./stigs/example_app_stig.json 

Or:

./stgo -url https://www.example.com/stig.json 

Searching for a Specific SRG Version

To search for findings with a specific STIG version, use the -srg or -vuln flag along with -file or -url:

Examples

./stgo -file ./stigs/example_app_stig.json -srg SRG-APP-000074

./stgo -url https://www.example.com/stig.json -vuln V-26680

Or:

./stgo -url https://www.example.com/stig.json -srg SRG-APP-000074

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A command-line Stig Viewer written in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%