| 1 |
// Copyright 2019 The Grafeas Authors. All rights reserved. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.21.12 |
| 19 |
// source: grafeas/v1/cvss.proto |
| 20 |
|
| 21 |
package grafeas |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// CVSS Version. |
| 39 |
type CVSSVersion int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
CVSSVersion_CVSS_VERSION_UNSPECIFIED CVSSVersion = 0 |
| 43 |
CVSSVersion_CVSS_VERSION_2 CVSSVersion = 1 |
| 44 |
CVSSVersion_CVSS_VERSION_3 CVSSVersion = 2 |
| 45 |
) |
| 46 |
|
| 47 |
// Enum value maps for CVSSVersion. |
| 48 |
var ( |
| 49 |
CVSSVersion_name = map[int32]string{ |
| 50 |
0: "CVSS_VERSION_UNSPECIFIED", |
| 51 |
1: "CVSS_VERSION_2", |
| 52 |
2: "CVSS_VERSION_3", |
| 53 |
} |
| 54 |
CVSSVersion_value = map[string]int32{ |
| 55 |
"CVSS_VERSION_UNSPECIFIED": 0, |
| 56 |
"CVSS_VERSION_2": 1, |
| 57 |
"CVSS_VERSION_3": 2, |
| 58 |
} |
| 59 |
) |
| 60 |
|
| 61 |
func (x CVSSVersion) Enum() *CVSSVersion { |
| 62 |
p := new(CVSSVersion) |
| 63 |
*p = x |
| 64 |
return p |
| 65 |
} |
| 66 |
|
| 67 |
func (x CVSSVersion) String() string { |
| 68 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 69 |
} |
| 70 |
|
| 71 |
func (CVSSVersion) Descriptor() protoreflect.EnumDescriptor { |
| 72 |
return file_grafeas_v1_cvss_proto_enumTypes[0].Descriptor() |
| 73 |
} |
| 74 |
|
| 75 |
func (CVSSVersion) Type() protoreflect.EnumType { |
| 76 |
return &file_grafeas_v1_cvss_proto_enumTypes[0] |
| 77 |
} |
| 78 |
|
| 79 |
func (x CVSSVersion) Number() protoreflect.EnumNumber { |
| 80 |
return protoreflect.EnumNumber(x) |
| 81 |
} |
| 82 |
|
| 83 |
// Deprecated: Use CVSSVersion.Descriptor instead. |
| 84 |
func (CVSSVersion) EnumDescriptor() ([]byte, []int) { |
| 85 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0} |
| 86 |
} |
| 87 |
|
| 88 |
type CVSSv3_AttackVector int32 |
| 89 |
|
| 90 |
const ( |
| 91 |
CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0 |
| 92 |
CVSSv3_ATTACK_VECTOR_NETWORK CVSSv3_AttackVector = 1 |
| 93 |
CVSSv3_ATTACK_VECTOR_ADJACENT CVSSv3_AttackVector = 2 |
| 94 |
CVSSv3_ATTACK_VECTOR_LOCAL CVSSv3_AttackVector = 3 |
| 95 |
CVSSv3_ATTACK_VECTOR_PHYSICAL CVSSv3_AttackVector = 4 |
| 96 |
) |
| 97 |
|
| 98 |
// Enum value maps for CVSSv3_AttackVector. |
| 99 |
var ( |
| 100 |
CVSSv3_AttackVector_name = map[int32]string{ |
| 101 |
0: "ATTACK_VECTOR_UNSPECIFIED", |
| 102 |
1: "ATTACK_VECTOR_NETWORK", |
| 103 |
2: "ATTACK_VECTOR_ADJACENT", |
| 104 |
3: "ATTACK_VECTOR_LOCAL", |
| 105 |
4: "ATTACK_VECTOR_PHYSICAL", |
| 106 |
} |
| 107 |
CVSSv3_AttackVector_value = map[string]int32{ |
| 108 |
"ATTACK_VECTOR_UNSPECIFIED": 0, |
| 109 |
"ATTACK_VECTOR_NETWORK": 1, |
| 110 |
"ATTACK_VECTOR_ADJACENT": 2, |
| 111 |
"ATTACK_VECTOR_LOCAL": 3, |
| 112 |
"ATTACK_VECTOR_PHYSICAL": 4, |
| 113 |
} |
| 114 |
) |
| 115 |
|
| 116 |
func (x CVSSv3_AttackVector) Enum() *CVSSv3_AttackVector { |
| 117 |
p := new(CVSSv3_AttackVector) |
| 118 |
*p = x |
| 119 |
return p |
| 120 |
} |
| 121 |
|
| 122 |
func (x CVSSv3_AttackVector) String() string { |
| 123 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 124 |
} |
| 125 |
|
| 126 |
func (CVSSv3_AttackVector) Descriptor() protoreflect.EnumDescriptor { |
| 127 |
return file_grafeas_v1_cvss_proto_enumTypes[1].Descriptor() |
| 128 |
} |
| 129 |
|
| 130 |
func (CVSSv3_AttackVector) Type() protoreflect.EnumType { |
| 131 |
return &file_grafeas_v1_cvss_proto_enumTypes[1] |
| 132 |
} |
| 133 |
|
| 134 |
func (x CVSSv3_AttackVector) Number() protoreflect.EnumNumber { |
| 135 |
return protoreflect.EnumNumber(x) |
| 136 |
} |
| 137 |
|
| 138 |
// Deprecated: Use CVSSv3_AttackVector.Descriptor instead. |
| 139 |
func (CVSSv3_AttackVector) EnumDescriptor() ([]byte, []int) { |
| 140 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0, 0} |
| 141 |
} |
| 142 |
|
| 143 |
type CVSSv3_AttackComplexity int32 |
| 144 |
|
| 145 |
const ( |
| 146 |
CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0 |
| 147 |
CVSSv3_ATTACK_COMPLEXITY_LOW CVSSv3_AttackComplexity = 1 |
| 148 |
CVSSv3_ATTACK_COMPLEXITY_HIGH CVSSv3_AttackComplexity = 2 |
| 149 |
) |
| 150 |
|
| 151 |
// Enum value maps for CVSSv3_AttackComplexity. |
| 152 |
var ( |
| 153 |
CVSSv3_AttackComplexity_name = map[int32]string{ |
| 154 |
0: "ATTACK_COMPLEXITY_UNSPECIFIED", |
| 155 |
1: "ATTACK_COMPLEXITY_LOW", |
| 156 |
2: "ATTACK_COMPLEXITY_HIGH", |
| 157 |
} |
| 158 |
CVSSv3_AttackComplexity_value = map[string]int32{ |
| 159 |
"ATTACK_COMPLEXITY_UNSPECIFIED": 0, |
| 160 |
"ATTACK_COMPLEXITY_LOW": 1, |
| 161 |
"ATTACK_COMPLEXITY_HIGH": 2, |
| 162 |
} |
| 163 |
) |
| 164 |
|
| 165 |
func (x CVSSv3_AttackComplexity) Enum() *CVSSv3_AttackComplexity { |
| 166 |
p := new(CVSSv3_AttackComplexity) |
| 167 |
*p = x |
| 168 |
return p |
| 169 |
} |
| 170 |
|
| 171 |
func (x CVSSv3_AttackComplexity) String() string { |
| 172 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 173 |
} |
| 174 |
|
| 175 |
func (CVSSv3_AttackComplexity) Descriptor() protoreflect.EnumDescriptor { |
| 176 |
return file_grafeas_v1_cvss_proto_enumTypes[2].Descriptor() |
| 177 |
} |
| 178 |
|
| 179 |
func (CVSSv3_AttackComplexity) Type() protoreflect.EnumType { |
| 180 |
return &file_grafeas_v1_cvss_proto_enumTypes[2] |
| 181 |
} |
| 182 |
|
| 183 |
func (x CVSSv3_AttackComplexity) Number() protoreflect.EnumNumber { |
| 184 |
return protoreflect.EnumNumber(x) |
| 185 |
} |
| 186 |
|
| 187 |
// Deprecated: Use CVSSv3_AttackComplexity.Descriptor instead. |
| 188 |
func (CVSSv3_AttackComplexity) EnumDescriptor() ([]byte, []int) { |
| 189 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0, 1} |
| 190 |
} |
| 191 |
|
| 192 |
type CVSSv3_PrivilegesRequired int32 |
| 193 |
|
| 194 |
const ( |
| 195 |
CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0 |
| 196 |
CVSSv3_PRIVILEGES_REQUIRED_NONE CVSSv3_PrivilegesRequired = 1 |
| 197 |
CVSSv3_PRIVILEGES_REQUIRED_LOW CVSSv3_PrivilegesRequired = 2 |
| 198 |
CVSSv3_PRIVILEGES_REQUIRED_HIGH CVSSv3_PrivilegesRequired = 3 |
| 199 |
) |
| 200 |
|
| 201 |
// Enum value maps for CVSSv3_PrivilegesRequired. |
| 202 |
var ( |
| 203 |
CVSSv3_PrivilegesRequired_name = map[int32]string{ |
| 204 |
0: "PRIVILEGES_REQUIRED_UNSPECIFIED", |
| 205 |
1: "PRIVILEGES_REQUIRED_NONE", |
| 206 |
2: "PRIVILEGES_REQUIRED_LOW", |
| 207 |
3: "PRIVILEGES_REQUIRED_HIGH", |
| 208 |
} |
| 209 |
CVSSv3_PrivilegesRequired_value = map[string]int32{ |
| 210 |
"PRIVILEGES_REQUIRED_UNSPECIFIED": 0, |
| 211 |
"PRIVILEGES_REQUIRED_NONE": 1, |
| 212 |
"PRIVILEGES_REQUIRED_LOW": 2, |
| 213 |
"PRIVILEGES_REQUIRED_HIGH": 3, |
| 214 |
} |
| 215 |
) |
| 216 |
|
| 217 |
func (x CVSSv3_PrivilegesRequired) Enum() *CVSSv3_PrivilegesRequired { |
| 218 |
p := new(CVSSv3_PrivilegesRequired) |
| 219 |
*p = x |
| 220 |
return p |
| 221 |
} |
| 222 |
|
| 223 |
func (x CVSSv3_PrivilegesRequired) String() string { |
| 224 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 225 |
} |
| 226 |
|
| 227 |
func (CVSSv3_PrivilegesRequired) Descriptor() protoreflect.EnumDescriptor { |
| 228 |
return file_grafeas_v1_cvss_proto_enumTypes[3].Descriptor() |
| 229 |
} |
| 230 |
|
| 231 |
func (CVSSv3_PrivilegesRequired) Type() protoreflect.EnumType { |
| 232 |
return &file_grafeas_v1_cvss_proto_enumTypes[3] |
| 233 |
} |
| 234 |
|
| 235 |
func (x CVSSv3_PrivilegesRequired) Number() protoreflect.EnumNumber { |
| 236 |
return protoreflect.EnumNumber(x) |
| 237 |
} |
| 238 |
|
| 239 |
// Deprecated: Use CVSSv3_PrivilegesRequired.Descriptor instead. |
| 240 |
func (CVSSv3_PrivilegesRequired) EnumDescriptor() ([]byte, []int) { |
| 241 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0, 2} |
| 242 |
} |
| 243 |
|
| 244 |
type CVSSv3_UserInteraction int32 |
| 245 |
|
| 246 |
const ( |
| 247 |
CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0 |
| 248 |
CVSSv3_USER_INTERACTION_NONE CVSSv3_UserInteraction = 1 |
| 249 |
CVSSv3_USER_INTERACTION_REQUIRED CVSSv3_UserInteraction = 2 |
| 250 |
) |
| 251 |
|
| 252 |
// Enum value maps for CVSSv3_UserInteraction. |
| 253 |
var ( |
| 254 |
CVSSv3_UserInteraction_name = map[int32]string{ |
| 255 |
0: "USER_INTERACTION_UNSPECIFIED", |
| 256 |
1: "USER_INTERACTION_NONE", |
| 257 |
2: "USER_INTERACTION_REQUIRED", |
| 258 |
} |
| 259 |
CVSSv3_UserInteraction_value = map[string]int32{ |
| 260 |
"USER_INTERACTION_UNSPECIFIED": 0, |
| 261 |
"USER_INTERACTION_NONE": 1, |
| 262 |
"USER_INTERACTION_REQUIRED": 2, |
| 263 |
} |
| 264 |
) |
| 265 |
|
| 266 |
func (x CVSSv3_UserInteraction) Enum() *CVSSv3_UserInteraction { |
| 267 |
p := new(CVSSv3_UserInteraction) |
| 268 |
*p = x |
| 269 |
return p |
| 270 |
} |
| 271 |
|
| 272 |
func (x CVSSv3_UserInteraction) String() string { |
| 273 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 274 |
} |
| 275 |
|
| 276 |
func (CVSSv3_UserInteraction) Descriptor() protoreflect.EnumDescriptor { |
| 277 |
return file_grafeas_v1_cvss_proto_enumTypes[4].Descriptor() |
| 278 |
} |
| 279 |
|
| 280 |
func (CVSSv3_UserInteraction) Type() protoreflect.EnumType { |
| 281 |
return &file_grafeas_v1_cvss_proto_enumTypes[4] |
| 282 |
} |
| 283 |
|
| 284 |
func (x CVSSv3_UserInteraction) Number() protoreflect.EnumNumber { |
| 285 |
return protoreflect.EnumNumber(x) |
| 286 |
} |
| 287 |
|
| 288 |
// Deprecated: Use CVSSv3_UserInteraction.Descriptor instead. |
| 289 |
func (CVSSv3_UserInteraction) EnumDescriptor() ([]byte, []int) { |
| 290 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0, 3} |
| 291 |
} |
| 292 |
|
| 293 |
type CVSSv3_Scope int32 |
| 294 |
|
| 295 |
const ( |
| 296 |
CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0 |
| 297 |
CVSSv3_SCOPE_UNCHANGED CVSSv3_Scope = 1 |
| 298 |
CVSSv3_SCOPE_CHANGED CVSSv3_Scope = 2 |
| 299 |
) |
| 300 |
|
| 301 |
// Enum value maps for CVSSv3_Scope. |
| 302 |
var ( |
| 303 |
CVSSv3_Scope_name = map[int32]string{ |
| 304 |
0: "SCOPE_UNSPECIFIED", |
| 305 |
1: "SCOPE_UNCHANGED", |
| 306 |
2: "SCOPE_CHANGED", |
| 307 |
} |
| 308 |
CVSSv3_Scope_value = map[string]int32{ |
| 309 |
"SCOPE_UNSPECIFIED": 0, |
| 310 |
"SCOPE_UNCHANGED": 1, |
| 311 |
"SCOPE_CHANGED": 2, |
| 312 |
} |
| 313 |
) |
| 314 |
|
| 315 |
func (x CVSSv3_Scope) Enum() *CVSSv3_Scope { |
| 316 |
p := new(CVSSv3_Scope) |
| 317 |
*p = x |
| 318 |
return p |
| 319 |
} |
| 320 |
|
| 321 |
func (x CVSSv3_Scope) String() string { |
| 322 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 323 |
} |
| 324 |
|
| 325 |
func (CVSSv3_Scope) Descriptor() protoreflect.EnumDescriptor { |
| 326 |
return file_grafeas_v1_cvss_proto_enumTypes[5].Descriptor() |
| 327 |
} |
| 328 |
|
| 329 |
func (CVSSv3_Scope) Type() protoreflect.EnumType { |
| 330 |
return &file_grafeas_v1_cvss_proto_enumTypes[5] |
| 331 |
} |
| 332 |
|
| 333 |
func (x CVSSv3_Scope) Number() protoreflect.EnumNumber { |
| 334 |
return protoreflect.EnumNumber(x) |
| 335 |
} |
| 336 |
|
| 337 |
// Deprecated: Use CVSSv3_Scope.Descriptor instead. |
| 338 |
func (CVSSv3_Scope) EnumDescriptor() ([]byte, []int) { |
| 339 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0, 4} |
| 340 |
} |
| 341 |
|
| 342 |
type CVSSv3_Impact int32 |
| 343 |
|
| 344 |
const ( |
| 345 |
CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0 |
| 346 |
CVSSv3_IMPACT_HIGH CVSSv3_Impact = 1 |
| 347 |
CVSSv3_IMPACT_LOW CVSSv3_Impact = 2 |
| 348 |
CVSSv3_IMPACT_NONE CVSSv3_Impact = 3 |
| 349 |
) |
| 350 |
|
| 351 |
// Enum value maps for CVSSv3_Impact. |
| 352 |
var ( |
| 353 |
CVSSv3_Impact_name = map[int32]string{ |
| 354 |
0: "IMPACT_UNSPECIFIED", |
| 355 |
1: "IMPACT_HIGH", |
| 356 |
2: "IMPACT_LOW", |
| 357 |
3: "IMPACT_NONE", |
| 358 |
} |
| 359 |
CVSSv3_Impact_value = map[string]int32{ |
| 360 |
"IMPACT_UNSPECIFIED": 0, |
| 361 |
"IMPACT_HIGH": 1, |
| 362 |
"IMPACT_LOW": 2, |
| 363 |
"IMPACT_NONE": 3, |
| 364 |
} |
| 365 |
) |
| 366 |
|
| 367 |
func (x CVSSv3_Impact) Enum() *CVSSv3_Impact { |
| 368 |
p := new(CVSSv3_Impact) |
| 369 |
*p = x |
| 370 |
return p |
| 371 |
} |
| 372 |
|
| 373 |
func (x CVSSv3_Impact) String() string { |
| 374 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 375 |
} |
| 376 |
|
| 377 |
func (CVSSv3_Impact) Descriptor() protoreflect.EnumDescriptor { |
| 378 |
return file_grafeas_v1_cvss_proto_enumTypes[6].Descriptor() |
| 379 |
} |
| 380 |
|
| 381 |
func (CVSSv3_Impact) Type() protoreflect.EnumType { |
| 382 |
return &file_grafeas_v1_cvss_proto_enumTypes[6] |
| 383 |
} |
| 384 |
|
| 385 |
func (x CVSSv3_Impact) Number() protoreflect.EnumNumber { |
| 386 |
return protoreflect.EnumNumber(x) |
| 387 |
} |
| 388 |
|
| 389 |
// Deprecated: Use CVSSv3_Impact.Descriptor instead. |
| 390 |
func (CVSSv3_Impact) EnumDescriptor() ([]byte, []int) { |
| 391 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0, 5} |
| 392 |
} |
| 393 |
|
| 394 |
type CVSS_AttackVector int32 |
| 395 |
|
| 396 |
const ( |
| 397 |
CVSS_ATTACK_VECTOR_UNSPECIFIED CVSS_AttackVector = 0 |
| 398 |
CVSS_ATTACK_VECTOR_NETWORK CVSS_AttackVector = 1 |
| 399 |
CVSS_ATTACK_VECTOR_ADJACENT CVSS_AttackVector = 2 |
| 400 |
CVSS_ATTACK_VECTOR_LOCAL CVSS_AttackVector = 3 |
| 401 |
CVSS_ATTACK_VECTOR_PHYSICAL CVSS_AttackVector = 4 |
| 402 |
) |
| 403 |
|
| 404 |
// Enum value maps for CVSS_AttackVector. |
| 405 |
var ( |
| 406 |
CVSS_AttackVector_name = map[int32]string{ |
| 407 |
0: "ATTACK_VECTOR_UNSPECIFIED", |
| 408 |
1: "ATTACK_VECTOR_NETWORK", |
| 409 |
2: "ATTACK_VECTOR_ADJACENT", |
| 410 |
3: "ATTACK_VECTOR_LOCAL", |
| 411 |
4: "ATTACK_VECTOR_PHYSICAL", |
| 412 |
} |
| 413 |
CVSS_AttackVector_value = map[string]int32{ |
| 414 |
"ATTACK_VECTOR_UNSPECIFIED": 0, |
| 415 |
"ATTACK_VECTOR_NETWORK": 1, |
| 416 |
"ATTACK_VECTOR_ADJACENT": 2, |
| 417 |
"ATTACK_VECTOR_LOCAL": 3, |
| 418 |
"ATTACK_VECTOR_PHYSICAL": 4, |
| 419 |
} |
| 420 |
) |
| 421 |
|
| 422 |
func (x CVSS_AttackVector) Enum() *CVSS_AttackVector { |
| 423 |
p := new(CVSS_AttackVector) |
| 424 |
*p = x |
| 425 |
return p |
| 426 |
} |
| 427 |
|
| 428 |
func (x CVSS_AttackVector) String() string { |
| 429 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 430 |
} |
| 431 |
|
| 432 |
func (CVSS_AttackVector) Descriptor() protoreflect.EnumDescriptor { |
| 433 |
return file_grafeas_v1_cvss_proto_enumTypes[7].Descriptor() |
| 434 |
} |
| 435 |
|
| 436 |
func (CVSS_AttackVector) Type() protoreflect.EnumType { |
| 437 |
return &file_grafeas_v1_cvss_proto_enumTypes[7] |
| 438 |
} |
| 439 |
|
| 440 |
func (x CVSS_AttackVector) Number() protoreflect.EnumNumber { |
| 441 |
return protoreflect.EnumNumber(x) |
| 442 |
} |
| 443 |
|
| 444 |
// Deprecated: Use CVSS_AttackVector.Descriptor instead. |
| 445 |
func (CVSS_AttackVector) EnumDescriptor() ([]byte, []int) { |
| 446 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 0} |
| 447 |
} |
| 448 |
|
| 449 |
type CVSS_AttackComplexity int32 |
| 450 |
|
| 451 |
const ( |
| 452 |
CVSS_ATTACK_COMPLEXITY_UNSPECIFIED CVSS_AttackComplexity = 0 |
| 453 |
CVSS_ATTACK_COMPLEXITY_LOW CVSS_AttackComplexity = 1 |
| 454 |
CVSS_ATTACK_COMPLEXITY_HIGH CVSS_AttackComplexity = 2 |
| 455 |
CVSS_ATTACK_COMPLEXITY_MEDIUM CVSS_AttackComplexity = 3 |
| 456 |
) |
| 457 |
|
| 458 |
// Enum value maps for CVSS_AttackComplexity. |
| 459 |
var ( |
| 460 |
CVSS_AttackComplexity_name = map[int32]string{ |
| 461 |
0: "ATTACK_COMPLEXITY_UNSPECIFIED", |
| 462 |
1: "ATTACK_COMPLEXITY_LOW", |
| 463 |
2: "ATTACK_COMPLEXITY_HIGH", |
| 464 |
3: "ATTACK_COMPLEXITY_MEDIUM", |
| 465 |
} |
| 466 |
CVSS_AttackComplexity_value = map[string]int32{ |
| 467 |
"ATTACK_COMPLEXITY_UNSPECIFIED": 0, |
| 468 |
"ATTACK_COMPLEXITY_LOW": 1, |
| 469 |
"ATTACK_COMPLEXITY_HIGH": 2, |
| 470 |
"ATTACK_COMPLEXITY_MEDIUM": 3, |
| 471 |
} |
| 472 |
) |
| 473 |
|
| 474 |
func (x CVSS_AttackComplexity) Enum() *CVSS_AttackComplexity { |
| 475 |
p := new(CVSS_AttackComplexity) |
| 476 |
*p = x |
| 477 |
return p |
| 478 |
} |
| 479 |
|
| 480 |
func (x CVSS_AttackComplexity) String() string { |
| 481 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 482 |
} |
| 483 |
|
| 484 |
func (CVSS_AttackComplexity) Descriptor() protoreflect.EnumDescriptor { |
| 485 |
return file_grafeas_v1_cvss_proto_enumTypes[8].Descriptor() |
| 486 |
} |
| 487 |
|
| 488 |
func (CVSS_AttackComplexity) Type() protoreflect.EnumType { |
| 489 |
return &file_grafeas_v1_cvss_proto_enumTypes[8] |
| 490 |
} |
| 491 |
|
| 492 |
func (x CVSS_AttackComplexity) Number() protoreflect.EnumNumber { |
| 493 |
return protoreflect.EnumNumber(x) |
| 494 |
} |
| 495 |
|
| 496 |
// Deprecated: Use CVSS_AttackComplexity.Descriptor instead. |
| 497 |
func (CVSS_AttackComplexity) EnumDescriptor() ([]byte, []int) { |
| 498 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 1} |
| 499 |
} |
| 500 |
|
| 501 |
type CVSS_Authentication int32 |
| 502 |
|
| 503 |
const ( |
| 504 |
CVSS_AUTHENTICATION_UNSPECIFIED CVSS_Authentication = 0 |
| 505 |
CVSS_AUTHENTICATION_MULTIPLE CVSS_Authentication = 1 |
| 506 |
CVSS_AUTHENTICATION_SINGLE CVSS_Authentication = 2 |
| 507 |
CVSS_AUTHENTICATION_NONE CVSS_Authentication = 3 |
| 508 |
) |
| 509 |
|
| 510 |
// Enum value maps for CVSS_Authentication. |
| 511 |
var ( |
| 512 |
CVSS_Authentication_name = map[int32]string{ |
| 513 |
0: "AUTHENTICATION_UNSPECIFIED", |
| 514 |
1: "AUTHENTICATION_MULTIPLE", |
| 515 |
2: "AUTHENTICATION_SINGLE", |
| 516 |
3: "AUTHENTICATION_NONE", |
| 517 |
} |
| 518 |
CVSS_Authentication_value = map[string]int32{ |
| 519 |
"AUTHENTICATION_UNSPECIFIED": 0, |
| 520 |
"AUTHENTICATION_MULTIPLE": 1, |
| 521 |
"AUTHENTICATION_SINGLE": 2, |
| 522 |
"AUTHENTICATION_NONE": 3, |
| 523 |
} |
| 524 |
) |
| 525 |
|
| 526 |
func (x CVSS_Authentication) Enum() *CVSS_Authentication { |
| 527 |
p := new(CVSS_Authentication) |
| 528 |
*p = x |
| 529 |
return p |
| 530 |
} |
| 531 |
|
| 532 |
func (x CVSS_Authentication) String() string { |
| 533 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 534 |
} |
| 535 |
|
| 536 |
func (CVSS_Authentication) Descriptor() protoreflect.EnumDescriptor { |
| 537 |
return file_grafeas_v1_cvss_proto_enumTypes[9].Descriptor() |
| 538 |
} |
| 539 |
|
| 540 |
func (CVSS_Authentication) Type() protoreflect.EnumType { |
| 541 |
return &file_grafeas_v1_cvss_proto_enumTypes[9] |
| 542 |
} |
| 543 |
|
| 544 |
func (x CVSS_Authentication) Number() protoreflect.EnumNumber { |
| 545 |
return protoreflect.EnumNumber(x) |
| 546 |
} |
| 547 |
|
| 548 |
// Deprecated: Use CVSS_Authentication.Descriptor instead. |
| 549 |
func (CVSS_Authentication) EnumDescriptor() ([]byte, []int) { |
| 550 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 2} |
| 551 |
} |
| 552 |
|
| 553 |
type CVSS_PrivilegesRequired int32 |
| 554 |
|
| 555 |
const ( |
| 556 |
CVSS_PRIVILEGES_REQUIRED_UNSPECIFIED CVSS_PrivilegesRequired = 0 |
| 557 |
CVSS_PRIVILEGES_REQUIRED_NONE CVSS_PrivilegesRequired = 1 |
| 558 |
CVSS_PRIVILEGES_REQUIRED_LOW CVSS_PrivilegesRequired = 2 |
| 559 |
CVSS_PRIVILEGES_REQUIRED_HIGH CVSS_PrivilegesRequired = 3 |
| 560 |
) |
| 561 |
|
| 562 |
// Enum value maps for CVSS_PrivilegesRequired. |
| 563 |
var ( |
| 564 |
CVSS_PrivilegesRequired_name = map[int32]string{ |
| 565 |
0: "PRIVILEGES_REQUIRED_UNSPECIFIED", |
| 566 |
1: "PRIVILEGES_REQUIRED_NONE", |
| 567 |
2: "PRIVILEGES_REQUIRED_LOW", |
| 568 |
3: "PRIVILEGES_REQUIRED_HIGH", |
| 569 |
} |
| 570 |
CVSS_PrivilegesRequired_value = map[string]int32{ |
| 571 |
"PRIVILEGES_REQUIRED_UNSPECIFIED": 0, |
| 572 |
"PRIVILEGES_REQUIRED_NONE": 1, |
| 573 |
"PRIVILEGES_REQUIRED_LOW": 2, |
| 574 |
"PRIVILEGES_REQUIRED_HIGH": 3, |
| 575 |
} |
| 576 |
) |
| 577 |
|
| 578 |
func (x CVSS_PrivilegesRequired) Enum() *CVSS_PrivilegesRequired { |
| 579 |
p := new(CVSS_PrivilegesRequired) |
| 580 |
*p = x |
| 581 |
return p |
| 582 |
} |
| 583 |
|
| 584 |
func (x CVSS_PrivilegesRequired) String() string { |
| 585 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 586 |
} |
| 587 |
|
| 588 |
func (CVSS_PrivilegesRequired) Descriptor() protoreflect.EnumDescriptor { |
| 589 |
return file_grafeas_v1_cvss_proto_enumTypes[10].Descriptor() |
| 590 |
} |
| 591 |
|
| 592 |
func (CVSS_PrivilegesRequired) Type() protoreflect.EnumType { |
| 593 |
return &file_grafeas_v1_cvss_proto_enumTypes[10] |
| 594 |
} |
| 595 |
|
| 596 |
func (x CVSS_PrivilegesRequired) Number() protoreflect.EnumNumber { |
| 597 |
return protoreflect.EnumNumber(x) |
| 598 |
} |
| 599 |
|
| 600 |
// Deprecated: Use CVSS_PrivilegesRequired.Descriptor instead. |
| 601 |
func (CVSS_PrivilegesRequired) EnumDescriptor() ([]byte, []int) { |
| 602 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 3} |
| 603 |
} |
| 604 |
|
| 605 |
type CVSS_UserInteraction int32 |
| 606 |
|
| 607 |
const ( |
| 608 |
CVSS_USER_INTERACTION_UNSPECIFIED CVSS_UserInteraction = 0 |
| 609 |
CVSS_USER_INTERACTION_NONE CVSS_UserInteraction = 1 |
| 610 |
CVSS_USER_INTERACTION_REQUIRED CVSS_UserInteraction = 2 |
| 611 |
) |
| 612 |
|
| 613 |
// Enum value maps for CVSS_UserInteraction. |
| 614 |
var ( |
| 615 |
CVSS_UserInteraction_name = map[int32]string{ |
| 616 |
0: "USER_INTERACTION_UNSPECIFIED", |
| 617 |
1: "USER_INTERACTION_NONE", |
| 618 |
2: "USER_INTERACTION_REQUIRED", |
| 619 |
} |
| 620 |
CVSS_UserInteraction_value = map[string]int32{ |
| 621 |
"USER_INTERACTION_UNSPECIFIED": 0, |
| 622 |
"USER_INTERACTION_NONE": 1, |
| 623 |
"USER_INTERACTION_REQUIRED": 2, |
| 624 |
} |
| 625 |
) |
| 626 |
|
| 627 |
func (x CVSS_UserInteraction) Enum() *CVSS_UserInteraction { |
| 628 |
p := new(CVSS_UserInteraction) |
| 629 |
*p = x |
| 630 |
return p |
| 631 |
} |
| 632 |
|
| 633 |
func (x CVSS_UserInteraction) String() string { |
| 634 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 635 |
} |
| 636 |
|
| 637 |
func (CVSS_UserInteraction) Descriptor() protoreflect.EnumDescriptor { |
| 638 |
return file_grafeas_v1_cvss_proto_enumTypes[11].Descriptor() |
| 639 |
} |
| 640 |
|
| 641 |
func (CVSS_UserInteraction) Type() protoreflect.EnumType { |
| 642 |
return &file_grafeas_v1_cvss_proto_enumTypes[11] |
| 643 |
} |
| 644 |
|
| 645 |
func (x CVSS_UserInteraction) Number() protoreflect.EnumNumber { |
| 646 |
return protoreflect.EnumNumber(x) |
| 647 |
} |
| 648 |
|
| 649 |
// Deprecated: Use CVSS_UserInteraction.Descriptor instead. |
| 650 |
func (CVSS_UserInteraction) EnumDescriptor() ([]byte, []int) { |
| 651 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 4} |
| 652 |
} |
| 653 |
|
| 654 |
type CVSS_Scope int32 |
| 655 |
|
| 656 |
const ( |
| 657 |
CVSS_SCOPE_UNSPECIFIED CVSS_Scope = 0 |
| 658 |
CVSS_SCOPE_UNCHANGED CVSS_Scope = 1 |
| 659 |
CVSS_SCOPE_CHANGED CVSS_Scope = 2 |
| 660 |
) |
| 661 |
|
| 662 |
// Enum value maps for CVSS_Scope. |
| 663 |
var ( |
| 664 |
CVSS_Scope_name = map[int32]string{ |
| 665 |
0: "SCOPE_UNSPECIFIED", |
| 666 |
1: "SCOPE_UNCHANGED", |
| 667 |
2: "SCOPE_CHANGED", |
| 668 |
} |
| 669 |
CVSS_Scope_value = map[string]int32{ |
| 670 |
"SCOPE_UNSPECIFIED": 0, |
| 671 |
"SCOPE_UNCHANGED": 1, |
| 672 |
"SCOPE_CHANGED": 2, |
| 673 |
} |
| 674 |
) |
| 675 |
|
| 676 |
func (x CVSS_Scope) Enum() *CVSS_Scope { |
| 677 |
p := new(CVSS_Scope) |
| 678 |
*p = x |
| 679 |
return p |
| 680 |
} |
| 681 |
|
| 682 |
func (x CVSS_Scope) String() string { |
| 683 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 684 |
} |
| 685 |
|
| 686 |
func (CVSS_Scope) Descriptor() protoreflect.EnumDescriptor { |
| 687 |
return file_grafeas_v1_cvss_proto_enumTypes[12].Descriptor() |
| 688 |
} |
| 689 |
|
| 690 |
func (CVSS_Scope) Type() protoreflect.EnumType { |
| 691 |
return &file_grafeas_v1_cvss_proto_enumTypes[12] |
| 692 |
} |
| 693 |
|
| 694 |
func (x CVSS_Scope) Number() protoreflect.EnumNumber { |
| 695 |
return protoreflect.EnumNumber(x) |
| 696 |
} |
| 697 |
|
| 698 |
// Deprecated: Use CVSS_Scope.Descriptor instead. |
| 699 |
func (CVSS_Scope) EnumDescriptor() ([]byte, []int) { |
| 700 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 5} |
| 701 |
} |
| 702 |
|
| 703 |
type CVSS_Impact int32 |
| 704 |
|
| 705 |
const ( |
| 706 |
CVSS_IMPACT_UNSPECIFIED CVSS_Impact = 0 |
| 707 |
CVSS_IMPACT_HIGH CVSS_Impact = 1 |
| 708 |
CVSS_IMPACT_LOW CVSS_Impact = 2 |
| 709 |
CVSS_IMPACT_NONE CVSS_Impact = 3 |
| 710 |
CVSS_IMPACT_PARTIAL CVSS_Impact = 4 |
| 711 |
CVSS_IMPACT_COMPLETE CVSS_Impact = 5 |
| 712 |
) |
| 713 |
|
| 714 |
// Enum value maps for CVSS_Impact. |
| 715 |
var ( |
| 716 |
CVSS_Impact_name = map[int32]string{ |
| 717 |
0: "IMPACT_UNSPECIFIED", |
| 718 |
1: "IMPACT_HIGH", |
| 719 |
2: "IMPACT_LOW", |
| 720 |
3: "IMPACT_NONE", |
| 721 |
4: "IMPACT_PARTIAL", |
| 722 |
5: "IMPACT_COMPLETE", |
| 723 |
} |
| 724 |
CVSS_Impact_value = map[string]int32{ |
| 725 |
"IMPACT_UNSPECIFIED": 0, |
| 726 |
"IMPACT_HIGH": 1, |
| 727 |
"IMPACT_LOW": 2, |
| 728 |
"IMPACT_NONE": 3, |
| 729 |
"IMPACT_PARTIAL": 4, |
| 730 |
"IMPACT_COMPLETE": 5, |
| 731 |
} |
| 732 |
) |
| 733 |
|
| 734 |
func (x CVSS_Impact) Enum() *CVSS_Impact { |
| 735 |
p := new(CVSS_Impact) |
| 736 |
*p = x |
| 737 |
return p |
| 738 |
} |
| 739 |
|
| 740 |
func (x CVSS_Impact) String() string { |
| 741 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 742 |
} |
| 743 |
|
| 744 |
func (CVSS_Impact) Descriptor() protoreflect.EnumDescriptor { |
| 745 |
return file_grafeas_v1_cvss_proto_enumTypes[13].Descriptor() |
| 746 |
} |
| 747 |
|
| 748 |
func (CVSS_Impact) Type() protoreflect.EnumType { |
| 749 |
return &file_grafeas_v1_cvss_proto_enumTypes[13] |
| 750 |
} |
| 751 |
|
| 752 |
func (x CVSS_Impact) Number() protoreflect.EnumNumber { |
| 753 |
return protoreflect.EnumNumber(x) |
| 754 |
} |
| 755 |
|
| 756 |
// Deprecated: Use CVSS_Impact.Descriptor instead. |
| 757 |
func (CVSS_Impact) EnumDescriptor() ([]byte, []int) { |
| 758 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1, 6} |
| 759 |
} |
| 760 |
|
| 761 |
// Common Vulnerability Scoring System version 3. |
| 762 |
// For details, see https://www.first.org/cvss/specification-document |
| 763 |
type CVSSv3 struct { |
| 764 |
state protoimpl.MessageState |
| 765 |
sizeCache protoimpl.SizeCache |
| 766 |
unknownFields protoimpl.UnknownFields |
| 767 |
|
| 768 |
// The base score is a function of the base metric scores. |
| 769 |
BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"` |
| 770 |
ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"` |
| 771 |
ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"` |
| 772 |
// Base Metrics |
| 773 |
// Represents the intrinsic characteristics of a vulnerability that are |
| 774 |
// constant over time and across user environments. |
| 775 |
AttackVector CVSSv3_AttackVector `protobuf:"varint,5,opt,name=attack_vector,json=attackVector,proto3,enum=grafeas.v1.CVSSv3_AttackVector" json:"attack_vector,omitempty"` |
| 776 |
AttackComplexity CVSSv3_AttackComplexity `protobuf:"varint,6,opt,name=attack_complexity,json=attackComplexity,proto3,enum=grafeas.v1.CVSSv3_AttackComplexity" json:"attack_complexity,omitempty"` |
| 777 |
PrivilegesRequired CVSSv3_PrivilegesRequired `protobuf:"varint,7,opt,name=privileges_required,json=privilegesRequired,proto3,enum=grafeas.v1.CVSSv3_PrivilegesRequired" json:"privileges_required,omitempty"` |
| 778 |
UserInteraction CVSSv3_UserInteraction `protobuf:"varint,8,opt,name=user_interaction,json=userInteraction,proto3,enum=grafeas.v1.CVSSv3_UserInteraction" json:"user_interaction,omitempty"` |
| 779 |
Scope CVSSv3_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1.CVSSv3_Scope" json:"scope,omitempty"` |
| 780 |
ConfidentialityImpact CVSSv3_Impact `protobuf:"varint,10,opt,name=confidentiality_impact,json=confidentialityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"confidentiality_impact,omitempty"` |
| 781 |
IntegrityImpact CVSSv3_Impact `protobuf:"varint,11,opt,name=integrity_impact,json=integrityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"integrity_impact,omitempty"` |
| 782 |
AvailabilityImpact CVSSv3_Impact `protobuf:"varint,12,opt,name=availability_impact,json=availabilityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"availability_impact,omitempty"` |
| 783 |
} |
| 784 |
|
| 785 |
func (x *CVSSv3) Reset() { |
| 786 |
*x = CVSSv3{} |
| 787 |
if protoimpl.UnsafeEnabled { |
| 788 |
mi := &file_grafeas_v1_cvss_proto_msgTypes[0] |
| 789 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 790 |
ms.StoreMessageInfo(mi) |
| 791 |
} |
| 792 |
} |
| 793 |
|
| 794 |
func (x *CVSSv3) String() string { |
| 795 |
return protoimpl.X.MessageStringOf(x) |
| 796 |
} |
| 797 |
|
| 798 |
func (*CVSSv3) ProtoMessage() {} |
| 799 |
|
| 800 |
func (x *CVSSv3) ProtoReflect() protoreflect.Message { |
| 801 |
mi := &file_grafeas_v1_cvss_proto_msgTypes[0] |
| 802 |
if protoimpl.UnsafeEnabled && x != nil { |
| 803 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 804 |
if ms.LoadMessageInfo() == nil { |
| 805 |
ms.StoreMessageInfo(mi) |
| 806 |
} |
| 807 |
return ms |
| 808 |
} |
| 809 |
return mi.MessageOf(x) |
| 810 |
} |
| 811 |
|
| 812 |
// Deprecated: Use CVSSv3.ProtoReflect.Descriptor instead. |
| 813 |
func (*CVSSv3) Descriptor() ([]byte, []int) { |
| 814 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{0} |
| 815 |
} |
| 816 |
|
| 817 |
func (x *CVSSv3) GetBaseScore() float32 { |
| 818 |
if x != nil { |
| 819 |
return x.BaseScore |
| 820 |
} |
| 821 |
return 0 |
| 822 |
} |
| 823 |
|
| 824 |
func (x *CVSSv3) GetExploitabilityScore() float32 { |
| 825 |
if x != nil { |
| 826 |
return x.ExploitabilityScore |
| 827 |
} |
| 828 |
return 0 |
| 829 |
} |
| 830 |
|
| 831 |
func (x *CVSSv3) GetImpactScore() float32 { |
| 832 |
if x != nil { |
| 833 |
return x.ImpactScore |
| 834 |
} |
| 835 |
return 0 |
| 836 |
} |
| 837 |
|
| 838 |
func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector { |
| 839 |
if x != nil { |
| 840 |
return x.AttackVector |
| 841 |
} |
| 842 |
return CVSSv3_ATTACK_VECTOR_UNSPECIFIED |
| 843 |
} |
| 844 |
|
| 845 |
func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity { |
| 846 |
if x != nil { |
| 847 |
return x.AttackComplexity |
| 848 |
} |
| 849 |
return CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED |
| 850 |
} |
| 851 |
|
| 852 |
func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired { |
| 853 |
if x != nil { |
| 854 |
return x.PrivilegesRequired |
| 855 |
} |
| 856 |
return CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED |
| 857 |
} |
| 858 |
|
| 859 |
func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction { |
| 860 |
if x != nil { |
| 861 |
return x.UserInteraction |
| 862 |
} |
| 863 |
return CVSSv3_USER_INTERACTION_UNSPECIFIED |
| 864 |
} |
| 865 |
|
| 866 |
func (x *CVSSv3) GetScope() CVSSv3_Scope { |
| 867 |
if x != nil { |
| 868 |
return x.Scope |
| 869 |
} |
| 870 |
return CVSSv3_SCOPE_UNSPECIFIED |
| 871 |
} |
| 872 |
|
| 873 |
func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact { |
| 874 |
if x != nil { |
| 875 |
return x.ConfidentialityImpact |
| 876 |
} |
| 877 |
return CVSSv3_IMPACT_UNSPECIFIED |
| 878 |
} |
| 879 |
|
| 880 |
func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact { |
| 881 |
if x != nil { |
| 882 |
return x.IntegrityImpact |
| 883 |
} |
| 884 |
return CVSSv3_IMPACT_UNSPECIFIED |
| 885 |
} |
| 886 |
|
| 887 |
func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact { |
| 888 |
if x != nil { |
| 889 |
return x.AvailabilityImpact |
| 890 |
} |
| 891 |
return CVSSv3_IMPACT_UNSPECIFIED |
| 892 |
} |
| 893 |
|
| 894 |
// Common Vulnerability Scoring System. |
| 895 |
// For details, see https://www.first.org/cvss/specification-document |
| 896 |
// This is a message we will try to use for storing various versions of CVSS |
| 897 |
// rather than making a separate proto for storing a specific version. |
| 898 |
type CVSS struct { |
| 899 |
state protoimpl.MessageState |
| 900 |
sizeCache protoimpl.SizeCache |
| 901 |
unknownFields protoimpl.UnknownFields |
| 902 |
|
| 903 |
// The base score is a function of the base metric scores. |
| 904 |
BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"` |
| 905 |
ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"` |
| 906 |
ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"` |
| 907 |
// Base Metrics |
| 908 |
// Represents the intrinsic characteristics of a vulnerability that are |
| 909 |
// constant over time and across user environments. |
| 910 |
AttackVector CVSS_AttackVector `protobuf:"varint,4,opt,name=attack_vector,json=attackVector,proto3,enum=grafeas.v1.CVSS_AttackVector" json:"attack_vector,omitempty"` |
| 911 |
AttackComplexity CVSS_AttackComplexity `protobuf:"varint,5,opt,name=attack_complexity,json=attackComplexity,proto3,enum=grafeas.v1.CVSS_AttackComplexity" json:"attack_complexity,omitempty"` |
| 912 |
Authentication CVSS_Authentication `protobuf:"varint,6,opt,name=authentication,proto3,enum=grafeas.v1.CVSS_Authentication" json:"authentication,omitempty"` |
| 913 |
PrivilegesRequired CVSS_PrivilegesRequired `protobuf:"varint,7,opt,name=privileges_required,json=privilegesRequired,proto3,enum=grafeas.v1.CVSS_PrivilegesRequired" json:"privileges_required,omitempty"` |
| 914 |
UserInteraction CVSS_UserInteraction `protobuf:"varint,8,opt,name=user_interaction,json=userInteraction,proto3,enum=grafeas.v1.CVSS_UserInteraction" json:"user_interaction,omitempty"` |
| 915 |
Scope CVSS_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1.CVSS_Scope" json:"scope,omitempty"` |
| 916 |
ConfidentialityImpact CVSS_Impact `protobuf:"varint,10,opt,name=confidentiality_impact,json=confidentialityImpact,proto3,enum=grafeas.v1.CVSS_Impact" json:"confidentiality_impact,omitempty"` |
| 917 |
IntegrityImpact CVSS_Impact `protobuf:"varint,11,opt,name=integrity_impact,json=integrityImpact,proto3,enum=grafeas.v1.CVSS_Impact" json:"integrity_impact,omitempty"` |
| 918 |
AvailabilityImpact CVSS_Impact `protobuf:"varint,12,opt,name=availability_impact,json=availabilityImpact,proto3,enum=grafeas.v1.CVSS_Impact" json:"availability_impact,omitempty"` |
| 919 |
} |
| 920 |
|
| 921 |
func (x *CVSS) Reset() { |
| 922 |
*x = CVSS{} |
| 923 |
if protoimpl.UnsafeEnabled { |
| 924 |
mi := &file_grafeas_v1_cvss_proto_msgTypes[1] |
| 925 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 926 |
ms.StoreMessageInfo(mi) |
| 927 |
} |
| 928 |
} |
| 929 |
|
| 930 |
func (x *CVSS) String() string { |
| 931 |
return protoimpl.X.MessageStringOf(x) |
| 932 |
} |
| 933 |
|
| 934 |
func (*CVSS) ProtoMessage() {} |
| 935 |
|
| 936 |
func (x *CVSS) ProtoReflect() protoreflect.Message { |
| 937 |
mi := &file_grafeas_v1_cvss_proto_msgTypes[1] |
| 938 |
if protoimpl.UnsafeEnabled && x != nil { |
| 939 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 940 |
if ms.LoadMessageInfo() == nil { |
| 941 |
ms.StoreMessageInfo(mi) |
| 942 |
} |
| 943 |
return ms |
| 944 |
} |
| 945 |
return mi.MessageOf(x) |
| 946 |
} |
| 947 |
|
| 948 |
// Deprecated: Use CVSS.ProtoReflect.Descriptor instead. |
| 949 |
func (*CVSS) Descriptor() ([]byte, []int) { |
| 950 |
return file_grafeas_v1_cvss_proto_rawDescGZIP(), []int{1} |
| 951 |
} |
| 952 |
|
| 953 |
func (x *CVSS) GetBaseScore() float32 { |
| 954 |
if x != nil { |
| 955 |
return x.BaseScore |
| 956 |
} |
| 957 |
return 0 |
| 958 |
} |
| 959 |
|
| 960 |
func (x *CVSS) GetExploitabilityScore() float32 { |
| 961 |
if x != nil { |
| 962 |
return x.ExploitabilityScore |
| 963 |
} |
| 964 |
return 0 |
| 965 |
} |
| 966 |
|
| 967 |
func (x *CVSS) GetImpactScore() float32 { |
| 968 |
if x != nil { |
| 969 |
return x.ImpactScore |
| 970 |
} |
| 971 |
return 0 |
| 972 |
} |
| 973 |
|
| 974 |
func (x *CVSS) GetAttackVector() CVSS_AttackVector { |
| 975 |
if x != nil { |
| 976 |
return x.AttackVector |
| 977 |
} |
| 978 |
return CVSS_ATTACK_VECTOR_UNSPECIFIED |
| 979 |
} |
| 980 |
|
| 981 |
func (x *CVSS) GetAttackComplexity() CVSS_AttackComplexity { |
| 982 |
if x != nil { |
| 983 |
return x.AttackComplexity |
| 984 |
} |
| 985 |
return CVSS_ATTACK_COMPLEXITY_UNSPECIFIED |
| 986 |
} |
| 987 |
|
| 988 |
func (x *CVSS) GetAuthentication() CVSS_Authentication { |
| 989 |
if x != nil { |
| 990 |
return x.Authentication |
| 991 |
} |
| 992 |
return CVSS_AUTHENTICATION_UNSPECIFIED |
| 993 |
} |
| 994 |
|
| 995 |
func (x *CVSS) GetPrivilegesRequired() CVSS_PrivilegesRequired { |
| 996 |
if x != nil { |
| 997 |
return x.PrivilegesRequired |
| 998 |
} |
| 999 |
return CVSS_PRIVILEGES_REQUIRED_UNSPECIFIED |
| 1000 |
} |
| 1001 |
|
| 1002 |
func (x *CVSS) GetUserInteraction() CVSS_UserInteraction { |
| 1003 |
if x != nil { |
| 1004 |
return x.UserInteraction |
| 1005 |
} |
| 1006 |
return CVSS_USER_INTERACTION_UNSPECIFIED |
| 1007 |
} |
| 1008 |
|
| 1009 |
func (x *CVSS) GetScope() CVSS_Scope { |
| 1010 |
if x != nil { |
| 1011 |
return x.Scope |
| 1012 |
} |
| 1013 |
return CVSS_SCOPE_UNSPECIFIED |
| 1014 |
} |
| 1015 |
|
| 1016 |
func (x *CVSS) GetConfidentialityImpact() CVSS_Impact { |
| 1017 |
if x != nil { |
| 1018 |
return x.ConfidentialityImpact |
| 1019 |
} |
| 1020 |
return CVSS_IMPACT_UNSPECIFIED |
| 1021 |
} |
| 1022 |
|
| 1023 |
func (x *CVSS) GetIntegrityImpact() CVSS_Impact { |
| 1024 |
if x != nil { |
| 1025 |
return x.IntegrityImpact |
| 1026 |
} |
| 1027 |
return CVSS_IMPACT_UNSPECIFIED |
| 1028 |
} |
| 1029 |
|
| 1030 |
func (x *CVSS) GetAvailabilityImpact() CVSS_Impact { |
| 1031 |
if x != nil { |
| 1032 |
return x.AvailabilityImpact |
| 1033 |
} |
| 1034 |
return CVSS_IMPACT_UNSPECIFIED |
| 1035 |
} |
| 1036 |
|
| 1037 |
var File_grafeas_v1_cvss_proto protoreflect.FileDescriptor |
| 1038 |
|
| 1039 |
var file_grafeas_v1_cvss_proto_rawDesc = []byte{ |
| 1040 |
0x0a, 0x15, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x76, 0x73, |
| 1041 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, |
| 1042 |
0x2e, 0x76, 0x31, 0x22, 0xfa, 0x0a, 0x0a, 0x06, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x12, 0x1d, |
| 1043 |
0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 1044 |
0x28, 0x02, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x31, 0x0a, |
| 1045 |
0x14, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x69, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, |
| 1046 |
0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x65, 0x78, 0x70, |
| 1047 |
0x6c, 0x6f, 0x69, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, |
| 1048 |
0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, |
| 1049 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x53, 0x63, |
| 1050 |
0x6f, 0x72, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x76, 0x65, |
| 1051 |
0x63, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x61, |
| 1052 |
0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x41, |
| 1053 |
0x74, 0x74, 0x61, 0x63, 0x6b, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x61, 0x74, 0x74, |
| 1054 |
0x61, 0x63, 0x6b, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x50, 0x0a, 0x11, 0x61, 0x74, 0x74, |
| 1055 |
0x61, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x18, 0x06, |
| 1056 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, |
| 1057 |
0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, |
| 1058 |
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, |
| 1059 |
0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x12, 0x56, 0x0a, 0x13, 0x70, |
| 1060 |
0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, |
| 1061 |
0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 1062 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x69, |
| 1063 |
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, |
| 1064 |
0x12, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, |
| 1065 |
0x72, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x74, 0x65, |
| 1066 |
0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, |
| 1067 |
0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, |
| 1068 |
0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, |
| 1069 |
0x6e, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, |
| 1070 |
0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, |
| 1071 |
0x0e, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, |
| 1072 |
0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, |
| 1073 |
0x70, 0x65, 0x12, 0x50, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, |
| 1074 |
0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0a, 0x20, 0x01, |
| 1075 |
0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, |
| 1076 |
0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x15, 0x63, |
| 1077 |
0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6d, |
| 1078 |
0x70, 0x61, 0x63, 0x74, 0x12, 0x44, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x69, 0x74, |
| 1079 |
0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, |
| 1080 |
0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, |
| 1081 |
0x76, 0x33, 0x2e, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, |
| 1082 |
0x72, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x4a, 0x0a, 0x13, 0x61, 0x76, |
| 1083 |
0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63, |
| 1084 |
0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, |
| 1085 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x49, 0x6d, 0x70, 0x61, |
| 1086 |
0x63, 0x74, 0x52, 0x12, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, |
| 1087 |
0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x41, 0x74, 0x74, 0x61, 0x63, |
| 1088 |
0x6b, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x54, 0x54, 0x41, 0x43, |
| 1089 |
0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, |
| 1090 |
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, |
| 1091 |
0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x10, |
| 1092 |
0x01, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, |
| 1093 |
0x4f, 0x52, 0x5f, 0x41, 0x44, 0x4a, 0x41, 0x43, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, |
| 1094 |
0x13, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x4c, |
| 1095 |
0x4f, 0x43, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, |
| 1096 |
0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x50, 0x48, 0x59, 0x53, 0x49, 0x43, 0x41, 0x4c, |
| 1097 |
0x10, 0x04, 0x22, 0x6c, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, |
| 1098 |
0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, |
| 1099 |
0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 1100 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x54, 0x54, |
| 1101 |
0x41, 0x43, 0x4b, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x4c, |
| 1102 |
0x4f, 0x57, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x43, |
| 1103 |
0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x02, |
| 1104 |
0x22, 0x92, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, |
| 1105 |
0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x52, 0x49, 0x56, 0x49, |
| 1106 |
0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x55, |
| 1107 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, |
| 1108 |
0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, |
| 1109 |
0x52, 0x45, 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, |
| 1110 |
0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, |
| 1111 |
0x44, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x49, 0x56, 0x49, |
| 1112 |
0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x48, |
| 1113 |
0x49, 0x47, 0x48, 0x10, 0x03, 0x22, 0x6d, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, |
| 1114 |
0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x1c, 0x55, 0x53, 0x45, 0x52, |
| 1115 |
0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, |
| 1116 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, |
| 1117 |
0x45, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, |
| 1118 |
0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x49, 0x4e, |
| 1119 |
0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, |
| 1120 |
0x45, 0x44, 0x10, 0x02, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x15, 0x0a, |
| 1121 |
0x11, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, |
| 1122 |
0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 1123 |
0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x43, 0x4f, |
| 1124 |
0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x22, 0x52, 0x0a, 0x06, |
| 1125 |
0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, |
| 1126 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, |
| 1127 |
0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x01, 0x12, |
| 1128 |
0x0e, 0x0a, 0x0a, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, |
| 1129 |
0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, |
| 1130 |
0x22, 0xfd, 0x0c, 0x0a, 0x04, 0x43, 0x56, 0x53, 0x53, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, |
| 1131 |
0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x62, |
| 1132 |
0x61, 0x73, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x65, 0x78, 0x70, 0x6c, |
| 1133 |
0x6f, 0x69, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, |
| 1134 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x69, 0x74, 0x61, |
| 1135 |
0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x69, |
| 1136 |
0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 1137 |
0x02, 0x52, 0x0b, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x42, |
| 1138 |
0x0a, 0x0d, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, |
| 1139 |
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 1140 |
0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x56, 0x65, |
| 1141 |
0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x56, 0x65, 0x63, 0x74, |
| 1142 |
0x6f, 0x72, 0x12, 0x4e, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, |
| 1143 |
0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, |
| 1144 |
0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, |
| 1145 |
0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, |
| 1146 |
0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, |
| 1147 |
0x74, 0x79, 0x12, 0x47, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, |
| 1148 |
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x61, |
| 1149 |
0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, 0x41, 0x75, 0x74, |
| 1150 |
0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, |
| 1151 |
0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x13, 0x70, |
| 1152 |
0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, |
| 1153 |
0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 1154 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, |
| 1155 |
0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x12, 0x70, |
| 1156 |
0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, |
| 1157 |
0x64, 0x12, 0x4b, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, |
| 1158 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x72, |
| 1159 |
0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, 0x55, 0x73, |
| 1160 |
0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x75, |
| 1161 |
0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, |
| 1162 |
0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, |
| 1163 |
0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, |
| 1164 |
0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x4e, 0x0a, 0x16, |
| 1165 |
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, |
| 1166 |
0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, |
| 1167 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, 0x49, |
| 1168 |
0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x74, |
| 1169 |
0x69, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x42, 0x0a, 0x10, |
| 1170 |
0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, |
| 1171 |
0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, |
| 1172 |
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, |
| 1173 |
0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, |
| 1174 |
0x12, 0x48, 0x0a, 0x13, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, |
| 1175 |
0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, |
| 1176 |
0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x2e, |
| 1177 |
0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x12, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, |
| 1178 |
0x6c, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x41, |
| 1179 |
0x74, 0x74, 0x61, 0x63, 0x6b, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x19, 0x41, |
| 1180 |
0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, |
| 1181 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x54, |
| 1182 |
0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x4e, 0x45, 0x54, 0x57, |
| 1183 |
0x4f, 0x52, 0x4b, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, |
| 1184 |
0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x41, 0x44, 0x4a, 0x41, 0x43, 0x45, 0x4e, 0x54, 0x10, |
| 1185 |
0x02, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, |
| 1186 |
0x4f, 0x52, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, |
| 1187 |
0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x50, 0x48, 0x59, 0x53, |
| 1188 |
0x49, 0x43, 0x41, 0x4c, 0x10, 0x04, 0x22, 0x8a, 0x01, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x61, 0x63, |
| 1189 |
0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x1d, 0x41, |
| 1190 |
0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, |
| 1191 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, |
| 1192 |
0x0a, 0x15, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, |
| 1193 |
0x49, 0x54, 0x59, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, |
| 1194 |
0x41, 0x43, 0x4b, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x48, |
| 1195 |
0x49, 0x47, 0x48, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, |
| 1196 |
0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x55, |
| 1197 |
0x4d, 0x10, 0x03, 0x22, 0x81, 0x01, 0x0a, 0x0e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, |
| 1198 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, |
| 1199 |
0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, |
| 1200 |
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, |
| 1201 |
0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x4c, |
| 1202 |
0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, |
| 1203 |
0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x17, |
| 1204 |
0x0a, 0x13, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, |
| 1205 |
0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x92, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x69, 0x76, |
| 1206 |
0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x23, |
| 1207 |
0x0a, 0x1f, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, |
| 1208 |
0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 1209 |
0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, |
| 1210 |
0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, |
| 1211 |
0x01, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, |
| 1212 |
0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x1c, |
| 1213 |
0x0a, 0x18, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, |
| 1214 |
0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x03, 0x22, 0x6d, 0x0a, 0x0f, |
| 1215 |
0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 1216 |
0x20, 0x0a, 0x1c, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, |
| 1217 |
0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 1218 |
0x00, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, |
| 1219 |
0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, |
| 1220 |
0x55, 0x53, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, |
| 1221 |
0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x22, 0x46, 0x0a, 0x05, 0x53, |
| 1222 |
0x63, 0x6f, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 1223 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, |
| 1224 |
0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x01, |
| 1225 |
0x12, 0x11, 0x0a, 0x0d, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, |
| 1226 |
0x44, 0x10, 0x02, 0x22, 0x7b, 0x0a, 0x06, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x16, 0x0a, |
| 1227 |
0x12, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 1228 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, |
| 1229 |
0x48, 0x49, 0x47, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, |
| 1230 |
0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, |
| 1231 |
0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4d, 0x50, 0x41, 0x43, |
| 1232 |
0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x49, |
| 1233 |
0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, |
| 1234 |
0x2a, 0x53, 0x0a, 0x0b, 0x43, 0x56, 0x53, 0x53, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, |
| 1235 |
0x1c, 0x0a, 0x18, 0x43, 0x56, 0x53, 0x53, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, |
| 1236 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, |
| 1237 |
0x0e, 0x43, 0x56, 0x53, 0x53, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x10, |
| 1238 |
0x01, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x56, 0x53, 0x53, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, |
| 1239 |
0x4e, 0x5f, 0x33, 0x10, 0x02, 0x42, 0x5c, 0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, |
| 1240 |
0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x43, 0x56, 0x53, 0x53, 0x50, 0x72, 0x6f, 0x74, |
| 1241 |
0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, |
| 1242 |
0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, |
| 1243 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 1244 |
0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, |
| 1245 |
0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1246 |
} |
| 1247 |
|
| 1248 |
var ( |
| 1249 |
file_grafeas_v1_cvss_proto_rawDescOnce sync.Once |
| 1250 |
file_grafeas_v1_cvss_proto_rawDescData = file_grafeas_v1_cvss_proto_rawDesc |
| 1251 |
) |
| 1252 |
|
| 1253 |
func file_grafeas_v1_cvss_proto_rawDescGZIP() []byte { |
| 1254 |
file_grafeas_v1_cvss_proto_rawDescOnce.Do(func() { |
| 1255 |
file_grafeas_v1_cvss_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_cvss_proto_rawDescData) |
| 1256 |
}) |
| 1257 |
return file_grafeas_v1_cvss_proto_rawDescData |
| 1258 |
} |
| 1259 |
|
| 1260 |
var file_grafeas_v1_cvss_proto_enumTypes = make([]protoimpl.EnumInfo, 14) |
| 1261 |
var file_grafeas_v1_cvss_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 1262 |
var file_grafeas_v1_cvss_proto_goTypes = []interface{}{ |
| 1263 |
(CVSSVersion)(0), // 0: grafeas.v1.CVSSVersion |
| 1264 |
(CVSSv3_AttackVector)(0), // 1: grafeas.v1.CVSSv3.AttackVector |
| 1265 |
(CVSSv3_AttackComplexity)(0), // 2: grafeas.v1.CVSSv3.AttackComplexity |
| 1266 |
(CVSSv3_PrivilegesRequired)(0), // 3: grafeas.v1.CVSSv3.PrivilegesRequired |
| 1267 |
(CVSSv3_UserInteraction)(0), // 4: grafeas.v1.CVSSv3.UserInteraction |
| 1268 |
(CVSSv3_Scope)(0), // 5: grafeas.v1.CVSSv3.Scope |
| 1269 |
(CVSSv3_Impact)(0), // 6: grafeas.v1.CVSSv3.Impact |
| 1270 |
(CVSS_AttackVector)(0), // 7: grafeas.v1.CVSS.AttackVector |
| 1271 |
(CVSS_AttackComplexity)(0), // 8: grafeas.v1.CVSS.AttackComplexity |
| 1272 |
(CVSS_Authentication)(0), // 9: grafeas.v1.CVSS.Authentication |
| 1273 |
(CVSS_PrivilegesRequired)(0), // 10: grafeas.v1.CVSS.PrivilegesRequired |
| 1274 |
(CVSS_UserInteraction)(0), // 11: grafeas.v1.CVSS.UserInteraction |
| 1275 |
(CVSS_Scope)(0), // 12: grafeas.v1.CVSS.Scope |
| 1276 |
(CVSS_Impact)(0), // 13: grafeas.v1.CVSS.Impact |
| 1277 |
(*CVSSv3)(nil), // 14: grafeas.v1.CVSSv3 |
| 1278 |
(*CVSS)(nil), // 15: grafeas.v1.CVSS |
| 1279 |
} |
| 1280 |
var file_grafeas_v1_cvss_proto_depIdxs = []int32{ |
| 1281 |
1, // 0: grafeas.v1.CVSSv3.attack_vector:type_name -> grafeas.v1.CVSSv3.AttackVector |
| 1282 |
2, // 1: grafeas.v1.CVSSv3.attack_complexity:type_name -> grafeas.v1.CVSSv3.AttackComplexity |
| 1283 |
3, // 2: grafeas.v1.CVSSv3.privileges_required:type_name -> grafeas.v1.CVSSv3.PrivilegesRequired |
| 1284 |
4, // 3: grafeas.v1.CVSSv3.user_interaction:type_name -> grafeas.v1.CVSSv3.UserInteraction |
| 1285 |
5, // 4: grafeas.v1.CVSSv3.scope:type_name -> grafeas.v1.CVSSv3.Scope |
| 1286 |
6, // 5: grafeas.v1.CVSSv3.confidentiality_impact:type_name -> grafeas.v1.CVSSv3.Impact |
| 1287 |
6, // 6: grafeas.v1.CVSSv3.integrity_impact:type_name -> grafeas.v1.CVSSv3.Impact |
| 1288 |
6, // 7: grafeas.v1.CVSSv3.availability_impact:type_name -> grafeas.v1.CVSSv3.Impact |
| 1289 |
7, // 8: grafeas.v1.CVSS.attack_vector:type_name -> grafeas.v1.CVSS.AttackVector |
| 1290 |
8, // 9: grafeas.v1.CVSS.attack_complexity:type_name -> grafeas.v1.CVSS.AttackComplexity |
| 1291 |
9, // 10: grafeas.v1.CVSS.authentication:type_name -> grafeas.v1.CVSS.Authentication |
| 1292 |
10, // 11: grafeas.v1.CVSS.privileges_required:type_name -> grafeas.v1.CVSS.PrivilegesRequired |
| 1293 |
11, // 12: grafeas.v1.CVSS.user_interaction:type_name -> grafeas.v1.CVSS.UserInteraction |
| 1294 |
12, // 13: grafeas.v1.CVSS.scope:type_name -> grafeas.v1.CVSS.Scope |
| 1295 |
13, // 14: grafeas.v1.CVSS.confidentiality_impact:type_name -> grafeas.v1.CVSS.Impact |
| 1296 |
13, // 15: grafeas.v1.CVSS.integrity_impact:type_name -> grafeas.v1.CVSS.Impact |
| 1297 |
13, // 16: grafeas.v1.CVSS.availability_impact:type_name -> grafeas.v1.CVSS.Impact |
| 1298 |
17, // [17:17] is the sub-list for method output_type |
| 1299 |
17, // [17:17] is the sub-list for method input_type |
| 1300 |
17, // [17:17] is the sub-list for extension type_name |
| 1301 |
17, // [17:17] is the sub-list for extension extendee |
| 1302 |
0, // [0:17] is the sub-list for field type_name |
| 1303 |
} |
| 1304 |
|
| 1305 |
func init() { file_grafeas_v1_cvss_proto_init() } |
| 1306 |
func file_grafeas_v1_cvss_proto_init() { |
| 1307 |
if File_grafeas_v1_cvss_proto != nil { |
| 1308 |
return |
| 1309 |
} |
| 1310 |
if !protoimpl.UnsafeEnabled { |
| 1311 |
file_grafeas_v1_cvss_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1312 |
switch v := v.(*CVSSv3); i { |
| 1313 |
case 0: |
| 1314 |
return &v.state |
| 1315 |
case 1: |
| 1316 |
return &v.sizeCache |
| 1317 |
case 2: |
| 1318 |
return &v.unknownFields |
| 1319 |
default: |
| 1320 |
return nil |
| 1321 |
} |
| 1322 |
} |
| 1323 |
file_grafeas_v1_cvss_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1324 |
switch v := v.(*CVSS); i { |
| 1325 |
case 0: |
| 1326 |
return &v.state |
| 1327 |
case 1: |
| 1328 |
return &v.sizeCache |
| 1329 |
case 2: |
| 1330 |
return &v.unknownFields |
| 1331 |
default: |
| 1332 |
return nil |
| 1333 |
} |
| 1334 |
} |
| 1335 |
} |
| 1336 |
type x struct{} |
| 1337 |
out := protoimpl.TypeBuilder{ |
| 1338 |
File: protoimpl.DescBuilder{ |
| 1339 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1340 |
RawDescriptor: file_grafeas_v1_cvss_proto_rawDesc, |
| 1341 |
NumEnums: 14, |
| 1342 |
NumMessages: 2, |
| 1343 |
NumExtensions: 0, |
| 1344 |
NumServices: 0, |
| 1345 |
}, |
| 1346 |
GoTypes: file_grafeas_v1_cvss_proto_goTypes, |
| 1347 |
DependencyIndexes: file_grafeas_v1_cvss_proto_depIdxs, |
| 1348 |
EnumInfos: file_grafeas_v1_cvss_proto_enumTypes, |
| 1349 |
MessageInfos: file_grafeas_v1_cvss_proto_msgTypes, |
| 1350 |
}.Build() |
| 1351 |
File_grafeas_v1_cvss_proto = out.File |
| 1352 |
file_grafeas_v1_cvss_proto_rawDesc = nil |
| 1353 |
file_grafeas_v1_cvss_proto_goTypes = nil |
| 1354 |
file_grafeas_v1_cvss_proto_depIdxs = nil |
| 1355 |
} |