Skip to content

balki-server/myprecious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myprecious

Generate a Markdown report with information about your dependencies

Supports

  • Ruby Gems
  • Python Packages

Command Line Help

myprecious help

Configuration

CVE Vendor Blocking

Because the search for CVEs in NIST's NVD can turn up false-positive matches, especially for dependencies with generic names like "mail", myprecious can be configured to ignore CVEs whose CPEs identify particular vendor/product pairs. To do this, a file named .myprecious-cves.rb must be put in the same directory as the target project's package configuration (either the current directory or specified with the -C/--dir option). That file must be a Ruby file that outputs JSON to STDOUT. An example would be:

require 'json'

JSON.dump({
  blockedProducts: %w[
    apple:mail
    basercms:mail
    downline_goldmine:builder
  ],
}, $stdout)

Each entry in blockedProducts should be a vendor:product pair, just as it would appear in the irrelevant CPE(s).

Installing bash completions

Run the myprecious executable file with the --install-completions flag. It will both install completions for bash session launched in the future and provide the path to the bash script that can be sourceed in any existing bash sessions to enable completion. This command only needs to be run once.

About

A simple, markdown generated with information about your gems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages