Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Security.CVSS
Description
This module provides a CVSS parser and utility functions adapted from https://www.first.org/cvss/v3.1/specification-document
Type
Parsed CVSS string obtained with parseCVSS
.
data CVSSVersion Source #
The CVSS version.
Constructors
CVSS31 | Version 3.1: https://www.first.org/cvss/v3-1/ |
CVSS30 | Version 3.0: https://www.first.org/cvss/v3.0/ |
CVSS20 | Version 2.0: https://www.first.org/cvss/v2/ |
Instances
Eq CVSSVersion Source # | |
Defined in Security.CVSS |
CVSS Rating obtained with cvssScore
Parser
Helpers
cvssVectorString :: CVSS -> Text Source #
Format the CVSS back to its original string.
cvssVectorStringOrdered :: CVSS -> Text Source #
Format the CVSS to the prefered ordered vector string.