1
- // Copyright 2019 Google LLC.
1
+ // Copyright 2020 Google LLC
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
11
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
- //
15
14
16
15
syntax = "proto3" ;
17
16
@@ -30,30 +29,31 @@ option java_package = "com.google.cloud.securitycenter.v1p1beta1";
30
29
option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1" ;
31
30
option ruby_package = "Google::Cloud::SecurityCenter::V1p1beta1" ;
32
31
33
- // Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
34
- // Platform (GCP) resource.
32
+ // Security Command Center representation of a Google Cloud
33
+ // resource.
35
34
//
36
- // The Asset is a Cloud SCC resource that captures information about a single
37
- // GCP resource. All modifications to an Asset are only within the context of
38
- // Cloud SCC and don't affect the referenced GCP resource.
35
+ // The Asset is a Security Command Center resource that captures information
36
+ // about a single Google Cloud resource. All modifications to an Asset are only
37
+ // within the context of Security Command Center and don't affect the referenced
38
+ // Google Cloud resource.
39
39
message Asset {
40
40
option (google.api.resource ) = {
41
41
type : "securitycenter.googleapis.com/Asset"
42
42
pattern : "organizations/{organization}/assets/{asset}"
43
43
};
44
44
45
- // Cloud SCC managed properties. These properties are managed by Cloud SCC and
46
- // cannot be modified by the user.
45
+ // Security Command Center managed properties. These properties are managed by
46
+ // Security Command Center and cannot be modified by the user.
47
47
message SecurityCenterProperties {
48
- // The full resource name of the GCP resource this asset
48
+ // The full resource name of the Google Cloud resource this asset
49
49
// represents. This field is immutable after create time. See:
50
50
// https://cloud.google.com/apis/design/resource_names#full_resource_name
51
51
string resource_name = 1 ;
52
52
53
- // The type of the GCP resource. Examples include: APPLICATION,
53
+ // The type of the Google Cloud resource. Examples include: APPLICATION,
54
54
// PROJECT, and ORGANIZATION. This is a case insensitive field defined by
55
- // Cloud SCC and/or the producer of the resource and is immutable
56
- // after create time.
55
+ // Security Command Center and/or the producer of the resource and is
56
+ // immutable after create time.
57
57
string resource_type = 2 ;
58
58
59
59
// The full resource name of the immediate parent of the resource. See:
@@ -77,12 +77,13 @@ message Asset {
77
77
string resource_project_display_name = 8 ;
78
78
}
79
79
80
- // IAM Policy information associated with the GCP resource described by the
81
- // Cloud SCC asset. This information is managed and defined by the GCP
82
- // resource and cannot be modified by the user.
80
+ // Cloud IAM Policy information associated with the Google Cloud resource
81
+ // described by the Security Command Center asset. This information is managed
82
+ // and defined by the Google Cloud resource and cannot be modified by the
83
+ // user.
83
84
message IamPolicy {
84
85
// The JSON representation of the Policy associated with the asset.
85
- // See https://cloud.google.com/iam/reference/rest/v1/Policy for
86
+ // See https://cloud.google.com/iam/docs/ reference/rest/v1/Policy for
86
87
// format details.
87
88
string policy_blob = 1 ;
88
89
}
@@ -93,27 +94,28 @@ message Asset {
93
94
// "organizations/{organization_id}/assets/{asset_id}".
94
95
string name = 1 ;
95
96
96
- // Cloud SCC managed properties. These properties are managed by
97
- // Cloud SCC and cannot be modified by the user.
97
+ // Security Command Center managed properties. These properties are managed by
98
+ // Security Command Center and cannot be modified by the user.
98
99
SecurityCenterProperties security_center_properties = 2 ;
99
100
100
101
// Resource managed properties. These properties are managed and defined by
101
- // the GCP resource and cannot be modified by the user.
102
+ // the Google Cloud resource and cannot be modified by the user.
102
103
map <string , google.protobuf.Value > resource_properties = 7 ;
103
104
104
105
// User specified security marks. These marks are entirely managed by the user
105
106
// and come from the SecurityMarks resource that belongs to the asset.
106
107
SecurityMarks security_marks = 8 ;
107
108
108
- // The time at which the asset was created in Cloud SCC .
109
+ // The time at which the asset was created in Security Command Center .
109
110
google.protobuf.Timestamp create_time = 9 ;
110
111
111
112
// The time at which the asset was last updated, added, or deleted in Cloud
112
113
// SCC.
113
114
google.protobuf.Timestamp update_time = 10 ;
114
115
115
- // IAM Policy information associated with the GCP resource described by the
116
- // Cloud SCC asset. This information is managed and defined by the GCP
117
- // resource and cannot be modified by the user.
116
+ // Cloud IAM Policy information associated with the Google Cloud resource
117
+ // described by the Security Command Center asset. This information is managed
118
+ // and defined by the Google Cloud resource and cannot be modified by the
119
+ // user.
118
120
IamPolicy iam_policy = 11 ;
119
121
}
0 commit comments