xref: /aosp_15_r20/external/google-cloud-java/java-grafeas/src/main/proto/grafeas/v1/severity.proto (revision 55e87721aa1bc457b326496a7ca40f3ea1a63287)
1// Copyright 2021 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
15syntax = "proto3";
16
17package grafeas.v1;
18
19option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas";
20option java_multiple_files = true;
21option java_package = "io.grafeas.v1";
22option objc_class_prefix = "GRA";
23
24// Note provider assigned severity/impact ranking.
25enum Severity {
26  // Unknown.
27  SEVERITY_UNSPECIFIED = 0;
28  // Minimal severity.
29  MINIMAL = 1;
30  // Low severity.
31  LOW = 2;
32  // Medium severity.
33  MEDIUM = 3;
34  // High severity.
35  HIGH = 4;
36  // Critical severity.
37  CRITICAL = 5;
38}
39