Documentation
¶
Overview ¶
Package cvssv3 provides parsing and scoring with Common Vulunerability Scoring System version 3.0 (CVSSv3). Author: Bunji2 Inspired by "go-cvss" ( https://github.com/umisama/go-cvss ), but implementated in different way.
Index ¶
- type Vector
- func (m Vector) BaseScore() float64
- func (m Vector) EnvironmentalScore() float64
- func (m Vector) IsModifiedScopeChanged() bool
- func (m Vector) IsScopeChanged() bool
- func (m Vector) Str(x string) string
- func (m Vector) String() string
- func (m Vector) TemporalScore() float64
- func (m Vector) Val(x string) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vector ¶
Vector reprecents a CVSS vector.
func ParseVector ¶
ParseVector create new Vector object with str. str must valid as CVSS:3.0/base/temporal/environment Vector.
func (Vector) EnvironmentalScore ¶
EnvironmentalScore returns m's environmental score.
func (Vector) IsModifiedScopeChanged ¶
IsScopeChanged returns that whether m's Modified Scope is changed
func (Vector) IsScopeChanged ¶
IsScopeChanged returns that whether m's Scope is changed
func (Vector) TemporalScore ¶
TemporalScore returns m's temporal score.
Click to show internal directories.
Click to hide internal directories.