google-apis-securitycenter_v1 0.12.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BulkMuteFindingsRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class Cve
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -100,6 +106,18 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class GoogleCloudSecuritycenterV1ExternalSystem
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudSecuritycenterV1MuteConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class GoogleCloudSecuritycenterV1NotificationMessage
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
@@ -226,6 +244,12 @@ module Google
226
244
  include Google::Apis::Core::JsonObjectSupport
227
245
  end
228
246
 
247
+ class ListMuteConfigsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
229
253
  class ListNotificationConfigsResponse
230
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
255
 
@@ -310,6 +334,12 @@ module Google
310
334
  include Google::Apis::Core::JsonObjectSupport
311
335
  end
312
336
 
337
+ class SetMuteRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
313
343
  class Source
314
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
345
 
@@ -399,6 +429,14 @@ module Google
399
429
  end
400
430
  end
401
431
 
432
+ class BulkMuteFindingsRequest
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :filter, as: 'filter'
436
+ property :mute_annotation, as: 'muteAnnotation'
437
+ end
438
+ end
439
+
402
440
  class Cve
403
441
  # @private
404
442
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -448,10 +486,15 @@ module Google
448
486
  property :category, as: 'category'
449
487
  property :create_time, as: 'createTime'
450
488
  property :event_time, as: 'eventTime'
489
+ hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
490
+
451
491
  property :external_uri, as: 'externalUri'
452
492
  property :finding_class, as: 'findingClass'
453
493
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
454
494
 
495
+ property :mute, as: 'mute'
496
+ property :mute_initiator, as: 'muteInitiator'
497
+ property :mute_update_time, as: 'muteUpdateTime'
455
498
  property :name, as: 'name'
456
499
  property :parent, as: 'parent'
457
500
  property :resource_name, as: 'resourceName'
@@ -488,6 +531,30 @@ module Google
488
531
  end
489
532
  end
490
533
 
534
+ class GoogleCloudSecuritycenterV1ExternalSystem
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ collection :assignees, as: 'assignees'
538
+ property :external_system_update_time, as: 'externalSystemUpdateTime'
539
+ property :external_uid, as: 'externalUid'
540
+ property :name, as: 'name'
541
+ property :status, as: 'status'
542
+ end
543
+ end
544
+
545
+ class GoogleCloudSecuritycenterV1MuteConfig
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :create_time, as: 'createTime'
549
+ property :description, as: 'description'
550
+ property :display_name, as: 'displayName'
551
+ property :filter, as: 'filter'
552
+ property :most_recent_editor, as: 'mostRecentEditor'
553
+ property :name, as: 'name'
554
+ property :update_time, as: 'updateTime'
555
+ end
556
+ end
557
+
491
558
  class GoogleCloudSecuritycenterV1NotificationMessage
492
559
  # @private
493
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -502,6 +569,7 @@ module Google
502
569
  class GoogleCloudSecuritycenterV1Resource
503
570
  # @private
504
571
  class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :display_name, as: 'displayName'
505
573
  collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
506
574
 
507
575
  property :name, as: 'name'
@@ -708,6 +776,15 @@ module Google
708
776
  end
709
777
  end
710
778
 
779
+ class ListMuteConfigsResponse
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ collection :mute_configs, as: 'muteConfigs', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1MuteConfig::Representation
783
+
784
+ property :next_page_token, as: 'nextPageToken'
785
+ end
786
+ end
787
+
711
788
  class ListNotificationConfigsResponse
712
789
  # @private
713
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -792,6 +869,7 @@ module Google
792
869
  class Resource
793
870
  # @private
794
871
  class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :display_name, as: 'displayName'
795
873
  collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
796
874
 
797
875
  property :name, as: 'name'
@@ -799,6 +877,7 @@ module Google
799
877
  property :parent_name, as: 'parentName'
800
878
  property :project_display_name, as: 'projectDisplayName'
801
879
  property :project_name, as: 'projectName'
880
+ property :type, as: 'type'
802
881
  end
803
882
  end
804
883
 
@@ -850,6 +929,13 @@ module Google
850
929
  end
851
930
  end
852
931
 
932
+ class SetMuteRequest
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ property :mute, as: 'mute'
936
+ end
937
+ end
938
+
853
939
  class Source
854
940
  # @private
855
941
  class Representation < Google::Apis::Core::JsonRepresentation