google-cloud-security_center-v1 0.38.0 → 0.40.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/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/cloud_armor_pb.rb +49 -0
- data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +7 -1
- data/lib/google/cloud/securitycenter/v1/notebook_pb.rb +45 -0
- data/lib/google/cloud/securitycenter/v1/security_posture_pb.rb +43 -0
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/securitycenter/v1/cloud_armor.rb +128 -0
- data/proto_docs/google/cloud/securitycenter/v1/external_system.rb +51 -5
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +13 -0
- data/proto_docs/google/cloud/securitycenter/v1/notebook.rb +46 -0
- data/proto_docs/google/cloud/securitycenter/v1/security_posture.rb +83 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c70b54573673db277dfe98210b64d56ca41e385345a6aab42135a2ac2fde7b42
|
4
|
+
data.tar.gz: 8965356453cdbfb9fe939d452c83a54361a452aa806dbbe55da4f9a0969110e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 592a4880e731336c6e89d8f5be4614b904258cff1859bb0509c9556f80c958b14e105fff280bab7db615b323f4e29dce949b4bc930c26c999b66fac5c23c8116
|
7
|
+
data.tar.gz: 04bd7096250a9881c15ef10a5796f74052bc2efa2cef7e676c2500edd1fcfb6c9affa41abf2f2c0b1a82a7d24cf2cd999b50b1c2f823fb9ecb47b2fd3bb118bb
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/securitycenter/v1/cloud_armor.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/duration_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n0google/cloud/securitycenter/v1/cloud_armor.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1egoogle/protobuf/duration.proto\"\xde\x02\n\nCloudArmor\x12G\n\x0fsecurity_policy\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1.SecurityPolicy\x12:\n\x08requests\x18\x02 \x01(\x0b\x32(.google.cloud.securitycenter.v1.Requests\x12O\n\x13\x61\x64\x61ptive_protection\x18\x03 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.AdaptiveProtection\x12\x36\n\x06\x61ttack\x18\x04 \x01(\x0b\x32&.google.cloud.securitycenter.v1.Attack\x12\x15\n\rthreat_vector\x18\x05 \x01(\t\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\"=\n\x0eSecurityPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x07preview\x18\x03 \x01(\x08\"j\n\x08Requests\x12\r\n\x05ratio\x18\x01 \x01(\x01\x12\x1a\n\x12short_term_allowed\x18\x02 \x01(\x05\x12\x19\n\x11long_term_allowed\x18\x03 \x01(\x05\x12\x18\n\x10long_term_denied\x18\x04 \x01(\x05\"(\n\x12\x41\x64\x61ptiveProtection\x12\x12\n\nconfidence\x18\x01 \x01(\x01\"H\n\x06\x41ttack\x12\x12\n\nvolume_pps\x18\x01 \x01(\x05\x12\x12\n\nvolume_bps\x18\x02 \x01(\x05\x12\x16\n\x0e\x63lassification\x18\x03 \x01(\tB\xe9\x01\n\"com.google.cloud.securitycenter.v1B\x0f\x43loudArmorProtoP\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"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Cloud
|
39
|
+
module SecurityCenter
|
40
|
+
module V1
|
41
|
+
CloudArmor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CloudArmor").msgclass
|
42
|
+
SecurityPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityPolicy").msgclass
|
43
|
+
Requests = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Requests").msgclass
|
44
|
+
AdaptiveProtection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.AdaptiveProtection").msgclass
|
45
|
+
Attack = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Attack").msgclass
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -8,7 +8,7 @@ require 'google/api/resource_pb'
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n4google/cloud/securitycenter/v1/external_system.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
11
|
+
descriptor_data = "\n4google/cloud/securitycenter/v1/external_system.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x82\x07\n\x0e\x45xternalSystem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tassignees\x18\x02 \x03(\t\x12\x14\n\x0c\x65xternal_uid\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12?\n\x1b\x65xternal_system_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x63\x61se_uri\x18\x06 \x01(\t\x12\x15\n\rcase_priority\x18\x07 \x01(\t\x12,\n\x08\x63\x61se_sla\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10\x63\x61se_create_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x63\x61se_close_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x0bticket_info\x18\x08 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1.ExternalSystem.TicketInfo\x1a\x8d\x01\n\nTicketInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x61ssignee\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0b\n\x03uri\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xc5\x02\xea\x41\xc1\x02\n,securitycenter.googleapis.com/ExternalSystem\x12\x61organizations/{organization}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}\x12Ufolders/{folder}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}\x12Wprojects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}B\xed\x01\n\"com.google.cloud.securitycenter.v1B\x13\x45xternalSystemProtoP\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"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -40,6 +40,7 @@ module Google
|
|
40
40
|
module SecurityCenter
|
41
41
|
module V1
|
42
42
|
ExternalSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ExternalSystem").msgclass
|
43
|
+
ExternalSystem::TicketInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ExternalSystem.TicketInfo").msgclass
|
43
44
|
end
|
44
45
|
end
|
45
46
|
end
|
@@ -9,6 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/cloud/securitycenter/v1/access_pb'
|
10
10
|
require 'google/cloud/securitycenter/v1/application_pb'
|
11
11
|
require 'google/cloud/securitycenter/v1/backup_disaster_recovery_pb'
|
12
|
+
require 'google/cloud/securitycenter/v1/cloud_armor_pb'
|
12
13
|
require 'google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb'
|
13
14
|
require 'google/cloud/securitycenter/v1/cloud_dlp_inspection_pb'
|
14
15
|
require 'google/cloud/securitycenter/v1/compliance_pb'
|
@@ -26,15 +27,17 @@ require 'google/cloud/securitycenter/v1/kubernetes_pb'
|
|
26
27
|
require 'google/cloud/securitycenter/v1/load_balancer_pb'
|
27
28
|
require 'google/cloud/securitycenter/v1/log_entry_pb'
|
28
29
|
require 'google/cloud/securitycenter/v1/mitre_attack_pb'
|
30
|
+
require 'google/cloud/securitycenter/v1/notebook_pb'
|
29
31
|
require 'google/cloud/securitycenter/v1/org_policy_pb'
|
30
32
|
require 'google/cloud/securitycenter/v1/process_pb'
|
31
33
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
34
|
+
require 'google/cloud/securitycenter/v1/security_posture_pb'
|
32
35
|
require 'google/cloud/securitycenter/v1/vulnerability_pb'
|
33
36
|
require 'google/protobuf/struct_pb'
|
34
37
|
require 'google/protobuf/timestamp_pb'
|
35
38
|
|
36
39
|
|
37
|
-
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=google/cloud/securitycenter/v1/backup_disaster_recovery.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\x34google/cloud/securitycenter/v1/external_system.proto\x1a)google/cloud/securitycenter/v1/file.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/org_policy.proto\x1a,google/cloud/securitycenter/v1/process.proto\x1a\x33google/cloud/securitycenter/v1/security_marks.proto\x1a\x32google/cloud/securitycenter/v1/vulnerability.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
40
|
+
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=google/cloud/securitycenter/v1/backup_disaster_recovery.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\x34google/cloud/securitycenter/v1/external_system.proto\x1a)google/cloud/securitycenter/v1/file.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\x32google/cloud/securitycenter/v1/vulnerability.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9f\x1b\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\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\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\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\"\x99\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:\xdb\x01\xea\x41\xd7\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}B\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"
|
38
41
|
|
39
42
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
40
43
|
|
@@ -70,8 +73,11 @@ rescue TypeError
|
|
70
73
|
["google.cloud.securitycenter.v1.OrgPolicy", "google/cloud/securitycenter/v1/org_policy.proto"],
|
71
74
|
["google.cloud.securitycenter.v1.Application", "google/cloud/securitycenter/v1/application.proto"],
|
72
75
|
["google.cloud.securitycenter.v1.BackupDisasterRecovery", "google/cloud/securitycenter/v1/backup_disaster_recovery.proto"],
|
76
|
+
["google.cloud.securitycenter.v1.SecurityPosture", "google/cloud/securitycenter/v1/security_posture.proto"],
|
73
77
|
["google.cloud.securitycenter.v1.LogEntry", "google/cloud/securitycenter/v1/log_entry.proto"],
|
74
78
|
["google.cloud.securitycenter.v1.LoadBalancer", "google/cloud/securitycenter/v1/load_balancer.proto"],
|
79
|
+
["google.cloud.securitycenter.v1.CloudArmor", "google/cloud/securitycenter/v1/cloud_armor.proto"],
|
80
|
+
["google.cloud.securitycenter.v1.Notebook", "google/cloud/securitycenter/v1/notebook.proto"],
|
75
81
|
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
76
82
|
["google.cloud.securitycenter.v1.ExternalSystem", "google/cloud/securitycenter/v1/external_system.proto"],
|
77
83
|
["google.cloud.securitycenter.v1.ContactDetails", "google/cloud/securitycenter/v1/contact_details.proto"],
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/securitycenter/v1/notebook.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n-google/cloud/securitycenter/v1/notebook.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"x\n\x08Notebook\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x13\n\x0blast_author\x18\x03 \x01(\t\x12\x38\n\x14notebook_update_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xe7\x01\n\"com.google.cloud.securitycenter.v1B\rNotebookProtoP\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"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Cloud
|
39
|
+
module SecurityCenter
|
40
|
+
module V1
|
41
|
+
Notebook = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Notebook").msgclass
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/securitycenter/v1/security_posture.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n5google/cloud/securitycenter/v1/security_posture.proto\x12\x1egoogle.cloud.securitycenter.v1\"\xe8\x02\n\x0fSecurityPosture\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0brevision_id\x18\x02 \x01(\t\x12#\n\x1bposture_deployment_resource\x18\x03 \x01(\t\x12\x1a\n\x12posture_deployment\x18\x04 \x01(\t\x12\x16\n\x0e\x63hanged_policy\x18\x05 \x01(\t\x12\x12\n\npolicy_set\x18\x06 \x01(\t\x12\x0e\n\x06policy\x18\x07 \x01(\t\x12`\n\x14policy_drift_details\x18\x08 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1.SecurityPosture.PolicyDriftDetails\x1aS\n\x12PolicyDriftDetails\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x16\n\x0e\x65xpected_value\x18\x02 \x01(\t\x12\x16\n\x0e\x64\x65tected_value\x18\x03 \x01(\tB\xee\x01\n\"com.google.cloud.securitycenter.v1B\x14SecurityPostureProtoP\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
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Cloud
|
36
|
+
module SecurityCenter
|
37
|
+
module V1
|
38
|
+
SecurityPosture = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityPosture").msgclass
|
39
|
+
SecurityPosture::PolicyDriftDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityPosture.PolicyDriftDetails").msgclass
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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
|
+
# Fields related to Google Cloud Armor findings.
|
25
|
+
# @!attribute [rw] security_policy
|
26
|
+
# @return [::Google::Cloud::SecurityCenter::V1::SecurityPolicy]
|
27
|
+
# Information about the [Google Cloud Armor security
|
28
|
+
# policy](https://cloud.google.com/armor/docs/security-policy-overview)
|
29
|
+
# relevant to the finding.
|
30
|
+
# @!attribute [rw] requests
|
31
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Requests]
|
32
|
+
# Information about incoming requests evaluated by [Google Cloud Armor
|
33
|
+
# security
|
34
|
+
# policies](https://cloud.google.com/armor/docs/security-policy-overview).
|
35
|
+
# @!attribute [rw] adaptive_protection
|
36
|
+
# @return [::Google::Cloud::SecurityCenter::V1::AdaptiveProtection]
|
37
|
+
# Information about potential Layer 7 DDoS attacks identified by [Google
|
38
|
+
# Cloud Armor Adaptive
|
39
|
+
# Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
|
40
|
+
# @!attribute [rw] attack
|
41
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Attack]
|
42
|
+
# Information about DDoS attack volume and classification.
|
43
|
+
# @!attribute [rw] threat_vector
|
44
|
+
# @return [::String]
|
45
|
+
# Distinguish between volumetric & protocol DDoS attack and
|
46
|
+
# application layer attacks. For example, “L3_4” for Layer 3 and Layer 4 DDoS
|
47
|
+
# attacks, or “L_7” for Layer 7 DDoS attacks.
|
48
|
+
# @!attribute [rw] duration
|
49
|
+
# @return [::Google::Protobuf::Duration]
|
50
|
+
# Duration of attack from the start until the current moment (updated every 5
|
51
|
+
# minutes).
|
52
|
+
class CloudArmor
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
|
57
|
+
# Information about the [Google Cloud Armor security
|
58
|
+
# policy](https://cloud.google.com/armor/docs/security-policy-overview)
|
59
|
+
# relevant to the finding.
|
60
|
+
# @!attribute [rw] name
|
61
|
+
# @return [::String]
|
62
|
+
# The name of the Google Cloud Armor security policy, for example,
|
63
|
+
# "my-security-policy".
|
64
|
+
# @!attribute [rw] type
|
65
|
+
# @return [::String]
|
66
|
+
# The type of Google Cloud Armor security policy for example, ‘backend
|
67
|
+
# security policy’, ‘edge security policy’, ‘network edge security policy’,
|
68
|
+
# or ‘always-on DDoS protection’.
|
69
|
+
# @!attribute [rw] preview
|
70
|
+
# @return [::Boolean]
|
71
|
+
# Whether or not the associated rule or policy is in preview mode.
|
72
|
+
class SecurityPolicy
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
end
|
76
|
+
|
77
|
+
# Information about the requests relevant to the finding.
|
78
|
+
# @!attribute [rw] ratio
|
79
|
+
# @return [::Float]
|
80
|
+
# For 'Increasing deny ratio', the ratio is the denied traffic divided by the
|
81
|
+
# allowed traffic. For 'Allowed traffic spike', the ratio is the allowed
|
82
|
+
# traffic in the short term divided by allowed traffic in the long term.
|
83
|
+
# @!attribute [rw] short_term_allowed
|
84
|
+
# @return [::Integer]
|
85
|
+
# Allowed RPS (requests per second) in the short term.
|
86
|
+
# @!attribute [rw] long_term_allowed
|
87
|
+
# @return [::Integer]
|
88
|
+
# Allowed RPS (requests per second) over the long term.
|
89
|
+
# @!attribute [rw] long_term_denied
|
90
|
+
# @return [::Integer]
|
91
|
+
# Denied RPS (requests per second) over the long term.
|
92
|
+
class Requests
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
|
+
end
|
96
|
+
|
97
|
+
# Information about [Google Cloud Armor Adaptive
|
98
|
+
# Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).
|
99
|
+
# @!attribute [rw] confidence
|
100
|
+
# @return [::Float]
|
101
|
+
# A score of 0 means that there is low confidence that the detected event is
|
102
|
+
# an actual attack. A score of 1 means that there is high confidence that the
|
103
|
+
# detected event is an attack. See the [Adaptive Protection
|
104
|
+
# documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning)
|
105
|
+
# for further explanation.
|
106
|
+
class AdaptiveProtection
|
107
|
+
include ::Google::Protobuf::MessageExts
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
+
end
|
110
|
+
|
111
|
+
# Information about DDoS attack volume and classification.
|
112
|
+
# @!attribute [rw] volume_pps
|
113
|
+
# @return [::Integer]
|
114
|
+
# Total PPS (packets per second) volume of attack.
|
115
|
+
# @!attribute [rw] volume_bps
|
116
|
+
# @return [::Integer]
|
117
|
+
# Total BPS (bytes per second) volume of attack.
|
118
|
+
# @!attribute [rw] classification
|
119
|
+
# @return [::String]
|
120
|
+
# Type of attack, for example, ‘SYN-flood’, ‘NTP-udp’, or ‘CHARGEN-udp’.
|
121
|
+
class Attack
|
122
|
+
include ::Google::Protobuf::MessageExts
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
@@ -33,18 +33,64 @@ module Google
|
|
33
33
|
# References primary/secondary etc assignees in the external system.
|
34
34
|
# @!attribute [rw] external_uid
|
35
35
|
# @return [::String]
|
36
|
-
#
|
36
|
+
# The identifier that's used to track the finding's corresponding case in the
|
37
|
+
# external system.
|
37
38
|
# @!attribute [rw] status
|
38
39
|
# @return [::String]
|
39
|
-
#
|
40
|
-
# external system.
|
40
|
+
# The most recent status of the finding's corresponding case, as reported by
|
41
|
+
# the external system.
|
41
42
|
# @!attribute [rw] external_system_update_time
|
42
43
|
# @return [::Google::Protobuf::Timestamp]
|
43
|
-
# The
|
44
|
-
#
|
44
|
+
# The time when the case was last updated, as reported by the external
|
45
|
+
# system.
|
46
|
+
# @!attribute [rw] case_uri
|
47
|
+
# @return [::String]
|
48
|
+
# The link to the finding's corresponding case in the external system.
|
49
|
+
# @!attribute [rw] case_priority
|
50
|
+
# @return [::String]
|
51
|
+
# The priority of the finding's corresponding case in the external system.
|
52
|
+
# @!attribute [rw] case_sla
|
53
|
+
# @return [::Google::Protobuf::Timestamp]
|
54
|
+
# The SLA of the finding's corresponding case in the external system.
|
55
|
+
# @!attribute [rw] case_create_time
|
56
|
+
# @return [::Google::Protobuf::Timestamp]
|
57
|
+
# The time when the case was created, as reported by the external system.
|
58
|
+
# @!attribute [rw] case_close_time
|
59
|
+
# @return [::Google::Protobuf::Timestamp]
|
60
|
+
# The time when the case was closed, as reported by the external system.
|
61
|
+
# @!attribute [rw] ticket_info
|
62
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ExternalSystem::TicketInfo]
|
63
|
+
# Information about the ticket, if any, that is being used to track the
|
64
|
+
# resolution of the issue that is identified by this finding.
|
45
65
|
class ExternalSystem
|
46
66
|
include ::Google::Protobuf::MessageExts
|
47
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
|
69
|
+
# Information about the ticket, if any, that is being used to track the
|
70
|
+
# resolution of the issue that is identified by this finding.
|
71
|
+
# @!attribute [rw] id
|
72
|
+
# @return [::String]
|
73
|
+
# The identifier of the ticket in the ticket system.
|
74
|
+
# @!attribute [rw] assignee
|
75
|
+
# @return [::String]
|
76
|
+
# The assignee of the ticket in the ticket system.
|
77
|
+
# @!attribute [rw] description
|
78
|
+
# @return [::String]
|
79
|
+
# The description of the ticket in the ticket system.
|
80
|
+
# @!attribute [rw] uri
|
81
|
+
# @return [::String]
|
82
|
+
# The link to the ticket in the ticket system.
|
83
|
+
# @!attribute [rw] status
|
84
|
+
# @return [::String]
|
85
|
+
# The latest status of the ticket, as reported by the ticket system.
|
86
|
+
# @!attribute [rw] update_time
|
87
|
+
# @return [::Google::Protobuf::Timestamp]
|
88
|
+
# The time when the ticket was last updated, as reported by the ticket
|
89
|
+
# system.
|
90
|
+
class TicketInfo
|
91
|
+
include ::Google::Protobuf::MessageExts
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
|
+
end
|
48
94
|
end
|
49
95
|
end
|
50
96
|
end
|
@@ -221,12 +221,21 @@ module Google
|
|
221
221
|
# @!attribute [rw] backup_disaster_recovery
|
222
222
|
# @return [::Google::Cloud::SecurityCenter::V1::BackupDisasterRecovery]
|
223
223
|
# Fields related to Backup and DR findings.
|
224
|
+
# @!attribute [rw] security_posture
|
225
|
+
# @return [::Google::Cloud::SecurityCenter::V1::SecurityPosture]
|
226
|
+
# The security posture associated with the finding.
|
224
227
|
# @!attribute [rw] log_entries
|
225
228
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::LogEntry>]
|
226
229
|
# Log entries that are relevant to the finding.
|
227
230
|
# @!attribute [rw] load_balancers
|
228
231
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::LoadBalancer>]
|
229
232
|
# The load balancers associated with the finding.
|
233
|
+
# @!attribute [rw] cloud_armor
|
234
|
+
# @return [::Google::Cloud::SecurityCenter::V1::CloudArmor]
|
235
|
+
# Fields related to Cloud Armor findings.
|
236
|
+
# @!attribute [rw] notebook
|
237
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Notebook]
|
238
|
+
# Notebook associated with the finding.
|
230
239
|
class Finding
|
231
240
|
include ::Google::Protobuf::MessageExts
|
232
241
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -367,6 +376,10 @@ module Google
|
|
367
376
|
|
368
377
|
# Describes an error that prevents some SCC functionality.
|
369
378
|
SCC_ERROR = 5
|
379
|
+
|
380
|
+
# Describes a potential security risk due to a change in the security
|
381
|
+
# posture.
|
382
|
+
POSTURE_VIOLATION = 6
|
370
383
|
end
|
371
384
|
end
|
372
385
|
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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 Jupyter notebook IPYNB file, such as a [Colab Enterprise
|
25
|
+
# notebook](https://cloud.google.com/colab/docs/introduction) file, that is
|
26
|
+
# associated with a finding.
|
27
|
+
# @!attribute [rw] name
|
28
|
+
# @return [::String]
|
29
|
+
# The name of the notebook.
|
30
|
+
# @!attribute [rw] service
|
31
|
+
# @return [::String]
|
32
|
+
# The source notebook service, for example, "Colab Enterprise".
|
33
|
+
# @!attribute [rw] last_author
|
34
|
+
# @return [::String]
|
35
|
+
# The user ID of the latest author to modify the notebook.
|
36
|
+
# @!attribute [rw] notebook_update_time
|
37
|
+
# @return [::Google::Protobuf::Timestamp]
|
38
|
+
# The most recent time the notebook was updated.
|
39
|
+
class Notebook
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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 posture that is deployed on Google Cloud by the
|
25
|
+
# Security Command Center Posture Management service.
|
26
|
+
# A posture contains one or more policy sets. A policy set is a
|
27
|
+
# group of policies that enforce a set of security rules on Google
|
28
|
+
# Cloud.
|
29
|
+
# @!attribute [rw] name
|
30
|
+
# @return [::String]
|
31
|
+
# Name of the posture, for example, `CIS-Posture`.
|
32
|
+
# @!attribute [rw] revision_id
|
33
|
+
# @return [::String]
|
34
|
+
# The version of the posture, for example, `c7cfa2a8`.
|
35
|
+
# @!attribute [rw] posture_deployment_resource
|
36
|
+
# @return [::String]
|
37
|
+
# The project, folder, or organization on which the posture is deployed,
|
38
|
+
# for example, `projects/{project_number}`.
|
39
|
+
# @!attribute [rw] posture_deployment
|
40
|
+
# @return [::String]
|
41
|
+
# The name of the posture deployment, for example,
|
42
|
+
# `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.
|
43
|
+
# @!attribute [rw] changed_policy
|
44
|
+
# @return [::String]
|
45
|
+
# The name of the updated policy, for example,
|
46
|
+
# `projects/{project_id}/policies/{constraint_name}`.
|
47
|
+
# @!attribute [rw] policy_set
|
48
|
+
# @return [::String]
|
49
|
+
# The name of the updated policyset, for example, `cis-policyset`.
|
50
|
+
# @!attribute [rw] policy
|
51
|
+
# @return [::String]
|
52
|
+
# The ID of the updated policy, for example, `compute-policy-1`.
|
53
|
+
# @!attribute [rw] policy_drift_details
|
54
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::SecurityPosture::PolicyDriftDetails>]
|
55
|
+
# The details about a change in an updated policy that violates the deployed
|
56
|
+
# posture.
|
57
|
+
class SecurityPosture
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
|
61
|
+
# The policy field that violates the deployed posture and its expected and
|
62
|
+
# detected values.
|
63
|
+
# @!attribute [rw] field
|
64
|
+
# @return [::String]
|
65
|
+
# The name of the updated field, for example
|
66
|
+
# constraint.implementation.policy_rules[0].enforce
|
67
|
+
# @!attribute [rw] expected_value
|
68
|
+
# @return [::String]
|
69
|
+
# The value of this field that was configured in a posture, for example,
|
70
|
+
# `true` or `allowed_values={"projects/29831892"}`.
|
71
|
+
# @!attribute [rw] detected_value
|
72
|
+
# @return [::String]
|
73
|
+
# The detected value that violates the deployed posture, for example,
|
74
|
+
# `false` or `allowed_values={"projects/22831892"}`.
|
75
|
+
class PolicyDriftDetails
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security_center-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.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: 2024-
|
11
|
+
date: 2024-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -89,6 +89,7 @@ files:
|
|
89
89
|
- lib/google/cloud/securitycenter/v1/asset_pb.rb
|
90
90
|
- lib/google/cloud/securitycenter/v1/backup_disaster_recovery_pb.rb
|
91
91
|
- lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb
|
92
|
+
- lib/google/cloud/securitycenter/v1/cloud_armor_pb.rb
|
92
93
|
- lib/google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb.rb
|
93
94
|
- lib/google/cloud/securitycenter/v1/cloud_dlp_inspection_pb.rb
|
94
95
|
- lib/google/cloud/securitycenter/v1/compliance_pb.rb
|
@@ -111,6 +112,7 @@ files:
|
|
111
112
|
- lib/google/cloud/securitycenter/v1/log_entry_pb.rb
|
112
113
|
- lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb
|
113
114
|
- lib/google/cloud/securitycenter/v1/mute_config_pb.rb
|
115
|
+
- lib/google/cloud/securitycenter/v1/notebook_pb.rb
|
114
116
|
- lib/google/cloud/securitycenter/v1/notification_config_pb.rb
|
115
117
|
- lib/google/cloud/securitycenter/v1/notification_message_pb.rb
|
116
118
|
- lib/google/cloud/securitycenter/v1/org_policy_pb.rb
|
@@ -121,6 +123,7 @@ files:
|
|
121
123
|
- lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb
|
122
124
|
- lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb
|
123
125
|
- lib/google/cloud/securitycenter/v1/security_marks_pb.rb
|
126
|
+
- lib/google/cloud/securitycenter/v1/security_posture_pb.rb
|
124
127
|
- lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb
|
125
128
|
- lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb
|
126
129
|
- lib/google/cloud/securitycenter/v1/source_pb.rb
|
@@ -135,6 +138,7 @@ files:
|
|
135
138
|
- proto_docs/google/cloud/securitycenter/v1/asset.rb
|
136
139
|
- proto_docs/google/cloud/securitycenter/v1/backup_disaster_recovery.rb
|
137
140
|
- proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
|
141
|
+
- proto_docs/google/cloud/securitycenter/v1/cloud_armor.rb
|
138
142
|
- proto_docs/google/cloud/securitycenter/v1/cloud_dlp_data_profile.rb
|
139
143
|
- proto_docs/google/cloud/securitycenter/v1/cloud_dlp_inspection.rb
|
140
144
|
- proto_docs/google/cloud/securitycenter/v1/compliance.rb
|
@@ -157,6 +161,7 @@ files:
|
|
157
161
|
- proto_docs/google/cloud/securitycenter/v1/log_entry.rb
|
158
162
|
- proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb
|
159
163
|
- proto_docs/google/cloud/securitycenter/v1/mute_config.rb
|
164
|
+
- proto_docs/google/cloud/securitycenter/v1/notebook.rb
|
160
165
|
- proto_docs/google/cloud/securitycenter/v1/notification_config.rb
|
161
166
|
- proto_docs/google/cloud/securitycenter/v1/notification_message.rb
|
162
167
|
- proto_docs/google/cloud/securitycenter/v1/org_policy.rb
|
@@ -167,6 +172,7 @@ files:
|
|
167
172
|
- proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_config.rb
|
168
173
|
- proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_module.rb
|
169
174
|
- proto_docs/google/cloud/securitycenter/v1/security_marks.rb
|
175
|
+
- proto_docs/google/cloud/securitycenter/v1/security_posture.rb
|
170
176
|
- proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb
|
171
177
|
- proto_docs/google/cloud/securitycenter/v1/source.rb
|
172
178
|
- proto_docs/google/cloud/securitycenter/v1/vulnerability.rb
|