google-cloud-security_center-v2 0.5.0 → 0.6.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: 3a115417aff870cad3b24e41abfb92c7f4f02a727f600452b88b4b9ccf4fe3c4
4
- data.tar.gz: fe64881d43745704ebcbde182cff312f6dade0ee7a6fc803fa69e2654ff45eb9
3
+ metadata.gz: b1207e2c2511b8a7b9435ccecf7fcfb890225553376f6088f563764db86954e5
4
+ data.tar.gz: dc61ac6021bc731453acab5dd8e256591ffe906fdf30d1cfcd380e9390ab4857
5
5
  SHA512:
6
- metadata.gz: 1967baa8c7e49337a2caba730492d348aa911651732adeeacb62a9177ffd7621b601ddece74863c4750f626b815d6d67913e75b4cfdb76ea967bdaf9be83ade0
7
- data.tar.gz: 4462280cf7ea1c27511baf82f99eb3955ec0ff7b298694f361904fd694ec23f48a948674690c6f3cd5ba8fb59042da381e93dcbe66e7cc58372c6c46c3644cb6
6
+ metadata.gz: 9f5bd53ffa2d9a3e9537ac93258f0c33f1a5f3771a062785a44dfa2d10a101fc12968e7fcfaf3742ba04ba948eae6fe2cdd1f6ae6bef27d0acb54d556a41d801
7
+ data.tar.gz: df23cc9e0b03ce48986617b529e2ef3c1e57e45939075ad5b5a7b96be194f970c773d81ecf77c14d42c16b086a77704d1baa1222486937625c6fb240616cb3df
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -4356,6 +4356,13 @@ module Google
4356
4356
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4357
4357
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4358
4358
  # * (`nil`) indicating no credentials
4359
+ #
4360
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4361
+ # external source for authentication to Google Cloud, you must validate it before
4362
+ # providing it to a Google API client library. Providing an unvalidated credential
4363
+ # configuration to Google APIs can compromise the security of your systems and data.
4364
+ # For more information, refer to [Validate credential configurations from external
4365
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4359
4366
  # @return [::Object]
4360
4367
  # @!attribute [rw] scope
4361
4368
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -3992,6 +3992,13 @@ module Google
3992
3992
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3993
3993
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3994
3994
  # * (`nil`) indicating no credentials
3995
+ #
3996
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3997
+ # external source for authentication to Google Cloud, you must validate it before
3998
+ # providing it to a Google API client library. Providing an unvalidated credential
3999
+ # configuration to Google APIs can compromise the security of your systems and data.
4000
+ # For more information, refer to [Validate credential configurations from external
4001
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3995
4002
  # @return [::Object]
3996
4003
  # @!attribute [rw] scope
3997
4004
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V2
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -47,9 +47,13 @@ module Google
47
47
  # @!attribute [rw] memory_hash_signature
48
48
  # @return [::Google::Cloud::SecurityCenter::V2::Indicator::ProcessSignature::MemoryHashSignature]
49
49
  # Signature indicating that a binary family was matched.
50
+ #
51
+ # Note: The following fields are mutually exclusive: `memory_hash_signature`, `yara_rule_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
50
52
  # @!attribute [rw] yara_rule_signature
51
53
  # @return [::Google::Cloud::SecurityCenter::V2::Indicator::ProcessSignature::YaraRuleSignature]
52
54
  # Signature indicating that a YARA rule was matched.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `yara_rule_signature`, `memory_hash_signature`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  # @!attribute [rw] signature_type
54
58
  # @return [::Google::Cloud::SecurityCenter::V2::Indicator::ProcessSignature::SignatureType]
55
59
  # Describes the type of resource associated with the signature.
@@ -44,12 +44,18 @@ module Google
44
44
  # @!attribute [rw] gcp_metadata
45
45
  # @return [::Google::Cloud::SecurityCenter::V2::GcpMetadata]
46
46
  # The GCP metadata associated with the finding.
47
+ #
48
+ # Note: The following fields are mutually exclusive: `gcp_metadata`, `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
49
  # @!attribute [rw] aws_metadata
48
50
  # @return [::Google::Cloud::SecurityCenter::V2::AwsMetadata]
49
51
  # The AWS metadata associated with the finding.
52
+ #
53
+ # Note: The following fields are mutually exclusive: `aws_metadata`, `gcp_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
50
54
  # @!attribute [rw] azure_metadata
51
55
  # @return [::Google::Cloud::SecurityCenter::V2::AzureMetadata]
52
56
  # The Azure metadata associated with the finding.
57
+ #
58
+ # Note: The following fields are mutually exclusive: `azure_metadata`, `gcp_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
59
  # @!attribute [rw] resource_path
54
60
  # @return [::Google::Cloud::SecurityCenter::V2::ResourcePath]
55
61
  # Provides the path to the resource within the resource hierarchy.
@@ -759,12 +759,18 @@ module Google
759
759
  # @!attribute [rw] gcp_metadata
760
760
  # @return [::Google::Cloud::SecurityCenter::V2::GcpMetadata]
761
761
  # The GCP metadata associated with the finding.
762
+ #
763
+ # Note: The following fields are mutually exclusive: `gcp_metadata`, `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
762
764
  # @!attribute [rw] aws_metadata
763
765
  # @return [::Google::Cloud::SecurityCenter::V2::AwsMetadata]
764
766
  # The AWS metadata associated with the finding.
767
+ #
768
+ # Note: The following fields are mutually exclusive: `aws_metadata`, `gcp_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
765
769
  # @!attribute [rw] azure_metadata
766
770
  # @return [::Google::Cloud::SecurityCenter::V2::AzureMetadata]
767
771
  # The Azure metadata associated with the finding.
772
+ #
773
+ # Note: The following fields are mutually exclusive: `azure_metadata`, `gcp_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
768
774
  # @!attribute [rw] resource_path
769
775
  # @return [::Google::Cloud::SecurityCenter::V2::ResourcePath]
770
776
  # Provides the path to the resource within the resource hierarchy.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -195,7 +194,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
195
194
  licenses:
196
195
  - Apache-2.0
197
196
  metadata: {}
198
- post_install_message:
199
197
  rdoc_options: []
200
198
  require_paths:
201
199
  - lib
@@ -203,15 +201,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
201
  requirements:
204
202
  - - ">="
205
203
  - !ruby/object:Gem::Version
206
- version: '2.7'
204
+ version: '3.0'
207
205
  required_rubygems_version: !ruby/object:Gem::Requirement
208
206
  requirements:
209
207
  - - ">="
210
208
  - !ruby/object:Gem::Version
211
209
  version: '0'
212
210
  requirements: []
213
- rubygems_version: 3.5.23
214
- signing_key:
211
+ rubygems_version: 3.6.2
215
212
  specification_version: 4
216
213
  summary: Security Command Center API provides access to temporal views of assets and
217
214
  findings within an organization.