1 // Copyright 2019 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.cloud.securitycenter.v1;
20 import "google/api/annotations.proto";
21 import "google/cloud/securitycenter/v1/security_marks.proto";
22 import "google/protobuf/struct.proto";
23 import "google/protobuf/timestamp.proto";
25 option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
26 option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
27 option java_multiple_files = true;
28 option java_package = "com.google.cloud.securitycenter.v1";
30 // Cloud Security Command Center (Cloud SCC) finding.
32 // A finding is a record of assessment data (security, risk, health or privacy)
33 // ingested into Cloud SCC for presentation, notification, analysis,
34 // policy testing, and enforcement. For example, an XSS vulnerability in an
35 // App Engine application is a finding.
37 // The state of the finding.
40 STATE_UNSPECIFIED = 0;
42 // The finding requires attention and has not been addressed yet.
45 // The finding has been fixed, triaged as a non-issue or otherwise addressed
46 // and is no longer active.
50 // The relative resource name of this finding. See:
51 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
53 // "organizations/123/sources/456/findings/789"
56 // The relative resource name of the source the finding belongs to. See:
57 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
58 // This field is immutable after creation time.
60 // "organizations/123/sources/456"
63 // The full resource name of the Google Cloud Platform (GCP) resource this
64 // finding is for. See:
65 // https://cloud.google.com/apis/design/resource_names#full_resource_name
66 // This field is immutable after creation time.
67 string resource_name = 3;
69 // The state of the finding.
72 // The additional taxonomy group within findings from a given source.
73 // This field is immutable after creation time.
74 // Example: "XSS_FLASH_INJECTION"
77 // The URI that, if available, points to a web page outside of Cloud SCC
78 // where additional information about the finding can be found. This field is
79 // guaranteed to be either empty or a well formed URL.
80 string external_uri = 6;
82 // Source specific properties. These properties are managed by the source
83 // that writes the finding. The key names in the source_properties map must be
84 // between 1 and 255 characters, and must start with a letter and contain
85 // alphanumeric characters or underscores only.
86 map<string, google.protobuf.Value> source_properties = 7;
88 // Output only. User specified security marks. These marks are entirely
89 // managed by the user and come from the SecurityMarks resource that belongs
91 SecurityMarks security_marks = 8;
93 // The time at which the event took place. For example, if the finding
94 // represents an open firewall it would capture the time the open firewall was
96 google.protobuf.Timestamp event_time = 9;
98 // The time at which the finding was created in Cloud SCC.
99 google.protobuf.Timestamp create_time = 10;