Skip to content

noraj/vrt-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gem version GitHub tag (latest SemVer) License Doc (Github) Doc (rubydoc)

vrt-cli

A simple tool to visualize VRT (Vulnerability Rating Taxonomy) from the CLI. This gem is unofficial and is maintained by noraj not by Bugcrowd.

vrt-ruby vulnerability-rating-taxonomy" vrt

Install

gem install vrt-cli

Usage

CLI

$ vrt-cli -h
vrt-cli by noraj

Usage:
  vrt-cli tree [--no-color --debug]
  vrt-cli table [--sortby <col> --order <dir>] [--no-color --debug]
  vrt-cli -h | --help
  vrt-cli --version

Table options: can be used with list and search commands
  -s <col>, --sortby <col>  Column to sort by: priority, category, subcategory, variant [default: nil]
  -o <dir>, --order <dir>   Displayed in ascendant (asc) order or descendant order (dsc) [default: asc]

Other options:
  --no-color  Disable colorized output
  --debug     Display arguments
  -h, --help  Show this screen
  --version   Show version

Library

require 'vrt_cli'

vc = VrtCli::App.new

vc.sort(:priority)
vc.vulnerabilities

Screenshots

tree view:

table view: