Documentation ¶
Index ¶
- Variables
- type CVSSv3
- func (*CVSSv3) Descriptor() ([]byte, []int)deprecated
- func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity
- func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector
- func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact
- func (x *CVSSv3) GetBaseScore() float32
- func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact
- func (x *CVSSv3) GetExploitabilityScore() float32
- func (x *CVSSv3) GetImpactScore() float32
- func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact
- func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired
- func (x *CVSSv3) GetScope() CVSSv3_Scope
- func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction
- func (*CVSSv3) ProtoMessage()
- func (x *CVSSv3) ProtoReflect() protoreflect.Message
- func (x *CVSSv3) Reset()
- func (x *CVSSv3) String() string
- type CVSSv3_AttackComplexity
- func (CVSSv3_AttackComplexity) Descriptor() protoreflect.EnumDescriptor
- func (x CVSSv3_AttackComplexity) Enum() *CVSSv3_AttackComplexity
- func (CVSSv3_AttackComplexity) EnumDescriptor() ([]byte, []int)deprecated
- func (x CVSSv3_AttackComplexity) Number() protoreflect.EnumNumber
- func (x CVSSv3_AttackComplexity) String() string
- func (CVSSv3_AttackComplexity) Type() protoreflect.EnumType
- type CVSSv3_AttackVector
- func (CVSSv3_AttackVector) Descriptor() protoreflect.EnumDescriptor
- func (x CVSSv3_AttackVector) Enum() *CVSSv3_AttackVector
- func (CVSSv3_AttackVector) EnumDescriptor() ([]byte, []int)deprecated
- func (x CVSSv3_AttackVector) Number() protoreflect.EnumNumber
- func (x CVSSv3_AttackVector) String() string
- func (CVSSv3_AttackVector) Type() protoreflect.EnumType
- type CVSSv3_Impact
- func (CVSSv3_Impact) Descriptor() protoreflect.EnumDescriptor
- func (x CVSSv3_Impact) Enum() *CVSSv3_Impact
- func (CVSSv3_Impact) EnumDescriptor() ([]byte, []int)deprecated
- func (x CVSSv3_Impact) Number() protoreflect.EnumNumber
- func (x CVSSv3_Impact) String() string
- func (CVSSv3_Impact) Type() protoreflect.EnumType
- type CVSSv3_PrivilegesRequired
- func (CVSSv3_PrivilegesRequired) Descriptor() protoreflect.EnumDescriptor
- func (x CVSSv3_PrivilegesRequired) Enum() *CVSSv3_PrivilegesRequired
- func (CVSSv3_PrivilegesRequired) EnumDescriptor() ([]byte, []int)deprecated
- func (x CVSSv3_PrivilegesRequired) Number() protoreflect.EnumNumber
- func (x CVSSv3_PrivilegesRequired) String() string
- func (CVSSv3_PrivilegesRequired) Type() protoreflect.EnumType
- type CVSSv3_Scope
- func (CVSSv3_Scope) Descriptor() protoreflect.EnumDescriptor
- func (x CVSSv3_Scope) Enum() *CVSSv3_Scope
- func (CVSSv3_Scope) EnumDescriptor() ([]byte, []int)deprecated
- func (x CVSSv3_Scope) Number() protoreflect.EnumNumber
- func (x CVSSv3_Scope) String() string
- func (CVSSv3_Scope) Type() protoreflect.EnumType
- type CVSSv3_UserInteraction
- func (CVSSv3_UserInteraction) Descriptor() protoreflect.EnumDescriptor
- func (x CVSSv3_UserInteraction) Enum() *CVSSv3_UserInteraction
- func (CVSSv3_UserInteraction) EnumDescriptor() ([]byte, []int)deprecated
- func (x CVSSv3_UserInteraction) Number() protoreflect.EnumNumber
- func (x CVSSv3_UserInteraction) String() string
- func (CVSSv3_UserInteraction) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( CVSSv3_AttackVector_name = map[int32]string{ 0: "ATTACK_VECTOR_UNSPECIFIED", 1: "ATTACK_VECTOR_NETWORK", 2: "ATTACK_VECTOR_ADJACENT", 3: "ATTACK_VECTOR_LOCAL", 4: "ATTACK_VECTOR_PHYSICAL", } CVSSv3_AttackVector_value = map[string]int32{ "ATTACK_VECTOR_UNSPECIFIED": 0, "ATTACK_VECTOR_NETWORK": 1, "ATTACK_VECTOR_ADJACENT": 2, "ATTACK_VECTOR_LOCAL": 3, "ATTACK_VECTOR_PHYSICAL": 4, } )
Enum value maps for CVSSv3_AttackVector.
var ( CVSSv3_AttackComplexity_name = map[int32]string{ 0: "ATTACK_COMPLEXITY_UNSPECIFIED", 1: "ATTACK_COMPLEXITY_LOW", 2: "ATTACK_COMPLEXITY_HIGH", } CVSSv3_AttackComplexity_value = map[string]int32{ "ATTACK_COMPLEXITY_UNSPECIFIED": 0, "ATTACK_COMPLEXITY_LOW": 1, "ATTACK_COMPLEXITY_HIGH": 2, } )
Enum value maps for CVSSv3_AttackComplexity.
var ( CVSSv3_PrivilegesRequired_name = map[int32]string{ 0: "PRIVILEGES_REQUIRED_UNSPECIFIED", 1: "PRIVILEGES_REQUIRED_NONE", 2: "PRIVILEGES_REQUIRED_LOW", 3: "PRIVILEGES_REQUIRED_HIGH", } CVSSv3_PrivilegesRequired_value = map[string]int32{ "PRIVILEGES_REQUIRED_UNSPECIFIED": 0, "PRIVILEGES_REQUIRED_NONE": 1, "PRIVILEGES_REQUIRED_LOW": 2, "PRIVILEGES_REQUIRED_HIGH": 3, } )
Enum value maps for CVSSv3_PrivilegesRequired.
var ( CVSSv3_UserInteraction_name = map[int32]string{ 0: "USER_INTERACTION_UNSPECIFIED", 1: "USER_INTERACTION_NONE", 2: "USER_INTERACTION_REQUIRED", } CVSSv3_UserInteraction_value = map[string]int32{ "USER_INTERACTION_UNSPECIFIED": 0, "USER_INTERACTION_NONE": 1, "USER_INTERACTION_REQUIRED": 2, } )
Enum value maps for CVSSv3_UserInteraction.
var ( CVSSv3_Scope_name = map[int32]string{ 0: "SCOPE_UNSPECIFIED", 1: "SCOPE_UNCHANGED", 2: "SCOPE_CHANGED", } CVSSv3_Scope_value = map[string]int32{ "SCOPE_UNSPECIFIED": 0, "SCOPE_UNCHANGED": 1, "SCOPE_CHANGED": 2, } )
Enum value maps for CVSSv3_Scope.
var ( CVSSv3_Impact_name = map[int32]string{ 0: "IMPACT_UNSPECIFIED", 1: "IMPACT_HIGH", 2: "IMPACT_LOW", 3: "IMPACT_NONE", } CVSSv3_Impact_value = map[string]int32{ "IMPACT_UNSPECIFIED": 0, "IMPACT_HIGH": 1, "IMPACT_LOW": 2, "IMPACT_NONE": 3, } )
Enum value maps for CVSSv3_Impact.
var File_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CVSSv3 ¶
type CVSSv3 struct { // The base score is a function of the base metric scores. BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"` ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"` ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"` // Base Metrics // Represents the intrinsic characteristics of a vulnerability that are // constant over time and across user environments. AttackVector CVSSv3_AttackVector `` /* 153-byte string literal not displayed */ AttackComplexity CVSSv3_AttackComplexity `` /* 169-byte string literal not displayed */ PrivilegesRequired CVSSv3_PrivilegesRequired `` /* 177-byte string literal not displayed */ UserInteraction CVSSv3_UserInteraction `` /* 165-byte string literal not displayed */ Scope CVSSv3_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_Scope" json:"scope,omitempty"` ConfidentialityImpact CVSSv3_Impact `` /* 175-byte string literal not displayed */ IntegrityImpact CVSSv3_Impact `` /* 157-byte string literal not displayed */ AvailabilityImpact CVSSv3_Impact `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document
func (*CVSSv3) Descriptor
deprecated
func (*CVSSv3) GetAttackComplexity ¶
func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity
func (*CVSSv3) GetAttackVector ¶
func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector
func (*CVSSv3) GetAvailabilityImpact ¶
func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact
func (*CVSSv3) GetBaseScore ¶
func (*CVSSv3) GetConfidentialityImpact ¶
func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact
func (*CVSSv3) GetExploitabilityScore ¶
func (*CVSSv3) GetImpactScore ¶
func (*CVSSv3) GetIntegrityImpact ¶
func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact
func (*CVSSv3) GetPrivilegesRequired ¶
func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired
func (*CVSSv3) GetScope ¶
func (x *CVSSv3) GetScope() CVSSv3_Scope
func (*CVSSv3) GetUserInteraction ¶
func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction
func (*CVSSv3) ProtoMessage ¶
func (*CVSSv3) ProtoMessage()
func (*CVSSv3) ProtoReflect ¶
func (x *CVSSv3) ProtoReflect() protoreflect.Message
type CVSSv3_AttackComplexity ¶
type CVSSv3_AttackComplexity int32
const ( CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0 CVSSv3_ATTACK_COMPLEXITY_LOW CVSSv3_AttackComplexity = 1 CVSSv3_ATTACK_COMPLEXITY_HIGH CVSSv3_AttackComplexity = 2 )
func (CVSSv3_AttackComplexity) Descriptor ¶
func (CVSSv3_AttackComplexity) Descriptor() protoreflect.EnumDescriptor
func (CVSSv3_AttackComplexity) Enum ¶
func (x CVSSv3_AttackComplexity) Enum() *CVSSv3_AttackComplexity
func (CVSSv3_AttackComplexity) EnumDescriptor
deprecated
func (CVSSv3_AttackComplexity) EnumDescriptor() ([]byte, []int)
Deprecated: Use CVSSv3_AttackComplexity.Descriptor instead.
func (CVSSv3_AttackComplexity) Number ¶
func (x CVSSv3_AttackComplexity) Number() protoreflect.EnumNumber
func (CVSSv3_AttackComplexity) String ¶
func (x CVSSv3_AttackComplexity) String() string
func (CVSSv3_AttackComplexity) Type ¶
func (CVSSv3_AttackComplexity) Type() protoreflect.EnumType
type CVSSv3_AttackVector ¶
type CVSSv3_AttackVector int32
const ( CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0 CVSSv3_ATTACK_VECTOR_NETWORK CVSSv3_AttackVector = 1 CVSSv3_ATTACK_VECTOR_ADJACENT CVSSv3_AttackVector = 2 CVSSv3_ATTACK_VECTOR_LOCAL CVSSv3_AttackVector = 3 CVSSv3_ATTACK_VECTOR_PHYSICAL CVSSv3_AttackVector = 4 )
func (CVSSv3_AttackVector) Descriptor ¶
func (CVSSv3_AttackVector) Descriptor() protoreflect.EnumDescriptor
func (CVSSv3_AttackVector) Enum ¶
func (x CVSSv3_AttackVector) Enum() *CVSSv3_AttackVector
func (CVSSv3_AttackVector) EnumDescriptor
deprecated
func (CVSSv3_AttackVector) EnumDescriptor() ([]byte, []int)
Deprecated: Use CVSSv3_AttackVector.Descriptor instead.
func (CVSSv3_AttackVector) Number ¶
func (x CVSSv3_AttackVector) Number() protoreflect.EnumNumber
func (CVSSv3_AttackVector) String ¶
func (x CVSSv3_AttackVector) String() string
func (CVSSv3_AttackVector) Type ¶
func (CVSSv3_AttackVector) Type() protoreflect.EnumType
type CVSSv3_Impact ¶
type CVSSv3_Impact int32
const ( CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0 CVSSv3_IMPACT_HIGH CVSSv3_Impact = 1 CVSSv3_IMPACT_LOW CVSSv3_Impact = 2 CVSSv3_IMPACT_NONE CVSSv3_Impact = 3 )
func (CVSSv3_Impact) Descriptor ¶
func (CVSSv3_Impact) Descriptor() protoreflect.EnumDescriptor
func (CVSSv3_Impact) Enum ¶
func (x CVSSv3_Impact) Enum() *CVSSv3_Impact
func (CVSSv3_Impact) EnumDescriptor
deprecated
func (CVSSv3_Impact) EnumDescriptor() ([]byte, []int)
Deprecated: Use CVSSv3_Impact.Descriptor instead.
func (CVSSv3_Impact) Number ¶
func (x CVSSv3_Impact) Number() protoreflect.EnumNumber
func (CVSSv3_Impact) String ¶
func (x CVSSv3_Impact) String() string
func (CVSSv3_Impact) Type ¶
func (CVSSv3_Impact) Type() protoreflect.EnumType
type CVSSv3_PrivilegesRequired ¶
type CVSSv3_PrivilegesRequired int32
const ( CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0 CVSSv3_PRIVILEGES_REQUIRED_NONE CVSSv3_PrivilegesRequired = 1 CVSSv3_PRIVILEGES_REQUIRED_LOW CVSSv3_PrivilegesRequired = 2 CVSSv3_PRIVILEGES_REQUIRED_HIGH CVSSv3_PrivilegesRequired = 3 )
func (CVSSv3_PrivilegesRequired) Descriptor ¶
func (CVSSv3_PrivilegesRequired) Descriptor() protoreflect.EnumDescriptor
func (CVSSv3_PrivilegesRequired) Enum ¶
func (x CVSSv3_PrivilegesRequired) Enum() *CVSSv3_PrivilegesRequired
func (CVSSv3_PrivilegesRequired) EnumDescriptor
deprecated
func (CVSSv3_PrivilegesRequired) EnumDescriptor() ([]byte, []int)
Deprecated: Use CVSSv3_PrivilegesRequired.Descriptor instead.
func (CVSSv3_PrivilegesRequired) Number ¶
func (x CVSSv3_PrivilegesRequired) Number() protoreflect.EnumNumber
func (CVSSv3_PrivilegesRequired) String ¶
func (x CVSSv3_PrivilegesRequired) String() string
func (CVSSv3_PrivilegesRequired) Type ¶
func (CVSSv3_PrivilegesRequired) Type() protoreflect.EnumType
type CVSSv3_Scope ¶
type CVSSv3_Scope int32
const ( CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0 CVSSv3_SCOPE_UNCHANGED CVSSv3_Scope = 1 CVSSv3_SCOPE_CHANGED CVSSv3_Scope = 2 )
func (CVSSv3_Scope) Descriptor ¶
func (CVSSv3_Scope) Descriptor() protoreflect.EnumDescriptor
func (CVSSv3_Scope) Enum ¶
func (x CVSSv3_Scope) Enum() *CVSSv3_Scope
func (CVSSv3_Scope) EnumDescriptor
deprecated
func (CVSSv3_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use CVSSv3_Scope.Descriptor instead.
func (CVSSv3_Scope) Number ¶
func (x CVSSv3_Scope) Number() protoreflect.EnumNumber
func (CVSSv3_Scope) String ¶
func (x CVSSv3_Scope) String() string
func (CVSSv3_Scope) Type ¶
func (CVSSv3_Scope) Type() protoreflect.EnumType
type CVSSv3_UserInteraction ¶
type CVSSv3_UserInteraction int32
const ( CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0 CVSSv3_USER_INTERACTION_NONE CVSSv3_UserInteraction = 1 CVSSv3_USER_INTERACTION_REQUIRED CVSSv3_UserInteraction = 2 )
func (CVSSv3_UserInteraction) Descriptor ¶
func (CVSSv3_UserInteraction) Descriptor() protoreflect.EnumDescriptor
func (CVSSv3_UserInteraction) Enum ¶
func (x CVSSv3_UserInteraction) Enum() *CVSSv3_UserInteraction
func (CVSSv3_UserInteraction) EnumDescriptor
deprecated
func (CVSSv3_UserInteraction) EnumDescriptor() ([]byte, []int)
Deprecated: Use CVSSv3_UserInteraction.Descriptor instead.
func (CVSSv3_UserInteraction) Number ¶
func (x CVSSv3_UserInteraction) Number() protoreflect.EnumNumber
func (CVSSv3_UserInteraction) String ¶
func (x CVSSv3_UserInteraction) String() string
func (CVSSv3_UserInteraction) Type ¶
func (CVSSv3_UserInteraction) Type() protoreflect.EnumType