google-apis-securitycenter_v1 0.13.0 → 0.17.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/securitycenter_v1/classes.rb +403 -7
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +151 -0
- data/lib/google/apis/securitycenter_v1/service.rb +935 -41
- metadata +5 -5
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SecuritycenterV1
|
24
24
|
|
25
|
+
class Access
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class Asset
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -52,6 +58,12 @@ module Google
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
53
59
|
end
|
54
60
|
|
61
|
+
class BulkMuteFindingsRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
55
67
|
class Cve
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -88,6 +100,12 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class Geolocation
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class GetIamPolicyRequest
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -100,6 +118,24 @@ module Google
|
|
100
118
|
include Google::Apis::Core::JsonObjectSupport
|
101
119
|
end
|
102
120
|
|
121
|
+
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
103
139
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
104
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
141
|
|
@@ -226,6 +262,12 @@ module Google
|
|
226
262
|
include Google::Apis::Core::JsonObjectSupport
|
227
263
|
end
|
228
264
|
|
265
|
+
class ListMuteConfigsResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
229
271
|
class ListNotificationConfigsResponse
|
230
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
273
|
|
@@ -244,6 +286,12 @@ module Google
|
|
244
286
|
include Google::Apis::Core::JsonObjectSupport
|
245
287
|
end
|
246
288
|
|
289
|
+
class MitreAttack
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
247
295
|
class NotificationConfig
|
248
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
297
|
|
@@ -310,6 +358,12 @@ module Google
|
|
310
358
|
include Google::Apis::Core::JsonObjectSupport
|
311
359
|
end
|
312
360
|
|
361
|
+
class SetMuteRequest
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
313
367
|
class Source
|
314
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
369
|
|
@@ -346,6 +400,19 @@ module Google
|
|
346
400
|
include Google::Apis::Core::JsonObjectSupport
|
347
401
|
end
|
348
402
|
|
403
|
+
class Access
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :caller_ip, as: 'callerIp'
|
407
|
+
property :caller_ip_geo, as: 'callerIpGeo', class: Google::Apis::SecuritycenterV1::Geolocation, decorator: Google::Apis::SecuritycenterV1::Geolocation::Representation
|
408
|
+
|
409
|
+
property :method_name, as: 'methodName'
|
410
|
+
property :principal_email, as: 'principalEmail'
|
411
|
+
property :service_name, as: 'serviceName'
|
412
|
+
property :user_agent_family, as: 'userAgentFamily'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
349
416
|
class Asset
|
350
417
|
# @private
|
351
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -399,6 +466,14 @@ module Google
|
|
399
466
|
end
|
400
467
|
end
|
401
468
|
|
469
|
+
class BulkMuteFindingsRequest
|
470
|
+
# @private
|
471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
472
|
+
property :filter, as: 'filter'
|
473
|
+
property :mute_annotation, as: 'muteAnnotation'
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
402
477
|
class Cve
|
403
478
|
# @private
|
404
479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -444,14 +519,23 @@ module Google
|
|
444
519
|
class Finding
|
445
520
|
# @private
|
446
521
|
class Representation < Google::Apis::Core::JsonRepresentation
|
522
|
+
property :access, as: 'access', class: Google::Apis::SecuritycenterV1::Access, decorator: Google::Apis::SecuritycenterV1::Access::Representation
|
523
|
+
|
447
524
|
property :canonical_name, as: 'canonicalName'
|
448
525
|
property :category, as: 'category'
|
449
526
|
property :create_time, as: 'createTime'
|
450
527
|
property :event_time, as: 'eventTime'
|
528
|
+
hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
|
529
|
+
|
451
530
|
property :external_uri, as: 'externalUri'
|
452
531
|
property :finding_class, as: 'findingClass'
|
453
532
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
454
533
|
|
534
|
+
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
|
535
|
+
|
536
|
+
property :mute, as: 'mute'
|
537
|
+
property :mute_initiator, as: 'muteInitiator'
|
538
|
+
property :mute_update_time, as: 'muteUpdateTime'
|
455
539
|
property :name, as: 'name'
|
456
540
|
property :parent, as: 'parent'
|
457
541
|
property :resource_name, as: 'resourceName'
|
@@ -473,6 +557,13 @@ module Google
|
|
473
557
|
end
|
474
558
|
end
|
475
559
|
|
560
|
+
class Geolocation
|
561
|
+
# @private
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
563
|
+
property :region_code, as: 'regionCode'
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
476
567
|
class GetIamPolicyRequest
|
477
568
|
# @private
|
478
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -488,6 +579,36 @@ module Google
|
|
488
579
|
end
|
489
580
|
end
|
490
581
|
|
582
|
+
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
589
|
+
# @private
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
+
collection :assignees, as: 'assignees'
|
592
|
+
property :external_system_update_time, as: 'externalSystemUpdateTime'
|
593
|
+
property :external_uid, as: 'externalUid'
|
594
|
+
property :name, as: 'name'
|
595
|
+
property :status, as: 'status'
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
600
|
+
# @private
|
601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
602
|
+
property :create_time, as: 'createTime'
|
603
|
+
property :description, as: 'description'
|
604
|
+
property :display_name, as: 'displayName'
|
605
|
+
property :filter, as: 'filter'
|
606
|
+
property :most_recent_editor, as: 'mostRecentEditor'
|
607
|
+
property :name, as: 'name'
|
608
|
+
property :update_time, as: 'updateTime'
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
491
612
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
492
613
|
# @private
|
493
614
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -502,6 +623,7 @@ module Google
|
|
502
623
|
class GoogleCloudSecuritycenterV1Resource
|
503
624
|
# @private
|
504
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
+
property :display_name, as: 'displayName'
|
505
627
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
|
506
628
|
|
507
629
|
property :name, as: 'name'
|
@@ -708,6 +830,15 @@ module Google
|
|
708
830
|
end
|
709
831
|
end
|
710
832
|
|
833
|
+
class ListMuteConfigsResponse
|
834
|
+
# @private
|
835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
836
|
+
collection :mute_configs, as: 'muteConfigs', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
|
837
|
+
|
838
|
+
property :next_page_token, as: 'nextPageToken'
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
711
842
|
class ListNotificationConfigsResponse
|
712
843
|
# @private
|
713
844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -735,6 +866,17 @@ module Google
|
|
735
866
|
end
|
736
867
|
end
|
737
868
|
|
869
|
+
class MitreAttack
|
870
|
+
# @private
|
871
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
872
|
+
collection :additional_tactics, as: 'additionalTactics'
|
873
|
+
collection :additional_techniques, as: 'additionalTechniques'
|
874
|
+
property :primary_tactic, as: 'primaryTactic'
|
875
|
+
collection :primary_techniques, as: 'primaryTechniques'
|
876
|
+
property :version, as: 'version'
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
738
880
|
class NotificationConfig
|
739
881
|
# @private
|
740
882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -792,6 +934,7 @@ module Google
|
|
792
934
|
class Resource
|
793
935
|
# @private
|
794
936
|
class Representation < Google::Apis::Core::JsonRepresentation
|
937
|
+
property :display_name, as: 'displayName'
|
795
938
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
|
796
939
|
|
797
940
|
property :name, as: 'name'
|
@@ -799,6 +942,7 @@ module Google
|
|
799
942
|
property :parent_name, as: 'parentName'
|
800
943
|
property :project_display_name, as: 'projectDisplayName'
|
801
944
|
property :project_name, as: 'projectName'
|
945
|
+
property :type, as: 'type'
|
802
946
|
end
|
803
947
|
end
|
804
948
|
|
@@ -850,6 +994,13 @@ module Google
|
|
850
994
|
end
|
851
995
|
end
|
852
996
|
|
997
|
+
class SetMuteRequest
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :mute, as: 'mute'
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
853
1004
|
class Source
|
854
1005
|
# @private
|
855
1006
|
class Representation < Google::Apis::Core::JsonRepresentation
|