google-apis-securitycenter_v1beta2 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a76784e622bfb3b2c8c7450dacb97ef96f66e79977565c027636a541153b6ef
4
- data.tar.gz: bf578552f9610f25401443f496ae0913b49c9c71418065e3961a08ab75a49764
3
+ metadata.gz: 6b57c224ec8fe98ce184907f04289e8ad04dfb700206dd468a9dc8951f0f6f73
4
+ data.tar.gz: fa1a0988aeb2d8f76fcebb3ca8677eed07422fad78ccddcf7d6ce2ad0e91a7d5
5
5
  SHA512:
6
- metadata.gz: 9b937fd4101cd5d3e35f761cc7f9f42a5c0fd9a5ca708fbd0c37bd87d3f00353d26725cd005bf2e132bea6ab1696d34dc4af7716ddc1c13ad0bd9d2f03200151
7
- data.tar.gz: 35aca49e864ff828ac2b56a044e66da7c2433ceded94ac7cc6ab6b6861ed781a72f999474136bbb825e5c6a3feec2b2dcb3d8bdbb330749e32090e6fec3cfc37
6
+ metadata.gz: cbaf4e72fd1cee1df778076029662aae54020965fd98d0c78a08b7e739724407ca7d4cffac1e2dd3f883d5641886f1e424e3f74f44ece903014bc6e5948e25f6
7
+ data.tar.gz: ae7f50eeb96f655d9656876314f4877d9a3c8b1f128b2e5fa297dda1ba9fe66ff088a392435ee64ca43b84099c760b6ff84dc9fd8f93cbc9eb533b2fc907d875
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.10.0 (2021-11-16)
4
+
5
+ * Regenerated from discovery document revision 20211112
6
+
3
7
  ### v0.9.0 (2021-10-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20211015
@@ -321,6 +321,12 @@ module Google
321
321
  # @return [String]
322
322
  attr_accessor :event_time
323
323
 
324
+ # Output only. Third party SIEM/SOAR fields within SCC, contains external system
325
+ # information and external system finding fields.
326
+ # Corresponds to the JSON property `externalSystems`
327
+ # @return [Hash<String,Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem>]
328
+ attr_accessor :external_systems
329
+
324
330
  # The URI that, if available, points to a web page outside of Security Command
325
331
  # Center where additional information about the finding can be found. This field
326
332
  # is guaranteed to be either empty or a well formed URL.
@@ -341,6 +347,24 @@ module Google
341
347
  # @return [Google::Apis::SecuritycenterV1beta2::Indicator]
342
348
  attr_accessor :indicator
343
349
 
350
+ # Indicates the mute state of a finding (either unspecified, muted, unmuted or
351
+ # undefined).
352
+ # Corresponds to the JSON property `mute`
353
+ # @return [String]
354
+ attr_accessor :mute
355
+
356
+ # First known as mute_annotation. Records additional information about the mute
357
+ # operation e.g. mute config that muted the finding, user who muted the finding,
358
+ # etc.
359
+ # Corresponds to the JSON property `muteInitiator`
360
+ # @return [String]
361
+ attr_accessor :mute_initiator
362
+
363
+ # Output only. The most recent time this finding was muted or unmuted.
364
+ # Corresponds to the JSON property `muteUpdateTime`
365
+ # @return [String]
366
+ attr_accessor :mute_update_time
367
+
344
368
  # The relative resource name of this finding. See: https://cloud.google.com/apis/
345
369
  # design/resource_names#relative_resource_name Example: "organizations/`
346
370
  # organization_id`/sources/`source_id`/findings/`finding_id`"
@@ -407,9 +431,13 @@ module Google
407
431
  @category = args[:category] if args.key?(:category)
408
432
  @create_time = args[:create_time] if args.key?(:create_time)
409
433
  @event_time = args[:event_time] if args.key?(:event_time)
434
+ @external_systems = args[:external_systems] if args.key?(:external_systems)
410
435
  @external_uri = args[:external_uri] if args.key?(:external_uri)
411
436
  @finding_class = args[:finding_class] if args.key?(:finding_class)
412
437
  @indicator = args[:indicator] if args.key?(:indicator)
438
+ @mute = args[:mute] if args.key?(:mute)
439
+ @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
440
+ @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
413
441
  @name = args[:name] if args.key?(:name)
414
442
  @parent = args[:parent] if args.key?(:parent)
415
443
  @resource_name = args[:resource_name] if args.key?(:resource_name)
@@ -447,6 +475,126 @@ module Google
447
475
  end
448
476
  end
449
477
 
