google-cloud-cloud_security_compliance-v1 0.1.1 → 0.2.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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +859 -0
  5. data/lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb +47 -0
  6. data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +841 -0
  7. data/lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb +110 -0
  8. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +796 -0
  9. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +925 -0
  10. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb +387 -0
  11. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb +54 -0
  12. data/lib/google/cloud/cloud_security_compliance/v1/audit.rb +56 -0
  13. data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +1 -1
  14. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +608 -0
  15. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb +47 -0
  16. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb +72 -0
  17. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +559 -0
  18. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb +234 -0
  19. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb +54 -0
  20. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb +56 -0
  21. data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +113 -99
  22. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +113 -99
  23. data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +60 -38
  24. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +60 -38
  25. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +940 -0
  26. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb +47 -0
  27. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb +142 -0
  28. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +870 -0
  29. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb +456 -0
  30. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb +53 -0
  31. data/lib/google/cloud/cloud_security_compliance/v1/monitoring.rb +55 -0
  32. data/lib/google/cloud/cloud_security_compliance/v1/rest.rb +4 -1
  33. data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
  34. data/lib/google/cloud/cloud_security_compliance/v1.rb +5 -2
  35. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb +70 -0
  36. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb +51 -0
  37. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb +54 -0
  38. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb +54 -0
  39. data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +4 -1
  40. data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
  41. data/lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb +58 -55
  42. data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb +9 -6
  43. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +74 -0
  44. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb +53 -0
  45. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb +413 -0
  46. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb +108 -0
  47. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +210 -181
  48. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +69 -57
  49. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +180 -139
  50. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +527 -0
  51. data/proto_docs/google/type/interval.rb +45 -0
  52. metadata +34 -1
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/cloudsecuritycompliance/v1/monitoring.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/cloudsecuritycompliance/v1/common_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+ require 'google/type/interval_pb'
14
+
15
+
16
+ descriptor_data = "\n8google/cloud/cloudsecuritycompliance/v1/monitoring.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/cloudsecuritycompliance/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/interval.proto\"\xca\x01\n\'ListFrameworkComplianceSummariesRequest\x12Y\n\x06parent\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\x12\x41\x63loudsecuritycompliance.googleapis.com/FrameworkComplianceSummary\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n(ListFrameworkComplianceSummariesResponse\x12k\n\x1e\x66ramework_compliance_summaries\x18\x01 \x03(\x0b\x32\x43.google.cloud.cloudsecuritycompliance.v1.FrameworkComplianceSummary\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xf6\x08\n\x19\x46rameworkComplianceReport\x12\x11\n\tframework\x18\x01 \x01(\t\x12\x1d\n\x15\x66ramework_description\x18\x02 \x01(\t\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x65\n\x1a\x63ontrol_assessment_details\x18\x04 \x01(\x0b\x32\x41.google.cloud.cloudsecuritycompliance.v1.ControlAssessmentDetails\x12X\n\x0e\x66ramework_type\x18\x05 \x01(\x0e\x32@.google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType\x12Y\n\x19supported_cloud_providers\x18\x06 \x03(\x0e\x32\x36.google.cloud.cloudsecuritycompliance.v1.CloudProvider\x12X\n\x14\x66ramework_categories\x18\x07 \x03(\x0e\x32:.google.cloud.cloudsecuritycompliance.v1.FrameworkCategory\x12#\n\x16\x66ramework_display_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\t \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x11major_revision_id\x18\n \x01(\x03\x12\x19\n\x11minor_revision_id\x18\x0b \x01(\x03\x12_\n\x17target_resource_details\x18\x0c \x03(\x0b\x32>.google.cloud.cloudsecuritycompliance.v1.TargetResourceDetails:\xab\x03\xea\x41\xa7\x03\n@cloudsecuritycompliance.googleapis.com/FrameworkComplianceReport\x12`projects/{project}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}\x12^folders/{folder}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}\x12jorganizations/{organization}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}*\x1a\x66rameworkComplianceReports2\x19\x66rameworkComplianceReport\"\xb2\x01\n%FetchFrameworkComplianceReportRequest\x12V\n\x04name\x18\x01 \x01(\tBH\xe0\x41\x02\xfa\x41\x42\n@cloudsecuritycompliance.googleapis.com/FrameworkComplianceReport\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"\xe7\x01\n\x1bListFindingSummariesRequest\x12M\n\x06parent\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\x12\x35\x63loudsecuritycompliance.googleapis.com/FindingSummary\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x33\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\x18\x01\xe0\x41\x01\"\x90\x01\n\x1cListFindingSummariesResponse\x12R\n\x11\x66inding_summaries\x18\x01 \x03(\x0b\x32\x37.google.cloud.cloudsecuritycompliance.v1.FindingSummary\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xfb\x01\n%ListControlComplianceSummariesRequest\x12W\n\x06parent\x18\x01 \x01(\tBG\xe0\x41\x02\xfa\x41\x41\x12?cloudsecuritycompliance.googleapis.com/ControlComplianceSummary\x12\x33\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\x18\x01\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xaf\x01\n&ListControlComplianceSummariesResponse\x12g\n\x1c\x63ontrol_compliance_summaries\x18\x01 \x03(\x0b\x32\x41.google.cloud.cloudsecuritycompliance.v1.ControlComplianceSummary\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xc6\x01\n)AggregateFrameworkComplianceReportRequest\x12V\n\x04name\x18\x01 \x01(\tBH\xe0\x41\x02\xfa\x41\x42\n@cloudsecuritycompliance.googleapis.com/FrameworkComplianceReport\x12,\n\x08interval\x18\x02 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x98\x01\n*AggregateFrameworkComplianceReportResponse\x12j\n\x1d\x61ggregated_compliance_reports\x18\x01 \x03(\x0b\x32\x43.google.cloud.cloudsecuritycompliance.v1.AggregatedComplianceReport\"\x90\x01\n\x18\x43ontrolAssessmentDetails\x12\x18\n\x10passing_controls\x18\x01 \x01(\x05\x12\x18\n\x10\x66\x61iling_controls\x18\x02 \x01(\x05\x12!\n\x19\x61ssessed_passing_controls\x18\x03 \x01(\x05\x12\x1d\n\x15not_assessed_controls\x18\x04 \x01(\x05\"\xaf\x08\n\x1a\x46rameworkComplianceSummary\x12\x11\n\tframework\x18\x01 \x01(\t\x12\x65\n\x1a\x63ontrol_assessment_details\x18\x02 \x01(\x0b\x32\x41.google.cloud.cloudsecuritycompliance.v1.ControlAssessmentDetails\x12X\n\x0e\x66ramework_type\x18\x03 \x01(\x0e\x32@.google.cloud.cloudsecuritycompliance.v1.Framework.FrameworkType\x12Y\n\x19supported_cloud_providers\x18\x04 \x03(\x0e\x32\x36.google.cloud.cloudsecuritycompliance.v1.CloudProvider\x12X\n\x14\x66ramework_categories\x18\x05 \x03(\x0e\x32:.google.cloud.cloudsecuritycompliance.v1.FrameworkCategory\x12#\n\x16\x66ramework_display_name\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x07 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x11major_revision_id\x18\x08 \x01(\x03\x12\x19\n\x11minor_revision_id\x18\t \x01(\x03\x12_\n\x17target_resource_details\x18\n \x03(\x0b\x32>.google.cloud.cloudsecuritycompliance.v1.TargetResourceDetails:\xb8\x03\xea\x41\xb4\x03\nAcloudsecuritycompliance.googleapis.com/FrameworkComplianceSummary\x12\x63projects/{project}/locations/{location}/frameworkComplianceSummaries/{framework_compliance_summary}\x12\x61\x66olders/{folder}/locations/{location}/frameworkComplianceSummaries/{framework_compliance_summary}\x12morganizations/{organization}/locations/{location}/frameworkComplianceSummaries/{framework_compliance_summary}*\x1c\x66rameworkComplianceSummaries2\x1a\x66rameworkComplianceSummary\"\x8a\x05\n\x0e\x46indingSummary\x12\x18\n\x10\x66inding_category\x18\x01 \x01(\t\x12L\n\rfinding_class\x18\x02 \x01(\x0e\x32\x35.google.cloud.cloudsecuritycompliance.v1.FindingClass\x12\x43\n\x08severity\x18\x03 \x01(\x0e\x32\x31.google.cloud.cloudsecuritycompliance.v1.Severity\x12\x15\n\rfinding_count\x18\x04 \x01(\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1f\n\x12related_frameworks\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04name\x18\x07 \x01(\tB\x03\xe0\x41\x08:\xc9\x02\xea\x41\xc5\x02\n5cloudsecuritycompliance.googleapis.com/FindingSummary\x12Jprojects/{project}/locations/{location}/findingSummaries/{finding_summary}\x12Hfolders/{folder}/locations/{location}/findingSummaries/{finding_summary}\x12Torganizations/{organization}/locations/{location}/findingSummaries/{finding_summary}*\x10\x66indingSummaries2\x0e\x66indingSummary\"\x9a\t\n\x18\x43ontrolComplianceSummary\x12\x0f\n\x07\x63ontrol\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12_\n\x18overall_evaluation_state\x18\x04 \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EvaluationStateB\x03\xe0\x41\x03\x12\x1c\n\x14total_findings_count\x18\x05 \x01(\x05\x12\x1d\n\x15\x63ompliance_frameworks\x18\x06 \x03(\t\x12R\n\x10similar_controls\x18\x07 \x03(\x0b\x32\x38.google.cloud.cloudsecuritycompliance.v1.SimilarControls\x12Z\n\x15\x63loud_control_reports\x18\x08 \x03(\x0b\x32;.google.cloud.cloudsecuritycompliance.v1.CloudControlReport\x12q\n\x1b\x63ontrol_responsibility_type\x18\t \x01(\x0e\x32L.google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType\x12\x17\n\x0fis_fake_control\x18\n \x01(\x08\x12\x11\n\x04name\x18\x0b \x01(\tB\x03\xe0\x41\x08:\xd4\x04\xea\x41\xd0\x04\n?cloudsecuritycompliance.googleapis.com/ControlComplianceSummary\x12\x98\x01projects/{project}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}/controlComplianceSummaries/{control_compliance_summary}\x12\x96\x01\x66olders/{folder}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}/controlComplianceSummaries/{control_compliance_summary}\x12\xa2\x01organizations/{organization}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}/controlComplianceSummaries/{control_compliance_summary}*\x1a\x63ontrolComplianceSummaries2\x18\x63ontrolComplianceSummary\"\x98\x07\n\x12\x43loudControlReport\x12\x7f\n\'manual_cloud_control_assessment_details\x18\r \x01(\x0b\x32L.google.cloud.cloudsecuritycompliance.v1.ManualCloudControlAssessmentDetailsH\x00\x12r\n cloud_control_assessment_details\x18\x0e \x01(\x0b\x32\x46.google.cloud.cloudsecuritycompliance.v1.CloudControlAssessmentDetailsH\x00\x12\x15\n\rcloud_control\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\ncategories\x18\x06 \x03(\t\x12R\n\x10similar_controls\x18\t \x03(\x0b\x32\x38.google.cloud.cloudsecuritycompliance.v1.SimilarControls\x12V\n\x12\x63loud_control_type\x18\n \x01(\x0e\x32:.google.cloud.cloudsecuritycompliance.v1.CloudControl.Type\x12\x18\n\x10\x66inding_category\x18\x0b \x01(\t\x12<\n\x05rules\x18\x0c \x03(\x0b\x32-.google.cloud.cloudsecuritycompliance.v1.Rule\x12K\n\x10\x66inding_severity\x18\x0f \x01(\x0e\x32\x31.google.cloud.cloudsecuritycompliance.v1.Severity\x12R\n\x10\x65nforcement_mode\x18\x10 \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EnforcementMode\x12 \n\x18\x63loud_control_deployment\x18\x11 \x01(\t\x12\x19\n\x11major_revision_id\x18\x12 \x01(\x03\x12\x19\n\x11minor_revision_id\x18\x13 \x01(\x03\x12$\n\x1c\x66ramework_major_revision_ids\x18\x14 \x03(\x03\x42\x14\n\x12\x61ssessment_details\"I\n#ManualCloudControlAssessmentDetails\x12\"\n\x1amanual_cloud_control_guide\x18\x01 \x03(\t\"\x90\x01\n\x1d\x43loudControlAssessmentDetails\x12\x16\n\x0e\x66indings_count\x18\x01 \x01(\x05\x12W\n\x10\x65valuation_state\x18\x02 \x01(\x0e\x32\x38.google.cloud.cloudsecuritycompliance.v1.EvaluationStateB\x03\xe0\x41\x03\"8\n\x0fSimilarControls\x12\x11\n\tframework\x18\x01 \x01(\t\x12\x12\n\ncontrol_id\x18\x02 \x01(\t\"\xb4\x01\n\x1a\x41ggregatedComplianceReport\x12\x65\n\x1a\x63ontrol_assessment_details\x18\x01 \x01(\x0b\x32\x41.google.cloud.cloudsecuritycompliance.v1.ControlAssessmentDetails\x12/\n\x0breport_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8c\x02\n\x15TargetResourceDetails\x12\x1c\n\x14\x66ramework_deployment\x18\x01 \x01(\t\x12$\n\x1ctarget_resource_display_name\x18\x02 \x01(\t\x12\x17\n\x0ftarget_resource\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11major_revision_id\x18\x06 \x01(\x03\x12\x19\n\x11minor_revision_id\x18\x07 \x01(\x03*\x90\x01\n\x0f\x45valuationState\x12 \n\x1c\x45VALUATION_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45VALUATION_STATE_PASSED\x10\x01\x12\x1b\n\x17\x45VALUATION_STATE_FAILED\x10\x02\x12!\n\x1d\x45VALUATION_STATE_NOT_ASSESSED\x10\x03*\xd9\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\t2\xd5\x11\n\nMonitoring\x12\xa8\x03\n ListFrameworkComplianceSummaries\x12P.google.cloud.cloudsecuritycompliance.v1.ListFrameworkComplianceSummariesRequest\x1aQ.google.cloud.cloudsecuritycompliance.v1.ListFrameworkComplianceSummariesResponse\"\xde\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xce\x01\x12\x45/v1/{parent=organizations/*/locations/*}/frameworkComplianceSummariesZA\x12?/v1/{parent=folders/*/locations/*}/frameworkComplianceSummariesZB\x12@/v1/{parent=projects/*/locations/*}/frameworkComplianceSummaries\x12\xe0\x02\n\x14ListFindingSummaries\x12\x44.google.cloud.cloudsecuritycompliance.v1.ListFindingSummariesRequest\x1a\x45.google.cloud.cloudsecuritycompliance.v1.ListFindingSummariesResponse\"\xba\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xaa\x01\x12\x39/v1/{parent=organizations/*/locations/*}/findingSummariesZ5\x12\x33/v1/{parent=folders/*/locations/*}/findingSummariesZ6\x12\x34/v1/{parent=projects/*/locations/*}/findingSummaries\x12\x9f\x03\n\x1e\x46\x65tchFrameworkComplianceReport\x12N.google.cloud.cloudsecuritycompliance.v1.FetchFrameworkComplianceReportRequest\x1a\x42.google.cloud.cloudsecuritycompliance.v1.FrameworkComplianceReport\"\xe8\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xda\x01\x12I/v1/{name=organizations/*/locations/*/frameworkComplianceReports/*}:fetchZE\x12\x43/v1/{name=folders/*/locations/*/frameworkComplianceReports/*}:fetchZF\x12\x44/v1/{name=projects/*/locations/*/frameworkComplianceReports/*}:fetch\x12\xf3\x03\n\x1eListControlComplianceSummaries\x12N.google.cloud.cloudsecuritycompliance.v1.ListControlComplianceSummariesRequest\x1aO.google.cloud.cloudsecuritycompliance.v1.ListControlComplianceSummariesResponse\"\xaf\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9f\x02\x12`/v1/{parent=organizations/*/locations/*/frameworkComplianceReports/*}/controlComplianceSummariesZ\\\x12Z/v1/{parent=folders/*/locations/*/frameworkComplianceReports/*}/controlComplianceSummariesZ]\x12[/v1/{parent=projects/*/locations/*/frameworkComplianceReports/*}/controlComplianceSummaries\x12\xc4\x03\n\"AggregateFrameworkComplianceReport\x12R.google.cloud.cloudsecuritycompliance.v1.AggregateFrameworkComplianceReportRequest\x1aS.google.cloud.cloudsecuritycompliance.v1.AggregateFrameworkComplianceReportResponse\"\xf4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe6\x01\x12M/v1/{name=organizations/*/locations/*/frameworkComplianceReports/*}:aggregateZI\x12G/v1/{name=folders/*/locations/*/frameworkComplianceReports/*}:aggregateZJ\x12H/v1/{name=projects/*/locations/*/frameworkComplianceReports/*}:aggregate\x1aZ\xca\x41&cloudsecuritycompliance.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x89\x03\n+com.google.cloud.cloudsecuritycompliance.v1B\x0fMonitoringProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1\xea\x41^\n5cloudsecuritycompliance.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ["google.type.Interval", "google/type/interval.proto"],
33
+ ["google.cloud.cloudsecuritycompliance.v1.Rule", "google/cloud/cloudsecuritycompliance/v1/common.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
39
+ end
40
+ end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
43
+ end
44
+
45
+ module Google
46
+ module Cloud
47
+ module CloudSecurityCompliance
48
+ module V1
49
+ ListFrameworkComplianceSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFrameworkComplianceSummariesRequest").msgclass
50
+ ListFrameworkComplianceSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFrameworkComplianceSummariesResponse").msgclass
51
+ FrameworkComplianceReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkComplianceReport").msgclass
52
+ FetchFrameworkComplianceReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FetchFrameworkComplianceReportRequest").msgclass
53
+ ListFindingSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFindingSummariesRequest").msgclass
54
+ ListFindingSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFindingSummariesResponse").msgclass
55
+ ListControlComplianceSummariesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListControlComplianceSummariesRequest").msgclass
56
+ ListControlComplianceSummariesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListControlComplianceSummariesResponse").msgclass
57
+ AggregateFrameworkComplianceReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.AggregateFrameworkComplianceReportRequest").msgclass
58
+ AggregateFrameworkComplianceReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.AggregateFrameworkComplianceReportResponse").msgclass
59
+ ControlAssessmentDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ControlAssessmentDetails").msgclass
60
+ FrameworkComplianceSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FrameworkComplianceSummary").msgclass
61
+ FindingSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FindingSummary").msgclass
62
+ ControlComplianceSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ControlComplianceSummary").msgclass
63
+ CloudControlReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControlReport").msgclass
64
+ ManualCloudControlAssessmentDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ManualCloudControlAssessmentDetails").msgclass
65
+ CloudControlAssessmentDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CloudControlAssessmentDetails").msgclass
66
+ SimilarControls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.SimilarControls").msgclass
67
+ AggregatedComplianceReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.AggregatedComplianceReport").msgclass
68
+ TargetResourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.TargetResourceDetails").msgclass
69
+ EvaluationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.EvaluationState").enummodule
70
+ FindingClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.FindingClass").enummodule
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,53 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/cloudsecuritycompliance/v1/monitoring.proto for package 'Google.Cloud.CloudSecurityCompliance.V1'
3
+ # Original file comments:
4
+ # Copyright 2025 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/cloudsecuritycompliance/v1/monitoring_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module CloudSecurityCompliance
25
+ module V1
26
+ module Monitoring
27
+ # Service describing handlers for resources
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.cloudsecuritycompliance.v1.Monitoring'
35
+
36
+ # Lists the framework compliance summary for a given scope.
37
+ rpc :ListFrameworkComplianceSummaries, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkComplianceSummariesRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkComplianceSummariesResponse
38
+ # Lists the finding summary by category for a given scope.
39
+ rpc :ListFindingSummaries, ::Google::Cloud::CloudSecurityCompliance::V1::ListFindingSummariesRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListFindingSummariesResponse
40
+ # Fetches the framework compliance report for a given scope.
41
+ rpc :FetchFrameworkComplianceReport, ::Google::Cloud::CloudSecurityCompliance::V1::FetchFrameworkComplianceReportRequest, ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceReport
42
+ # Lists the control compliance summary for a given scope.
43
+ rpc :ListControlComplianceSummaries, ::Google::Cloud::CloudSecurityCompliance::V1::ListControlComplianceSummariesRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListControlComplianceSummariesResponse
44
+ # Gets the aggregated compliance report over time for a given scope.
45
+ rpc :AggregateFrameworkComplianceReport, ::Google::Cloud::CloudSecurityCompliance::V1::AggregateFrameworkComplianceReportRequest, ::Google::Cloud::CloudSecurityCompliance::V1::AggregateFrameworkComplianceReportResponse
46
+ end
47
+
48
+ Stub = Service.rpc_stub_class
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,413 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 CloudSecurityCompliance
23
+ module V1
24
+ # The request message for [GenerateFrameworkAuditScopeReport][].
25
+ # @!attribute [rw] scope
26
+ # @return [::String]
27
+ # Required. The organization, folder or project for the audit report.
28
+ #
29
+ # Supported formats are the following:
30
+ #
31
+ # * `projects/{project_id}/locations/{location}`
32
+ # * `folders/{folder_id}/locations/{location}`
33
+ # * `organizations/{organization_id}/locations/{location}`
34
+ # @!attribute [rw] report_format
35
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::GenerateFrameworkAuditScopeReportRequest::Format]
36
+ # Required. The format that the scope report bytes is returned in.
37
+ # @!attribute [rw] compliance_framework
38
+ # @return [::String]
39
+ # Required. The compliance framework that the scope report is generated for.
40
+ class GenerateFrameworkAuditScopeReportRequest
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+
44
+ # The set of options for the audit scope report format.
45
+ module Format
46
+ # Default value. This value is unused.
47
+ FORMAT_UNSPECIFIED = 0
48
+
49
+ # The report format is the Open Document Format (ODF).
50
+ ODF = 1
51
+ end
52
+ end
53
+
54
+ # The response message for [GenerateFrameworkAuditScopeReport][].
55
+ # @!attribute [rw] scope_report_contents
56
+ # @return [::String]
57
+ # The audit scope report content in byte format.
58
+ # @!attribute [rw] name
59
+ # @return [::String]
60
+ # Identifier. The name of the audit report, in the format that was
61
+ # given in the request.
62
+ # @!attribute [rw] compliance_framework
63
+ # @return [::String]
64
+ # Required. The compliance framework that the audit scope report is generated
65
+ # for.
66
+ class GenerateFrameworkAuditScopeReportResponse
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Additional information for an audit operation.
72
+ # @!attribute [r] total_count
73
+ # @return [::Integer]
74
+ # Output only. The total number of checks.
75
+ # @!attribute [r] compliant_count
76
+ # @return [::Integer]
77
+ # Output only. The number of compliant checks.
78
+ # @!attribute [r] violation_count
79
+ # @return [::Integer]
80
+ # Output only. The number of checks with violations.
81
+ # @!attribute [r] manual_review_needed_count
82
+ # @return [::Integer]
83
+ # Output only. The number of checks with "manual review needed" status.
84
+ # @!attribute [r] error_count
85
+ # @return [::Integer]
86
+ # Output only. The number of checks that can't be performed due to errors.
87
+ class ReportSummary
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+ end
91
+
92
+ # The request message for [CreateFrameworkAudit][].
93
+ # @!attribute [rw] parent
94
+ # @return [::String]
95
+ # Required. The parent resource where this framework audit is created.
96
+ #
97
+ # Supported formats are the following:
98
+ #
99
+ # * `organizations/{organization_id}/locations/{location}`
100
+ # * `folders/{folder_id}/locations/{location}`
101
+ # * `projects/{project_id}/locations/{location}`
102
+ # @!attribute [rw] framework_audit_id
103
+ # @return [::String]
104
+ # Optional. The ID to use for the framework audit. The ID becomes the final
105
+ # component of the framework audit's full resource name.
106
+ #
107
+ # The ID must be between 4-63 characters, and valid characters
108
+ # are `\[a-z][0-9]-\`.
109
+ # @!attribute [rw] framework_audit
110
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkAudit]
111
+ # Required. The framework audit to create.
112
+ class CreateFrameworkAuditRequest
113
+ include ::Google::Protobuf::MessageExts
114
+ extend ::Google::Protobuf::MessageExts::ClassMethods
115
+ end
116
+
117
+ # A destination for the framework audit.
118
+ # @!attribute [rw] bucket
119
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::BucketDestination]
120
+ # The Cloud Storage bucket destination.
121
+ class FrameworkAuditDestination
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
126
+ # A Cloud Storage bucket destination.
127
+ # @!attribute [rw] bucket_uri
128
+ # @return [::String]
129
+ # Required. The URI of the Cloud Storage bucket.
130
+ # @!attribute [rw] framework_audit_format
131
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::BucketDestination::Format]
132
+ # Optional. The format of the framework audit.
133
+ class BucketDestination
134
+ include ::Google::Protobuf::MessageExts
135
+ extend ::Google::Protobuf::MessageExts::ClassMethods
136
+
137
+ # The set of options for the framework audit format.
138
+ module Format
139
+ # Default value. This value is unused.
140
+ FORMAT_UNSPECIFIED = 0
141
+
142
+ # The format for the framework audit report is Open Document.
143
+ ODF = 1
144
+ end
145
+ end
146
+
147
+ # A framework audit.
148
+ # @!attribute [r] name
149
+ # @return [::String]
150
+ # Output only. Identifier. The name of the framework audit.
151
+ # @!attribute [r] framework_audit_id
152
+ # @return [::String]
153
+ # Output only. The ID of the framework audit.
154
+ # @!attribute [r] compliance_framework
155
+ # @return [::String]
156
+ # Output only. The compliance framework used for the audit.
157
+ # @!attribute [r] scope
158
+ # @return [::String]
159
+ # Output only. The scope of the audit.
160
+ # @!attribute [rw] framework_audit_destination
161
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkAuditDestination]
162
+ # Required. The destination for the audit reports.
163
+ # @!attribute [r] start_time
164
+ # @return [::Google::Protobuf::Timestamp]
165
+ # Output only. The time that the audit started.
166
+ # @!attribute [r] finish_time
167
+ # @return [::Google::Protobuf::Timestamp]
168
+ # Output only. The time that the audit finished.
169
+ # @!attribute [r] compliance_state
170
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ComplianceState]
171
+ # Output only. The overall compliance state of the audit.
172
+ # @!attribute [r] report_summary
173
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ReportSummary]
174
+ # Output only. The summary of the report.
175
+ # @!attribute [rw] cloud_control_group_audit_details
176
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlGroupAuditDetails>]
177
+ # Optional. The details for the cloud control groups within this audit.
178
+ # @!attribute [rw] cloud_control_audit_details
179
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlAuditDetails>]
180
+ # Optional. The details for the cloud controls within this audit.
181
+ # @!attribute [r] operation_id
182
+ # @return [::String]
183
+ # Output only. The ID of the long-running operation.
184
+ # @!attribute [r] state
185
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkAudit::State]
186
+ # Output only. The framework audit state of the audit.
187
+ class FrameworkAudit
188
+ include ::Google::Protobuf::MessageExts
189
+ extend ::Google::Protobuf::MessageExts::ClassMethods
190
+
191
+ # The state of the framework audit.
192
+ module State
193
+ # Default value. This value is unused.
194
+ STATE_UNSPECIFIED = 0
195
+
196
+ # The audit is scheduled.
197
+ SCHEDULED = 1
198
+
199
+ # The audit is running.
200
+ RUNNING = 2
201
+
202
+ # The audit results are being uploaded.
203
+ UPLOADING = 3
204
+
205
+ # The audit failed.
206
+ FAILED = 4
207
+
208
+ # The audit completed successfully.
209
+ SUCCEEDED = 5
210
+ end
211
+ end
212
+
213
+ # The request message for [ListFrameworkAudits][].
214
+ # @!attribute [rw] parent
215
+ # @return [::String]
216
+ # Required. The parent resource where the framework audits are listed.
217
+ #
218
+ # Supported formats are the following:
219
+ #
220
+ # * `organizations/{organization_id}/locations/{location}`
221
+ # * `folders/{folder_id}/locations/{location}`
222
+ # * `projects/{project_id}/locations/{location}`
223
+ # @!attribute [rw] page_size
224
+ # @return [::Integer]
225
+ # Optional. The maximum number of framework audits to return. The service
226
+ # might return fewer audits than this value. If unspecified, a maximum of 10
227
+ # framework audits are returned. The maximum value is 50; values above 50 are
228
+ # limited to 50.
229
+ # @!attribute [rw] page_token
230
+ # @return [::String]
231
+ # Optional. The `next_page_token` value that's returned from a previous list
232
+ # request, if any.
233
+ # @!attribute [rw] filter
234
+ # @return [::String]
235
+ # Optional. The filters to apply to the framework audits.
236
+ # Supported filters are `compliance_framework`, `compliance_state`,
237
+ # `create_time,` and `framework_audit_name`. If the filter is invalid, an
238
+ # invalid argument error is returned.
239
+ # For syntax details, see [AIP-160][https://google.aip.dev/160].
240
+ class ListFrameworkAuditsRequest
241
+ include ::Google::Protobuf::MessageExts
242
+ extend ::Google::Protobuf::MessageExts::ClassMethods
243
+ end
244
+
245
+ # The response message for [ListFrameworkAudits][].
246
+ # @!attribute [rw] framework_audits
247
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkAudit>]
248
+ # The framework audits.
249
+ # @!attribute [rw] next_page_token
250
+ # @return [::String]
251
+ # A token, which you can send as the `page_token` to retrieve the next page.
252
+ # If this field is omitted, there are no subsequent pages.
253
+ class ListFrameworkAuditsResponse
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+ end
257
+
258
+ # The request message for [GetFrameworkAudit][].
259
+ # @!attribute [rw] name
260
+ # @return [::String]
261
+ # Required. The name of the framework audit to retrieve.
262
+ #
263
+ # Supported formats are the following:
264
+ #
265
+ # * `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
266
+ # * `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
267
+ # * `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
268
+ class GetFrameworkAuditRequest
269
+ include ::Google::Protobuf::MessageExts
270
+ extend ::Google::Protobuf::MessageExts::ClassMethods
271
+ end
272
+
273
+ # The details for a cloud control group.
274
+ # @!attribute [r] cloud_control_group_id
275
+ # @return [::String]
276
+ # Output only. The ID of the cloud control group.
277
+ # @!attribute [r] display_name
278
+ # @return [::String]
279
+ # Output only. The display name of the cloud control group.
280
+ # @!attribute [r] description
281
+ # @return [::String]
282
+ # Output only. The description of the cloud control group.
283
+ # @!attribute [r] responsibility_type
284
+ # @return [::String]
285
+ # Output only. The responsibility type.
286
+ # @!attribute [r] google_responsibility_description
287
+ # @return [::String]
288
+ # Output only. The description of Google's responsibility.
289
+ # @!attribute [r] google_responsibility_implementation
290
+ # @return [::String]
291
+ # Output only. The implementation of Google's responsibility.
292
+ # @!attribute [r] customer_responsibility_description
293
+ # @return [::String]
294
+ # Output only. The description of your responsibility.
295
+ # @!attribute [r] customer_responsibility_implementation
296
+ # @return [::String]
297
+ # Output only. The implementation of your responsibility.
298
+ # @!attribute [r] compliance_state
299
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ComplianceState]
300
+ # Output only. The compliance state of the control group.
301
+ # @!attribute [r] control_id
302
+ # @return [::String]
303
+ # Output only. The ID of the regulatory control.
304
+ # @!attribute [r] control_family
305
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ControlFamily]
306
+ # Output only. The control family.
307
+ # @!attribute [r] cloud_control_details
308
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlAuditDetails>]
309
+ # Output only. The details for the cloud controls within this group.
310
+ # @!attribute [r] report_summary
311
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ReportSummary]
312
+ # Output only. The summary of the report.
313
+ class CloudControlGroupAuditDetails
314
+ include ::Google::Protobuf::MessageExts
315
+ extend ::Google::Protobuf::MessageExts::ClassMethods
316
+ end
317
+
318
+ # The details for a finding.
319
+ # @!attribute [r] name
320
+ # @return [::String]
321
+ # Output only. The name of the finding.
322
+ # @!attribute [r] compliance_state
323
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ComplianceState]
324
+ # Output only. The compliance state of the finding.
325
+ # @!attribute [r] observation
326
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ObservationDetails]
327
+ # Output only. The observation details for the finding.
328
+ # @!attribute [r] evidence
329
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::EvidenceDetails]
330
+ # Output only. The evidence details for the finding.
331
+ class FindingDetails
332
+ include ::Google::Protobuf::MessageExts
333
+ extend ::Google::Protobuf::MessageExts::ClassMethods
334
+ end
335
+
336
+ # The observation details for a finding.
337
+ # @!attribute [r] current_value
338
+ # @return [::String]
339
+ # Output only. The current value.
340
+ # @!attribute [rw] expected_value
341
+ # @return [::String]
342
+ # Optional. The expected value.
343
+ # @!attribute [r] guidance
344
+ # @return [::String]
345
+ # Output only. Any guidance for the observation.
346
+ class ObservationDetails
347
+ include ::Google::Protobuf::MessageExts
348
+ extend ::Google::Protobuf::MessageExts::ClassMethods
349
+ end
350
+
351
+ # The evidence details for a finding.
352
+ # @!attribute [r] resource
353
+ # @return [::String]
354
+ # Output only. The resource identifier.
355
+ # @!attribute [r] service
356
+ # @return [::String]
357
+ # Output only. The service identifier.
358
+ # @!attribute [r] evidence_path
359
+ # @return [::String]
360
+ # Output only. The path to the evidence.
361
+ class EvidenceDetails
362
+ include ::Google::Protobuf::MessageExts
363
+ extend ::Google::Protobuf::MessageExts::ClassMethods
364
+ end
365
+
366
+ # The details for a cloud control audit.
367
+ # @!attribute [r] cloud_control
368
+ # @return [::String]
369
+ # Output only. The name of the cloud control.
370
+ # @!attribute [r] cloud_control_id
371
+ # @return [::String]
372
+ # Output only. The ID of the cloud control.
373
+ # @!attribute [r] cloud_control_description
374
+ # @return [::String]
375
+ # Output only. The description of the cloud control.
376
+ # @!attribute [r] compliance_state
377
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ComplianceState]
378
+ # Output only. The overall status of the findings for the control.
379
+ # @!attribute [r] report_summary
380
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ReportSummary]
381
+ # Output only. The summary of the report.
382
+ # @!attribute [r] findings
383
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FindingDetails>]
384
+ # Output only. The findings for the control.
385
+ class CloudControlAuditDetails
386
+ include ::Google::Protobuf::MessageExts
387
+ extend ::Google::Protobuf::MessageExts::ClassMethods
388
+ end
389
+
390
+ # The state of compliance after evaluation is complete.
391
+ module ComplianceState
392
+ # Default value. This value is unused.
393
+ COMPLIANCE_STATE_UNSPECIFIED = 0
394
+
395
+ # The resource is compliant.
396
+ COMPLIANT = 1
397
+
398
+ # The resource has a violation.
399
+ VIOLATION = 2
400
+
401
+ # The resource requires manual review from you.
402
+ MANUAL_REVIEW_NEEDED = 3
403
+
404
+ # An error occurred while computing the resource status.
405
+ ERROR = 4
406
+
407
+ # The resource can't be audited.
408
+ AUDIT_NOT_SUPPORTED = 5
409
+ end
410
+ end
411
+ end
412
+ end
413
+ end