aboutsummaryrefslogtreecommitdiff
path: root/cvss
diff options
context:
space:
mode:
Diffstat (limited to 'cvss')
-rw-r--r--cvss/vector.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cvss/vector.go b/cvss/vector.go
index 3e465c5..0c5fdbb 100644
--- a/cvss/vector.go
+++ b/cvss/vector.go
@@ -17,6 +17,9 @@ type Vector interface {
// Unmarshal vector from JSON.
// UnmarshalJSON(b []byte) error
+
+ // Get base, temporal, and environment scores for vector.
+ Scores() (Scores, error)
}
// Create new CVSS vector from vector string.