478
+ # Representation of third party SIEM/SOAR fields within SCC.
479
+ class GoogleCloudSecuritycenterV1ExternalSystem
480
+ include Google::Apis::Core::Hashable
481
+
482
+ # References primary/secondary etc assignees in the external system.
483
+ # Corresponds to the JSON property `assignees`
484
+ # @return [Array<String>]
485
+ attr_accessor :assignees
486
+
487
+ # The most recent time when the corresponding finding's ticket/tracker was
488
+ # updated in the external system.
489
+ # Corresponds to the JSON property `externalSystemUpdateTime`
490
+ # @return [String]
491
+ attr_accessor :external_system_update_time
492
+
493
+ # Identifier that's used to track the given finding in the external system.
494
+ # Corresponds to the JSON property `externalUid`
495
+ # @return [String]
496
+ attr_accessor :external_uid
497
+
498
+ # External System Name e.g. jira, demisto, etc. e.g.: organizations/1234/sources/
499
+ # 5678/findings/123456/externalSystems/jira folders/1234/sources/5678/findings/
500
+ # 123456/externalSystems/jira projects/1234/sources/5678/findings/123456/
501
+ # externalSystems/jira
502
+ # Corresponds to the JSON property `name`
503
+ # @return [String]
504
+ attr_accessor :name
505
+
506
+ # Most recent status of the corresponding finding's ticket/tracker in the
507
+ # external system.
508
+ # Corresponds to the JSON property `status`
509
+ # @return [String]
510
+ attr_accessor :status
511
+
512
+ def initialize(**args)
513
+ update!(**args)
514
+ end
515
+
516
+ # Update properties of this object
517
+ def update!(**args)
518
+ @assignees = args[:assignees] if args.key?(:assignees)
519
+ @external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
520
+ @external_uid = args[:external_uid] if args.key?(:external_uid)
521
+ @name = args[:name] if args.key?(:name)
522
+ @status = args[:status] if args.key?(:status)
523
+ end
524
+ end
525
+
526
+ # A mute config is a Cloud SCC resource that contains the configuration to mute
527
+ # create/update events of findings.
528
+ class GoogleCloudSecuritycenterV1MuteConfig
529
+ include Google::Apis::Core::Hashable
530
+
531
+ # Output only. The time at which the mute config was created. This field is set
532
+ # by the server and will be ignored if provided on config creation.
533
+ # Corresponds to the JSON property `createTime`
534
+ # @return [String]
535
+ attr_accessor :create_time
536
+
537
+ # A description of the mute config.
538
+ # Corresponds to the JSON property `description`
539
+ # @return [String]
540
+ attr_accessor :description
541
+
542
+ # The human readable name to be displayed for the mute config.
543
+ # Corresponds to the JSON property `displayName`
544
+ # @return [String]
545
+ attr_accessor :display_name
546
+
547
+ # Required. An expression that defines the filter to apply across create/update
548
+ # events of findings. While creating a filter string, be mindful of the scope in
549
+ # which the mute configuration is being created. E.g., If a filter contains
550
+ # project = X but is created under the project = Y scope, it might not match any
551
+ # findings. The following field and operator combinations are supported: *
552
+ # severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.
553
+ # project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.
554
+ # folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.
555
+ # parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `
556
+ # :` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
557
+ # Corresponds to the JSON property `filter`
558
+ # @return [String]
559
+ attr_accessor :filter
560
+
561
+ # Output only. Email address of the user who last edited the mute config. This
562
+ # field is set by the server and will be ignored if provided on config creation
563
+ # or update.
564
+ # Corresponds to the JSON property `mostRecentEditor`
565
+ # @return [String]
566
+ attr_accessor :most_recent_editor
567
+
568
+ # This field will be ignored if provided on config creation. Format "
569
+ # organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
570
+ # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`"
571
+ # Corresponds to the JSON property `name`
572
+ # @return [String]
573
+ attr_accessor :name
574
+
575
+ # Output only. The most recent time at which the mute config was updated. This
576
+ # field is set by the server and will be ignored if provided on config creation
577
+ # or update.
578
+ # Corresponds to the JSON property `updateTime`
579
+ # @return [String]
580
+ attr_accessor :update_time
581
+
582
+ def initialize(**args)
583
+ update!(**args)
584
+ end
585
+
586
+ # Update properties of this object
587
+ def update!(**args)
588
+ @create_time = args[:create_time] if args.key?(:create_time)
589
+ @description = args[:description] if args.key?(:description)
590
+ @display_name = args[:display_name] if args.key?(:display_name)
591
+ @filter = args[:filter] if args.key?(:filter)
592
+ @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
593
+ @name = args[:name] if args.key?(:name)
594
+ @update_time = args[:update_time] if args.key?(:update_time)
595
+ end
596
+ end
597
+
450
598
  # Cloud SCC's Notification
451
599
  class GoogleCloudSecuritycenterV1NotificationMessage
452
600
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211015"
25
+ REVISION = "20211112"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,18 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogleCloudSecuritycenterV1ExternalSystem
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudSecuritycenterV1MuteConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class GoogleCloudSecuritycenterV1NotificationMessage
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -251,10 +263,15 @@ module Google
251
263
  property :category, as: 'category'
252
264
  property :create_time, as: 'createTime'
253
265
  property :event_time, as: 'eventTime'
266
+ hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation
267
+
254
268
  property :external_uri, as: 'externalUri'
255
269
  property :finding_class, as: 'findingClass'
256
270
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
257
271
 
272
+ property :mute, as: 'mute'
273
+ property :mute_initiator, as: 'muteInitiator'
274
+ property :mute_update_time, as: 'muteUpdateTime'
258
275
  property :name, as: 'name'
259
276
  property :parent, as: 'parent'
260
277
  property :resource_name, as: 'resourceName'
@@ -276,6 +293,30 @@ module Google
276
293
  end
277
294
  end
278
295
 
296
+ class GoogleCloudSecuritycenterV1ExternalSystem
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ collection :assignees, as: 'assignees'
300
+ property :external_system_update_time, as: 'externalSystemUpdateTime'
301
+ property :external_uid, as: 'externalUid'
302
+ property :name, as: 'name'
303
+ property :status, as: 'status'
304
+ end
305
+ end
306
+
307
+ class GoogleCloudSecuritycenterV1MuteConfig
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ property :create_time, as: 'createTime'
311
+ property :description, as: 'description'
312
+ property :display_name, as: 'displayName'
313
+ property :filter, as: 'filter'
314
+ property :most_recent_editor, as: 'mostRecentEditor'
315
+ property :name, as: 'name'
316
+ property :update_time, as: 'updateTime'
317
+ end
318
+ end
319
+
279
320
  class GoogleCloudSecuritycenterV1NotificationMessage
280
321
  # @private
281
322
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-12-06 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []