google-apis-securitycenter_v1 0.46.0 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +106 -6
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +24 -0
- data/lib/google/apis/securitycenter_v1/service.rb +87 -78
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3997cb26577df51df1c19103f6c3f07810d90eb3f967dfd6b950fecc26db4ba
|
4
|
+
data.tar.gz: 167a8aeb7b4fdbcbcda80884f7d4d65717bce9735f951e884a6613f7f8d7f0e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac6481ddab1b9a1fa9abf40a2b8a2f259cd93b0e8ae5adfa71360fd4c1ed2af7bc0cdc3ae4ad005dde664bd626cd6ac23dedb361c084a16a98a0a4249e45236
|
7
|
+
data.tar.gz: a0434438fed59cc3cba92203f397600809929f50317e042f8c9d5b1ae97a1a37f0df0d35a308e836672ae43d05a401a1b6cfbe3bbc105f60e7e4e16cd86f9dbe
|
data/CHANGELOG.md
CHANGED
@@ -300,6 +300,11 @@ module Google
|
|
300
300
|
# @return [String]
|
301
301
|
attr_accessor :finding_category
|
302
302
|
|
303
|
+
# Full resource name of the finding.
|
304
|
+
# Corresponds to the JSON property `name`
|
305
|
+
# @return [String]
|
306
|
+
attr_accessor :name
|
307
|
+
|
303
308
|
def initialize(**args)
|
304
309
|
update!(**args)
|
305
310
|
end
|
@@ -308,6 +313,7 @@ module Google
|
|
308
313
|
def update!(**args)
|
309
314
|
@canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
|
310
315
|
@finding_category = args[:finding_category] if args.key?(:finding_category)
|
316
|
+
@name = args[:name] if args.key?(:name)
|
311
317
|
end
|
312
318
|
end
|
313
319
|
|
@@ -1203,6 +1209,11 @@ module Google
|
|
1203
1209
|
# @return [Google::Apis::SecuritycenterV1::Indicator]
|
1204
1210
|
attr_accessor :indicator
|
1205
1211
|
|
1212
|
+
# Kernel mode rootkit signatures.
|
1213
|
+
# Corresponds to the JSON property `kernelRootkit`
|
1214
|
+
# @return [Google::Apis::SecuritycenterV1::KernelRootkit]
|
1215
|
+
attr_accessor :kernel_rootkit
|
1216
|
+
|
1206
1217
|
# Kubernetes related attributes.
|
1207
1218
|
# Corresponds to the JSON property `kubernetes`
|
1208
1219
|
# @return [Google::Apis::SecuritycenterV1::Kubernetes]
|
@@ -1330,6 +1341,7 @@ module Google
|
|
1330
1341
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
1331
1342
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
1332
1343
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1344
|
+
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
1333
1345
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1334
1346
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1335
1347
|
@mute = args[:mute] if args.key?(:mute)
|
@@ -1685,10 +1697,10 @@ module Google
|
|
1685
1697
|
# @return [String]
|
1686
1698
|
attr_accessor :external_uid
|
1687
1699
|
|
1688
|
-
#
|
1689
|
-
# sources/5678/findings/123456/externalSystems/jira
|
1690
|
-
# findings/123456/externalSystems/jira
|
1691
|
-
# 123456/externalSystems/jira
|
1700
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
1701
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
1702
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
1703
|
+
# 123456/externalSystems/jira"
|
1692
1704
|
# Corresponds to the JSON property `name`
|
1693
1705
|
# @return [String]
|
1694
1706
|
attr_accessor :name
|
@@ -2699,6 +2711,87 @@ module Google
|
|
2699
2711
|
end
|
2700
2712
|
end
|
2701
2713
|
|
2714
|
+
# Kernel mode rootkit signatures.
|
2715
|
+
class KernelRootkit
|
2716
|
+
include Google::Apis::Core::Hashable
|
2717
|
+
|
2718
|
+
# Rootkit name when available.
|
2719
|
+
# Corresponds to the JSON property `name`
|
2720
|
+
# @return [String]
|
2721
|
+
attr_accessor :name
|
2722
|
+
|
2723
|
+
# True when unexpected modifications of kernel read-only data memory are present.
|
2724
|
+
# Corresponds to the JSON property `unexpectedCodeModification`
|
2725
|
+
# @return [Boolean]
|
2726
|
+
attr_accessor :unexpected_code_modification
|
2727
|
+
alias_method :unexpected_code_modification?, :unexpected_code_modification
|
2728
|
+
|
2729
|
+
# True when `ftrace` points are present with callbacks pointing to regions that
|
2730
|
+
# are not in the expected kernel or module code range.
|
2731
|
+
# Corresponds to the JSON property `unexpectedFtraceHandler`
|
2732
|
+
# @return [Boolean]
|
2733
|
+
attr_accessor :unexpected_ftrace_handler
|
2734
|
+
alias_method :unexpected_ftrace_handler?, :unexpected_ftrace_handler
|
2735
|
+
|
2736
|
+
# True when interrupt handlers that are are not in the expected kernel or module
|
2737
|
+
# code regions are present.
|
2738
|
+
# Corresponds to the JSON property `unexpectedInterruptHandler`
|
2739
|
+
# @return [Boolean]
|
2740
|
+
attr_accessor :unexpected_interrupt_handler
|
2741
|
+
alias_method :unexpected_interrupt_handler?, :unexpected_interrupt_handler
|
2742
|
+
|
2743
|
+
# True when kernel code pages that are not in the expected kernel or module code
|
2744
|
+
# regions are present.
|
2745
|
+
# Corresponds to the JSON property `unexpectedKernelCodePages`
|
2746
|
+
# @return [Boolean]
|
2747
|
+
attr_accessor :unexpected_kernel_code_pages
|
2748
|
+
alias_method :unexpected_kernel_code_pages?, :unexpected_kernel_code_pages
|
2749
|
+
|
2750
|
+
# True when `kprobe` points are present with callbacks pointing to regions that
|
2751
|
+
# are not in the expected kernel or module code range.
|
2752
|
+
# Corresponds to the JSON property `unexpectedKprobeHandler`
|
2753
|
+
# @return [Boolean]
|
2754
|
+
attr_accessor :unexpected_kprobe_handler
|
2755
|
+
alias_method :unexpected_kprobe_handler?, :unexpected_kprobe_handler
|
2756
|
+
|
2757
|
+
# True when unexpected processes in the scheduler run queue are present. Such
|
2758
|
+
# processes are in the run queue, but not in the process task list.
|
2759
|
+
# Corresponds to the JSON property `unexpectedProcessesInRunqueue`
|
2760
|
+
# @return [Boolean]
|
2761
|
+
attr_accessor :unexpected_processes_in_runqueue
|
2762
|
+
alias_method :unexpected_processes_in_runqueue?, :unexpected_processes_in_runqueue
|
2763
|
+
|
2764
|
+
# Flag indicating unexpected modifications of kernel read-only data memory.
|
2765
|
+
# Corresponds to the JSON property `unexpectedReadOnlyDataModification`
|
2766
|
+
# @return [Boolean]
|
2767
|
+
attr_accessor :unexpected_read_only_data_modification
|
2768
|
+
alias_method :unexpected_read_only_data_modification?, :unexpected_read_only_data_modification
|
2769
|
+
|
2770
|
+
# True when system call handlers that are are not in the expected kernel or
|
2771
|
+
# module code regions are present.
|
2772
|
+
# Corresponds to the JSON property `unexpectedSystemCallHandler`
|
2773
|
+
# @return [Boolean]
|
2774
|
+
attr_accessor :unexpected_system_call_handler
|
2775
|
+
alias_method :unexpected_system_call_handler?, :unexpected_system_call_handler
|
2776
|
+
|
2777
|
+
def initialize(**args)
|
2778
|
+
update!(**args)
|
2779
|
+
end
|
2780
|
+
|
2781
|
+
# Update properties of this object
|
2782
|
+
def update!(**args)
|
2783
|
+
@name = args[:name] if args.key?(:name)
|
2784
|
+
@unexpected_code_modification = args[:unexpected_code_modification] if args.key?(:unexpected_code_modification)
|
2785
|
+
@unexpected_ftrace_handler = args[:unexpected_ftrace_handler] if args.key?(:unexpected_ftrace_handler)
|
2786
|
+
@unexpected_interrupt_handler = args[:unexpected_interrupt_handler] if args.key?(:unexpected_interrupt_handler)
|
2787
|
+
@unexpected_kernel_code_pages = args[:unexpected_kernel_code_pages] if args.key?(:unexpected_kernel_code_pages)
|
2788
|
+
@unexpected_kprobe_handler = args[:unexpected_kprobe_handler] if args.key?(:unexpected_kprobe_handler)
|
2789
|
+
@unexpected_processes_in_runqueue = args[:unexpected_processes_in_runqueue] if args.key?(:unexpected_processes_in_runqueue)
|
2790
|
+
@unexpected_read_only_data_modification = args[:unexpected_read_only_data_modification] if args.key?(:unexpected_read_only_data_modification)
|
2791
|
+
@unexpected_system_call_handler = args[:unexpected_system_call_handler] if args.key?(:unexpected_system_call_handler)
|
2792
|
+
end
|
2793
|
+
end
|
2794
|
+
|
2702
2795
|
# Kubernetes related attributes.
|
2703
2796
|
class Kubernetes
|
2704
2797
|
include Google::Apis::Core::Hashable
|
@@ -3181,7 +3274,9 @@ module Google
|
|
3181
3274
|
|
3182
3275
|
# The relative resource name of this notification config. See: https://cloud.
|
3183
3276
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
3184
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
3277
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
3278
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
3279
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
3185
3280
|
# Corresponds to the JSON property `name`
|
3186
3281
|
# @return [String]
|
3187
3282
|
attr_accessor :name
|
@@ -3881,7 +3976,12 @@ module Google
|
|
3881
3976
|
end
|
3882
3977
|
end
|
3883
3978
|
|
3884
|
-
# Request message for updating a finding's state.
|
3979
|
+
# Request message for updating a finding's state. The [relative resource name](
|
3980
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name) of
|
3981
|
+
# the finding. Example: "organizations/`organization_id`/sources/`source_id`/
|
3982
|
+
# findings/`finding_id`", "folders/`folder_id`/sources/`source_id`/findings/`
|
3983
|
+
# finding_id`", "projects/`project_id`/sources/`source_id`/findings/`finding_id`"
|
3984
|
+
# .
|
3885
3985
|
class SetFindingStateRequest
|
3886
3986
|
include Google::Apis::Core::Hashable
|
3887
3987
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221205"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class KernelRootkit
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class Kubernetes
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -666,6 +672,7 @@ module Google
|
|
666
672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
667
673
|
property :canonical_finding_name, as: 'canonicalFindingName'
|
668
674
|
property :finding_category, as: 'findingCategory'
|
675
|
+
property :name, as: 'name'
|
669
676
|
end
|
670
677
|
end
|
671
678
|
|
@@ -890,6 +897,8 @@ module Google
|
|
890
897
|
|
891
898
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
892
899
|
|
900
|
+
property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1::KernelRootkit, decorator: Google::Apis::SecuritycenterV1::KernelRootkit::Representation
|
901
|
+
|
893
902
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::Kubernetes, decorator: Google::Apis::SecuritycenterV1::Kubernetes::Representation
|
894
903
|
|
895
904
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
|
@@ -1227,6 +1236,21 @@ module Google
|
|
1227
1236
|
end
|
1228
1237
|
end
|
1229
1238
|
|
1239
|
+
class KernelRootkit
|
1240
|
+
# @private
|
1241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1242
|
+
property :name, as: 'name'
|
1243
|
+
property :unexpected_code_modification, as: 'unexpectedCodeModification'
|
1244
|
+
property :unexpected_ftrace_handler, as: 'unexpectedFtraceHandler'
|
1245
|
+
property :unexpected_interrupt_handler, as: 'unexpectedInterruptHandler'
|
1246
|
+
property :unexpected_kernel_code_pages, as: 'unexpectedKernelCodePages'
|
1247
|
+
property :unexpected_kprobe_handler, as: 'unexpectedKprobeHandler'
|
1248
|
+
property :unexpected_processes_in_runqueue, as: 'unexpectedProcessesInRunqueue'
|
1249
|
+
property :unexpected_read_only_data_modification, as: 'unexpectedReadOnlyDataModification'
|
1250
|
+
property :unexpected_system_call_handler, as: 'unexpectedSystemCallHandler'
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1230
1254
|
class Kubernetes
|
1231
1255
|
# @private
|
1232
1256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -52,7 +52,7 @@ module Google
|
|
52
52
|
|
53
53
|
# Filters an organization's assets and groups them by their specified properties.
|
54
54
|
# @param [String] parent
|
55
|
-
# Required. Name of the
|
55
|
+
# Required. Name of the parent to groupBy. Its format is "organizations/[
|
56
56
|
# organization_id], folders/[folder_id], or projects/[project_id]".
|
57
57
|
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
|
58
58
|
# @param [String] fields
|
@@ -86,7 +86,7 @@ module Google
|
|
86
86
|
|
87
87
|
# Lists an organization's assets.
|
88
88
|
# @param [String] parent
|
89
|
-
# Required. Name of the
|
89
|
+
# Required. Name of the parent assets should belong to. Its format is "
|
90
90
|
# organizations/[organization_id], folders/[folder_id], or projects/[project_id]"
|
91
91
|
# .
|
92
92
|
# @param [String] compare_duration
|
@@ -248,9 +248,9 @@ module Google
|
|
248
248
|
execute_or_queue_command(command, &block)
|
249
249
|
end
|
250
250
|
|
251
|
-
# Creates a
|
251
|
+
# Creates a BigQuery export.
|
252
252
|
# @param [String] parent
|
253
|
-
# Required. Resource name of the new
|
253
|
+
# Required. Resource name of the new BigQuery export's parent. Its format is "
|
254
254
|
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
255
255
|
# project_id]".
|
256
256
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
|
@@ -288,9 +288,9 @@ module Google
|
|
288
288
|
execute_or_queue_command(command, &block)
|
289
289
|
end
|
290
290
|
|
291
|
-
# Deletes an existing
|
291
|
+
# Deletes an existing BigQuery export.
|
292
292
|
# @param [String] name
|
293
|
-
# Required. Name of the
|
293
|
+
# Required. Name of the BigQuery export to delete. Its format is organizations/`
|
294
294
|
# organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
295
295
|
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
296
296
|
# @param [String] fields
|
@@ -320,11 +320,11 @@ module Google
|
|
320
320
|
execute_or_queue_command(command, &block)
|
321
321
|
end
|
322
322
|
|
323
|
-
# Gets a
|
323
|
+
# Gets a BigQuery export.
|
324
324
|
# @param [String] name
|
325
|
-
# Required. Name of the
|
326
|
-
#
|
327
|
-
#
|
325
|
+
# Required. Name of the BigQuery export to retrieve. Its format is organizations/
|
326
|
+
# `organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
327
|
+
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
328
328
|
# @param [String] fields
|
329
329
|
# Selector specifying which fields to include in a partial response.
|
330
330
|
# @param [String] quota_user
|
@@ -669,7 +669,7 @@ module Google
|
|
669
669
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
670
670
|
# @param [String] config_id
|
671
671
|
# Required. Unique identifier provided by the client within the parent scope. It
|
672
|
-
# must be between 1 and 128 characters, and
|
672
|
+
# must be between 1 and 128 characters, and contain alphanumeric characters,
|
673
673
|
# underscores or hyphens only.
|
674
674
|
# @param [String] fields
|
675
675
|
# Selector specifying which fields to include in a partial response.
|
@@ -704,7 +704,9 @@ module Google
|
|
704
704
|
# Deletes a notification config.
|
705
705
|
# @param [String] name
|
706
706
|
# Required. Name of the notification config to delete. Its format is "
|
707
|
-
# organizations/[organization_id]/notificationConfigs/[config_id]"
|
707
|
+
# organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[
|
708
|
+
# folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/
|
709
|
+
# notificationConfigs/[config_id]".
|
708
710
|
# @param [String] fields
|
709
711
|
# Selector specifying which fields to include in a partial response.
|
710
712
|
# @param [String] quota_user
|
@@ -735,7 +737,9 @@ module Google
|
|
735
737
|
# Gets a notification config.
|
736
738
|
# @param [String] name
|
737
739
|
# Required. Name of the notification config to get. Its format is "organizations/
|
738
|
-
# [organization_id]/notificationConfigs/[config_id]"
|
740
|
+
# [organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/
|
741
|
+
# notificationConfigs/[config_id]", or "projects/[project_id]/
|
742
|
+
# notificationConfigs/[config_id]".
|
739
743
|
# @param [String] fields
|
740
744
|
# Selector specifying which fields to include in a partial response.
|
741
745
|
# @param [String] quota_user
|
@@ -765,8 +769,8 @@ module Google
|
|
765
769
|
|
766
770
|
# Lists notification configs.
|
767
771
|
# @param [String] parent
|
768
|
-
# Required. Name of the
|
769
|
-
#
|
772
|
+
# Required. Name of the parent to list notification configs. Its format is "
|
773
|
+
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
770
774
|
# project_id]".
|
771
775
|
# @param [Fixnum] page_size
|
772
776
|
# The maximum number of results to return in a single response. Default is 10,
|
@@ -809,7 +813,9 @@ module Google
|
|
809
813
|
# @param [String] name
|
810
814
|
# The relative resource name of this notification config. See: https://cloud.
|
811
815
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
812
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
816
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
817
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
818
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
813
819
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
814
820
|
# @param [String] update_mask
|
815
821
|
# The FieldMask to use when updating the notification config. If empty all
|
@@ -1085,9 +1091,9 @@ module Google
|
|
1085
1091
|
|
1086
1092
|
# Updates the mute state of a finding.
|
1087
1093
|
# @param [String] name
|
1088
|
-
# Required. The relative resource name
|
1089
|
-
#
|
1090
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
1094
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
1095
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
1096
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
1091
1097
|
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
1092
1098
|
# sources/`source_id`/findings/`finding_id`".
|
1093
1099
|
# @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
|
@@ -1122,9 +1128,6 @@ module Google
|
|
1122
1128
|
|
1123
1129
|
# Updates the state of a finding.
|
1124
1130
|
# @param [String] name
|
1125
|
-
# Required. The relative resource name of the finding. See: https://cloud.google.
|
1126
|
-
# com/apis/design/resource_names#relative_resource_name Example: "organizations/`
|
1127
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`".
|
1128
1131
|
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
|
1129
1132
|
# @param [String] fields
|
1130
1133
|
# Selector specifying which fields to include in a partial response.
|
@@ -1204,10 +1207,10 @@ module Google
|
|
1204
1207
|
|
1205
1208
|
# Updates external system. This is for a given finding.
|
1206
1209
|
# @param [String] name
|
1207
|
-
#
|
1208
|
-
# sources/5678/findings/123456/externalSystems/jira
|
1209
|
-
# findings/123456/externalSystems/jira
|
1210
|
-
# 123456/externalSystems/jira
|
1210
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
1211
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
1212
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
1213
|
+
# 123456/externalSystems/jira"
|
1211
1214
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem] google_cloud_securitycenter_v1_external_system_object
|
1212
1215
|
# @param [String] update_mask
|
1213
1216
|
# The FieldMask to use when updating the external system resource. If empty all
|
@@ -1314,7 +1317,7 @@ module Google
|
|
1314
1317
|
|
1315
1318
|
# Filters an organization's assets and groups them by their specified properties.
|
1316
1319
|
# @param [String] parent
|
1317
|
-
# Required. Name of the
|
1320
|
+
# Required. Name of the parent to groupBy. Its format is "organizations/[
|
1318
1321
|
# organization_id], folders/[folder_id], or projects/[project_id]".
|
1319
1322
|
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
|
1320
1323
|
# @param [String] fields
|
@@ -1348,7 +1351,7 @@ module Google
|
|
1348
1351
|
|
1349
1352
|
# Lists an organization's assets.
|
1350
1353
|
# @param [String] parent
|
1351
|
-
# Required. Name of the
|
1354
|
+
# Required. Name of the parent assets should belong to. Its format is "
|
1352
1355
|
# organizations/[organization_id], folders/[folder_id], or projects/[project_id]"
|
1353
1356
|
# .
|
1354
1357
|
# @param [String] compare_duration
|
@@ -1546,9 +1549,9 @@ module Google
|
|
1546
1549
|
execute_or_queue_command(command, &block)
|
1547
1550
|
end
|
1548
1551
|
|
1549
|
-
# Creates a
|
1552
|
+
# Creates a BigQuery export.
|
1550
1553
|
# @param [String] parent
|
1551
|
-
# Required. Resource name of the new
|
1554
|
+
# Required. Resource name of the new BigQuery export's parent. Its format is "
|
1552
1555
|
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
1553
1556
|
# project_id]".
|
1554
1557
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
|
@@ -1586,9 +1589,9 @@ module Google
|
|
1586
1589
|
execute_or_queue_command(command, &block)
|
1587
1590
|
end
|
1588
1591
|
|
1589
|
-
# Deletes an existing
|
1592
|
+
# Deletes an existing BigQuery export.
|
1590
1593
|
# @param [String] name
|
1591
|
-
# Required. Name of the
|
1594
|
+
# Required. Name of the BigQuery export to delete. Its format is organizations/`
|
1592
1595
|
# organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
1593
1596
|
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
1594
1597
|
# @param [String] fields
|
@@ -1618,11 +1621,11 @@ module Google
|
|
1618
1621
|
execute_or_queue_command(command, &block)
|
1619
1622
|
end
|
1620
1623
|
|
1621
|
-
# Gets a
|
1624
|
+
# Gets a BigQuery export.
|
1622
1625
|
# @param [String] name
|
1623
|
-
# Required. Name of the
|
1624
|
-
#
|
1625
|
-
#
|
1626
|
+
# Required. Name of the BigQuery export to retrieve. Its format is organizations/
|
1627
|
+
# `organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
1628
|
+
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
1626
1629
|
# @param [String] fields
|
1627
1630
|
# Selector specifying which fields to include in a partial response.
|
1628
1631
|
# @param [String] quota_user
|
@@ -1967,7 +1970,7 @@ module Google
|
|
1967
1970
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
1968
1971
|
# @param [String] config_id
|
1969
1972
|
# Required. Unique identifier provided by the client within the parent scope. It
|
1970
|
-
# must be between 1 and 128 characters, and
|
1973
|
+
# must be between 1 and 128 characters, and contain alphanumeric characters,
|
1971
1974
|
# underscores or hyphens only.
|
1972
1975
|
# @param [String] fields
|
1973
1976
|
# Selector specifying which fields to include in a partial response.
|
@@ -2002,7 +2005,9 @@ module Google
|
|
2002
2005
|
# Deletes a notification config.
|
2003
2006
|
# @param [String] name
|
2004
2007
|
# Required. Name of the notification config to delete. Its format is "
|
2005
|
-
# organizations/[organization_id]/notificationConfigs/[config_id]"
|
2008
|
+
# organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[
|
2009
|
+
# folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/
|
2010
|
+
# notificationConfigs/[config_id]".
|
2006
2011
|
# @param [String] fields
|
2007
2012
|
# Selector specifying which fields to include in a partial response.
|
2008
2013
|
# @param [String] quota_user
|
@@ -2033,7 +2038,9 @@ module Google
|
|
2033
2038
|
# Gets a notification config.
|
2034
2039
|
# @param [String] name
|
2035
2040
|
# Required. Name of the notification config to get. Its format is "organizations/
|
2036
|
-
# [organization_id]/notificationConfigs/[config_id]"
|
2041
|
+
# [organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/
|
2042
|
+
# notificationConfigs/[config_id]", or "projects/[project_id]/
|
2043
|
+
# notificationConfigs/[config_id]".
|
2037
2044
|
# @param [String] fields
|
2038
2045
|
# Selector specifying which fields to include in a partial response.
|
2039
2046
|
# @param [String] quota_user
|
@@ -2063,8 +2070,8 @@ module Google
|
|
2063
2070
|
|
2064
2071
|
# Lists notification configs.
|
2065
2072
|
# @param [String] parent
|
2066
|
-
# Required. Name of the
|
2067
|
-
#
|
2073
|
+
# Required. Name of the parent to list notification configs. Its format is "
|
2074
|
+
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
2068
2075
|
# project_id]".
|
2069
2076
|
# @param [Fixnum] page_size
|
2070
2077
|
# The maximum number of results to return in a single response. Default is 10,
|
@@ -2107,7 +2114,9 @@ module Google
|
|
2107
2114
|
# @param [String] name
|
2108
2115
|
# The relative resource name of this notification config. See: https://cloud.
|
2109
2116
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
2110
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
2117
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
2118
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
2119
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
2111
2120
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
2112
2121
|
# @param [String] update_mask
|
2113
2122
|
# The FieldMask to use when updating the notification config. If empty all
|
@@ -2779,9 +2788,9 @@ module Google
|
|
2779
2788
|
|
2780
2789
|
# Updates the mute state of a finding.
|
2781
2790
|
# @param [String] name
|
2782
|
-
# Required. The relative resource name
|
2783
|
-
#
|
2784
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
2791
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
2792
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
2793
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
2785
2794
|
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
2786
2795
|
# sources/`source_id`/findings/`finding_id`".
|
2787
2796
|
# @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
|
@@ -2816,9 +2825,6 @@ module Google
|
|
2816
2825
|
|
2817
2826
|
# Updates the state of a finding.
|
2818
2827
|
# @param [String] name
|
2819
|
-
# Required. The relative resource name of the finding. See: https://cloud.google.
|
2820
|
-
# com/apis/design/resource_names#relative_resource_name Example: "organizations/`
|
2821
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`".
|
2822
2828
|
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
|
2823
2829
|
# @param [String] fields
|
2824
2830
|
# Selector specifying which fields to include in a partial response.
|
@@ -2898,10 +2904,10 @@ module Google
|
|
2898
2904
|
|
2899
2905
|
# Updates external system. This is for a given finding.
|
2900
2906
|
# @param [String] name
|
2901
|
-
#
|
2902
|
-
# sources/5678/findings/123456/externalSystems/jira
|
2903
|
-
# findings/123456/externalSystems/jira
|
2904
|
-
# 123456/externalSystems/jira
|
2907
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
2908
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
2909
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
2910
|
+
# 123456/externalSystems/jira"
|
2905
2911
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem] google_cloud_securitycenter_v1_external_system_object
|
2906
2912
|
# @param [String] update_mask
|
2907
2913
|
# The FieldMask to use when updating the external system resource. If empty all
|
@@ -2938,7 +2944,7 @@ module Google
|
|
2938
2944
|
|
2939
2945
|
# Filters an organization's assets and groups them by their specified properties.
|
2940
2946
|
# @param [String] parent
|
2941
|
-
# Required. Name of the
|
2947
|
+
# Required. Name of the parent to groupBy. Its format is "organizations/[
|
2942
2948
|
# organization_id], folders/[folder_id], or projects/[project_id]".
|
2943
2949
|
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
|
2944
2950
|
# @param [String] fields
|
@@ -2972,7 +2978,7 @@ module Google
|
|
2972
2978
|
|
2973
2979
|
# Lists an organization's assets.
|
2974
2980
|
# @param [String] parent
|
2975
|
-
# Required. Name of the
|
2981
|
+
# Required. Name of the parent assets should belong to. Its format is "
|
2976
2982
|
# organizations/[organization_id], folders/[folder_id], or projects/[project_id]"
|
2977
2983
|
# .
|
2978
2984
|
# @param [String] compare_duration
|
@@ -3134,9 +3140,9 @@ module Google
|
|
3134
3140
|
execute_or_queue_command(command, &block)
|
3135
3141
|
end
|
3136
3142
|
|
3137
|
-
# Creates a
|
3143
|
+
# Creates a BigQuery export.
|
3138
3144
|
# @param [String] parent
|
3139
|
-
# Required. Resource name of the new
|
3145
|
+
# Required. Resource name of the new BigQuery export's parent. Its format is "
|
3140
3146
|
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
3141
3147
|
# project_id]".
|
3142
3148
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
|
@@ -3174,9 +3180,9 @@ module Google
|
|
3174
3180
|
execute_or_queue_command(command, &block)
|
3175
3181
|
end
|
3176
3182
|
|
3177
|
-
# Deletes an existing
|
3183
|
+
# Deletes an existing BigQuery export.
|
3178
3184
|
# @param [String] name
|
3179
|
-
# Required. Name of the
|
3185
|
+
# Required. Name of the BigQuery export to delete. Its format is organizations/`
|
3180
3186
|
# organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
3181
3187
|
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
3182
3188
|
# @param [String] fields
|
@@ -3206,11 +3212,11 @@ module Google
|
|
3206
3212
|
execute_or_queue_command(command, &block)
|
3207
3213
|
end
|
3208
3214
|
|
3209
|
-
# Gets a
|
3215
|
+
# Gets a BigQuery export.
|
3210
3216
|
# @param [String] name
|
3211
|
-
# Required. Name of the
|
3212
|
-
#
|
3213
|
-
#
|
3217
|
+
# Required. Name of the BigQuery export to retrieve. Its format is organizations/
|
3218
|
+
# `organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
|
3219
|
+
# export_id`, or projects/`project`/bigQueryExports/`export_id`
|
3214
3220
|
# @param [String] fields
|
3215
3221
|
# Selector specifying which fields to include in a partial response.
|
3216
3222
|
# @param [String] quota_user
|
@@ -3555,7 +3561,7 @@ module Google
|
|
3555
3561
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
3556
3562
|
# @param [String] config_id
|
3557
3563
|
# Required. Unique identifier provided by the client within the parent scope. It
|
3558
|
-
# must be between 1 and 128 characters, and
|
3564
|
+
# must be between 1 and 128 characters, and contain alphanumeric characters,
|
3559
3565
|
# underscores or hyphens only.
|
3560
3566
|
# @param [String] fields
|
3561
3567
|
# Selector specifying which fields to include in a partial response.
|
@@ -3590,7 +3596,9 @@ module Google
|
|
3590
3596
|
# Deletes a notification config.
|
3591
3597
|
# @param [String] name
|
3592
3598
|
# Required. Name of the notification config to delete. Its format is "
|
3593
|
-
# organizations/[organization_id]/notificationConfigs/[config_id]"
|
3599
|
+
# organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[
|
3600
|
+
# folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/
|
3601
|
+
# notificationConfigs/[config_id]".
|
3594
3602
|
# @param [String] fields
|
3595
3603
|
# Selector specifying which fields to include in a partial response.
|
3596
3604
|
# @param [String] quota_user
|
@@ -3621,7 +3629,9 @@ module Google
|
|
3621
3629
|
# Gets a notification config.
|
3622
3630
|
# @param [String] name
|
3623
3631
|
# Required. Name of the notification config to get. Its format is "organizations/
|
3624
|
-
# [organization_id]/notificationConfigs/[config_id]"
|
3632
|
+
# [organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/
|
3633
|
+
# notificationConfigs/[config_id]", or "projects/[project_id]/
|
3634
|
+
# notificationConfigs/[config_id]".
|
3625
3635
|
# @param [String] fields
|
3626
3636
|
# Selector specifying which fields to include in a partial response.
|
3627
3637
|
# @param [String] quota_user
|
@@ -3651,8 +3661,8 @@ module Google
|
|
3651
3661
|
|
3652
3662
|
# Lists notification configs.
|
3653
3663
|
# @param [String] parent
|
3654
|
-
# Required. Name of the
|
3655
|
-
#
|
3664
|
+
# Required. Name of the parent to list notification configs. Its format is "
|
3665
|
+
# organizations/[organization_id]", "folders/[folder_id]", or "projects/[
|
3656
3666
|
# project_id]".
|
3657
3667
|
# @param [Fixnum] page_size
|
3658
3668
|
# The maximum number of results to return in a single response. Default is 10,
|
@@ -3695,7 +3705,9 @@ module Google
|
|
3695
3705
|
# @param [String] name
|
3696
3706
|
# The relative resource name of this notification config. See: https://cloud.
|
3697
3707
|
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
3698
|
-
# organizations/`organization_id`/notificationConfigs/notify_public_bucket"
|
3708
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket", "
|
3709
|
+
# folders/`folder_id`/notificationConfigs/notify_public_bucket", or "projects/`
|
3710
|
+
# project_id`/notificationConfigs/notify_public_bucket".
|
3699
3711
|
# @param [Google::Apis::SecuritycenterV1::NotificationConfig] notification_config_object
|
3700
3712
|
# @param [String] update_mask
|
3701
3713
|
# The FieldMask to use when updating the notification config. If empty all
|
@@ -3971,9 +3983,9 @@ module Google
|
|
3971
3983
|
|
3972
3984
|
# Updates the mute state of a finding.
|
3973
3985
|
# @param [String] name
|
3974
|
-
# Required. The relative resource name
|
3975
|
-
#
|
3976
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
3986
|
+
# Required. The [relative resource name](https://cloud.google.com/apis/design/
|
3987
|
+
# resource_names#relative_resource_name) of the finding. Example: "organizations/
|
3988
|
+
# `organization_id`/sources/`source_id`/findings/`finding_id`", "folders/`
|
3977
3989
|
# folder_id`/sources/`source_id`/findings/`finding_id`", "projects/`project_id`/
|
3978
3990
|
# sources/`source_id`/findings/`finding_id`".
|
3979
3991
|
# @param [Google::Apis::SecuritycenterV1::SetMuteRequest] set_mute_request_object
|
@@ -4008,9 +4020,6 @@ module Google
|
|
4008
4020
|
|
4009
4021
|
# Updates the state of a finding.
|
4010
4022
|
# @param [String] name
|
4011
|
-
# Required. The relative resource name of the finding. See: https://cloud.google.
|
4012
|
-
# com/apis/design/resource_names#relative_resource_name Example: "organizations/`
|
4013
|
-
# organization_id`/sources/`source_id`/findings/`finding_id`".
|
4014
4023
|
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
|
4015
4024
|
# @param [String] fields
|
4016
4025
|
# Selector specifying which fields to include in a partial response.
|
@@ -4090,10 +4099,10 @@ module Google
|
|
4090
4099
|
|
4091
4100
|
# Updates external system. This is for a given finding.
|
4092
4101
|
# @param [String] name
|
4093
|
-
#
|
4094
|
-
# sources/5678/findings/123456/externalSystems/jira
|
4095
|
-
# findings/123456/externalSystems/jira
|
4096
|
-
# 123456/externalSystems/jira
|
4102
|
+
# Full resource name of the external system, for example: "organizations/1234/
|
4103
|
+
# sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
|
4104
|
+
# findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
|
4105
|
+
# 123456/externalSystems/jira"
|
4097
4106
|
# @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem] google_cloud_securitycenter_v1_external_system_object
|
4098
4107
|
# @param [String] update_mask
|
4099
4108
|
# The FieldMask to use when updating the external system resource. If empty all
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.47.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|