google-apis-securitycenter_v1 0.23.0 → 0.26.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: 5c6fe5ea46500a157ec0dec1887e0a0962ed0d1f963f9c51da9640445e939256
4
- data.tar.gz: 1000152f2e5dbc2c4a329ff6c5881fff9fb40005d987402c78271cb4102e2d2e
3
+ metadata.gz: bc5c1d98d4f0032e024279180985e2145625bd941d8dc45e869d672ba5bd0b9c
4
+ data.tar.gz: 5d5e34a1599fe2d74ca704fab13c663b1b94f42ec61d52aded95675affb52a31
5
5
  SHA512:
6
- metadata.gz: 0bc9caf85e4fbdb26b6b5eaec3f005dec611015b8253400cb0835c9ef1622a192dc7a3301e284904a3e40b92ec4d59e18de65bf9bba204ad9a4e2b6d85d66a20
7
- data.tar.gz: 1b192debb90c39dcfac88df908588f1ff79eab1155d07395cc1d58b424558462e98df8bec23d3df3513f0090b0d41a257d4b8dc3c07e4d31fe0c6961dfd8eb3d
6
+ metadata.gz: 4fb74b6fad085536cc2237b67a6d0dc29b2dc2da871c2da8d8322998526f631806d7e0bac6a2b7388ec59105609263a5705ba49f837290123187e7dccbe7f165
7
+ data.tar.gz: 543362886b288ddc14fcd9229348948d655c1cff01456adfba9215bf33e9270988deb924da6290450d2e0036875eeeb163e05a06b222c071ad4acb5ae25276f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.26.0 (2022-04-05)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
7
+ ### v0.25.0 (2022-03-22)
8
+
9
+ * Regenerated from discovery document revision 20220318
10
+
11
+ ### v0.24.0 (2022-03-15)
12
+
13
+ * Regenerated from discovery document revision 20220310
14
+
3
15
  ### v0.23.0 (2022-03-08)
4
16
 
5
17
  * Regenerated from discovery document revision 20220303
@@ -480,8 +480,7 @@ module Google
480
480
  # A generic empty message that you can re-use to avoid defining duplicated empty
481
481
  # messages in your APIs. A typical example is to use it as the request or the
482
482
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
483
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
484
- # `Empty` is empty JSON object ````.
483
+ # protobuf.Empty) returns (google.protobuf.Empty); `
485
484
  class Empty
486
485
  include Google::Apis::Core::Hashable
487
486
 
@@ -609,6 +608,11 @@ module Google
609
608
  # @return [String]
610
609
  attr_accessor :finding_class
611
610
 
611
+ # Represents IAM bindings associated with the Finding.
612
+ # Corresponds to the JSON property `iamBindings`
613
+ # @return [Array<Google::Apis::SecuritycenterV1::IamBinding>]
614
+ attr_accessor :iam_bindings
615
+
612
616
  # Represents what's commonly known as an Indicator of compromise (IoC) in
613
617
  # computer forensics. This is an artifact observed on a network or in an
614
618
  # operating system that, with high confidence, indicates a computer intrusion.
@@ -623,9 +627,9 @@ module Google
623
627
  # @return [Google::Apis::SecuritycenterV1::MitreAttack]
624
628
  attr_accessor :mitre_attack
625
629
 
626
- # Indicates the mute state of a finding (either unspecified, muted, unmuted or
627
- # undefined). Unlike other attributes of a finding, a finding provider shouldn't
628
- # set the value of mute.
630
+ # Indicates the mute state of a finding (either muted, unmuted or undefined).
631
+ # Unlike other attributes of a finding, a finding provider shouldn't set the
632
+ # value of mute.
629
633
  # Corresponds to the JSON property `mute`
630
634
  # @return [String]
631
635
  attr_accessor :mute
@@ -650,6 +654,11 @@ module Google
650
654
  # @return [String]
651
655
  attr_accessor :name
652
656
 
657
+ # Next steps associate to the finding.
658
+ # Corresponds to the JSON property `nextSteps`
659
+ # @return [String]
660
+ attr_accessor :next_steps
661
+
653
662
  # The relative resource name of the source the finding belongs to. See: https://
