google-apis-securitycenter_v1 0.24.0 → 0.27.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4d81716955ec88e75302c1b36d623415714b55ffe544ea1434db4afa7004ee0
|
4
|
+
data.tar.gz: 65ea86a1a8bf87492e30919c0f8bbc53c789743bc8820d8226ed7af581523929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94905bd3d7320f7f80fbfb2cba5ca4d425723fbc7e21871959d45f66a6d2d7e59b34811269c1b38a3f262eef48e27206584e97efb60b9d2a686696975e51db33
|
7
|
+
data.tar.gz: f7c4a5e83d4c82a2f07ebbf6f1ee922f7970f59bbe1f1b48e7cec37b0bccd3446cba32232fc9847e89b11586d5ac0a1175bbdaed3e4241099df68274207c6026
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2022-04-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220408
|
6
|
+
|
7
|
+
### v0.26.0 (2022-04-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220401
|
10
|
+
|
11
|
+
### v0.25.0 (2022-03-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220318
|
14
|
+
|
3
15
|
### v0.24.0 (2022-03-15)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220310
|
@@ -276,7 +276,7 @@ module Google
|
|
276
276
|
# @return [Google::Apis::SecuritycenterV1::Expr]
|
277
277
|
attr_accessor :condition
|
278
278
|
|
279
|
-
# Specifies the principals requesting access for a Cloud
|
279
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
280
280
|
# members` can have the following values: * `allUsers`: A special identifier
|
281
281
|
# that represents anyone who is on the internet; with or without a Google
|
282
282
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -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); `
|
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
|
627
|
-
#
|
628
|
-
#
|
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)
|
@@ -1109,7 +1120,7 @@ module Google
|
|
1109
1120
|
# @return [String]
|
1110
1121
|
attr_accessor :project
|
1111
1122
|
|
1112
|
-
# The project
|
1123
|
+
# The project ID that the resource belongs to.
|
1113
1124
|
# Corresponds to the JSON property `projectDisplayName`
|
1114
1125
|
# @return [String]
|
1115
1126
|
attr_accessor :project_display_name
|
@@ -1803,6 +1814,40 @@ module Google
|
|
1803
1814
|
end
|
1804
1815
|
end
|
1805
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
|
+
|
1806
1851
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
1807
1852
|
# described by the Security Command Center asset. This information is managed
|
1808
1853
|
# and defined by the Google Cloud resource and cannot be modified by the user.
|
@@ -2476,7 +2521,7 @@ module Google
|
|
2476
2521
|
# @return [String]
|
2477
2522
|
attr_accessor :parent_name
|
2478
2523
|
|
2479
|
-
# The project
|
2524
|
+
# The project ID that the resource belongs to.
|
2480
2525
|
# Corresponds to the JSON property `projectDisplayName`
|
2481
2526
|
# @return [String]
|
2482
2527
|
attr_accessor :project_display_name
|
@@ -2865,7 +2910,7 @@ module Google
|
|
2865
2910
|
include Google::Apis::Core::Hashable
|
2866
2911
|
|
2867
2912
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
2868
|
-
# (such as
|
2913
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
2869
2914
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
2870
2915
|
# Corresponds to the JSON property `permissions`
|
2871
2916
|
# @return [Array<String>]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.27.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 = "
|
25
|
+
REVISION = "20220408"
|
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
|
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
|
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
|
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
|
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
|
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
|
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.
|
4
|
+
version: 0.27.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-
|
11
|
+
date: 2022-04-18 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.27.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: []
|