google-apis-securitycenter_v1beta1 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d7d943dabb6a7f45be2019dd84d33994c75266e882f47133cdc1df56b60a494
4
- data.tar.gz: 74adb6a04055187734a9276acaebb5d5e3bc72df3905c14f8446b258963e6cbd
3
+ metadata.gz: 976c2cf747e62d64df7b40f81f44f41beabff9cd09b6b0bc2bd3e6acaea7bd61
4
+ data.tar.gz: 921852a1093f36a1f5b7ffaf8ed9c3237903b3b3a475e5446cbd42aa145b8209
5
5
  SHA512:
6
- metadata.gz: 8d8ef743b8b60c755926dbf47f177a0a5bc6c63d7cd18087344511492957bcfbd78a927d7c0729105f2b22cb57745987f37b03c160377bf65341088936a369cb
7
- data.tar.gz: 2b0a8495ec8b3e6b2a679dfa6d75505ccb838e9e5e9d356968d10b3539cf905c20102cc10e62b63cfe5d56b24eb3c589aabdb31b4f2c01b9a4a9082984156abf
6
+ metadata.gz: 995daf6a49cfe646b2dfed59978cdbab9295da1e810eddadd0b769605881e33d82965dca40c2074f32c734903073318e7bf9b3cd31b3c7b9296ac00a519313c4
7
+ data.tar.gz: 06c4908416cef753420c6d52f8d0d6e7dba6ec454e3034f6e5285553dd70eef7f8df4283cd090335ea067a7d37d656a5df2d92de92dbda2f8b3d00422be02f46
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.13.0 (2021-11-16)
4
+
5
+ * Regenerated from discovery document revision 20211112
6
+
3
7
  ### v0.12.0 (2021-11-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20211103
@@ -482,6 +482,12 @@ module Google
482
482
  # @return [String]
483
483
  attr_accessor :event_time
484
484
 
485
+ # Output only. Third party SIEM/SOAR fields within SCC, contains external system
486
+ # information and external system finding fields.
487
+ # Corresponds to the JSON property `externalSystems`
488
+ # @return [Hash<String,Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem>]
489
+ attr_accessor :external_systems
490
+
485
491
  # The URI that, if available, points to a web page outside of Security Command
486
492
  # Center where additional information about the finding can be found. This field
487
493
  # is guaranteed to be either empty or a well formed URL.
@@ -502,6 +508,24 @@ module Google
502
508
  # @return [Google::Apis::SecuritycenterV1beta1::Indicator]
503
509
  attr_accessor :indicator
504
510
 
511
+ # Indicates the mute state of a finding (either unspecified, muted, unmuted or
512
+ # undefined).
513
+ # Corresponds to the JSON property `mute`
514
+ # @return [String]
515
+ attr_accessor :mute
516
+
517
+ # First known as mute_annotation. Records additional information about the mute
518
+ # operation e.g. mute config that muted the finding, user who muted the finding,
519
+ # etc.
520
+ # Corresponds to the JSON property `muteInitiator`
521
+ # @return [String]
522
+ attr_accessor :mute_initiator
523
+
524
+ # Output only. The most recent time this finding was muted or unmuted.
525
+ # Corresponds to the JSON property `muteUpdateTime`
526
+ # @return [String]
527
+ attr_accessor :mute_update_time
528
+
505
529
  # The relative resource name of this finding. See: https://cloud.google.com/apis/
506
530
  # design/resource_names#relative_resource_name Example: "organizations/`
507
531
  # organization_id`/sources/`source_id`/findings/`finding_id`"
@@ -568,9 +592,13 @@ module Google
568
592
  @category = args[:category] if args.key?(:category)
569
593
  @create_time = args[:create_time] if args.key?(:create_time)
570
594
  @event_time = args[:event_time] if args.key?(:event_time)
595
+ @external_systems = args[:external_systems] if args.key?(:external_systems)
571
596
  @external_uri = args[:external_uri] if args.key?(:external_uri)
572
597
  @finding_class = args[:finding_class] if args.key?(:finding_class)
573
598
  @indicator = args[:indicator] if args.key?(:indicator)
599
+ @mute = args[:mute] if args.key?(:mute)
600
+ @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
601
+ @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
574
602
  @name = args[:name] if args.key?(:name)
575
603
  @parent = args[:parent] if args.key?(:parent)
576
604
  @resource_name = args[:resource_name] if args.key?(:resource_name)
@@ -655,6 +683,126 @@ module Google
655
683
  end
656
684
  end
657
685
 
