pombredanne / vulnerability-age-data

A Python script for querying the Cyber Hygiene database for vulnerability age data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vulnerability-age-data

Build Status

A Python script for retrieving vulnerability age data from the Cyber Hygiene database.

Usage

Usage:
  vulnerability-age-data.py --creds=FILENAME [--days=INTEGER] [--group=GROUP] [--log-level=LEVEL] [--severity=INTEGER] [--start-date=DATE]
  vulnerability-age-data.py (-h | --help)
Options:
  -c --creds=FILENAME    A YAML file containing the Cyber Hygiene database
                         credentials.
  -d --days=INTEGER      An integer indicating the age in days that defines
                         young and old vulnerabilities.  [default: 30]
  -g --group=GROUP       The group for whose decendants data will be returned.
                         [default: EXECUTIVE]
  -h --help              Show this message.
  --log-level=LEVEL      If specified, then the log level will be set to
                         the specified value.  Valid values are "debug", "info",
                         "warning", "error", and "critical". [default: warning]
  -s --severity=INTEGER  An integer indicating the severity.  A value of 3
                         indicates high severity and a value of 4 indicates
                         critical severity.  [default: 4]
  -u --start-date=DATE   A UTC date in ISO format.  This defines the starting
                         date for the data returned.  [default: 2019-05-21]

Contributing

We welcome contributions! Please see here for details.

License

This project is in the worldwide public domain.

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

A Python script for querying the Cyber Hygiene database for vulnerability age data

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%