google-apis-securitycenter_v1 0.15.0 → 0.19.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 +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/securitycenter_v1/classes.rb +381 -6
- data/lib/google/apis/securitycenter_v1/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1/representations.rb +148 -0
- data/lib/google/apis/securitycenter_v1/service.rb +944 -44
- metadata +4 -4
@@ -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
|
@@ -709,6 +830,15 @@ module Google
|
|
709
830
|
end
|
710
831
|
end
|
711
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
|
+
|
712
842
|
class ListNotificationConfigsResponse
|
713
843
|
# @private
|
714
844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -736,6 +866,17 @@ module Google
|
|
736
866
|
end
|
737
867
|
end
|
738
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
|
+
|
739
880
|
class NotificationConfig
|
740
881
|
# @private
|
741
882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -853,6 +994,13 @@ module Google
|
|
853
994
|
end
|
854
995
|
end
|
855
996
|
|
997
|
+
class SetMuteRequest
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :mute, as: 'mute'
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
856
1004
|
class Source
|
857
1005
|
# @private
|
858
1006
|
class Representation < Google::Apis::Core::JsonRepresentation
|