654
663
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
655
664
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -713,12 +722,14 @@ module Google
713
722
  @external_systems = args[:external_systems] if args.key?(:external_systems)
714
723
  @external_uri = args[:external_uri] if args.key?(:external_uri)
715
724
  @finding_class = args[:finding_class] if args.key?(:finding_class)
725
+ @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
716
726
  @indicator = args[:indicator] if args.key?(:indicator)
717
727
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
718
728
  @mute = args[:mute] if args.key?(:mute)
719
729
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
720
730
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
721
731
  @name = args[:name] if args.key?(:name)
732
+ @next_steps = args[:next_steps] if args.key?(:next_steps)
722
733
  @parent = args[:parent] if args.key?(:parent)
723
734
  @resource_name = args[:resource_name] if args.key?(:resource_name)
724
735
  @security_marks = args[:security_marks] if args.key?(:security_marks)
@@ -852,11 +863,7 @@ module Google
852
863
  # all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning
853
864
  # substring matching, for strings. The supported value types are: * string
854
865
  # literals in quotes. * integer literals without quotes. * boolean literals `
855
- # true` and `false` without quotes. Please see the proto documentation in the
856
- # finding (https://source.corp.google.com/piper///depot/google3/google/cloud/
857
- # securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid
858
- # filter syntax. (https://source.corp.google.com/piper///depot/google3/google/
859
- # cloud/securitycenter/v1/securitycenter_service.proto).
866
+ # true` and `false` without quotes.
860
867
  # Corresponds to the JSON property `filter`
861
868
  # @return [String]
862
869
  attr_accessor :filter
@@ -1113,7 +1120,7 @@ module Google
1113
1120
  # @return [String]
1114
1121
  attr_accessor :project
1115
1122
 
1116
- # The project id that the resource belongs to.
1123
+ # The project ID that the resource belongs to.
1117
1124
  # Corresponds to the JSON property `projectDisplayName`
1118
1125
  # @return [String]
1119
1126
  attr_accessor :project_display_name
@@ -1807,6 +1814,40 @@ module Google
1807
1814
  end
1808
1815
  end
1809
1816
 
1817
+ # Represents a particular IAM binding, which captures a member's role addition,
1818
+ # removal, or state.
1819
+ class IamBinding
1820
+ include Google::Apis::Core::Hashable
1821
+
1822
+ # The action that was performed on a Binding.
1823
+ # Corresponds to the JSON property `action`
1824
+ # @return [String]
1825
+ attr_accessor :action
1826
+
1827
+ # A single identity requesting access for a Cloud Platform resource, e.g. "foo@
1828
+ # google.com".
1829
+ # Corresponds to the JSON property `member`
1830
+ # @return [String]
1831
+ attr_accessor :member
1832
+
1833
+ # Role that is assigned to "members". For example, "roles/viewer", "roles/editor"
1834
+ # , or "roles/owner".
1835
+ # Corresponds to the JSON property `role`
1836
+ # @return [String]
1837
+ attr_accessor :role
1838
+
1839
+ def initialize(**args)
1840
+ update!(**args)
1841
+ end
1842
+
1843
+ # Update properties of this object
1844
+ def update!(**args)
1845
+ @action = args[:action] if args.key?(:action)
1846
+ @member = args[:member] if args.key?(:member)
1847
+ @role = args[:role] if args.key?(:role)
1848
+ end
1849
+ end
1850
+
1810
1851
  # Cloud IAM Policy information associated with the Google Cloud resource
1811
1852
  # described by the Security Command Center asset. This information is managed
1812
1853
  # and defined by the Google Cloud resource and cannot be modified by the user.
@@ -2480,7 +2521,7 @@ module Google
2480
2521
  # @return [String]
2481
2522
  attr_accessor :parent_name
2482
2523
 
2483
- # The project id that the resource belongs to.
2524
+ # The project ID that the resource belongs to.
2484
2525
  # Corresponds to the JSON property `projectDisplayName`
2485
2526
  # @return [String]
2486
2527
  attr_accessor :project_display_name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.26.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 = "20220303"
25
+ REVISION = "20220401"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class IamBinding
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class IamPolicy
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -542,6 +548,8 @@ module Google
542
548
 
543
549
  property :external_uri, as: 'externalUri'
544
550
  property :finding_class, as: 'findingClass'
551
+ collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1::IamBinding, decorator: Google::Apis::SecuritycenterV1::IamBinding::Representation
552
+
545
553
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
546
554
 
547
555
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
@@ -550,6 +558,7 @@ module Google
550
558
  property :mute_initiator, as: 'muteInitiator'
551
559
  property :mute_update_time, as: 'muteUpdateTime'
552
560
  property :name, as: 'name'
561
+ property :next_steps, as: 'nextSteps'
553
562
  property :parent, as: 'parent'
554
563
  property :resource_name, as: 'resourceName'
555
564
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1::SecurityMarks::Representation
@@ -800,6 +809,15 @@ module Google
800
809
  end
801
810
  end
802
811
 
812
+ class IamBinding
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :action, as: 'action'
816
+ property :member, as: 'member'
817
+ property :role, as: 'role'
818
+ end
819
+ end
820
+
803
821
  class IamPolicy
804
822
  # @private
805
823
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -211,7 +211,7 @@ module Google
211
211
  # @param [String] start_time
212
212
  # The time at which the updated SecurityMarks take effect. If not set uses
213
213
  # current server time. Updates will be applied to the SecurityMarks that are
214
- # active immediately preceding this time. Must be smaller or equal to the server
214
+ # active immediately preceding this time. Must be earlier or equal to the server
215
215
  # time.
216
216
  # @param [String] update_mask
217
217
  # The FieldMask to use when updating the security marks resource. The field mask
@@ -982,7 +982,7 @@ module Google
982
982
  # @param [String] start_time
983
983
  # The time at which the updated SecurityMarks take effect. If not set uses
984
984
  # current server time. Updates will be applied to the SecurityMarks that are
985
- # active immediately preceding this time. Must be smaller or equal to the server
985
+ # active immediately preceding this time. Must be earlier or equal to the server
986
986
  # time.
987
987
  # @param [String] update_mask
988
988
  # The FieldMask to use when updating the security marks resource. The field mask
@@ -1326,7 +1326,7 @@ module Google
1326
1326
  # @param [String] start_time
1327
1327
  # The time at which the updated SecurityMarks take effect. If not set uses
1328
1328
  # current server time. Updates will be applied to the SecurityMarks that are
1329
- # active immediately preceding this time. Must be smaller or equal to the server
1329
+ # active immediately preceding this time. Must be earlier or equal to the server
1330
1330
  # time.
1331
1331
  # @param [String] update_mask
1332
1332
  # The FieldMask to use when updating the security marks resource. The field mask
@@ -2671,7 +2671,7 @@ module Google
2671
2671
  # @param [String] start_time
2672
2672
  # The time at which the updated SecurityMarks take effect. If not set uses
2673
2673
  # current server time. Updates will be applied to the SecurityMarks that are
2674
- # active immediately preceding this time. Must be smaller or equal to the server
2674
+ # active immediately preceding this time. Must be earlier or equal to the server
2675
2675
  # time.
2676
2676
  # @param [String] update_mask
2677
2677
  # The FieldMask to use when updating the security marks resource. The field mask
@@ -2909,7 +2909,7 @@ module Google
2909
2909
  # @param [String] start_time
2910
2910
  # The time at which the updated SecurityMarks take effect. If not set uses
2911
2911
  # current server time. Updates will be applied to the SecurityMarks that are
2912
- # active immediately preceding this time. Must be smaller or equal to the server
2912
+ # active immediately preceding this time. Must be earlier or equal to the server
2913
2913
  # time.
2914
2914
  # @param [String] update_mask
2915
2915
  # The FieldMask to use when updating the security marks resource. The field mask
@@ -3680,7 +3680,7 @@ module Google
3680
3680
  # @param [String] start_time
3681
3681
  # The time at which the updated SecurityMarks take effect. If not set uses
3682
3682
  # current server time. Updates will be applied to the SecurityMarks that are
3683
- # active immediately preceding this time. Must be smaller or equal to the server
3683
+ # active immediately preceding this time. Must be earlier or equal to the server
3684
3684
  # time.
3685
3685
  # @param [String] update_mask
3686
3686
  # The FieldMask to use when updating the security marks resource. The field mask
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.26.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-14 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []