google-cloud-security_center-v1 1.9.1 → 1.11.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/security_center/v1/security_center/client.rb +2 -0
- data/lib/google/cloud/security_center/v1/security_center/operations.rb +2 -0
- data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +2 -0
- data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +2 -0
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/agent_anomaly_pb.rb +24 -0
- data/lib/google/cloud/securitycenter/v1/agent_pb.rb +21 -0
- data/lib/google/cloud/securitycenter/v1/agent_session_pb.rb +21 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +4 -1
- data/proto_docs/google/cloud/securitycenter/v1/agent.rb +39 -0
- data/proto_docs/google/cloud/securitycenter/v1/agent_anomaly.rb +98 -0
- data/proto_docs/google/cloud/securitycenter/v1/agent_session.rb +35 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +9 -0
- metadata +9 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb9646cc29dbb5d5e91323cf3271d8b8b2f137ffd5a4574c5abdc6e5a44f711a
|
|
4
|
+
data.tar.gz: 25fb6bcad1301b99a989af4c5081a6f19f95807cdc09c8cec90d3c6d1457b454
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae550bc4865fad19c6b36e836fae69094d55942e0ccc08f182af542ebd62d0a254de01637a6d69f379e567caa0280ad896bdd8d875ce7ef66e0c67e690884ad2
|
|
7
|
+
data.tar.gz: 575fdac6847011efda5f2c44d2abd8876d75bf2961f75973df5e2b160e9c98dd7c2ffe38510e390c6609e347e1b32bbea40161db6398751be2fb03a5224a8300
|
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 3.
|
|
88
|
+
This library is supported on Ruby 3.2+.
|
|
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
|
|
@@ -6914,6 +6914,7 @@ module Google
|
|
|
6914
6914
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
6915
6915
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
6916
6916
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
6917
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
6917
6918
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
6918
6919
|
# trigger a retry.
|
|
6919
6920
|
# @return [::Hash]
|
|
@@ -6997,6 +6998,7 @@ module Google
|
|
|
6997
6998
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
6998
6999
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
6999
7000
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
7001
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
7000
7002
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
7001
7003
|
# trigger a retry.
|
|
7002
7004
|
#
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -6434,6 +6434,7 @@ module Google
|
|
|
6434
6434
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
6435
6435
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
6436
6436
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
6437
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
6437
6438
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
6438
6439
|
# trigger a retry.
|
|
6439
6440
|
# @return [::Hash]
|
|
@@ -6506,6 +6507,7 @@ module Google
|
|
|
6506
6507
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
6507
6508
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
6508
6509
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
6510
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
6509
6511
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
6510
6512
|
# trigger a retry.
|
|
6511
6513
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/securitycenter/v1/agent_anomaly.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n2google/cloud/securitycenter/v1/agent_anomaly.proto\x12\x1egoogle.cloud.securitycenter.v1\"\xcc\x01\n\x0c\x41gentAnomaly\x12\x18\n\x10\x63onfidence_score\x18\x01 \x01(\x01\x12N\n\x13\x64\x65tector_references\x18\x02 \x03(\x0b\x32\x31.google.cloud.securitycenter.v1.DetectorReference\x12R\n\x15invocation_references\x18\x03 \x03(\x0b\x32\x33.google.cloud.securitycenter.v1.InvocationReference\"\x8c\x02\n\x11\x44\x65tectorReference\x12L\n\x08severity\x18\x01 \x01(\x0e\x32:.google.cloud.securitycenter.v1.DetectorReference.Severity\x12\x13\n\x0b\x64\x65tector_id\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x65xplanation\x18\x04 \x01(\t\x12\x16\n\x0erecommendation\x18\x05 \x01(\t\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04\",\n\x13InvocationReference\x12\x15\n\rinvocation_id\x18\x01 \x01(\tB\xeb\x01\n\"com.google.cloud.securitycenter.v1B\x11\x41gentAnomalyProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
|
|
9
|
+
|
|
10
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
|
12
|
+
|
|
13
|
+
module Google
|
|
14
|
+
module Cloud
|
|
15
|
+
module SecurityCenter
|
|
16
|
+
module V1
|
|
17
|
+
AgentAnomaly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.AgentAnomaly").msgclass
|
|
18
|
+
DetectorReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DetectorReference").msgclass
|
|
19
|
+
DetectorReference::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DetectorReference.Severity").enummodule
|
|
20
|
+
InvocationReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.InvocationReference").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/securitycenter/v1/agent.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n*google/cloud/securitycenter/v1/agent.proto\x12\x1egoogle.cloud.securitycenter.v1\")\n\x05\x41gent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\tB\xe4\x01\n\"com.google.cloud.securitycenter.v1B\nAgentProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
|
|
9
|
+
|
|
10
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
|
12
|
+
|
|
13
|
+
module Google
|
|
14
|
+
module Cloud
|
|
15
|
+
module SecurityCenter
|
|
16
|
+
module V1
|
|
17
|
+
Agent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Agent").msgclass
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/securitycenter/v1/agent_session.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n2google/cloud/securitycenter/v1/agent_session.proto\x12\x1egoogle.cloud.securitycenter.v1\"\"\n\x0c\x41gentSession\x12\x12\n\nsession_id\x18\x01 \x01(\tB\xeb\x01\n\"com.google.cloud.securitycenter.v1B\x11\x41gentSessionProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
|
|
9
|
+
|
|
10
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
|
12
|
+
|
|
13
|
+
module Google
|
|
14
|
+
module Cloud
|
|
15
|
+
module SecurityCenter
|
|
16
|
+
module V1
|
|
17
|
+
AgentSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.AgentSession").msgclass
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -7,6 +7,9 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
require 'google/cloud/securitycenter/v1/access_pb'
|
|
10
|
+
require 'google/cloud/securitycenter/v1/agent_pb'
|
|
11
|
+
require 'google/cloud/securitycenter/v1/agent_anomaly_pb'
|
|
12
|
+
require 'google/cloud/securitycenter/v1/agent_session_pb'
|
|
10
13
|
require 'google/cloud/securitycenter/v1/application_pb'
|
|
11
14
|
require 'google/cloud/securitycenter/v1/attack_exposure_pb'
|
|
12
15
|
require 'google/cloud/securitycenter/v1/backup_disaster_recovery_pb'
|
|
@@ -42,7 +45,7 @@ require 'google/protobuf/struct_pb'
|
|
|
42
45
|
require 'google/protobuf/timestamp_pb'
|
|
43
46
|
|
|
44
47
|
|
|
45
|
-
descriptor_data = "\n,google/cloud/securitycenter/v1/finding.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/securitycenter/v1/access.proto\x1a\x30google/cloud/securitycenter/v1/application.proto\x1a\x34google/cloud/securitycenter/v1/attack_exposure.proto\x1a=google/cloud/securitycenter/v1/backup_disaster_recovery.proto\x1a/google/cloud/securitycenter/v1/chokepoint.proto\x1a\x30google/cloud/securitycenter/v1/cloud_armor.proto\x1a;google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto\x1a\x39google/cloud/securitycenter/v1/cloud_dlp_inspection.proto\x1a/google/cloud/securitycenter/v1/compliance.proto\x1a/google/cloud/securitycenter/v1/connection.proto\x1a\x34google/cloud/securitycenter/v1/contact_details.proto\x1a.google/cloud/securitycenter/v1/container.proto\x1a-google/cloud/securitycenter/v1/database.proto\x1a\x31google/cloud/securitycenter/v1/exfiltration.proto\x1a\x36google/cloud/securitycenter/v1/external_exposure.proto\x1a\x34google/cloud/securitycenter/v1/external_system.proto\x1a)google/cloud/securitycenter/v1/file.proto\x1a\x35google/cloud/securitycenter/v1/group_membership.proto\x1a\x30google/cloud/securitycenter/v1/iam_binding.proto\x1a.google/cloud/securitycenter/v1/indicator.proto\x1a\x33google/cloud/securitycenter/v1/kernel_rootkit.proto\x1a/google/cloud/securitycenter/v1/kubernetes.proto\x1a\x32google/cloud/securitycenter/v1/load_balancer.proto\x1a.google/cloud/securitycenter/v1/log_entry.proto\x1a\x31google/cloud/securitycenter/v1/mitre_attack.proto\x1a-google/cloud/securitycenter/v1/notebook.proto\x1a/google/cloud/securitycenter/v1/org_policy.proto\x1a,google/cloud/securitycenter/v1/process.proto\x1a\x33google/cloud/securitycenter/v1/security_marks.proto\x1a\x35google/cloud/securitycenter/v1/security_posture.proto\x1a\x36google/cloud/securitycenter/v1/toxic_combination.proto\x1a\x32google/cloud/securitycenter/v1/vulnerability.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
48
|
+
descriptor_data = "\n,google/cloud/securitycenter/v1/finding.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/securitycenter/v1/access.proto\x1a*google/cloud/securitycenter/v1/agent.proto\x1a\x32google/cloud/securitycenter/v1/agent_anomaly.proto\x1a\x32google/cloud/securitycenter/v1/agent_session.proto\x1a\x30google/cloud/securitycenter/v1/application.proto\x1a\x34google/cloud/securitycenter/v1/attack_exposure.proto\x1a=google/cloud/securitycenter/v1/backup_disaster_recovery.proto\x1a/google/cloud/securitycenter/v1/chokepoint.proto\x1a\x30google/cloud/securitycenter/v1/cloud_armor.proto\x1a;google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto\x1a\x39google/cloud/securitycenter/v1/cloud_dlp_inspection.proto\x1a/google/cloud/securitycenter/v1/compliance.proto\x1a/google/cloud/securitycenter/v1/connection.proto\x1a\x34google/cloud/securitycenter/v1/contact_details.proto\x1a.google/cloud/securitycenter/v1/container.proto\x1a-google/cloud/securitycenter/v1/database.proto\x1a\x31google/cloud/securitycenter/v1/exfiltration.proto\x1a\x36google/cloud/securitycenter/v1/external_exposure.proto\x1a\x34google/cloud/securitycenter/v1/external_system.proto\x1a)google/cloud/securitycenter/v1/file.proto\x1a\x35google/cloud/securitycenter/v1/group_membership.proto\x1a\x30google/cloud/securitycenter/v1/iam_binding.proto\x1a.google/cloud/securitycenter/v1/indicator.proto\x1a\x33google/cloud/securitycenter/v1/kernel_rootkit.proto\x1a/google/cloud/securitycenter/v1/kubernetes.proto\x1a\x32google/cloud/securitycenter/v1/load_balancer.proto\x1a.google/cloud/securitycenter/v1/log_entry.proto\x1a\x31google/cloud/securitycenter/v1/mitre_attack.proto\x1a-google/cloud/securitycenter/v1/notebook.proto\x1a/google/cloud/securitycenter/v1/org_policy.proto\x1a,google/cloud/securitycenter/v1/process.proto\x1a\x33google/cloud/securitycenter/v1/security_marks.proto\x1a\x35google/cloud/securitycenter/v1/security_posture.proto\x1a\x36google/cloud/securitycenter/v1/toxic_combination.proto\x1a\x32google/cloud/securitycenter/v1/vulnerability.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x99$\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.google.cloud.securitycenter.v1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12X\n\x11source_properties\x18\x07 \x03(\x0b\x32=.google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry\x12J\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x08severity\x18\x0c \x01(\x0e\x32\x30.google.cloud.securitycenter.v1.Finding.Severity\x12\x16\n\x0e\x63\x61nonical_name\x18\x0e \x01(\t\x12:\n\x04mute\x18\x0f \x01(\x0e\x32,.google.cloud.securitycenter.v1.Finding.Mute\x12K\n\rfinding_class\x18\x11 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1.Finding.FindingClass\x12<\n\tindicator\x18\x12 \x01(\x0b\x32).google.cloud.securitycenter.v1.Indicator\x12\x44\n\rvulnerability\x18\x14 \x01(\x0b\x32-.google.cloud.securitycenter.v1.Vulnerability\x12\x39\n\x10mute_update_time\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12[\n\x10\x65xternal_systems\x18\x16 \x03(\x0b\x32<.google.cloud.securitycenter.v1.Finding.ExternalSystemsEntryB\x03\xe0\x41\x03\x12\x41\n\x0cmitre_attack\x18\x19 \x01(\x0b\x32+.google.cloud.securitycenter.v1.MitreAttack\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x1a \x01(\x0b\x32&.google.cloud.securitycenter.v1.Access\x12?\n\x0b\x63onnections\x18\x1f \x03(\x0b\x32*.google.cloud.securitycenter.v1.Connection\x12\x16\n\x0emute_initiator\x18\x1c \x01(\t\x12H\n\tmute_info\x18= \x01(\x0b\x32\x30.google.cloud.securitycenter.v1.Finding.MuteInfoB\x03\xe0\x41\x03\x12:\n\tprocesses\x18\x1e \x03(\x0b\x32\'.google.cloud.securitycenter.v1.Process\x12L\n\x08\x63ontacts\x18! \x03(\x0b\x32\x35.google.cloud.securitycenter.v1.Finding.ContactsEntryB\x03\xe0\x41\x03\x12?\n\x0b\x63ompliances\x18\" \x03(\x0b\x32*.google.cloud.securitycenter.v1.Compliance\x12 \n\x13parent_display_name\x18$ \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18% \x01(\t\x12\x42\n\x0c\x65xfiltration\x18& \x01(\x0b\x32,.google.cloud.securitycenter.v1.Exfiltration\x12@\n\x0ciam_bindings\x18\' \x03(\x0b\x32*.google.cloud.securitycenter.v1.IamBinding\x12\x12\n\nnext_steps\x18( \x01(\t\x12\x13\n\x0bmodule_name\x18) \x01(\t\x12=\n\ncontainers\x18* \x03(\x0b\x32).google.cloud.securitycenter.v1.Container\x12>\n\nkubernetes\x18+ \x01(\x0b\x32*.google.cloud.securitycenter.v1.Kubernetes\x12:\n\x08\x64\x61tabase\x18, \x01(\x0b\x32(.google.cloud.securitycenter.v1.Database\x12G\n\x0f\x61ttack_exposure\x18- \x01(\x0b\x32..google.cloud.securitycenter.v1.AttackExposure\x12\x33\n\x05\x66iles\x18. \x03(\x0b\x32$.google.cloud.securitycenter.v1.File\x12P\n\x14\x63loud_dlp_inspection\x18\x30 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.CloudDlpInspection\x12S\n\x16\x63loud_dlp_data_profile\x18\x31 \x01(\x0b\x32\x33.google.cloud.securitycenter.v1.CloudDlpDataProfile\x12\x45\n\x0ekernel_rootkit\x18\x32 \x01(\x0b\x32-.google.cloud.securitycenter.v1.KernelRootkit\x12?\n\x0corg_policies\x18\x33 \x03(\x0b\x32).google.cloud.securitycenter.v1.OrgPolicy\x12@\n\x0b\x61pplication\x18\x35 \x01(\x0b\x32+.google.cloud.securitycenter.v1.Application\x12X\n\x18\x62\x61\x63kup_disaster_recovery\x18\x37 \x01(\x0b\x32\x36.google.cloud.securitycenter.v1.BackupDisasterRecovery\x12I\n\x10security_posture\x18\x38 \x01(\x0b\x32/.google.cloud.securitycenter.v1.SecurityPosture\x12=\n\x0blog_entries\x18\x39 \x03(\x0b\x32(.google.cloud.securitycenter.v1.LogEntry\x12\x44\n\x0eload_balancers\x18: \x03(\x0b\x32,.google.cloud.securitycenter.v1.LoadBalancer\x12?\n\x0b\x63loud_armor\x18; \x01(\x0b\x32*.google.cloud.securitycenter.v1.CloudArmor\x12:\n\x08notebook\x18? \x01(\x0b\x32(.google.cloud.securitycenter.v1.Notebook\x12K\n\x11toxic_combination\x18@ \x01(\x0b\x32\x30.google.cloud.securitycenter.v1.ToxicCombination\x12J\n\x11group_memberships\x18\x41 \x03(\x0b\x32/.google.cloud.securitycenter.v1.GroupMembership\x12>\n\nchokepoint\x18M \x01(\x0b\x32*.google.cloud.securitycenter.v1.Chokepoint\x12K\n\x11\x65xternal_exposure\x18T \x01(\x0b\x32\x30.google.cloud.securitycenter.v1.ExternalExposure\x12\x34\n\x05\x61gent\x18X \x01(\x0b\x32%.google.cloud.securitycenter.v1.Agent\x12\x44\n\x0e\x61gent_sessions\x18Y \x03(\x0b\x32,.google.cloud.securitycenter.v1.AgentSession\x12\x43\n\ragent_anomaly\x18Z \x01(\x0b\x32,.google.cloud.securitycenter.v1.AgentAnomaly\x1a\x93\x03\n\x08MuteInfo\x12P\n\x0bstatic_mute\x18\x01 \x01(\x0b\x32;.google.cloud.securitycenter.v1.Finding.MuteInfo.StaticMute\x12`\n\x14\x64ynamic_mute_records\x18\x02 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1.Finding.MuteInfo.DynamicMuteRecord\x1ay\n\nStaticMute\x12;\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.securitycenter.v1.Finding.Mute\x12.\n\napply_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aX\n\x11\x44ynamicMuteRecord\x12\x13\n\x0bmute_config\x18\x01 \x01(\t\x12.\n\nmatch_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a\x66\n\x14\x45xternalSystemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..google.cloud.securitycenter.v1.ExternalSystem:\x02\x38\x01\x1a_\n\rContactsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..google.cloud.securitycenter.v1.ContactDetails:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04\"C\n\x04Mute\x12\x14\n\x10MUTE_UNSPECIFIED\x10\x00\x12\t\n\x05MUTED\x10\x01\x12\x0b\n\x07UNMUTED\x10\x02\x12\r\n\tUNDEFINED\x10\x04\"\xf0\x01\n\x0c\x46indingClass\x12\x1d\n\x19\x46INDING_CLASS_UNSPECIFIED\x10\x00\x12\n\n\x06THREAT\x10\x01\x12\x11\n\rVULNERABILITY\x10\x02\x12\x14\n\x10MISCONFIGURATION\x10\x03\x12\x0f\n\x0bOBSERVATION\x10\x04\x12\r\n\tSCC_ERROR\x10\x05\x12\x15\n\x11POSTURE_VIOLATION\x10\x06\x12\x15\n\x11TOXIC_COMBINATION\x10\x07\x12\x17\n\x13SENSITIVE_DATA_RISK\x10\x08\x12\x0e\n\nCHOKEPOINT\x10\t\x12\x15\n\x11\x45XTERNAL_EXPOSURE\x10\n:\xee\x01\xea\x41\xea\x01\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}\x12\x34\x66olders/{folder}/sources/{source}/findings/{finding}\x12\x36projects/{project}/sources/{source}/findings/{finding}*\x08\x66indings2\x07\x66indingB\xd8\x01\n\"com.google.cloud.securitycenter.v1P\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
|
|
46
49
|
|
|
47
50
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
48
51
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module SecurityCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a monitored AI Agent.
|
|
25
|
+
# @!attribute [rw] id
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier of the agent.
|
|
28
|
+
# @!attribute [rw] display_name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# The user friendly name of the specific agent instance where the finding was
|
|
31
|
+
# detected, for example, "Banking Agent".
|
|
32
|
+
class Agent
|
|
33
|
+
include ::Google::Protobuf::MessageExts
|
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module SecurityCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Represents details about an anomaly detected in an AI agent's behavior.
|
|
25
|
+
# @!attribute [rw] confidence_score
|
|
26
|
+
# @return [::Float]
|
|
27
|
+
# The overall confidence score indicating the likelihood that this session
|
|
28
|
+
# contains a true anomaly. The score ranges from 0.0 to 1.0, where 1.0
|
|
29
|
+
# signifies 100% confidence in the presence of an anomaly and 0.0 signifies
|
|
30
|
+
# 0% confidence.
|
|
31
|
+
# @!attribute [rw] detector_references
|
|
32
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::DetectorReference>]
|
|
33
|
+
# The list of references to specific detectors that identified anomalies
|
|
34
|
+
# within this session.
|
|
35
|
+
# @!attribute [rw] invocation_references
|
|
36
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::InvocationReference>]
|
|
37
|
+
# References to the OpenTelemetry invocations.
|
|
38
|
+
class AgentAnomaly
|
|
39
|
+
include ::Google::Protobuf::MessageExts
|
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Represents a reference to a specific anomaly detector.
|
|
44
|
+
# @!attribute [rw] severity
|
|
45
|
+
# @return [::Google::Cloud::SecurityCenter::V1::DetectorReference::Severity]
|
|
46
|
+
# The severity of the detector.
|
|
47
|
+
# @!attribute [rw] detector_id
|
|
48
|
+
# @return [::String]
|
|
49
|
+
# The unique identifier of the detector.
|
|
50
|
+
# @!attribute [rw] display_name
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# A human readable name for the detector, providing context on its purpose.
|
|
53
|
+
# For example, "ASI02: Tool Misuse", or "Excessive API Calls".
|
|
54
|
+
# @!attribute [rw] explanation
|
|
55
|
+
# @return [::String]
|
|
56
|
+
# A detailed explanation generated by an LLM or the detector itself,
|
|
57
|
+
# describing why this specific anomaly was flagged. This provides rationale
|
|
58
|
+
# and context for the detection.
|
|
59
|
+
# @!attribute [rw] recommendation
|
|
60
|
+
# @return [::String]
|
|
61
|
+
# Recommended steps or actions to remediate or investigate the anomaly
|
|
62
|
+
# flagged by this detector. These could include configuration changes, code
|
|
63
|
+
# adjustments, or further diagnostic procedures.
|
|
64
|
+
class DetectorReference
|
|
65
|
+
include ::Google::Protobuf::MessageExts
|
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
67
|
+
|
|
68
|
+
# Severity levels for detectors.
|
|
69
|
+
module Severity
|
|
70
|
+
# Unspecified severity.
|
|
71
|
+
SEVERITY_UNSPECIFIED = 0
|
|
72
|
+
|
|
73
|
+
# Critical severity.
|
|
74
|
+
CRITICAL = 1
|
|
75
|
+
|
|
76
|
+
# High severity.
|
|
77
|
+
HIGH = 2
|
|
78
|
+
|
|
79
|
+
# Medium severity.
|
|
80
|
+
MEDIUM = 3
|
|
81
|
+
|
|
82
|
+
# Low severity.
|
|
83
|
+
LOW = 4
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Represents a reference to a specific OpenTelemetry invocation.
|
|
88
|
+
# @!attribute [rw] invocation_id
|
|
89
|
+
# @return [::String]
|
|
90
|
+
# The unique identifier of the invocation.
|
|
91
|
+
class InvocationReference
|
|
92
|
+
include ::Google::Protobuf::MessageExts
|
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module SecurityCenter
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a conversational session where the finding occurred.
|
|
25
|
+
# @!attribute [rw] session_id
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# The session ID of a conversation.
|
|
28
|
+
class AgentSession
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -263,6 +263,15 @@ module Google
|
|
|
263
263
|
# @!attribute [rw] external_exposure
|
|
264
264
|
# @return [::Google::Cloud::SecurityCenter::V1::ExternalExposure]
|
|
265
265
|
# External exposure associated with the finding.
|
|
266
|
+
# @!attribute [rw] agent
|
|
267
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Agent]
|
|
268
|
+
# Primary Agent that the specified finding was flagged for
|
|
269
|
+
# @!attribute [rw] agent_sessions
|
|
270
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::AgentSession>]
|
|
271
|
+
# Conversational session(s) where the finding occurred.
|
|
272
|
+
# @!attribute [rw] agent_anomaly
|
|
273
|
+
# @return [::Google::Cloud::SecurityCenter::V1::AgentAnomaly]
|
|
274
|
+
# Details about behavior anomalies detected in AI agents.
|
|
266
275
|
class Finding
|
|
267
276
|
include ::Google::Protobuf::MessageExts
|
|
268
277
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -78,6 +78,9 @@ files:
|
|
|
78
78
|
- lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb
|
|
79
79
|
- lib/google/cloud/security_center/v1/version.rb
|
|
80
80
|
- lib/google/cloud/securitycenter/v1/access_pb.rb
|
|
81
|
+
- lib/google/cloud/securitycenter/v1/agent_anomaly_pb.rb
|
|
82
|
+
- lib/google/cloud/securitycenter/v1/agent_pb.rb
|
|
83
|
+
- lib/google/cloud/securitycenter/v1/agent_session_pb.rb
|
|
81
84
|
- lib/google/cloud/securitycenter/v1/application_pb.rb
|
|
82
85
|
- lib/google/cloud/securitycenter/v1/asset_pb.rb
|
|
83
86
|
- lib/google/cloud/securitycenter/v1/attack_exposure_pb.rb
|
|
@@ -140,6 +143,9 @@ files:
|
|
|
140
143
|
- proto_docs/google/api/launch_stage.rb
|
|
141
144
|
- proto_docs/google/api/resource.rb
|
|
142
145
|
- proto_docs/google/cloud/securitycenter/v1/access.rb
|
|
146
|
+
- proto_docs/google/cloud/securitycenter/v1/agent.rb
|
|
147
|
+
- proto_docs/google/cloud/securitycenter/v1/agent_anomaly.rb
|
|
148
|
+
- proto_docs/google/cloud/securitycenter/v1/agent_session.rb
|
|
143
149
|
- proto_docs/google/cloud/securitycenter/v1/application.rb
|
|
144
150
|
- proto_docs/google/cloud/securitycenter/v1/asset.rb
|
|
145
151
|
- proto_docs/google/cloud/securitycenter/v1/attack_exposure.rb
|