google-apis-securitycenter_v1beta1 0.22.0 → 0.23.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: ee4b42b0e13bedc1707275987a9c2a3c1e37e9a29d2b8245693a314e3640d80f
4
- data.tar.gz: f01414507c00975291f769ab059b6e46121459aa11043c850d2945269bbc37c8
3
+ metadata.gz: ef7c1039adedae7fcf888222b42b09539991dfb3d21bf2fc09c647522c4ec252
4
+ data.tar.gz: ca0a1ece29005d309db75e3f994050d517b3f0ad00eab918582bed801bb2fdd6
5
5
  SHA512:
6
- metadata.gz: 0ec28fe25974ca37af217934ef9b9c411ab4302ff1b56f6b7ff96c5f094c735d568cedc585a223e7c9115374f35fa8e7d9a93c7522730cb88451ab901fcccb9c
7
- data.tar.gz: dc6444ec4b296bbd26ea80d82fcdb3dc819dbb7e18153dfbe4d1ae45f3401d9cb1b7ca5bef1b316239650c00a01f0a4504bb4be05df600ce99cd8cba64461983
6
+ metadata.gz: d1e1642059cb2b1a5211e10763b5c94371ca181683329a44b87c58533d67b67ad4927c521e75f13dc4ee7de8386a2bac00a11938c7d17de2625d580562d7f060
7
+ data.tar.gz: '097de38a1a0302529fdbe42d11fce27eaaeeffc738afd94fe851e31ab09d5ce4e2e6d1f6300ea9a8f6602ac6d1e24de6341d7cc85f088b621abe1c2c21acd74d'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.23.0 (2022-04-05)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
3
7
  ### v0.22.0 (2022-03-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20220318
@@ -562,6 +562,11 @@ module Google
562
562
  # @return [String]
563
563
  attr_accessor :finding_class
564
564
 
565
+ # Represents IAM bindings associated with the Finding.
566
+ # Corresponds to the JSON property `iamBindings`
567
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::IamBinding>]
568
+ attr_accessor :iam_bindings
569
+
565
570
  # Represents what's commonly known as an Indicator of compromise (IoC) in
566
571
  # computer forensics. This is an artifact observed on a network or in an
567
572
  # operating system that, with high confidence, indicates a computer intrusion.
@@ -603,6 +608,11 @@ module Google
603
608
  # @return [String]
604
609
  attr_accessor :name
605
610
 
611
+ # Next steps associate to the finding.
612
+ # Corresponds to the JSON property `nextSteps`
613
+ # @return [String]
614
+ attr_accessor :next_steps
615
+
606
616
  # The relative resource name of the source the finding belongs to. See: https://
607
617
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
608
618
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -666,12 +676,14 @@ module Google
666
676
  @external_systems = args[:external_systems] if args.key?(:external_systems)
667
677
  @external_uri = args[:external_uri] if args.key?(:external_uri)
668
678
  @finding_class = args[:finding_class] if args.key?(:finding_class)
679
+ @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
669
680
  @indicator = args[:indicator] if args.key?(:indicator)
670
681
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
671
682
  @mute = args[:mute] if args.key?(:mute)
672
683
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
673
684
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
674
685
  @name = args[:name] if args.key?(:name)
686
+ @next_steps = args[:next_steps] if args.key?(:next_steps)
675
687
  @parent = args[:parent] if args.key?(:parent)
676
688
  @resource_name = args[:resource_name] if args.key?(:resource_name)
677
689
  @security_marks = args[:security_marks] if args.key?(:security_marks)
@@ -1811,6 +1823,40 @@ module Google
1811
1823
  end
1812
1824
  end
1813
1825
 
1826
+ # Represents a particular IAM binding, which captures a member's role addition,
1827
+ # removal, or state.
1828
+ class IamBinding
1829
+ include Google::Apis::Core::Hashable
1830
+
1831
+ # The action that was performed on a Binding.
1832
+ # Corresponds to the JSON property `action`
1833
+ # @return [String]
1834
+ attr_accessor :action
1835
+
1836
+ # A single identity requesting access for a Cloud Platform resource, e.g. "foo@
1837
+ # google.com".
1838
+ # Corresponds to the JSON property `member`
1839
+ # @return [String]
1840
+ attr_accessor :member
1841
+
1842
+ # Role that is assigned to "members". For example, "roles/viewer", "roles/editor"
1843
+ # , or "roles/owner".
1844
+ # Corresponds to the JSON property `role`
1845
+ # @return [String]
1846
+ attr_accessor :role
1847
+
1848
+ def initialize(**args)
1849
+ update!(**args)
1850
+ end
1851
+
1852
+ # Update properties of this object
1853
+ def update!(**args)
1854
+ @action = args[:action] if args.key?(:action)
1855
+ @member = args[:member] if args.key?(:member)
1856
+ @role = args[:role] if args.key?(:role)
1857
+ end
1858
+ end
1859
+
1814
1860
  # Represents what's commonly known as an Indicator of compromise (IoC) in
1815
1861
  # computer forensics. This is an artifact observed on a network or in an
1816
1862
  # operating system that, with high confidence, indicates a computer intrusion.
@@ -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.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220318"
25
+ REVISION = "20220401"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class IamBinding
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class Indicator
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -494,6 +500,8 @@ module Google
494
500
 
495
501
  property :external_uri, as: 'externalUri'
496
502
  property :finding_class, as: 'findingClass'
503
+ collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta1::IamBinding, decorator: Google::Apis::SecuritycenterV1beta1::IamBinding::Representation
504
+
497
505
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
498
506
 
499
507
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
@@ -502,6 +510,7 @@ module Google
502
510
  property :mute_initiator, as: 'muteInitiator'
503
511
  property :mute_update_time, as: 'muteUpdateTime'
504
512
  property :name, as: 'name'
513
+ property :next_steps, as: 'nextSteps'
505
514
  property :parent, as: 'parent'
506
515
  property :resource_name, as: 'resourceName'
507
516
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
@@ -774,6 +783,15 @@ module Google
774
783
  end
775
784
  end
776
785
 
786
+ class IamBinding
787
+ # @private
788
+ class Representation < Google::Apis::Core::JsonRepresentation
789
+ property :action, as: 'action'
790
+ property :member, as: 'member'
791
+ property :role, as: 'role'
792
+ end
793
+ end
794
+
777
795
  class Indicator
778
796
  # @private
779
797
  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.22.0
4
+ version: 0.23.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: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.23.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: []