google-cloud-security_center-v1 1.3.0 → 1.4.1
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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/security_center/v1/security_center/client.rb +9 -2
- data/lib/google/cloud/security_center/v1/security_center/operations.rb +9 -2
- data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +8 -1
- data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +8 -1
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +4 -0
- data/proto_docs/google/cloud/securitycenter/v1/resource.rb +4 -0
- data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +10 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f904e12abb231fee192a25988a5e5575599fc7f08000c87f15efdf4c112b9ef4
|
4
|
+
data.tar.gz: 8431ef4e3538f49de86fa922cfce79676d035caba2bb8fc2f64c23c3e8760cbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43f364c7e9860165f18788fbe6842923e96fd61e25f95491cff41d92bd625d6ca76b6392ec656f2283cd24d16bba071051b8518894a8f741c669b31ecfaa495
|
7
|
+
data.tar.gz: d64983e757caac2ab0fe63393dc0f2f3ab0236c608e32769b67106975ae109ed65219bcdcfe2d7ca0bc8c0548d4387937b9bd07bb68a42bd2fcc6981c90bbf2f
|
data/README.md
CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
85
85
|
|
86
86
|
## Supported Ruby Versions
|
87
87
|
|
88
|
-
This library is supported on Ruby
|
88
|
+
This library is supported on Ruby 3.0+.
|
89
89
|
|
90
90
|
Google provides official support for Ruby versions that are actively supported
|
91
91
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -6862,6 +6862,13 @@ module Google
|
|
6862
6862
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
6863
6863
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
6864
6864
|
# * (`nil`) indicating no credentials
|
6865
|
+
#
|
6866
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
6867
|
+
# external source for authentication to Google Cloud, you must validate it before
|
6868
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
6869
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
6870
|
+
# For more information, refer to [Validate credential configurations from external
|
6871
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
6865
6872
|
# @return [::Object]
|
6866
6873
|
# @!attribute [rw] scope
|
6867
6874
|
# The OAuth scopes
|
@@ -6916,8 +6923,8 @@ module Google
|
|
6916
6923
|
|
6917
6924
|
config_attr :endpoint, nil, ::String, nil
|
6918
6925
|
config_attr :credentials, nil do |value|
|
6919
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
6920
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
6926
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
6927
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
6921
6928
|
allowed.any? { |klass| klass === value }
|
6922
6929
|
end
|
6923
6930
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -694,8 +701,8 @@ module Google
|
|
694
701
|
|
695
702
|
config_attr :endpoint, nil, ::String, nil
|
696
703
|
config_attr :credentials, nil do |value|
|
697
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
698
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
699
706
|
allowed.any? { |klass| klass === value }
|
700
707
|
end
|
701
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -6406,6 +6406,13 @@ module Google
|
|
6406
6406
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
6407
6407
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
6408
6408
|
# * (`nil`) indicating no credentials
|
6409
|
+
#
|
6410
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
6411
|
+
# external source for authentication to Google Cloud, you must validate it before
|
6412
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
6413
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
6414
|
+
# For more information, refer to [Validate credential configurations from external
|
6415
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
6409
6416
|
# @return [::Object]
|
6410
6417
|
# @!attribute [rw] scope
|
6411
6418
|
# The OAuth scopes
|
@@ -6453,7 +6460,7 @@ module Google
|
|
6453
6460
|
|
6454
6461
|
config_attr :endpoint, nil, ::String, nil
|
6455
6462
|
config_attr :credentials, nil do |value|
|
6456
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
6463
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
6457
6464
|
allowed.any? { |klass| klass === value }
|
6458
6465
|
end
|
6459
6466
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -549,7 +556,7 @@ module Google
|
|
549
556
|
|
550
557
|
config_attr :endpoint, nil, ::String, nil
|
551
558
|
config_attr :credentials, nil do |value|
|
552
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
559
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
553
560
|
allowed.any? { |klass| klass === value }
|
554
561
|
end
|
555
562
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -47,9 +47,13 @@ module Google
|
|
47
47
|
# @!attribute [rw] memory_hash_signature
|
48
48
|
# @return [::Google::Cloud::SecurityCenter::V1::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::V1::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::V1::Indicator::ProcessSignature::SignatureType]
|
55
59
|
# Describes the type of resource associated with the signature.
|
@@ -66,9 +66,13 @@ module Google
|
|
66
66
|
# @!attribute [rw] aws_metadata
|
67
67
|
# @return [::Google::Cloud::SecurityCenter::V1::AwsMetadata]
|
68
68
|
# The AWS metadata associated with the finding.
|
69
|
+
#
|
70
|
+
# Note: The following fields are mutually exclusive: `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
69
71
|
# @!attribute [rw] azure_metadata
|
70
72
|
# @return [::Google::Cloud::SecurityCenter::V1::AzureMetadata]
|
71
73
|
# The Azure metadata associated with the finding.
|
74
|
+
#
|
75
|
+
# Note: The following fields are mutually exclusive: `azure_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
72
76
|
# @!attribute [rw] resource_path
|
73
77
|
# @return [::Google::Cloud::SecurityCenter::V1::ResourcePath]
|
74
78
|
# Provides the path to the resource within the resource hierarchy.
|
@@ -1514,9 +1514,13 @@ module Google
|
|
1514
1514
|
# @!attribute [rw] aws_metadata
|
1515
1515
|
# @return [::Google::Cloud::SecurityCenter::V1::AwsMetadata]
|
1516
1516
|
# The AWS metadata associated with the finding.
|
1517
|
+
#
|
1518
|
+
# Note: The following fields are mutually exclusive: `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1517
1519
|
# @!attribute [rw] azure_metadata
|
1518
1520
|
# @return [::Google::Cloud::SecurityCenter::V1::AzureMetadata]
|
1519
1521
|
# The Azure metadata associated with the finding.
|
1522
|
+
#
|
1523
|
+
# Note: The following fields are mutually exclusive: `azure_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1520
1524
|
# @!attribute [rw] resource_path
|
1521
1525
|
# @return [::Google::Cloud::SecurityCenter::V1::ResourcePath]
|
1522
1526
|
# Provides the path to the resource within the resource hierarchy.
|
@@ -1667,12 +1671,18 @@ module Google
|
|
1667
1671
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding]
|
1668
1672
|
# Finding that would be published for the test case,
|
1669
1673
|
# if a violation is detected.
|
1674
|
+
#
|
1675
|
+
# Note: The following fields are mutually exclusive: `finding`, `no_violation`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1670
1676
|
# @!attribute [rw] no_violation
|
1671
1677
|
# @return [::Google::Protobuf::Empty]
|
1672
1678
|
# Indicates that the test case does not trigger any violation.
|
1679
|
+
#
|
1680
|
+
# Note: The following fields are mutually exclusive: `no_violation`, `finding`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1673
1681
|
# @!attribute [rw] error
|
1674
1682
|
# @return [::Google::Rpc::Status]
|
1675
1683
|
# Error encountered during the test.
|
1684
|
+
#
|
1685
|
+
# Note: The following fields are mutually exclusive: `error`, `finding`, `no_violation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1676
1686
|
class SimulatedResult
|
1677
1687
|
include ::Google::Protobuf::MessageExts
|
1678
1688
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
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.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -212,7 +211,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
212
211
|
licenses:
|
213
212
|
- Apache-2.0
|
214
213
|
metadata: {}
|
215
|
-
post_install_message:
|
216
214
|
rdoc_options: []
|
217
215
|
require_paths:
|
218
216
|
- lib
|
@@ -220,15 +218,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
218
|
requirements:
|
221
219
|
- - ">="
|
222
220
|
- !ruby/object:Gem::Version
|
223
|
-
version: '
|
221
|
+
version: '3.0'
|
224
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
223
|
requirements:
|
226
224
|
- - ">="
|
227
225
|
- !ruby/object:Gem::Version
|
228
226
|
version: '0'
|
229
227
|
requirements: []
|
230
|
-
rubygems_version: 3.
|
231
|
-
signing_key:
|
228
|
+
rubygems_version: 3.6.8
|
232
229
|
specification_version: 4
|
233
230
|
summary: Security Command Center API provides access to temporal views of assets and
|
234
231
|
findings within an organization.
|