google-cloud-security_center-v1 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +3 -1
- 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/external_system.rb +51 -5
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +7 -0
- data/proto_docs/google/cloud/securitycenter/v1/security_posture.rb +83 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce5a041853ac39fb9f3ea8d6dc7d7788cc9fd4dc6cc8a033e9754a28097d7060
|
4
|
+
data.tar.gz: 2576ff8af7284372ac5cb5ff7d231196d16a79b2a05ceb68392a7491768ba99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09634c4d1ff4fa520b19fa3e16542cb176c2e4f76ebb2d072efa5e552de65fced265f74f1d22bdb4dd675dee169c1e7992954dfd45826fad3990501d4d342d7b'
|
7
|
+
data.tar.gz: 24193ea400785d59c34246e99b58cd4c3b982f8e427eb0675287551ee3e029b858a10c9be7033b8ecfc3b5e1b64b11545d15d5c82dc10017181399633be64043
|
@@ -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
|
@@ -29,12 +29,13 @@ require 'google/cloud/securitycenter/v1/mitre_attack_pb'
|
|
29
29
|
require 'google/cloud/securitycenter/v1/org_policy_pb'
|
30
30
|
require 'google/cloud/securitycenter/v1/process_pb'
|
31
31
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
32
|
+
require 'google/cloud/securitycenter/v1/security_posture_pb'
|
32
33
|
require 'google/cloud/securitycenter/v1/vulnerability_pb'
|
33
34
|
require 'google/protobuf/struct_pb'
|
34
35
|
require 'google/protobuf/timestamp_pb'
|
35
36
|
|
36
37
|
|
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\"\
|
38
|
+
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\x35google/cloud/securitycenter/v1/security_posture.proto\x1a\x32google/cloud/securitycenter/v1/vulnerability.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2\x1a\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\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
39
|
|
39
40
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
40
41
|
|
@@ -70,6 +71,7 @@ rescue TypeError
|
|
70
71
|
["google.cloud.securitycenter.v1.OrgPolicy", "google/cloud/securitycenter/v1/org_policy.proto"],
|
71
72
|
["google.cloud.securitycenter.v1.Application", "google/cloud/securitycenter/v1/application.proto"],
|
72
73
|
["google.cloud.securitycenter.v1.BackupDisasterRecovery", "google/cloud/securitycenter/v1/backup_disaster_recovery.proto"],
|
74
|
+
["google.cloud.securitycenter.v1.SecurityPosture", "google/cloud/securitycenter/v1/security_posture.proto"],
|
73
75
|
["google.cloud.securitycenter.v1.LogEntry", "google/cloud/securitycenter/v1/log_entry.proto"],
|
74
76
|
["google.cloud.securitycenter.v1.LoadBalancer", "google/cloud/securitycenter/v1/load_balancer.proto"],
|
75
77
|
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
@@ -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
|
@@ -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,6 +221,9 @@ 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.
|
@@ -367,6 +370,10 @@ module Google
|
|
367
370
|
|
368
371
|
# Describes an error that prevents some SCC functionality.
|
369
372
|
SCC_ERROR = 5
|
373
|
+
|
374
|
+
# Describes a potential security risk due to a change in the security
|
375
|
+
# posture.
|
376
|
+
POSTURE_VIOLATION = 6
|
370
377
|
end
|
371
378
|
end
|
372
379
|
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.39.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-03-
|
11
|
+
date: 2024-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb
|
122
122
|
- lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb
|
123
123
|
- lib/google/cloud/securitycenter/v1/security_marks_pb.rb
|
124
|
+
- lib/google/cloud/securitycenter/v1/security_posture_pb.rb
|
124
125
|
- lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb
|
125
126
|
- lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb
|
126
127
|
- lib/google/cloud/securitycenter/v1/source_pb.rb
|
@@ -167,6 +168,7 @@ files:
|
|
167
168
|
- proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_config.rb
|
168
169
|
- proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_module.rb
|
169
170
|
- proto_docs/google/cloud/securitycenter/v1/security_marks.rb
|
171
|
+
- proto_docs/google/cloud/securitycenter/v1/security_posture.rb
|
170
172
|
- proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb
|
171
173
|
- proto_docs/google/cloud/securitycenter/v1/source.rb
|
172
174
|
- proto_docs/google/cloud/securitycenter/v1/vulnerability.rb
|