Debian Codegraph @

googleapis/cloud/securitycenter/v1p1beta1/alias.go

raw
1 // Copyright 2022 Google LLC
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 aliasgen. DO NOT EDIT.
16
17 // Package securitycenter aliases all exported identifiers in package
18 // "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package securitycenter
24
25 import (
26 src "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
31 const (
32 Finding_ACTIVE = src.Finding_ACTIVE
33 Finding_CRITICAL = src.Finding_CRITICAL
34 Finding_HIGH = src.Finding_HIGH
35 Finding_INACTIVE = src.Finding_INACTIVE
36 Finding_LOW = src.Finding_LOW
37 Finding_MEDIUM = src.Finding_MEDIUM
38 Finding_SEVERITY_UNSPECIFIED = src.Finding_SEVERITY_UNSPECIFIED
39 Finding_STATE_UNSPECIFIED = src.Finding_STATE_UNSPECIFIED
40 ListAssetsResponse_ListAssetsResult_ACTIVE = src.ListAssetsResponse_ListAssetsResult_ACTIVE
41 ListAssetsResponse_ListAssetsResult_ADDED = src.ListAssetsResponse_ListAssetsResult_ADDED
42 ListAssetsResponse_ListAssetsResult_REMOVED = src.ListAssetsResponse_ListAssetsResult_REMOVED
43 ListAssetsResponse_ListAssetsResult_UNUSED = src.ListAssetsResponse_ListAssetsResult_UNUSED
44 ListFindingsResponse_ListFindingsResult_ADDED = src.ListFindingsResponse_ListFindingsResult_ADDED
45 ListFindingsResponse_ListFindingsResult_CHANGED = src.ListFindingsResponse_ListFindingsResult_CHANGED
46 ListFindingsResponse_ListFindingsResult_REMOVED = src.ListFindingsResponse_ListFindingsResult_REMOVED
47 ListFindingsResponse_ListFindingsResult_UNCHANGED = src.ListFindingsResponse_ListFindingsResult_UNCHANGED
48 ListFindingsResponse_ListFindingsResult_UNUSED = src.ListFindingsResponse_ListFindingsResult_UNUSED
49 NotificationConfig_EVENT_TYPE_UNSPECIFIED = src.NotificationConfig_EVENT_TYPE_UNSPECIFIED
50 NotificationConfig_FINDING = src.NotificationConfig_FINDING
51 OrganizationSettings_AssetDiscoveryConfig_EXCLUDE = src.OrganizationSettings_AssetDiscoveryConfig_EXCLUDE
52 OrganizationSettings_AssetDiscoveryConfig_INCLUDE_ONLY = src.OrganizationSettings_AssetDiscoveryConfig_INCLUDE_ONLY
53 OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED = src.OrganizationSettings_AssetDiscoveryConfig_INCLUSION_MODE_UNSPECIFIED
54 RunAssetDiscoveryResponse_COMPLETED = src.RunAssetDiscoveryResponse_COMPLETED
55 RunAssetDiscoveryResponse_STATE_UNSPECIFIED = src.RunAssetDiscoveryResponse_STATE_UNSPECIFIED
56 RunAssetDiscoveryResponse_SUPERSEDED = src.RunAssetDiscoveryResponse_SUPERSEDED
57 RunAssetDiscoveryResponse_TERMINATED = src.RunAssetDiscoveryResponse_TERMINATED
58 )
59
60 // Deprecated: Please use vars in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
61 var (
62 File_google_cloud_securitycenter_v1p1beta1_asset_proto = src.File_google_cloud_securitycenter_v1p1beta1_asset_proto
63 File_google_cloud_securitycenter_v1p1beta1_finding_proto = src.File_google_cloud_securitycenter_v1p1beta1_finding_proto
64 File_google_cloud_securitycenter_v1p1beta1_folder_proto = src.File_google_cloud_securitycenter_v1p1beta1_folder_proto
65 File_google_cloud_securitycenter_v1p1beta1_notification_config_proto = src.File_google_cloud_securitycenter_v1p1beta1_notification_config_proto
66 File_google_cloud_securitycenter_v1p1beta1_notification_message_proto = src.File_google_cloud_securitycenter_v1p1beta1_notification_message_proto
67 File_google_cloud_securitycenter_v1p1beta1_organization_settings_proto = src.File_google_cloud_securitycenter_v1p1beta1_organization_settings_proto
68 File_google_cloud_securitycenter_v1p1beta1_resource_proto = src.File_google_cloud_securitycenter_v1p1beta1_resource_proto
69 File_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto = src.File_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto
70 File_google_cloud_securitycenter_v1p1beta1_security_marks_proto = src.File_google_cloud_securitycenter_v1p1beta1_security_marks_proto
71 File_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto = src.File_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto
72 File_google_cloud_securitycenter_v1p1beta1_source_proto = src.File_google_cloud_securitycenter_v1p1beta1_source_proto
73 Finding_Severity_name = src.Finding_Severity_name
74 Finding_Severity_value = src.Finding_Severity_value
75 Finding_State_name = src.Finding_State_name
76 Finding_State_value = src.Finding_State_value
77 ListAssetsResponse_ListAssetsResult_StateChange_name = src.ListAssetsResponse_ListAssetsResult_StateChange_name
78 ListAssetsResponse_ListAssetsResult_StateChange_value = src.ListAssetsResponse_ListAssetsResult_StateChange_value
79 ListFindingsResponse_ListFindingsResult_StateChange_name = src.ListFindingsResponse_ListFindingsResult_StateChange_name
80 ListFindingsResponse_ListFindingsResult_StateChange_value = src.ListFindingsResponse_ListFindingsResult_StateChange_value
81 NotificationConfig_EventType_name = src.NotificationConfig_EventType_name
82 NotificationConfig_EventType_value = src.NotificationConfig_EventType_value
83 OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name = src.OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name
84 OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value = src.OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value
85 RunAssetDiscoveryResponse_State_name = src.RunAssetDiscoveryResponse_State_name
86 RunAssetDiscoveryResponse_State_value = src.RunAssetDiscoveryResponse_State_value
87 )
88
89 // Security Command Center representation of a Google Cloud resource. The
90 // Asset is a Security Command Center resource that captures information about
91 // a single Google Cloud resource. All modifications to an Asset are only
92 // within the context of Security Command Center and don't affect the
93 // referenced Google Cloud resource.
94 //
95 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
96 type Asset = src.Asset
97
98 // Cloud IAM Policy information associated with the Google Cloud resource
99 // described by the Security Command Center asset. This information is managed
100 // and defined by the Google Cloud resource and cannot be modified by the user.
101 //
102 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
103 type Asset_IamPolicy = src.Asset_IamPolicy
104
105 // Security Command Center managed properties. These properties are managed by
106 // Security Command Center and cannot be modified by the user.
107 //
108 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
109 type Asset_SecurityCenterProperties = src.Asset_SecurityCenterProperties
110
111 // Request message for creating a finding.
112 //
113 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
114 type CreateFindingRequest = src.CreateFindingRequest
115
116 // Request message for creating a notification config.
117 //
118 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
119 type CreateNotificationConfigRequest = src.CreateNotificationConfigRequest
120
121 // Request message for creating a source.
122 //
123 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
124 type CreateSourceRequest = src.CreateSourceRequest
125
126 // Request message for deleting a notification config.
127 //
128 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
129 type DeleteNotificationConfigRequest = src.DeleteNotificationConfigRequest
130
131 // Security Command Center finding. A finding is a record of assessment data
132 // (security, risk, health or privacy) ingested into Security Command Center
133 // for presentation, notification, analysis, policy testing, and enforcement.
134 // For example, an XSS vulnerability in an App Engine application is a finding.
135 //
136 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
137 type Finding = src.Finding
138
139 // The severity of the finding. This field is managed by the source that
140 // writes the finding.
141 //
142 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
143 type Finding_Severity = src.Finding_Severity
144
145 // The state of the finding.
146 //
147 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
148 type Finding_State = src.Finding_State
149
150 // Message that contains the resource name and display name of a folder
151 // resource.
152 //
153 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
154 type Folder = src.Folder
155
156 // Request message for getting a notification config.
157 //
158 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
159 type GetNotificationConfigRequest = src.GetNotificationConfigRequest
160
161 // Request message for getting organization settings.
162 //
163 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
164 type GetOrganizationSettingsRequest = src.GetOrganizationSettingsRequest
165
166 // Request message for getting a source.
167 //
168 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
169 type GetSourceRequest = src.GetSourceRequest
170
171 // Request message for grouping by assets.
172 //
173 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
174 type GroupAssetsRequest = src.GroupAssetsRequest
175
176 // Response message for grouping by assets.
177 //
178 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
179 type GroupAssetsResponse = src.GroupAssetsResponse
180
181 // Request message for grouping by findings.
182 //
183 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
184 type GroupFindingsRequest = src.GroupFindingsRequest
185
186 // Response message for group by findings.
187 //
188 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
189 type GroupFindingsResponse = src.GroupFindingsResponse
190
191 // Result containing the properties and count of a groupBy request.
192 //
193 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
194 type GroupResult = src.GroupResult
195
196 // Request message for listing assets.
197 //
198 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
199 type ListAssetsRequest = src.ListAssetsRequest
200
201 // Response message for listing assets.
202 //
203 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
204 type ListAssetsResponse = src.ListAssetsResponse
205
206 // Result containing the Asset and its State.
207 //
208 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
209 type ListAssetsResponse_ListAssetsResult = src.ListAssetsResponse_ListAssetsResult
210
211 // The change in state of the asset. When querying across two points in time
212 // this describes the change between the two points: ADDED, REMOVED, or ACTIVE.
213 // If there was no compare_duration supplied in the request the state change
214 // will be: UNUSED
215 //
216 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
217 type ListAssetsResponse_ListAssetsResult_StateChange = src.ListAssetsResponse_ListAssetsResult_StateChange
218
219 // Request message for listing findings.
220 //
221 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
222 type ListFindingsRequest = src.ListFindingsRequest
223
224 // Response message for listing findings.
225 //
226 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
227 type ListFindingsResponse = src.ListFindingsResponse
228
229 // Result containing the Finding and its StateChange.
230 //
231 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
232 type ListFindingsResponse_ListFindingsResult = src.ListFindingsResponse_ListFindingsResult
233
234 // Information related to the Google Cloud resource that is associated with
235 // this finding.
236 //
237 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
238 type ListFindingsResponse_ListFindingsResult_Resource = src.ListFindingsResponse_ListFindingsResult_Resource
239
240 // The change in state of the finding. When querying across two points in time
241 // this describes the change in the finding between the two points: CHANGED,
242 // UNCHANGED, ADDED, or REMOVED. Findings can not be deleted, so REMOVED
243 // implies that the finding at timestamp does not match the filter specified,
244 // but it did at timestamp - compare_duration. If there was no compare_duration
245 // supplied in the request the state change will be: UNUSED
246 //
247 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
248 type ListFindingsResponse_ListFindingsResult_StateChange = src.ListFindingsResponse_ListFindingsResult_StateChange
249
250 // Request message for listing notification configs.
251 //
252 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
253 type ListNotificationConfigsRequest = src.ListNotificationConfigsRequest
254
255 // Response message for listing notification configs.
256 //
257 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
258 type ListNotificationConfigsResponse = src.ListNotificationConfigsResponse
259
260 // Request message for listing sources.
261 //
262 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
263 type ListSourcesRequest = src.ListSourcesRequest
264
265 // Response message for listing sources.
266 //
267 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
268 type ListSourcesResponse = src.ListSourcesResponse
269
270 // Security Command Center notification configs. A notification config is a
271 // Security Command Center resource that contains the configuration to send
272 // notifications for create/update events of findings, assets and etc.
273 //
274 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
275 type NotificationConfig = src.NotificationConfig
276
277 // The type of events.
278 //
279 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
280 type NotificationConfig_EventType = src.NotificationConfig_EventType
281
282 // The config for streaming-based notifications, which send each event as soon
283 // as it is detected.
284 //
285 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
286 type NotificationConfig_StreamingConfig = src.NotificationConfig_StreamingConfig
287 type NotificationConfig_StreamingConfig_ = src.NotificationConfig_StreamingConfig_
288
289 // Security Command Center's Notification
290 //
291 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
292 type NotificationMessage = src.NotificationMessage
293 type NotificationMessage_Finding = src.NotificationMessage_Finding
294
295 // User specified settings that are attached to the Security Command Center
296 // organization.
297 //
298 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
299 type OrganizationSettings = src.OrganizationSettings
300
301 // The configuration used for Asset Discovery runs.
302 //
303 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
304 type OrganizationSettings_AssetDiscoveryConfig = src.OrganizationSettings_AssetDiscoveryConfig
305
306 // The mode of inclusion when running Asset Discovery. Asset discovery can be
307 // limited by explicitly identifying projects to be included or excluded. If
308 // INCLUDE_ONLY is set, then only those projects within the organization and
309 // their children are discovered during asset discovery. If EXCLUDE is set,
310 // then projects that don't match those projects are discovered during asset
311 // discovery. If neither are set, then all projects within the organization are
312 // discovered during asset discovery.
313 //
314 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
315 type OrganizationSettings_AssetDiscoveryConfig_InclusionMode = src.OrganizationSettings_AssetDiscoveryConfig_InclusionMode
316
317 // Information related to the Google Cloud resource.
318 //
319 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
320 type Resource = src.Resource
321
322 // Request message for running asset discovery for an organization.
323 //
324 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
325 type RunAssetDiscoveryRequest = src.RunAssetDiscoveryRequest
326
327 // Response of asset discovery run
328 //
329 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
330 type RunAssetDiscoveryResponse = src.RunAssetDiscoveryResponse
331
332 // The state of an asset discovery run.
333 //
334 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
335 type RunAssetDiscoveryResponse_State = src.RunAssetDiscoveryResponse_State
336
337 // SecurityCenterClient is the client API for SecurityCenter service. For
338 // semantics around ctx use and closing/ending streaming RPCs, please refer to
339 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
340 //
341 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
342 type SecurityCenterClient = src.SecurityCenterClient
343
344 // SecurityCenterServer is the server API for SecurityCenter service.
345 //
346 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
347 type SecurityCenterServer = src.SecurityCenterServer
348
349 // User specified security marks that are attached to the parent Security
350 // Command Center resource. Security marks are scoped within a Security Command
351 // Center organization -- they can be modified and viewed by all users who have
352 // proper permissions on the organization.
353 //
354 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
355 type SecurityMarks = src.SecurityMarks
356
357 // Request message for updating a finding's state.
358 //
359 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
360 type SetFindingStateRequest = src.SetFindingStateRequest
361
362 // Security Command Center finding source. A finding source is an entity or a
363 // mechanism that can produce a finding. A source is like a container of
364 // findings that come from the same scanner, logger, monitor, etc.
365 //
366 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
367 type Source = src.Source
368
369 // UnimplementedSecurityCenterServer can be embedded to have forward
370 // compatible implementations.
371 //
372 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
373 type UnimplementedSecurityCenterServer = src.UnimplementedSecurityCenterServer
374
375 // Request message for updating or creating a finding.
376 //
377 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
378 type UpdateFindingRequest = src.UpdateFindingRequest
379
380 // Request message for updating a notification config.
381 //
382 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
383 type UpdateNotificationConfigRequest = src.UpdateNotificationConfigRequest
384
385 // Request message for updating an organization's settings.
386 //
387 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
388 type UpdateOrganizationSettingsRequest = src.UpdateOrganizationSettingsRequest
389
390 // Request message for updating a SecurityMarks resource.
391 //
392 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
393 type UpdateSecurityMarksRequest = src.UpdateSecurityMarksRequest
394
395 // Request message for updating a source.
396 //
397 // Deprecated: Please use types in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
398 type UpdateSourceRequest = src.UpdateSourceRequest
399
400 // Deprecated: Please use funcs in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
401 func NewSecurityCenterClient(cc grpc.ClientConnInterface) SecurityCenterClient {
402 return src.NewSecurityCenterClient(cc)
403 }
404
405 // Deprecated: Please use funcs in: cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb
406 func RegisterSecurityCenterServer(s *grpc.Server, srv SecurityCenterServer) {
407 src.RegisterSecurityCenterServer(s, srv)
408 }