Skip to content

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

License

Notifications You must be signed in to change notification settings

cisagov/vulnerability-age-data

Repository files navigation

vulnerability-age-data

GitHub Build Status

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

Usage

Usage:
  vulnerability-age-data.py [--section SECTION] [--days=INTEGER] [--group=GROUP] [--log-level=LEVEL] [--severity=INTEGER] [--start-date=DATE]
  vulnerability-age-data.py (-h | --help)
Options:
  -s --section=SECTION   The CyHy configuration section to use.
  -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 CONTRIBUTING.md 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

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published