base

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics deprecated

type Metrics struct {
	*metric.Environmental
}

Metrics is Base Metrics for CVSSv2

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

func Decode deprecated

func Decode(vector string) (*Metrics, error)

Decode returns Metrics instance by CVSSv2 vector

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

func NewMetrics deprecated

func NewMetrics() *Metrics

NewMetrics returns Metrics instance

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

func (*Metrics) EnvironmentalScore deprecated added in v1.4.5

func (m *Metrics) EnvironmentalScore() float64

EnvironmentalScore returns score of Environmental metrics

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

func (*Metrics) GetSeverity deprecated

func (m *Metrics) GetSeverity() Severity

GetSeverity returns severity by score of Base metrics

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

func (*Metrics) Score deprecated

func (m *Metrics) Score() float64

Score returns score of Base metrics

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

func (*Metrics) TemporalScore deprecated

func (m *Metrics) TemporalScore() float64

TemporalScore returns score of Temporal metrics

Deprecated: migrated github.com/goark/go-cvss/v2/metric package

type Severity

type Severity = metric.Severity

Severity is severity for Base Metrics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL