1 /* 2 * Copyright 2019 The Grafeas Authors. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 // Generated by the protocol buffer compiler. DO NOT EDIT! 18 // source: grafeas/v1/cvss.proto 19 20 package io.grafeas.v1; 21 22 public interface CVSSOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.CVSS) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The base score is a function of the base metric scores. 32 * </pre> 33 * 34 * <code>float base_score = 1;</code> 35 * 36 * @return The baseScore. 37 */ getBaseScore()38 float getBaseScore(); 39 40 /** 41 * <code>float exploitability_score = 2;</code> 42 * 43 * @return The exploitabilityScore. 44 */ getExploitabilityScore()45 float getExploitabilityScore(); 46 47 /** 48 * <code>float impact_score = 3;</code> 49 * 50 * @return The impactScore. 51 */ getImpactScore()52 float getImpactScore(); 53 54 /** 55 * 56 * 57 * <pre> 58 * Base Metrics 59 * Represents the intrinsic characteristics of a vulnerability that are 60 * constant over time and across user environments. 61 * </pre> 62 * 63 * <code>.grafeas.v1.CVSS.AttackVector attack_vector = 4;</code> 64 * 65 * @return The enum numeric value on the wire for attackVector. 66 */ getAttackVectorValue()67 int getAttackVectorValue(); 68 /** 69 * 70 * 71 * <pre> 72 * Base Metrics 73 * Represents the intrinsic characteristics of a vulnerability that are 74 * constant over time and across user environments. 75 * </pre> 76 * 77 * <code>.grafeas.v1.CVSS.AttackVector attack_vector = 4;</code> 78 * 79 * @return The attackVector. 80 */ getAttackVector()81 io.grafeas.v1.CVSS.AttackVector getAttackVector(); 82 83 /** 84 * <code>.grafeas.v1.CVSS.AttackComplexity attack_complexity = 5;</code> 85 * 86 * @return The enum numeric value on the wire for attackComplexity. 87 */ getAttackComplexityValue()88 int getAttackComplexityValue(); 89 /** 90 * <code>.grafeas.v1.CVSS.AttackComplexity attack_complexity = 5;</code> 91 * 92 * @return The attackComplexity. 93 */ getAttackComplexity()94 io.grafeas.v1.CVSS.AttackComplexity getAttackComplexity(); 95 96 /** 97 * <code>.grafeas.v1.CVSS.Authentication authentication = 6;</code> 98 * 99 * @return The enum numeric value on the wire for authentication. 100 */ getAuthenticationValue()101 int getAuthenticationValue(); 102 /** 103 * <code>.grafeas.v1.CVSS.Authentication authentication = 6;</code> 104 * 105 * @return The authentication. 106 */ getAuthentication()107 io.grafeas.v1.CVSS.Authentication getAuthentication(); 108 109 /** 110 * <code>.grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7;</code> 111 * 112 * @return The enum numeric value on the wire for privilegesRequired. 113 */ getPrivilegesRequiredValue()114 int getPrivilegesRequiredValue(); 115 /** 116 * <code>.grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7;</code> 117 * 118 * @return The privilegesRequired. 119 */ getPrivilegesRequired()120 io.grafeas.v1.CVSS.PrivilegesRequired getPrivilegesRequired(); 121 122 /** 123 * <code>.grafeas.v1.CVSS.UserInteraction user_interaction = 8;</code> 124 * 125 * @return The enum numeric value on the wire for userInteraction. 126 */ getUserInteractionValue()127 int getUserInteractionValue(); 128 /** 129 * <code>.grafeas.v1.CVSS.UserInteraction user_interaction = 8;</code> 130 * 131 * @return The userInteraction. 132 */ getUserInteraction()133 io.grafeas.v1.CVSS.UserInteraction getUserInteraction(); 134 135 /** 136 * <code>.grafeas.v1.CVSS.Scope scope = 9;</code> 137 * 138 * @return The enum numeric value on the wire for scope. 139 */ getScopeValue()140 int getScopeValue(); 141 /** 142 * <code>.grafeas.v1.CVSS.Scope scope = 9;</code> 143 * 144 * @return The scope. 145 */ getScope()146 io.grafeas.v1.CVSS.Scope getScope(); 147 148 /** 149 * <code>.grafeas.v1.CVSS.Impact confidentiality_impact = 10;</code> 150 * 151 * @return The enum numeric value on the wire for confidentialityImpact. 152 */ getConfidentialityImpactValue()153 int getConfidentialityImpactValue(); 154 /** 155 * <code>.grafeas.v1.CVSS.Impact confidentiality_impact = 10;</code> 156 * 157 * @return The confidentialityImpact. 158 */ getConfidentialityImpact()159 io.grafeas.v1.CVSS.Impact getConfidentialityImpact(); 160 161 /** 162 * <code>.grafeas.v1.CVSS.Impact integrity_impact = 11;</code> 163 * 164 * @return The enum numeric value on the wire for integrityImpact. 165 */ getIntegrityImpactValue()166 int getIntegrityImpactValue(); 167 /** 168 * <code>.grafeas.v1.CVSS.Impact integrity_impact = 11;</code> 169 * 170 * @return The integrityImpact. 171 */ getIntegrityImpact()172 io.grafeas.v1.CVSS.Impact getIntegrityImpact(); 173 174 /** 175 * <code>.grafeas.v1.CVSS.Impact availability_impact = 12;</code> 176 * 177 * @return The enum numeric value on the wire for availabilityImpact. 178 */ getAvailabilityImpactValue()179 int getAvailabilityImpactValue(); 180 /** 181 * <code>.grafeas.v1.CVSS.Impact availability_impact = 12;</code> 182 * 183 * @return The availabilityImpact. 184 */ getAvailabilityImpact()185 io.grafeas.v1.CVSS.Impact getAvailabilityImpact(); 186 } 187