Skip to main content

icsbom is a tool developed by Integrated Computer Solutions (ICS) for converting Software Bill of Materials (SBoM) into a Vex File.

Project description

ICSbom GitHub Actions Workflow Status REUSE status PyPI - Version PyPI - Downloads

This application downloads data from the nvd api and creates a local Vulnerability Database. If the database already exists it will be updated with changes since your last update. It then uses that data to check the provided sbom file and give you a Vulnerability report. This tool is used by SBOMGuard ICS' open source, web-based cloud service.

Usage

icsbom [OPTIONS] INPUTFILE

Options

-h Help

  • Shows the Application Help

--log set the log level of the application

  • Valid levels: NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL
  • Default value: WARNING

--cache_dir the path where the application will write

  • Any path you can Read and Write to is valid
  • Default: $HOME/.cache/icsbom

--api_key API_KEY

  • Use the API_KEY to access the NVD Api
  • A Key is NOT required, providing one allows more api queries per second
  • If the file $CACHE_DIR/api_key.txt exists its contents will be used as the api key

--save_keySave the api key used by the api_key option

  • Writes the used api key to api_key.txt in the Cache Directory

--db_file filename for the database

  • The filename used will be written into the cache directory
  • Default: nvd_v#.db Where # is the revision of the database format.

-o Output file to write

  • File format depending on extention of the output file
  • Valid extentions are *.txt, *.csv, *.html, *.json.vex

-i, --interactive Enter interactive mode after matching

-s, --skip-db-update

  • This option will skip the database update and go right to scanning the file using the existing database.

--filter_file FILTER_FILE

  • Override the builtin filters with the contents of FILTER_FILE
  • FILTER_FILE must be a json file

--write_filters FILTER_OUT

  • Write the default filters to a file
  • FILTER_OUT should end in .json
  • Useful to adjust the filters for your projects needs.

-t TAR_DIR_PATTERN

  • Used when the input file is a tarball crated by a yocto build process
  • process the contents of the subdir matching the TAR_DIR_PATTERN
  • Valid Patterns: recipies, packages
  • Default: packages

INPUTFILE The input file

  • File can be a sbom or tarball

Requirements

requires ics_sbom_libs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icsbom-1.0.2.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

icsbom-1.0.2-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file icsbom-1.0.2.tar.gz.

File metadata

  • Download URL: icsbom-1.0.2.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for icsbom-1.0.2.tar.gz
Algorithm Hash digest
SHA256 423ecb1b38654620f41a1f8dcbffb996d2ec502a2888f2a61e74b9848c2aed17
MD5 9d565f5671c0f02bb92cfa40f949d826
BLAKE2b-256 b858f1ae8dc88f1ab1cc8a9864733c81c87d4366d8c19a81be86aac45ecd3df6

See more details on using hashes here.

File details

Details for the file icsbom-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: icsbom-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for icsbom-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d70d3fc0a768a93bba6bf558fa0b8dba1399ceb3c77e133a16635c63f1bbee9
MD5 e4f5257b2c8d3d6907272f906dd39621
BLAKE2b-256 d7145c39f96d65480802117f4d46589907f5042df5f388fb501abbc900c47ebf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page