686
+ # Representation of third party SIEM/SOAR fields within SCC.
687
+ class GoogleCloudSecuritycenterV1ExternalSystem
688
+ include Google::Apis::Core::Hashable
689
+
690
+ # References primary/secondary etc assignees in the external system.
691
+ # Corresponds to the JSON property `assignees`
692
+ # @return [Array<String>]
693
+ attr_accessor :assignees
694
+
695
+ # The most recent time when the corresponding finding's ticket/tracker was
696
+ # updated in the external system.
697
+ # Corresponds to the JSON property `externalSystemUpdateTime`
698
+ # @return [String]
699
+ attr_accessor :external_system_update_time
700
+
701
+ # Identifier that's used to track the given finding in the external system.
702
+ # Corresponds to the JSON property `externalUid`
703
+ # @return [String]
704
+ attr_accessor :external_uid
705
+
706
+ # External System Name e.g. jira, demisto, etc. e.g.: organizations/1234/sources/
707
+ # 5678/findings/123456/externalSystems/jira folders/1234/sources/5678/findings/
708
+ # 123456/externalSystems/jira projects/1234/sources/5678/findings/123456/
709
+ # externalSystems/jira
710
+ # Corresponds to the JSON property `name`
711
+ # @return [String]
712
+ attr_accessor :name
713
+
714
+ # Most recent status of the corresponding finding's ticket/tracker in the
715
+ # external system.
716
+ # Corresponds to the JSON property `status`
717
+ # @return [String]
718
+ attr_accessor :status
719
+
720
+ def initialize(**args)
721
+ update!(**args)
722
+ end
723
+
724
+ # Update properties of this object
725
+ def update!(**args)
726
+ @assignees = args[:assignees] if args.key?(:assignees)
727
+ @external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
728
+ @external_uid = args[:external_uid] if args.key?(:external_uid)
729
+ @name = args[:name] if args.key?(:name)
730
+ @status = args[:status] if args.key?(:status)
731
+ end
732
+ end
733
+
734
+ # A mute config is a Cloud SCC resource that contains the configuration to mute
735
+ # create/update events of findings.
736
+ class GoogleCloudSecuritycenterV1MuteConfig
737
+ include Google::Apis::Core::Hashable
738
+
739
+ # Output only. The time at which the mute config was created. This field is set
740
+ # by the server and will be ignored if provided on config creation.
741
+ # Corresponds to the JSON property `createTime`
742
+ # @return [String]
743
+ attr_accessor :create_time
744
+
745
+ # A description of the mute config.
746
+ # Corresponds to the JSON property `description`
747
+ # @return [String]
748
+ attr_accessor :description
749
+
750
+ # The human readable name to be displayed for the mute config.
751
+ # Corresponds to the JSON property `displayName`
752
+ # @return [String]
753
+ attr_accessor :display_name
754
+
755
+ # Required. An expression that defines the filter to apply across create/update
756
+ # events of findings. While creating a filter string, be mindful of the scope in
757
+ # which the mute configuration is being created. E.g., If a filter contains
758
+ # project = X but is created under the project = Y scope, it might not match any
759
+ # findings. The following field and operator combinations are supported: *
760
+ # severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.
761
+ # project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.
762
+ # folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.
763
+ # parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `
764
+ # :` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
765
+ # Corresponds to the JSON property `filter`
766
+ # @return [String]
767
+ attr_accessor :filter
768
+
769
+ # Output only. Email address of the user who last edited the mute config. This
770
+ # field is set by the server and will be ignored if provided on config creation
771
+ # or update.
772
+ # Corresponds to the JSON property `mostRecentEditor`
773
+ # @return [String]
774
+ attr_accessor :most_recent_editor
775
+
776
+ # This field will be ignored if provided on config creation. Format "
777
+ # organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
778
+ # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`"
779
+ # Corresponds to the JSON property `name`
780
+ # @return [String]
781
+ attr_accessor :name
782
+
783
+ # Output only. The most recent time at which the mute config was updated. This
784
+ # field is set by the server and will be ignored if provided on config creation
785
+ # or update.
786
+ # Corresponds to the JSON property `updateTime`
787
+ # @return [String]
788
+ attr_accessor :update_time
789
+
790
+ def initialize(**args)
791
+ update!(**args)
792
+ end
793
+
794
+ # Update properties of this object
795
+ def update!(**args)
796
+ @create_time = args[:create_time] if args.key?(:create_time)
797
+ @description = args[:description] if args.key?(:description)
798
+ @display_name = args[:display_name] if args.key?(:display_name)
799
+ @filter = args[:filter] if args.key?(:filter)
800
+ @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
801
+ @name = args[:name] if args.key?(:name)
802
+ @update_time = args[:update_time] if args.key?(:update_time)
803
+ end
804
+ end
805
+
658
806
  # Cloud SCC's Notification
659
807
  class GoogleCloudSecuritycenterV1NotificationMessage
660
808
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.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 = "20211103"
25
+ REVISION = "20211112"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,18 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
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
+
109
121
  class GoogleCloudSecuritycenterV1NotificationMessage
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
@@ -432,10 +444,15 @@ module Google
432
444
  property :category, as: 'category'
433
445
  property :create_time, as: 'createTime'
434
446
  property :event_time, as: 'eventTime'
447
+ hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
448
+
435
449
  property :external_uri, as: 'externalUri'
436
450
  property :finding_class, as: 'findingClass'
437
451
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
438
452
 
453
+ property :mute, as: 'mute'
454
+ property :mute_initiator, as: 'muteInitiator'
455
+ property :mute_update_time, as: 'muteUpdateTime'
439
456
  property :name, as: 'name'
440
457
  property :parent, as: 'parent'
441
458
  property :resource_name, as: 'resourceName'
@@ -472,6 +489,30 @@ module Google
472
489
  end
473
490
  end
474
491
 
492
+ class GoogleCloudSecuritycenterV1ExternalSystem
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ collection :assignees, as: 'assignees'
496
+ property :external_system_update_time, as: 'externalSystemUpdateTime'
497
+ property :external_uid, as: 'externalUid'
498
+ property :name, as: 'name'
499
+ property :status, as: 'status'
500
+ end
501
+ end
502
+
503
+ class GoogleCloudSecuritycenterV1MuteConfig
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :create_time, as: 'createTime'
507
+ property :description, as: 'description'
508
+ property :display_name, as: 'displayName'
509
+ property :filter, as: 'filter'
510
+ property :most_recent_editor, as: 'mostRecentEditor'
511
+ property :name, as: 'name'
512
+ property :update_time, as: 'updateTime'
513
+ end
514
+ end
515
+
475
516
  class GoogleCloudSecuritycenterV1NotificationMessage
476
517
  # @private
477
518
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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-11-15 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []