Constants
Audit_GenerateFrameworkAuditScopeReport_FullMethodName, Audit_CreateFrameworkAudit_FullMethodName, Audit_ListFrameworkAudits_FullMethodName, Audit_GetFrameworkAudit_FullMethodName
const (
Audit_GenerateFrameworkAuditScopeReport_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Audit/GenerateFrameworkAuditScopeReport"
Audit_CreateFrameworkAudit_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Audit/CreateFrameworkAudit"
Audit_ListFrameworkAudits_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Audit/ListFrameworkAudits"
Audit_GetFrameworkAudit_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Audit/GetFrameworkAudit"
)CmEnrollmentService_UpdateCmEnrollment_FullMethodName, CmEnrollmentService_CalculateEffectiveCmEnrollment_FullMethodName
const (
CmEnrollmentService_UpdateCmEnrollment_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService/UpdateCmEnrollment"
CmEnrollmentService_CalculateEffectiveCmEnrollment_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService/CalculateEffectiveCmEnrollment"
)Config_ListFrameworks_FullMethodName, Config_GetFramework_FullMethodName, Config_CreateFramework_FullMethodName, Config_UpdateFramework_FullMethodName, Config_DeleteFramework_FullMethodName, Config_ListCloudControls_FullMethodName, Config_GetCloudControl_FullMethodName, Config_CreateCloudControl_FullMethodName, Config_UpdateCloudControl_FullMethodName, Config_DeleteCloudControl_FullMethodName
const (
Config_ListFrameworks_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/ListFrameworks"
Config_GetFramework_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/GetFramework"
Config_CreateFramework_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/CreateFramework"
Config_UpdateFramework_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/UpdateFramework"
Config_DeleteFramework_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/DeleteFramework"
Config_ListCloudControls_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/ListCloudControls"
Config_GetCloudControl_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/GetCloudControl"
Config_CreateCloudControl_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/CreateCloudControl"
Config_UpdateCloudControl_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/UpdateCloudControl"
Config_DeleteCloudControl_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Config/DeleteCloudControl"
)Deployment_CreateFrameworkDeployment_FullMethodName, Deployment_DeleteFrameworkDeployment_FullMethodName, Deployment_GetFrameworkDeployment_FullMethodName, Deployment_ListFrameworkDeployments_FullMethodName, Deployment_GetCloudControlDeployment_FullMethodName, Deployment_ListCloudControlDeployments_FullMethodName
const (
Deployment_CreateFrameworkDeployment_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Deployment/CreateFrameworkDeployment"
Deployment_DeleteFrameworkDeployment_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Deployment/DeleteFrameworkDeployment"
Deployment_GetFrameworkDeployment_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Deployment/GetFrameworkDeployment"
Deployment_ListFrameworkDeployments_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Deployment/ListFrameworkDeployments"
Deployment_GetCloudControlDeployment_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Deployment/GetCloudControlDeployment"
Deployment_ListCloudControlDeployments_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Deployment/ListCloudControlDeployments"
)Monitoring_ListFrameworkComplianceSummaries_FullMethodName, Monitoring_ListFindingSummaries_FullMethodName, Monitoring_FetchFrameworkComplianceReport_FullMethodName, Monitoring_ListControlComplianceSummaries_FullMethodName, Monitoring_AggregateFrameworkComplianceReport_FullMethodName
const (
Monitoring_ListFrameworkComplianceSummaries_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Monitoring/ListFrameworkComplianceSummaries"
Monitoring_ListFindingSummaries_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Monitoring/ListFindingSummaries"
Monitoring_FetchFrameworkComplianceReport_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Monitoring/FetchFrameworkComplianceReport"
Monitoring_ListControlComplianceSummaries_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Monitoring/ListControlComplianceSummaries"
Monitoring_AggregateFrameworkComplianceReport_FullMethodName = "/google.cloud.cloudsecuritycompliance.v1.Monitoring/AggregateFrameworkComplianceReport"
)Variables
ComplianceState_name, ComplianceState_value
var (
ComplianceState_name = map[int32]string{
0: "COMPLIANCE_STATE_UNSPECIFIED",
1: "COMPLIANT",
2: "VIOLATION",
3: "MANUAL_REVIEW_NEEDED",
4: "ERROR",
5: "AUDIT_NOT_SUPPORTED",
}
ComplianceState_value = map[string]int32{
"COMPLIANCE_STATE_UNSPECIFIED": 0,
"COMPLIANT": 1,
"VIOLATION": 2,
"MANUAL_REVIEW_NEEDED": 3,
"ERROR": 4,
"AUDIT_NOT_SUPPORTED": 5,
}
)Enum value maps for ComplianceState.
GenerateFrameworkAuditScopeReportRequest_Format_name, GenerateFrameworkAuditScopeReportRequest_Format_value
var (
GenerateFrameworkAuditScopeReportRequest_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "ODF",
}
GenerateFrameworkAuditScopeReportRequest_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"ODF": 1,
}
)Enum value maps for GenerateFrameworkAuditScopeReportRequest_Format.
BucketDestination_Format_name, BucketDestination_Format_value
var (
BucketDestination_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "ODF",
}
BucketDestination_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"ODF": 1,
}
)Enum value maps for BucketDestination_Format.
FrameworkAudit_State_name, FrameworkAudit_State_value
var (
FrameworkAudit_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "SCHEDULED",
2: "RUNNING",
3: "UPLOADING",
4: "FAILED",
5: "SUCCEEDED",
}
FrameworkAudit_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"SCHEDULED": 1,
"RUNNING": 2,
"UPLOADING": 3,
"FAILED": 4,
"SUCCEEDED": 5,
}
)Enum value maps for FrameworkAudit_State.
RegulatoryControlResponsibilityType_name, RegulatoryControlResponsibilityType_value
var (
RegulatoryControlResponsibilityType_name = map[int32]string{
0: "REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED",
1: "GOOGLE",
2: "CUSTOMER",
3: "SHARED",
}
RegulatoryControlResponsibilityType_value = map[string]int32{
"REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED": 0,
"GOOGLE": 1,
"CUSTOMER": 2,
"SHARED": 3,
}
)Enum value maps for RegulatoryControlResponsibilityType.
EnforcementMode_name, EnforcementMode_value
var (
EnforcementMode_name = map[int32]string{
0: "ENFORCEMENT_MODE_UNSPECIFIED",
1: "PREVENTIVE",
2: "DETECTIVE",
3: "AUDIT",
}
EnforcementMode_value = map[string]int32{
"ENFORCEMENT_MODE_UNSPECIFIED": 0,
"PREVENTIVE": 1,
"DETECTIVE": 2,
"AUDIT": 3,
}
)Enum value maps for EnforcementMode.
FrameworkCategory_name, FrameworkCategory_value
var (
FrameworkCategory_name = map[int32]string{
0: "FRAMEWORK_CATEGORY_UNSPECIFIED",
1: "INDUSTRY_DEFINED_STANDARD",
2: "ASSURED_WORKLOADS",
3: "DATA_SECURITY",
4: "GOOGLE_BEST_PRACTICES",
5: "CUSTOM_FRAMEWORK",
}
FrameworkCategory_value = map[string]int32{
"FRAMEWORK_CATEGORY_UNSPECIFIED": 0,
"INDUSTRY_DEFINED_STANDARD": 1,
"ASSURED_WORKLOADS": 2,
"DATA_SECURITY": 3,
"GOOGLE_BEST_PRACTICES": 4,
"CUSTOM_FRAMEWORK": 5,
}
)Enum value maps for FrameworkCategory.
CloudControlCategory_name, CloudControlCategory_value
var (
CloudControlCategory_name = map[int32]string{
0: "CLOUD_CONTROL_CATEGORY_UNSPECIFIED",
1: "CC_CATEGORY_INFRASTRUCTURE",
2: "CC_CATEGORY_ARTIFICIAL_INTELLIGENCE",
3: "CC_CATEGORY_PHYSICAL_SECURITY",
4: "CC_CATEGORY_DATA_SECURITY",
5: "CC_CATEGORY_NETWORK_SECURITY",
6: "CC_CATEGORY_INCIDENT_MANAGEMENT",
7: "CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT",
8: "CC_CATEGORY_ENCRYPTION",
9: "CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE",
10: "CC_CATEGORY_HR_ADMIN_AND_PROCESSES",
11: "CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT",
12: "CC_CATEGORY_LEGAL_AND_DISCLOSURES",
13: "CC_CATEGORY_VULNERABILITY_MANAGEMENT",
14: "CC_CATEGORY_PRIVACY",
15: "CC_CATEGORY_BCDR",
16: "CC_CATEGORY_ADMIN_ACCESS",
17: "CC_CATEGORY_DATA_RESIDENCY",
18: "CC_CATEGORY_RESOURCE_USAGE_RESTRICTION",
19: "CC_CATEGORY_SERVICE_SPECIFIC",
}
CloudControlCategory_value = map[string]int32{
"CLOUD_CONTROL_CATEGORY_UNSPECIFIED": 0,
"CC_CATEGORY_INFRASTRUCTURE": 1,
"CC_CATEGORY_ARTIFICIAL_INTELLIGENCE": 2,
"CC_CATEGORY_PHYSICAL_SECURITY": 3,
"CC_CATEGORY_DATA_SECURITY": 4,
"CC_CATEGORY_NETWORK_SECURITY": 5,
"CC_CATEGORY_INCIDENT_MANAGEMENT": 6,
"CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT": 7,
"CC_CATEGORY_ENCRYPTION": 8,
"CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE": 9,
"CC_CATEGORY_HR_ADMIN_AND_PROCESSES": 10,
"CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT": 11,
"CC_CATEGORY_LEGAL_AND_DISCLOSURES": 12,
"CC_CATEGORY_VULNERABILITY_MANAGEMENT": 13,
"CC_CATEGORY_PRIVACY": 14,
"CC_CATEGORY_BCDR": 15,
"CC_CATEGORY_ADMIN_ACCESS": 16,
"CC_CATEGORY_DATA_RESIDENCY": 17,
"CC_CATEGORY_RESOURCE_USAGE_RESTRICTION": 18,
"CC_CATEGORY_SERVICE_SPECIFIC": 19,
}
)Enum value maps for CloudControlCategory.
CloudProvider_name, CloudProvider_value
var (
CloudProvider_name = map[int32]string{
0: "CLOUD_PROVIDER_UNSPECIFIED",
1: "AWS",
2: "AZURE",
3: "GCP",
}
CloudProvider_value = map[string]int32{
"CLOUD_PROVIDER_UNSPECIFIED": 0,
"AWS": 1,
"AZURE": 2,
"GCP": 3,
}
)Enum value maps for CloudProvider.
Severity_name, Severity_value
var (
Severity_name = map[int32]string{
0: "SEVERITY_UNSPECIFIED",
1: "CRITICAL",
2: "HIGH",
3: "MEDIUM",
4: "LOW",
}
Severity_value = map[string]int32{
"SEVERITY_UNSPECIFIED": 0,
"CRITICAL": 1,
"HIGH": 2,
"MEDIUM": 3,
"LOW": 4,
}
)Enum value maps for Severity.
RuleActionType_name, RuleActionType_value
var (
RuleActionType_name = map[int32]string{
0: "RULE_ACTION_TYPE_UNSPECIFIED",
1: "RULE_ACTION_TYPE_PREVENTIVE",
2: "RULE_ACTION_TYPE_DETECTIVE",
3: "RULE_ACTION_TYPE_AUDIT",
}
RuleActionType_value = map[string]int32{
"RULE_ACTION_TYPE_UNSPECIFIED": 0,
"RULE_ACTION_TYPE_PREVENTIVE": 1,
"RULE_ACTION_TYPE_DETECTIVE": 2,
"RULE_ACTION_TYPE_AUDIT": 3,
}
)Enum value maps for RuleActionType.
TargetResourceType_name, TargetResourceType_value
var (
TargetResourceType_name = map[int32]string{
0: "TARGET_RESOURCE_TYPE_UNSPECIFIED",
1: "TARGET_RESOURCE_CRM_TYPE_ORG",
2: "TARGET_RESOURCE_CRM_TYPE_FOLDER",
3: "TARGET_RESOURCE_CRM_TYPE_PROJECT",
4: "TARGET_RESOURCE_TYPE_APPLICATION",
}
TargetResourceType_value = map[string]int32{
"TARGET_RESOURCE_TYPE_UNSPECIFIED": 0,
"TARGET_RESOURCE_CRM_TYPE_ORG": 1,
"TARGET_RESOURCE_CRM_TYPE_FOLDER": 2,
"TARGET_RESOURCE_CRM_TYPE_PROJECT": 3,
"TARGET_RESOURCE_TYPE_APPLICATION": 4,
}
)Enum value maps for TargetResourceType.
Framework_FrameworkType_name, Framework_FrameworkType_value
var (
Framework_FrameworkType_name = map[int32]string{
0: "FRAMEWORK_TYPE_UNSPECIFIED",
1: "BUILT_IN",
2: "CUSTOM",
}
Framework_FrameworkType_value = map[string]int32{
"FRAMEWORK_TYPE_UNSPECIFIED": 0,
"BUILT_IN": 1,
"CUSTOM": 2,
}
)Enum value maps for Framework_FrameworkType.
CloudControl_Type_name, CloudControl_Type_value
var (
CloudControl_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "CUSTOM",
2: "BUILT_IN",
}
CloudControl_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"CUSTOM": 1,
"BUILT_IN": 2,
}
)Enum value maps for CloudControl_Type.
ParameterSpec_ValueType_name, ParameterSpec_ValueType_value
var (
ParameterSpec_ValueType_name = map[int32]string{
0: "VALUE_TYPE_UNSPECIFIED",
3: "STRING",
4: "BOOLEAN",
5: "STRINGLIST",
6: "NUMBER",
7: "ONEOF",
}
ParameterSpec_ValueType_value = map[string]int32{
"VALUE_TYPE_UNSPECIFIED": 0,
"STRING": 3,
"BOOLEAN": 4,
"STRINGLIST": 5,
"NUMBER": 6,
"ONEOF": 7,
}
)Enum value maps for ParameterSpec_ValueType.
Control_Family_name, Control_Family_value
var (
Control_Family_name = map[int32]string{
0: "FAMILY_UNSPECIFIED",
1: "AC",
2: "AT",
3: "AU",
4: "CA",
5: "CM",
6: "CP",
7: "IA",
8: "IR",
9: "MA",
10: "MP",
11: "PE",
12: "PL",
13: "PS",
14: "RA",
15: "SA",
16: "SC",
17: "SI",
18: "SR",
}
Control_Family_value = map[string]int32{
"FAMILY_UNSPECIFIED": 0,
"AC": 1,
"AT": 2,
"AU": 3,
"CA": 4,
"CM": 5,
"CP": 6,
"IA": 7,
"IR": 8,
"MA": 9,
"MP": 10,
"PE": 11,
"PL": 12,
"PS": 13,
"RA": 14,
"SA": 15,
"SC": 16,
"SI": 17,
"SR": 18,
}
)Enum value maps for Control_Family.
DeploymentState_name, DeploymentState_value
var (
DeploymentState_name = map[int32]string{
0: "DEPLOYMENT_STATE_UNSPECIFIED",
1: "DEPLOYMENT_STATE_VALIDATING",
2: "DEPLOYMENT_STATE_CREATING",
3: "DEPLOYMENT_STATE_DELETING",
8: "DEPLOYMENT_STATE_UPDATING",
4: "DEPLOYMENT_STATE_FAILED",
5: "DEPLOYMENT_STATE_READY",
6: "DEPLOYMENT_STATE_PARTIALLY_DEPLOYED",
7: "DEPLOYMENT_STATE_PARTIALLY_DELETED",
}
DeploymentState_value = map[string]int32{
"DEPLOYMENT_STATE_UNSPECIFIED": 0,
"DEPLOYMENT_STATE_VALIDATING": 1,
"DEPLOYMENT_STATE_CREATING": 2,
"DEPLOYMENT_STATE_DELETING": 3,
"DEPLOYMENT_STATE_UPDATING": 8,
"DEPLOYMENT_STATE_FAILED": 4,
"DEPLOYMENT_STATE_READY": 5,
"DEPLOYMENT_STATE_PARTIALLY_DEPLOYED": 6,
"DEPLOYMENT_STATE_PARTIALLY_DELETED": 7,
}
)Enum value maps for DeploymentState.
EvaluationState_name, EvaluationState_value
var (
EvaluationState_name = map[int32]string{
0: "EVALUATION_STATE_UNSPECIFIED",
1: "EVALUATION_STATE_PASSED",
2: "EVALUATION_STATE_FAILED",
3: "EVALUATION_STATE_NOT_ASSESSED",
}
EvaluationState_value = map[string]int32{
"EVALUATION_STATE_UNSPECIFIED": 0,
"EVALUATION_STATE_PASSED": 1,
"EVALUATION_STATE_FAILED": 2,
"EVALUATION_STATE_NOT_ASSESSED": 3,
}
)Enum value maps for EvaluationState.
FindingClass_name, FindingClass_value
var (
FindingClass_name = map[int32]string{
0: "FINDING_CLASS_UNSPECIFIED",
1: "THREAT",
2: "VULNERABILITY",
3: "MISCONFIGURATION",
4: "OBSERVATION",
5: "SCC_ERROR",
6: "POSTURE_VIOLATION",
7: "TOXIC_COMBINATION",
8: "SENSITIVE_DATA_RISK",
9: "CHOKEPOINT",
}
FindingClass_value = map[string]int32{
"FINDING_CLASS_UNSPECIFIED": 0,
"THREAT": 1,
"VULNERABILITY": 2,
"MISCONFIGURATION": 3,
"OBSERVATION": 4,
"SCC_ERROR": 5,
"POSTURE_VIOLATION": 6,
"TOXIC_COMBINATION": 7,
"SENSITIVE_DATA_RISK": 8,
"CHOKEPOINT": 9,
}
)Enum value maps for FindingClass.
FrameworkComplianceSummaryView_name, FrameworkComplianceSummaryView_value
var (
FrameworkComplianceSummaryView_name = map[int32]string{
0: "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED",
1: "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC",
2: "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL",
}
FrameworkComplianceSummaryView_value = map[string]int32{
"FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED": 0,
"FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC": 1,
"FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL": 2,
}
)Enum value maps for FrameworkComplianceSummaryView.
Audit_ServiceDesc
var Audit_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.cloudsecuritycompliance.v1.Audit",
HandlerType: (*AuditServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GenerateFrameworkAuditScopeReport",
Handler: _Audit_GenerateFrameworkAuditScopeReport_Handler,
},
{
MethodName: "CreateFrameworkAudit",
Handler: _Audit_CreateFrameworkAudit_Handler,
},
{
MethodName: "ListFrameworkAudits",
Handler: _Audit_ListFrameworkAudits_Handler,
},
{
MethodName: "GetFrameworkAudit",
Handler: _Audit_GetFrameworkAudit_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/cloudsecuritycompliance/v1/audit.proto",
}Audit_ServiceDesc is the grpc.ServiceDesc for Audit service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
CmEnrollmentService_ServiceDesc
var CmEnrollmentService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService",
HandlerType: (*CmEnrollmentServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "UpdateCmEnrollment",
Handler: _CmEnrollmentService_UpdateCmEnrollment_Handler,
},
{
MethodName: "CalculateEffectiveCmEnrollment",
Handler: _CmEnrollmentService_CalculateEffectiveCmEnrollment_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.proto",
}CmEnrollmentService_ServiceDesc is the grpc.ServiceDesc for CmEnrollmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Config_ServiceDesc
var Config_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.cloudsecuritycompliance.v1.Config",
HandlerType: (*ConfigServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListFrameworks",
Handler: _Config_ListFrameworks_Handler,
},
{
MethodName: "GetFramework",
Handler: _Config_GetFramework_Handler,
},
{
MethodName: "CreateFramework",
Handler: _Config_CreateFramework_Handler,
},
{
MethodName: "UpdateFramework",
Handler: _Config_UpdateFramework_Handler,
},
{
MethodName: "DeleteFramework",
Handler: _Config_DeleteFramework_Handler,
},
{
MethodName: "ListCloudControls",
Handler: _Config_ListCloudControls_Handler,
},
{
MethodName: "GetCloudControl",
Handler: _Config_GetCloudControl_Handler,
},
{
MethodName: "CreateCloudControl",
Handler: _Config_CreateCloudControl_Handler,
},
{
MethodName: "UpdateCloudControl",
Handler: _Config_UpdateCloudControl_Handler,
},
{
MethodName: "DeleteCloudControl",
Handler: _Config_DeleteCloudControl_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/cloudsecuritycompliance/v1/config.proto",
}Config_ServiceDesc is the grpc.ServiceDesc for Config service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Deployment_ServiceDesc
var Deployment_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.cloudsecuritycompliance.v1.Deployment",
HandlerType: (*DeploymentServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateFrameworkDeployment",
Handler: _Deployment_CreateFrameworkDeployment_Handler,
},
{
MethodName: "DeleteFrameworkDeployment",
Handler: _Deployment_DeleteFrameworkDeployment_Handler,
},
{
MethodName: "GetFrameworkDeployment",
Handler: _Deployment_GetFrameworkDeployment_Handler,
},
{
MethodName: "ListFrameworkDeployments",
Handler: _Deployment_ListFrameworkDeployments_Handler,
},
{
MethodName: "GetCloudControlDeployment",
Handler: _Deployment_GetCloudControlDeployment_Handler,
},
{
MethodName: "ListCloudControlDeployments",
Handler: _Deployment_ListCloudControlDeployments_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/cloudsecuritycompliance/v1/deployment.proto",
}Deployment_ServiceDesc is the grpc.ServiceDesc for Deployment service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_cloudsecuritycompliance_v1_audit_proto
var File_google_cloud_cloudsecuritycompliance_v1_audit_proto protoreflect.FileDescriptorFile_google_cloud_cloudsecuritycompliance_v1_cm_enrollment_service_proto
var File_google_cloud_cloudsecuritycompliance_v1_cm_enrollment_service_proto protoreflect.FileDescriptorFile_google_cloud_cloudsecuritycompliance_v1_common_proto
var File_google_cloud_cloudsecuritycompliance_v1_common_proto protoreflect.FileDescriptorFile_google_cloud_cloudsecuritycompliance_v1_config_proto
var File_google_cloud_cloudsecuritycompliance_v1_config_proto protoreflect.FileDescriptorFile_google_cloud_cloudsecuritycompliance_v1_deployment_proto
var File_google_cloud_cloudsecuritycompliance_v1_deployment_proto protoreflect.FileDescriptorFile_google_cloud_cloudsecuritycompliance_v1_monitoring_proto
var File_google_cloud_cloudsecuritycompliance_v1_monitoring_proto protoreflect.FileDescriptorMonitoring_ServiceDesc
var Monitoring_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.cloudsecuritycompliance.v1.Monitoring",
HandlerType: (*MonitoringServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListFrameworkComplianceSummaries",
Handler: _Monitoring_ListFrameworkComplianceSummaries_Handler,
},
{
MethodName: "ListFindingSummaries",
Handler: _Monitoring_ListFindingSummaries_Handler,
},
{
MethodName: "FetchFrameworkComplianceReport",
Handler: _Monitoring_FetchFrameworkComplianceReport_Handler,
},
{
MethodName: "ListControlComplianceSummaries",
Handler: _Monitoring_ListControlComplianceSummaries_Handler,
},
{
MethodName: "AggregateFrameworkComplianceReport",
Handler: _Monitoring_AggregateFrameworkComplianceReport_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/cloudsecuritycompliance/v1/monitoring.proto",
}Monitoring_ServiceDesc is the grpc.ServiceDesc for Monitoring service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterAuditServer
func RegisterAuditServer(s grpc.ServiceRegistrar, srv AuditServer)func RegisterCmEnrollmentServiceServer
func RegisterCmEnrollmentServiceServer(s grpc.ServiceRegistrar, srv CmEnrollmentServiceServer)func RegisterConfigServer
func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)func RegisterDeploymentServer
func RegisterDeploymentServer(s grpc.ServiceRegistrar, srv DeploymentServer)func RegisterMonitoringServer
func RegisterMonitoringServer(s grpc.ServiceRegistrar, srv MonitoringServer)AggregateFrameworkComplianceReportRequest
type AggregateFrameworkComplianceReportRequest struct {
// Required. The name of the aggregated compliance report over time to
// retrieve.
//
// The supported format is:
// `organizations/{organization_id}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The start and end time range for the aggregated compliance
// report.
Interval *interval.Interval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
// Optional. The filtering results.
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}The request message for [AggregateFrameworkComplianceReport][].
func (*AggregateFrameworkComplianceReportRequest) Descriptor
func (*AggregateFrameworkComplianceReportRequest) Descriptor() ([]byte, []int)Deprecated: Use AggregateFrameworkComplianceReportRequest.ProtoReflect.Descriptor instead.
func (*AggregateFrameworkComplianceReportRequest) GetFilter
func (x *AggregateFrameworkComplianceReportRequest) GetFilter() stringfunc (*AggregateFrameworkComplianceReportRequest) GetInterval
func (x *AggregateFrameworkComplianceReportRequest) GetInterval() *interval.Intervalfunc (*AggregateFrameworkComplianceReportRequest) GetName
func (x *AggregateFrameworkComplianceReportRequest) GetName() stringfunc (*AggregateFrameworkComplianceReportRequest) ProtoMessage
func (*AggregateFrameworkComplianceReportRequest) ProtoMessage()func (*AggregateFrameworkComplianceReportRequest) ProtoReflect
func (x *AggregateFrameworkComplianceReportRequest) ProtoReflect() protoreflect.Messagefunc (*AggregateFrameworkComplianceReportRequest) Reset
func (x *AggregateFrameworkComplianceReportRequest) Reset()func (*AggregateFrameworkComplianceReportRequest) String
func (x *AggregateFrameworkComplianceReportRequest) String() stringAggregateFrameworkComplianceReportResponse
type AggregateFrameworkComplianceReportResponse struct {
// The list of aggregated compliance reports.
AggregatedComplianceReports []*AggregatedComplianceReport `protobuf:"bytes,1,rep,name=aggregated_compliance_reports,json=aggregatedComplianceReports,proto3" json:"aggregated_compliance_reports,omitempty"`
// contains filtered or unexported fields
}The response message for [AggregateFrameworkComplianceReport][].
func (*AggregateFrameworkComplianceReportResponse) Descriptor
func (*AggregateFrameworkComplianceReportResponse) Descriptor() ([]byte, []int)Deprecated: Use AggregateFrameworkComplianceReportResponse.ProtoReflect.Descriptor instead.
func (*AggregateFrameworkComplianceReportResponse) GetAggregatedComplianceReports
func (x *AggregateFrameworkComplianceReportResponse) GetAggregatedComplianceReports() []*AggregatedComplianceReportfunc (*AggregateFrameworkComplianceReportResponse) ProtoMessage
func (*AggregateFrameworkComplianceReportResponse) ProtoMessage()func (*AggregateFrameworkComplianceReportResponse) ProtoReflect
func (x *AggregateFrameworkComplianceReportResponse) ProtoReflect() protoreflect.Messagefunc (*AggregateFrameworkComplianceReportResponse) Reset
func (x *AggregateFrameworkComplianceReportResponse) Reset()func (*AggregateFrameworkComplianceReportResponse) String
func (x *AggregateFrameworkComplianceReportResponse) String() stringAggregatedComplianceReport
type AggregatedComplianceReport struct {
// The control assessment details of the framework.
ControlAssessmentDetails *ControlAssessmentDetails `protobuf:"bytes,1,opt,name=control_assessment_details,json=controlAssessmentDetails,proto3" json:"control_assessment_details,omitempty"`
// The report time of the aggregated compliance report.
ReportTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=report_time,json=reportTime,proto3" json:"report_time,omitempty"`
// contains filtered or unexported fields
}The aggregated compliance report.
func (*AggregatedComplianceReport) Descriptor
func (*AggregatedComplianceReport) Descriptor() ([]byte, []int)Deprecated: Use AggregatedComplianceReport.ProtoReflect.Descriptor instead.
func (*AggregatedComplianceReport) GetControlAssessmentDetails
func (x *AggregatedComplianceReport) GetControlAssessmentDetails() *ControlAssessmentDetailsfunc (*AggregatedComplianceReport) GetReportTime
func (x *AggregatedComplianceReport) GetReportTime() *timestamppb.Timestampfunc (*AggregatedComplianceReport) ProtoMessage
func (*AggregatedComplianceReport) ProtoMessage()func (*AggregatedComplianceReport) ProtoReflect
func (x *AggregatedComplianceReport) ProtoReflect() protoreflect.Messagefunc (*AggregatedComplianceReport) Reset
func (x *AggregatedComplianceReport) Reset()func (*AggregatedComplianceReport) String
func (x *AggregatedComplianceReport) String() stringAllowedValues
type AllowedValues struct {
// Required. The list of allowed values for the parameter.
Values []*ParamValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}The allowed set of values for the parameter.
func (*AllowedValues) Descriptor
func (*AllowedValues) Descriptor() ([]byte, []int)Deprecated: Use AllowedValues.ProtoReflect.Descriptor instead.
func (*AllowedValues) GetValues
func (x *AllowedValues) GetValues() []*ParamValuefunc (*AllowedValues) ProtoMessage
func (*AllowedValues) ProtoMessage()func (*AllowedValues) ProtoReflect
func (x *AllowedValues) ProtoReflect() protoreflect.Messagefunc (*AllowedValues) Reset
func (x *AllowedValues) Reset()func (*AllowedValues) String
func (x *AllowedValues) String() stringAttributeSubstitutionRule
type AttributeSubstitutionRule struct {
// The fully qualified proto attribute path, in dot notation.
// For example: `rules[0].cel_expression.resource_types_values`
Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// contains filtered or unexported fields
}The attribute at the given path that's substituted entirely.
func (*AttributeSubstitutionRule) Descriptor
func (*AttributeSubstitutionRule) Descriptor() ([]byte, []int)Deprecated: Use AttributeSubstitutionRule.ProtoReflect.Descriptor instead.
func (*AttributeSubstitutionRule) GetAttribute
func (x *AttributeSubstitutionRule) GetAttribute() stringfunc (*AttributeSubstitutionRule) ProtoMessage
func (*AttributeSubstitutionRule) ProtoMessage()func (*AttributeSubstitutionRule) ProtoReflect
func (x *AttributeSubstitutionRule) ProtoReflect() protoreflect.Messagefunc (*AttributeSubstitutionRule) Reset
func (x *AttributeSubstitutionRule) Reset()func (*AttributeSubstitutionRule) String
func (x *AttributeSubstitutionRule) String() stringAuditClient
type AuditClient interface {
// Generates an audit scope report for a framework.
GenerateFrameworkAuditScopeReport(ctx context.Context, in *GenerateFrameworkAuditScopeReportRequest, opts ...grpc.CallOption) (*GenerateFrameworkAuditScopeReportResponse, error)
// Creates an audit scope report for a framework.
CreateFrameworkAudit(ctx context.Context, in *CreateFrameworkAuditRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists the framework audits for a given organization, folder, or project.
ListFrameworkAudits(ctx context.Context, in *ListFrameworkAuditsRequest, opts ...grpc.CallOption) (*ListFrameworkAuditsResponse, error)
// Gets the details for a framework audit.
GetFrameworkAudit(ctx context.Context, in *GetFrameworkAuditRequest, opts ...grpc.CallOption) (*FrameworkAudit, error)
}AuditClient is the client API for Audit service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuditClient
func NewAuditClient(cc grpc.ClientConnInterface) AuditClientAuditConfig
type AuditConfig struct {
// Required. The list of destinations that can be selected for uploading audit
// reports to.
Destinations []*AuditConfig_CmEligibleDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
// contains filtered or unexported fields
}The audit configuration for Compliance Manager.
func (*AuditConfig) Descriptor
func (*AuditConfig) Descriptor() ([]byte, []int)Deprecated: Use AuditConfig.ProtoReflect.Descriptor instead.
func (*AuditConfig) GetDestinations
func (x *AuditConfig) GetDestinations() []*AuditConfig_CmEligibleDestinationfunc (*AuditConfig) ProtoMessage
func (*AuditConfig) ProtoMessage()func (*AuditConfig) ProtoReflect
func (x *AuditConfig) ProtoReflect() protoreflect.Messagefunc (*AuditConfig) Reset
func (x *AuditConfig) Reset()func (*AuditConfig) String
func (x *AuditConfig) String() stringAuditConfig_CmEligibleDestination
type AuditConfig_CmEligibleDestination struct {
// Set of options for the report destination location.
//
// Types that are valid to be assigned to CmEligibleDestinations:
//
// *AuditConfig_CmEligibleDestination_GcsBucket
CmEligibleDestinations isAuditConfig_CmEligibleDestination_CmEligibleDestinations `protobuf_oneof:"cm_eligible_destinations"`
// contains filtered or unexported fields
}The destination details where audit reports are uploaded.
func (*AuditConfig_CmEligibleDestination) Descriptor
func (*AuditConfig_CmEligibleDestination) Descriptor() ([]byte, []int)Deprecated: Use AuditConfig_CmEligibleDestination.ProtoReflect.Descriptor instead.
func (*AuditConfig_CmEligibleDestination) GetCmEligibleDestinations
func (x *AuditConfig_CmEligibleDestination) GetCmEligibleDestinations() isAuditConfig_CmEligibleDestination_CmEligibleDestinationsfunc (*AuditConfig_CmEligibleDestination) GetGcsBucket
func (x *AuditConfig_CmEligibleDestination) GetGcsBucket() stringfunc (*AuditConfig_CmEligibleDestination) ProtoMessage
func (*AuditConfig_CmEligibleDestination) ProtoMessage()func (*AuditConfig_CmEligibleDestination) ProtoReflect
func (x *AuditConfig_CmEligibleDestination) ProtoReflect() protoreflect.Messagefunc (*AuditConfig_CmEligibleDestination) Reset
func (x *AuditConfig_CmEligibleDestination) Reset()func (*AuditConfig_CmEligibleDestination) String
func (x *AuditConfig_CmEligibleDestination) String() stringAuditConfig_CmEligibleDestination_GcsBucket
type AuditConfig_CmEligibleDestination_GcsBucket struct {
// The Cloud Storage bucket where audit reports and evidences can be
// uploaded. The format is `gs://{bucket_name}`.
GcsBucket string `protobuf:"bytes,1,opt,name=gcs_bucket,json=gcsBucket,proto3,oneof"`
}AuditServer
type AuditServer interface {
// Generates an audit scope report for a framework.
GenerateFrameworkAuditScopeReport(context.Context, *GenerateFrameworkAuditScopeReportRequest) (*GenerateFrameworkAuditScopeReportResponse, error)
// Creates an audit scope report for a framework.
CreateFrameworkAudit(context.Context, *CreateFrameworkAuditRequest) (*longrunningpb.Operation, error)
// Lists the framework audits for a given organization, folder, or project.
ListFrameworkAudits(context.Context, *ListFrameworkAuditsRequest) (*ListFrameworkAuditsResponse, error)
// Gets the details for a framework audit.
GetFrameworkAudit(context.Context, *GetFrameworkAuditRequest) (*FrameworkAudit, error)
}AuditServer is the server API for Audit service. All implementations should embed UnimplementedAuditServer for forward compatibility
BucketDestination
type BucketDestination struct {
// Required. The URI of the Cloud Storage bucket.
BucketUri string `protobuf:"bytes,1,opt,name=bucket_uri,json=bucketUri,proto3" json:"bucket_uri,omitempty"`
// Optional. The format of the framework audit.
FrameworkAuditFormat BucketDestination_Format `protobuf:"varint,3,opt,name=framework_audit_format,json=frameworkAuditFormat,proto3,enum=google.cloud.cloudsecuritycompliance.v1.BucketDestination_Format" json:"framework_audit_format,omitempty"`
// contains filtered or unexported fields
}A Cloud Storage bucket destination.
func (*BucketDestination) Descriptor
func (*BucketDestination) Descriptor() ([]byte, []int)Deprecated: Use BucketDestination.ProtoReflect.Descriptor instead.
func (*BucketDestination) GetBucketUri
func (x *BucketDestination) GetBucketUri() stringfunc (*BucketDestination) GetFrameworkAuditFormat
func (x *BucketDestination) GetFrameworkAuditFormat() BucketDestination_Formatfunc (*BucketDestination) ProtoMessage
func (*BucketDestination) ProtoMessage()func (*BucketDestination) ProtoReflect
func (x *BucketDestination) ProtoReflect() protoreflect.Messagefunc (*BucketDestination) Reset
func (x *BucketDestination) Reset()func (*BucketDestination) String
func (x *BucketDestination) String() stringBucketDestination_Format
type BucketDestination_Format int32The set of options for the framework audit format.
BucketDestination_FORMAT_UNSPECIFIED, BucketDestination_ODF
const (
// Default value. This value is unused.
BucketDestination_FORMAT_UNSPECIFIED BucketDestination_Format = 0
// The format for the framework audit report is Open Document.
BucketDestination_ODF BucketDestination_Format = 1
)func (BucketDestination_Format) Descriptor
func (BucketDestination_Format) Descriptor() protoreflect.EnumDescriptorfunc (BucketDestination_Format) Enum
func (x BucketDestination_Format) Enum() *BucketDestination_Formatfunc (BucketDestination_Format) EnumDescriptor
func (BucketDestination_Format) EnumDescriptor() ([]byte, []int)Deprecated: Use BucketDestination_Format.Descriptor instead.
func (BucketDestination_Format) Number
func (x BucketDestination_Format) Number() protoreflect.EnumNumberfunc (BucketDestination_Format) String
func (x BucketDestination_Format) String() stringfunc (BucketDestination_Format) Type
func (BucketDestination_Format) Type() protoreflect.EnumTypeCELExpression
type CELExpression struct {
// The criteria of the CEL expression.
//
// Types that are valid to be assigned to Criteria:
//
// *CELExpression_ResourceTypesValues
Criteria isCELExpression_Criteria `protobuf_oneof:"criteria"`
// Required. The logical expression in CEL. The maximum length of the
// condition is 1000 characters. For more information, see [CEL
// expression](https://cloud.google.com/security-command-center/docs/compliance-manager-write-cel-expressions).
Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
// contains filtered or unexported fields
}A Common Expression Language (CEL) expression that's used to create a rule.
func (*CELExpression) Descriptor
func (*CELExpression) Descriptor() ([]byte, []int)Deprecated: Use CELExpression.ProtoReflect.Descriptor instead.
func (*CELExpression) GetCriteria
func (x *CELExpression) GetCriteria() isCELExpression_Criteriafunc (*CELExpression) GetExpression
func (x *CELExpression) GetExpression() stringfunc (*CELExpression) GetResourceTypesValues
func (x *CELExpression) GetResourceTypesValues() *StringListfunc (*CELExpression) ProtoMessage
func (*CELExpression) ProtoMessage()func (*CELExpression) ProtoReflect
func (x *CELExpression) ProtoReflect() protoreflect.Messagefunc (*CELExpression) Reset
func (x *CELExpression) Reset()func (*CELExpression) String
func (x *CELExpression) String() stringCELExpression_ResourceTypesValues
type CELExpression_ResourceTypesValues struct {
// The resource instance types on which this expression is defined.
// The format is `CalculateEffectiveCmEnrollmentRequest
type CalculateEffectiveCmEnrollmentRequest struct {
// Required. The name of the Compliance Manager enrollment to calculate.
//
// Supported formats are the following:
//
// * `organizations/{organization_id}/locations/{location}/cmEnrollment`
// * `folders/{folder_id}/locations/{location}/cmEnrollment`
// * `projects/{project_id}/locations/{location}/cmEnrollment`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for [CalculateEffectiveCmEnrollment][].
func (*CalculateEffectiveCmEnrollmentRequest) Descriptor
func (*CalculateEffectiveCmEnrollmentRequest) Descriptor() ([]byte, []int)Deprecated: Use CalculateEffectiveCmEnrollmentRequest.ProtoReflect.Descriptor instead.
func (*CalculateEffectiveCmEnrollmentRequest) GetName
func (x *CalculateEffectiveCmEnrollmentRequest) GetName() stringfunc (*CalculateEffectiveCmEnrollmentRequest) ProtoMessage
func (*CalculateEffectiveCmEnrollmentRequest) ProtoMessage()func (*CalculateEffectiveCmEnrollmentRequest) ProtoReflect
func (x *CalculateEffectiveCmEnrollmentRequest) ProtoReflect() protoreflect.Messagefunc (*CalculateEffectiveCmEnrollmentRequest) Reset
func (x *CalculateEffectiveCmEnrollmentRequest) Reset()func (*CalculateEffectiveCmEnrollmentRequest) String
func (x *CalculateEffectiveCmEnrollmentRequest) String() stringCalculateEffectiveCmEnrollmentResponse
type CalculateEffectiveCmEnrollmentResponse struct {
// The effective Compliance Manager enrollment for the resource.
CmEnrollment *CmEnrollment `protobuf:"bytes,1,opt,name=cm_enrollment,json=cmEnrollment,proto3" json:"cm_enrollment,omitempty"`
// contains filtered or unexported fields
}The response message for [CalculateEffectiveCmEnrollment][].
func (*CalculateEffectiveCmEnrollmentResponse) Descriptor
func (*CalculateEffectiveCmEnrollmentResponse) Descriptor() ([]byte, []int)Deprecated: Use CalculateEffectiveCmEnrollmentResponse.ProtoReflect.Descriptor instead.
func (*CalculateEffectiveCmEnrollmentResponse) GetCmEnrollment
func (x *CalculateEffectiveCmEnrollmentResponse) GetCmEnrollment() *CmEnrollmentfunc (*CalculateEffectiveCmEnrollmentResponse) ProtoMessage
func (*CalculateEffectiveCmEnrollmentResponse) ProtoMessage()func (*CalculateEffectiveCmEnrollmentResponse) ProtoReflect
func (x *CalculateEffectiveCmEnrollmentResponse) ProtoReflect() protoreflect.Messagefunc (*CalculateEffectiveCmEnrollmentResponse) Reset
func (x *CalculateEffectiveCmEnrollmentResponse) Reset()func (*CalculateEffectiveCmEnrollmentResponse) String
func (x *CalculateEffectiveCmEnrollmentResponse) String() stringCloudControl
type CloudControl struct {
// Required. Identifier. The name of the cloud control, in either of the
// formats:
// `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
// or
// `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The major version of the cloud control, which is incremented
// in ascending order.
MajorRevisionId int64 `protobuf:"varint,2,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// Optional. A description of the cloud control. The maximum length is 2000
// characters.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The friendly name of the cloud control. The maximum length is 200
// characters.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The supported enforcement modes for the cloud control.
SupportedEnforcementModes []EnforcementMode `protobuf:"varint,7,rep,packed,name=supported_enforcement_modes,json=supportedEnforcementModes,proto3,enum=google.cloud.cloudsecuritycompliance.v1.EnforcementMode" json:"supported_enforcement_modes,omitempty"`
// Optional. The parameter specifications for the cloud control.
ParameterSpec []*ParameterSpec `protobuf:"bytes,8,rep,name=parameter_spec,json=parameterSpec,proto3" json:"parameter_spec,omitempty"`
// Optional. The rules that you can enforce to meet your security or
// compliance intent.
Rules []*Rule `protobuf:"bytes,9,rep,name=rules,proto3" json:"rules,omitempty"`
// Optional. The severity of the findings that are generated by the cloud
// control.
Severity Severity `protobuf:"varint,11,opt,name=severity,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Severity" json:"severity,omitempty"`
// Optional. The finding category for the cloud control findings. The maximum
// length is 255 characters.
FindingCategory string `protobuf:"bytes,12,opt,name=finding_category,json=findingCategory,proto3" json:"finding_category,omitempty"`
// Optional. The supported cloud providers.
SupportedCloudProviders []CloudProvider `protobuf:"varint,13,rep,packed,name=supported_cloud_providers,json=supportedCloudProviders,proto3,enum=google.cloud.cloudsecuritycompliance.v1.CloudProvider" json:"supported_cloud_providers,omitempty"`
// Output only. The frameworks that include this cloud control.
RelatedFrameworks []string `protobuf:"bytes,14,rep,name=related_frameworks,json=relatedFrameworks,proto3" json:"related_frameworks,omitempty"`
// Optional. The remediation steps for the cloud control findings. The
// maximum length is 400 characters.
RemediationSteps string `protobuf:"bytes,15,opt,name=remediation_steps,json=remediationSteps,proto3" json:"remediation_steps,omitempty"`
// Optional. The categories for the cloud control.
Categories []CloudControlCategory `protobuf:"varint,16,rep,packed,name=categories,proto3,enum=google.cloud.cloudsecuritycompliance.v1.CloudControlCategory" json:"categories,omitempty"`
// Output only. The time that the cloud control was last updated.
// `create_time` is used because a new cloud control is created
// whenever an existing cloud control is updated.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Optional. The target resource types that are supported by the cloud
// control.
SupportedTargetResourceTypes []TargetResourceType `protobuf:"varint,18,rep,packed,name=supported_target_resource_types,json=supportedTargetResourceTypes,proto3,enum=google.cloud.cloudsecuritycompliance.v1.TargetResourceType" json:"supported_target_resource_types,omitempty"`
// contains filtered or unexported fields
}A cloud control is a set of rules and associated metadata that you can use to define your organization's security or compliance intent.
func (*CloudControl) Descriptor
func (*CloudControl) Descriptor() ([]byte, []int)Deprecated: Use CloudControl.ProtoReflect.Descriptor instead.
func (*CloudControl) GetCategories
func (x *CloudControl) GetCategories() []CloudControlCategoryfunc (*CloudControl) GetCreateTime
func (x *CloudControl) GetCreateTime() *timestamppb.Timestampfunc (*CloudControl) GetDescription
func (x *CloudControl) GetDescription() stringfunc (*CloudControl) GetDisplayName
func (x *CloudControl) GetDisplayName() stringfunc (*CloudControl) GetFindingCategory
func (x *CloudControl) GetFindingCategory() stringfunc (*CloudControl) GetMajorRevisionId
func (x *CloudControl) GetMajorRevisionId() int64func (*CloudControl) GetName
func (x *CloudControl) GetName() stringfunc (*CloudControl) GetParameterSpec
func (x *CloudControl) GetParameterSpec() []*ParameterSpecfunc (*CloudControl) GetRelatedFrameworks
func (x *CloudControl) GetRelatedFrameworks() []stringfunc (*CloudControl) GetRemediationSteps
func (x *CloudControl) GetRemediationSteps() stringfunc (*CloudControl) GetRules
func (x *CloudControl) GetRules() []*Rulefunc (*CloudControl) GetSeverity
func (x *CloudControl) GetSeverity() Severityfunc (*CloudControl) GetSupportedCloudProviders
func (x *CloudControl) GetSupportedCloudProviders() []CloudProviderfunc (*CloudControl) GetSupportedEnforcementModes
func (x *CloudControl) GetSupportedEnforcementModes() []EnforcementModefunc (*CloudControl) GetSupportedTargetResourceTypes
func (x *CloudControl) GetSupportedTargetResourceTypes() []TargetResourceTypefunc (*CloudControl) ProtoMessage
func (*CloudControl) ProtoMessage()func (*CloudControl) ProtoReflect
func (x *CloudControl) ProtoReflect() protoreflect.Messagefunc (*CloudControl) Reset
func (x *CloudControl) Reset()func (*CloudControl) String
func (x *CloudControl) String() stringCloudControlAssessmentDetails
type CloudControlAssessmentDetails struct {
// The number of findings for the cloud control.
FindingsCount int32 `protobuf:"varint,1,opt,name=findings_count,json=findingsCount,proto3" json:"findings_count,omitempty"`
// Output only. The evaluation status of the cloud control.
EvaluationState EvaluationState `protobuf:"varint,2,opt,name=evaluation_state,json=evaluationState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.EvaluationState" json:"evaluation_state,omitempty"`
// contains filtered or unexported fields
}The cloud control assessment details for non-manual cloud controls.
func (*CloudControlAssessmentDetails) Descriptor
func (*CloudControlAssessmentDetails) Descriptor() ([]byte, []int)Deprecated: Use CloudControlAssessmentDetails.ProtoReflect.Descriptor instead.
func (*CloudControlAssessmentDetails) GetEvaluationState
func (x *CloudControlAssessmentDetails) GetEvaluationState() EvaluationStatefunc (*CloudControlAssessmentDetails) GetFindingsCount
func (x *CloudControlAssessmentDetails) GetFindingsCount() int32func (*CloudControlAssessmentDetails) ProtoMessage
func (*CloudControlAssessmentDetails) ProtoMessage()func (*CloudControlAssessmentDetails) ProtoReflect
func (x *CloudControlAssessmentDetails) ProtoReflect() protoreflect.Messagefunc (*CloudControlAssessmentDetails) Reset
func (x *CloudControlAssessmentDetails) Reset()func (*CloudControlAssessmentDetails) String
func (x *CloudControlAssessmentDetails) String() stringCloudControlAuditDetails
type CloudControlAuditDetails struct {
// Output only. The name of the cloud control.
CloudControl string `protobuf:"bytes,1,opt,name=cloud_control,json=cloudControl,proto3" json:"cloud_control,omitempty"`
// Output only. The ID of the cloud control.
CloudControlId string `protobuf:"bytes,2,opt,name=cloud_control_id,json=cloudControlId,proto3" json:"cloud_control_id,omitempty"`
// Output only. The description of the cloud control.
CloudControlDescription string `protobuf:"bytes,3,opt,name=cloud_control_description,json=cloudControlDescription,proto3" json:"cloud_control_description,omitempty"`
// Output only. The overall status of the findings for the control.
ComplianceState ComplianceState `protobuf:"varint,4,opt,name=compliance_state,json=complianceState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.ComplianceState" json:"compliance_state,omitempty"`
// Output only. The summary of the report.
ReportSummary *ReportSummary `protobuf:"bytes,5,opt,name=report_summary,json=reportSummary,proto3" json:"report_summary,omitempty"`
// Output only. The findings for the control.
Findings []*FindingDetails `protobuf:"bytes,6,rep,name=findings,proto3" json:"findings,omitempty"`
// contains filtered or unexported fields
}The details for a cloud control audit.
func (*CloudControlAuditDetails) Descriptor
func (*CloudControlAuditDetails) Descriptor() ([]byte, []int)Deprecated: Use CloudControlAuditDetails.ProtoReflect.Descriptor instead.
func (*CloudControlAuditDetails) GetCloudControl
func (x *CloudControlAuditDetails) GetCloudControl() stringfunc (*CloudControlAuditDetails) GetCloudControlDescription
func (x *CloudControlAuditDetails) GetCloudControlDescription() stringfunc (*CloudControlAuditDetails) GetCloudControlId
func (x *CloudControlAuditDetails) GetCloudControlId() stringfunc (*CloudControlAuditDetails) GetComplianceState
func (x *CloudControlAuditDetails) GetComplianceState() ComplianceStatefunc (*CloudControlAuditDetails) GetFindings
func (x *CloudControlAuditDetails) GetFindings() []*FindingDetailsfunc (*CloudControlAuditDetails) GetReportSummary
func (x *CloudControlAuditDetails) GetReportSummary() *ReportSummaryfunc (*CloudControlAuditDetails) ProtoMessage
func (*CloudControlAuditDetails) ProtoMessage()func (*CloudControlAuditDetails) ProtoReflect
func (x *CloudControlAuditDetails) ProtoReflect() protoreflect.Messagefunc (*CloudControlAuditDetails) Reset
func (x *CloudControlAuditDetails) Reset()func (*CloudControlAuditDetails) String
func (x *CloudControlAuditDetails) String() stringCloudControlCategory
type CloudControlCategory int32The category for the cloud control.
CloudControlCategory_CLOUD_CONTROL_CATEGORY_UNSPECIFIED, CloudControlCategory_CC_CATEGORY_INFRASTRUCTURE, CloudControlCategory_CC_CATEGORY_ARTIFICIAL_INTELLIGENCE, CloudControlCategory_CC_CATEGORY_PHYSICAL_SECURITY, CloudControlCategory_CC_CATEGORY_DATA_SECURITY, CloudControlCategory_CC_CATEGORY_NETWORK_SECURITY, CloudControlCategory_CC_CATEGORY_INCIDENT_MANAGEMENT, CloudControlCategory_CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT, CloudControlCategory_CC_CATEGORY_ENCRYPTION, CloudControlCategory_CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE, CloudControlCategory_CC_CATEGORY_HR_ADMIN_AND_PROCESSES, CloudControlCategory_CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT, CloudControlCategory_CC_CATEGORY_LEGAL_AND_DISCLOSURES, CloudControlCategory_CC_CATEGORY_VULNERABILITY_MANAGEMENT, CloudControlCategory_CC_CATEGORY_PRIVACY, CloudControlCategory_CC_CATEGORY_BCDR, CloudControlCategory_CC_CATEGORY_ADMIN_ACCESS, CloudControlCategory_CC_CATEGORY_DATA_RESIDENCY, CloudControlCategory_CC_CATEGORY_RESOURCE_USAGE_RESTRICTION, CloudControlCategory_CC_CATEGORY_SERVICE_SPECIFIC
const (
// Default value. This value is unused.
CloudControlCategory_CLOUD_CONTROL_CATEGORY_UNSPECIFIED CloudControlCategory = 0
// The infrastructure security category.
CloudControlCategory_CC_CATEGORY_INFRASTRUCTURE CloudControlCategory = 1
// The artificial intelligence category.
CloudControlCategory_CC_CATEGORY_ARTIFICIAL_INTELLIGENCE CloudControlCategory = 2
// The physical security category.
CloudControlCategory_CC_CATEGORY_PHYSICAL_SECURITY CloudControlCategory = 3
// The data security category.
CloudControlCategory_CC_CATEGORY_DATA_SECURITY CloudControlCategory = 4
// The network security category.
CloudControlCategory_CC_CATEGORY_NETWORK_SECURITY CloudControlCategory = 5
// The incident management category.
CloudControlCategory_CC_CATEGORY_INCIDENT_MANAGEMENT CloudControlCategory = 6
// The identity and access management category.
CloudControlCategory_CC_CATEGORY_IDENTITY_AND_ACCESS_MANAGEMENT CloudControlCategory = 7
// The encryption category.
CloudControlCategory_CC_CATEGORY_ENCRYPTION CloudControlCategory = 8
// The logs management and infrastructure category.
CloudControlCategory_CC_CATEGORY_LOGS_MANAGEMENT_AND_INFRASTRUCTURE CloudControlCategory = 9
// The HR, admin, and processes category.
CloudControlCategory_CC_CATEGORY_HR_ADMIN_AND_PROCESSES CloudControlCategory = 10
// The third-party and sub-processor management category.
CloudControlCategory_CC_CATEGORY_THIRD_PARTY_AND_SUB_PROCESSOR_MANAGEMENT CloudControlCategory = 11
// The legal and disclosures category.
CloudControlCategory_CC_CATEGORY_LEGAL_AND_DISCLOSURES CloudControlCategory = 12
// The vulnerability management category.
CloudControlCategory_CC_CATEGORY_VULNERABILITY_MANAGEMENT CloudControlCategory = 13
// The privacy category.
CloudControlCategory_CC_CATEGORY_PRIVACY CloudControlCategory = 14
// The business continuity and disaster recovery (BCDR) category.
CloudControlCategory_CC_CATEGORY_BCDR CloudControlCategory = 15
// The admin access category.
CloudControlCategory_CC_CATEGORY_ADMIN_ACCESS CloudControlCategory = 16
// DRZ (Data Residency).
CloudControlCategory_CC_CATEGORY_DATA_RESIDENCY CloudControlCategory = 17
// RUR (Resource Usage Restriction).
CloudControlCategory_CC_CATEGORY_RESOURCE_USAGE_RESTRICTION CloudControlCategory = 18
// SERVICE SPECIFIC
CloudControlCategory_CC_CATEGORY_SERVICE_SPECIFIC CloudControlCategory = 19
)func (CloudControlCategory) Descriptor
func (CloudControlCategory) Descriptor() protoreflect.EnumDescriptorfunc (CloudControlCategory) Enum
func (x CloudControlCategory) Enum() *CloudControlCategoryfunc (CloudControlCategory) EnumDescriptor
func (CloudControlCategory) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudControlCategory.Descriptor instead.
func (CloudControlCategory) Number
func (x CloudControlCategory) Number() protoreflect.EnumNumberfunc (CloudControlCategory) String
func (x CloudControlCategory) String() stringfunc (CloudControlCategory) Type
func (CloudControlCategory) Type() protoreflect.EnumTypeCloudControlDeployment
type CloudControlDeployment struct {
// Identifier. The name for the cloud control deployment, in the format
// `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
// or
// `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The details of the target resource that the cloud control is
// deployed You can use an existing target resource or create a new target.
TargetResourceConfig *TargetResourceConfig `protobuf:"bytes,2,opt,name=target_resource_config,json=targetResourceConfig,proto3" json:"target_resource_config,omitempty"`
// Output only. The resource that the cloud control is deployed on, in one of
// the following formats:
//
// - `organizations/{organizationID}`
// - `folders/{folderID}`
// - `projects/{projectID}`
TargetResource string `protobuf:"bytes,3,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
// Required. The deployment mode and parameters for the cloud control.
CloudControlMetadata *CloudControlMetadata `protobuf:"bytes,4,opt,name=cloud_control_metadata,json=cloudControlMetadata,proto3" json:"cloud_control_metadata,omitempty"`
// Optional. A friendly description for the cloud control deployment.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The state of the cloud control deployment.
DeploymentState DeploymentState `protobuf:"varint,6,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.DeploymentState" json:"deployment_state,omitempty"`
// Output only. The time when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the resource was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. To prevent concurrent updates from overwriting each other,
// provide the `etag` when you update a cloud control deployment. You can also
// provide the `etag` when you delete a cloud control deployment to help
// ensure that you're deleting the intended version of the
// deployment.
Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The cloud control after the given parameters are substituted.
ParameterSubstitutedCloudControl *CloudControl `protobuf:"bytes,10,opt,name=parameter_substituted_cloud_control,json=parameterSubstitutedCloudControl,proto3" json:"parameter_substituted_cloud_control,omitempty"`
// Output only. The references to the framework deployments that this cloud
// control deployment is part of. A cloud control deployment can be part of
// multiple framework deployments.
FrameworkDeploymentReferences []*FrameworkDeploymentReference `protobuf:"bytes,11,rep,name=framework_deployment_references,json=frameworkDeploymentReferences,proto3" json:"framework_deployment_references,omitempty"`
// Output only. The display name of the target resource.
TargetResourceDisplayName string `protobuf:"bytes,12,opt,name=target_resource_display_name,json=targetResourceDisplayName,proto3" json:"target_resource_display_name,omitempty"`
// contains filtered or unexported fields
}A cloud control deployment represents the deployment of a particular cloud
control on a target resource. Supported target resources are
organizations/{organizationID}, folders/{folderID}, and
projects/{projectID}.
func (*CloudControlDeployment) Descriptor
func (*CloudControlDeployment) Descriptor() ([]byte, []int)Deprecated: Use CloudControlDeployment.ProtoReflect.Descriptor instead.
func (*CloudControlDeployment) GetCloudControlMetadata
func (x *CloudControlDeployment) GetCloudControlMetadata() *CloudControlMetadatafunc (*CloudControlDeployment) GetCreateTime
func (x *CloudControlDeployment) GetCreateTime() *timestamppb.Timestampfunc (*CloudControlDeployment) GetDeploymentState
func (x *CloudControlDeployment) GetDeploymentState() DeploymentStatefunc (*CloudControlDeployment) GetDescription
func (x *CloudControlDeployment) GetDescription() stringfunc (*CloudControlDeployment) GetEtag
func (x *CloudControlDeployment) GetEtag() stringfunc (*CloudControlDeployment) GetFrameworkDeploymentReferences
func (x *CloudControlDeployment) GetFrameworkDeploymentReferences() []*FrameworkDeploymentReferencefunc (*CloudControlDeployment) GetName
func (x *CloudControlDeployment) GetName() stringfunc (*CloudControlDeployment) GetParameterSubstitutedCloudControl
func (x *CloudControlDeployment) GetParameterSubstitutedCloudControl() *CloudControlfunc (*CloudControlDeployment) GetTargetResource
func (x *CloudControlDeployment) GetTargetResource() stringfunc (*CloudControlDeployment) GetTargetResourceConfig
func (x *CloudControlDeployment) GetTargetResourceConfig() *TargetResourceConfigfunc (*CloudControlDeployment) GetTargetResourceDisplayName
func (x *CloudControlDeployment) GetTargetResourceDisplayName() stringfunc (*CloudControlDeployment) GetUpdateTime
func (x *CloudControlDeployment) GetUpdateTime() *timestamppb.Timestampfunc (*CloudControlDeployment) ProtoMessage
func (*CloudControlDeployment) ProtoMessage()func (*CloudControlDeployment) ProtoReflect
func (x *CloudControlDeployment) ProtoReflect() protoreflect.Messagefunc (*CloudControlDeployment) Reset
func (x *CloudControlDeployment) Reset()func (*CloudControlDeployment) String
func (x *CloudControlDeployment) String() stringCloudControlDeploymentReference
type CloudControlDeploymentReference struct {
// Output only. The name of the CloudControlDeployment. The format is
// `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
// or
// `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
// The only supported location is `global`.
CloudControlDeployment string `protobuf:"bytes,1,opt,name=cloud_control_deployment,json=cloudControlDeployment,proto3" json:"cloud_control_deployment,omitempty"`
// contains filtered or unexported fields
}The reference to a cloud control deployment.
func (*CloudControlDeploymentReference) Descriptor
func (*CloudControlDeploymentReference) Descriptor() ([]byte, []int)Deprecated: Use CloudControlDeploymentReference.ProtoReflect.Descriptor instead.
func (*CloudControlDeploymentReference) GetCloudControlDeployment
func (x *CloudControlDeploymentReference) GetCloudControlDeployment() stringfunc (*CloudControlDeploymentReference) ProtoMessage
func (*CloudControlDeploymentReference) ProtoMessage()func (*CloudControlDeploymentReference) ProtoReflect
func (x *CloudControlDeploymentReference) ProtoReflect() protoreflect.Messagefunc (*CloudControlDeploymentReference) Reset
func (x *CloudControlDeploymentReference) Reset()func (*CloudControlDeploymentReference) String
func (x *CloudControlDeploymentReference) String() stringCloudControlDetails
type CloudControlDetails struct {
// Required. The name of the cloud control, in one of the following formats:
// `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
// or
// `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The major version of the cloud control.
MajorRevisionId int64 `protobuf:"varint,2,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// Optional. Parameters are key-value pairs that let you provide your custom
// location requirements, environment requirements, or other settings that are
// relevant to the cloud control. An example parameter is
// `{"name": "location","value": "us-west-1"}`.
Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}The details of a cloud control.
func (*CloudControlDetails) Descriptor
func (*CloudControlDetails) Descriptor() ([]byte, []int)Deprecated: Use CloudControlDetails.ProtoReflect.Descriptor instead.
func (*CloudControlDetails) GetMajorRevisionId
func (x *CloudControlDetails) GetMajorRevisionId() int64func (*CloudControlDetails) GetName
func (x *CloudControlDetails) GetName() stringfunc (*CloudControlDetails) GetParameters
func (x *CloudControlDetails) GetParameters() []*Parameterfunc (*CloudControlDetails) ProtoMessage
func (*CloudControlDetails) ProtoMessage()func (*CloudControlDetails) ProtoReflect
func (x *CloudControlDetails) ProtoReflect() protoreflect.Messagefunc (*CloudControlDetails) Reset
func (x *CloudControlDetails) Reset()func (*CloudControlDetails) String
func (x *CloudControlDetails) String() stringCloudControlGroupAuditDetails
type CloudControlGroupAuditDetails struct {
// Output only. The ID of the cloud control group.
CloudControlGroupId string `protobuf:"bytes,1,opt,name=cloud_control_group_id,json=cloudControlGroupId,proto3" json:"cloud_control_group_id,omitempty"`
// Output only. The display name of the cloud control group.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The description of the cloud control group.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The responsibility type.
ResponsibilityType string `protobuf:"bytes,4,opt,name=responsibility_type,json=responsibilityType,proto3" json:"responsibility_type,omitempty"`
// Output only. The description of Google's responsibility.
GoogleResponsibilityDescription string `protobuf:"bytes,5,opt,name=google_responsibility_description,json=googleResponsibilityDescription,proto3" json:"google_responsibility_description,omitempty"`
// Output only. The implementation of Google's responsibility.
GoogleResponsibilityImplementation string `protobuf:"bytes,6,opt,name=google_responsibility_implementation,json=googleResponsibilityImplementation,proto3" json:"google_responsibility_implementation,omitempty"`
// Output only. The description of your responsibility.
CustomerResponsibilityDescription string `protobuf:"bytes,7,opt,name=customer_responsibility_description,json=customerResponsibilityDescription,proto3" json:"customer_responsibility_description,omitempty"`
// Output only. The implementation of your responsibility.
CustomerResponsibilityImplementation string `protobuf:"bytes,8,opt,name=customer_responsibility_implementation,json=customerResponsibilityImplementation,proto3" json:"customer_responsibility_implementation,omitempty"`
// Output only. The compliance state of the control group.
ComplianceState ComplianceState `protobuf:"varint,9,opt,name=compliance_state,json=complianceState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.ComplianceState" json:"compliance_state,omitempty"`
// Output only. The ID of the regulatory control.
ControlId string `protobuf:"bytes,10,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"`
// Output only. The control family.
ControlFamily *ControlFamily `protobuf:"bytes,11,opt,name=control_family,json=controlFamily,proto3" json:"control_family,omitempty"`
// Output only. The details for the cloud controls within this group.
CloudControlDetails []*CloudControlAuditDetails `protobuf:"bytes,12,rep,name=cloud_control_details,json=cloudControlDetails,proto3" json:"cloud_control_details,omitempty"`
// Output only. The summary of the report.
ReportSummary *ReportSummary `protobuf:"bytes,13,opt,name=report_summary,json=reportSummary,proto3" json:"report_summary,omitempty"`
// contains filtered or unexported fields
}The details for a cloud control group.
func (*CloudControlGroupAuditDetails) Descriptor
func (*CloudControlGroupAuditDetails) Descriptor() ([]byte, []int)Deprecated: Use CloudControlGroupAuditDetails.ProtoReflect.Descriptor instead.
func (*CloudControlGroupAuditDetails) GetCloudControlDetails
func (x *CloudControlGroupAuditDetails) GetCloudControlDetails() []*CloudControlAuditDetailsfunc (*CloudControlGroupAuditDetails) GetCloudControlGroupId
func (x *CloudControlGroupAuditDetails) GetCloudControlGroupId() stringfunc (*CloudControlGroupAuditDetails) GetComplianceState
func (x *CloudControlGroupAuditDetails) GetComplianceState() ComplianceStatefunc (*CloudControlGroupAuditDetails) GetControlFamily
func (x *CloudControlGroupAuditDetails) GetControlFamily() *ControlFamilyfunc (*CloudControlGroupAuditDetails) GetControlId
func (x *CloudControlGroupAuditDetails) GetControlId() stringfunc (*CloudControlGroupAuditDetails) GetCustomerResponsibilityDescription
func (x *CloudControlGroupAuditDetails) GetCustomerResponsibilityDescription() stringfunc (*CloudControlGroupAuditDetails) GetCustomerResponsibilityImplementation
func (x *CloudControlGroupAuditDetails) GetCustomerResponsibilityImplementation() stringfunc (*CloudControlGroupAuditDetails) GetDescription
func (x *CloudControlGroupAuditDetails) GetDescription() stringfunc (*CloudControlGroupAuditDetails) GetDisplayName
func (x *CloudControlGroupAuditDetails) GetDisplayName() stringfunc (*CloudControlGroupAuditDetails) GetGoogleResponsibilityDescription
func (x *CloudControlGroupAuditDetails) GetGoogleResponsibilityDescription() stringfunc (*CloudControlGroupAuditDetails) GetGoogleResponsibilityImplementation
func (x *CloudControlGroupAuditDetails) GetGoogleResponsibilityImplementation() stringfunc (*CloudControlGroupAuditDetails) GetReportSummary
func (x *CloudControlGroupAuditDetails) GetReportSummary() *ReportSummaryfunc (*CloudControlGroupAuditDetails) GetResponsibilityType
func (x *CloudControlGroupAuditDetails) GetResponsibilityType() stringfunc (*CloudControlGroupAuditDetails) ProtoMessage
func (*CloudControlGroupAuditDetails) ProtoMessage()func (*CloudControlGroupAuditDetails) ProtoReflect
func (x *CloudControlGroupAuditDetails) ProtoReflect() protoreflect.Messagefunc (*CloudControlGroupAuditDetails) Reset
func (x *CloudControlGroupAuditDetails) Reset()func (*CloudControlGroupAuditDetails) String
func (x *CloudControlGroupAuditDetails) String() stringCloudControlMetadata
type CloudControlMetadata struct {
// Required. The cloud control name and parameters.
CloudControlDetails *CloudControlDetails `protobuf:"bytes,1,opt,name=cloud_control_details,json=cloudControlDetails,proto3" json:"cloud_control_details,omitempty"`
// Required. The enforcement mode of the cloud control.
EnforcementMode EnforcementMode `protobuf:"varint,2,opt,name=enforcement_mode,json=enforcementMode,proto3,enum=google.cloud.cloudsecuritycompliance.v1.EnforcementMode" json:"enforcement_mode,omitempty"`
// contains filtered or unexported fields
}The enforcement mode and parameters of a cloud control deployment.
func (*CloudControlMetadata) Descriptor
func (*CloudControlMetadata) Descriptor() ([]byte, []int)Deprecated: Use CloudControlMetadata.ProtoReflect.Descriptor instead.
func (*CloudControlMetadata) GetCloudControlDetails
func (x *CloudControlMetadata) GetCloudControlDetails() *CloudControlDetailsfunc (*CloudControlMetadata) GetEnforcementMode
func (x *CloudControlMetadata) GetEnforcementMode() EnforcementModefunc (*CloudControlMetadata) ProtoMessage
func (*CloudControlMetadata) ProtoMessage()func (*CloudControlMetadata) ProtoReflect
func (x *CloudControlMetadata) ProtoReflect() protoreflect.Messagefunc (*CloudControlMetadata) Reset
func (x *CloudControlMetadata) Reset()func (*CloudControlMetadata) String
func (x *CloudControlMetadata) String() stringCloudControlReport
type CloudControlReport struct {
// The assessment details of the cloud control.
//
// Types that are valid to be assigned to AssessmentDetails:
//
// *CloudControlReport_ManualCloudControlAssessmentDetails
// *CloudControlReport_CloudControlAssessmentDetails
AssessmentDetails isCloudControlReport_AssessmentDetails `protobuf_oneof:"assessment_details"`
// The name of the cloud control.
CloudControl string `protobuf:"bytes,1,opt,name=cloud_control,json=cloudControl,proto3" json:"cloud_control,omitempty"`
// The display name of the cloud control.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The description of the cloud control.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The list of categories for the cloud control.
Categories []string `protobuf:"bytes,6,rep,name=categories,proto3" json:"categories,omitempty"`
// The list of similar controls.
SimilarControls []*SimilarControls `protobuf:"bytes,9,rep,name=similar_controls,json=similarControls,proto3" json:"similar_controls,omitempty"`
// The type of the cloud control.
CloudControlType CloudControl_Type `protobuf:"varint,10,opt,name=cloud_control_type,json=cloudControlType,proto3,enum=google.cloud.cloudsecuritycompliance.v1.CloudControl_Type" json:"cloud_control_type,omitempty"`
// The category of the finding.
FindingCategory string `protobuf:"bytes,11,opt,name=finding_category,json=findingCategory,proto3" json:"finding_category,omitempty"`
// The list of rules that correspond to the cloud control.
Rules []*Rule `protobuf:"bytes,12,rep,name=rules,proto3" json:"rules,omitempty"`
// The severity of the finding.
FindingSeverity Severity `protobuf:"varint,15,opt,name=finding_severity,json=findingSeverity,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Severity" json:"finding_severity,omitempty"`
// The enforcement mode of the cloud control.
EnforcementMode EnforcementMode `protobuf:"varint,16,opt,name=enforcement_mode,json=enforcementMode,proto3,enum=google.cloud.cloudsecuritycompliance.v1.EnforcementMode" json:"enforcement_mode,omitempty"`
// The name of the cloud control deployment.
CloudControlDeployment string `protobuf:"bytes,17,opt,name=cloud_control_deployment,json=cloudControlDeployment,proto3" json:"cloud_control_deployment,omitempty"`
// The major revision ID of the cloud control.
MajorRevisionId int64 `protobuf:"varint,18,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// The minor revision ID of the cloud control.
MinorRevisionId int64 `protobuf:"varint,19,opt,name=minor_revision_id,json=minorRevisionId,proto3" json:"minor_revision_id,omitempty"`
// The major revision IDs of the frameworks that the cloud control belongs to.
FrameworkMajorRevisionIds []int64 `protobuf:"varint,20,rep,packed,name=framework_major_revision_ids,json=frameworkMajorRevisionIds,proto3" json:"framework_major_revision_ids,omitempty"`
// contains filtered or unexported fields
}The cloud control report.
func (*CloudControlReport) Descriptor
func (*CloudControlReport) Descriptor() ([]byte, []int)Deprecated: Use CloudControlReport.ProtoReflect.Descriptor instead.
func (*CloudControlReport) GetAssessmentDetails
func (x *CloudControlReport) GetAssessmentDetails() isCloudControlReport_AssessmentDetailsfunc (*CloudControlReport) GetCategories
func (x *CloudControlReport) GetCategories() []stringfunc (*CloudControlReport) GetCloudControl
func (x *CloudControlReport) GetCloudControl() stringfunc (*CloudControlReport) GetCloudControlAssessmentDetails
func (x *CloudControlReport) GetCloudControlAssessmentDetails() *CloudControlAssessmentDetailsfunc (*CloudControlReport) GetCloudControlDeployment
func (x *CloudControlReport) GetCloudControlDeployment() stringfunc (*CloudControlReport) GetCloudControlType
func (x *CloudControlReport) GetCloudControlType() CloudControl_Typefunc (*CloudControlReport) GetDescription
func (x *CloudControlReport) GetDescription() stringfunc (*CloudControlReport) GetDisplayName
func (x *CloudControlReport) GetDisplayName() stringfunc (*CloudControlReport) GetEnforcementMode
func (x *CloudControlReport) GetEnforcementMode() EnforcementModefunc (*CloudControlReport) GetFindingCategory
func (x *CloudControlReport) GetFindingCategory() stringfunc (*CloudControlReport) GetFindingSeverity
func (x *CloudControlReport) GetFindingSeverity() Severityfunc (*CloudControlReport) GetFrameworkMajorRevisionIds
func (x *CloudControlReport) GetFrameworkMajorRevisionIds() []int64func (*CloudControlReport) GetMajorRevisionId
func (x *CloudControlReport) GetMajorRevisionId() int64func (*CloudControlReport) GetManualCloudControlAssessmentDetails
func (x *CloudControlReport) GetManualCloudControlAssessmentDetails() *ManualCloudControlAssessmentDetailsfunc (*CloudControlReport) GetMinorRevisionId
func (x *CloudControlReport) GetMinorRevisionId() int64func (*CloudControlReport) GetRules
func (x *CloudControlReport) GetRules() []*Rulefunc (*CloudControlReport) GetSimilarControls
func (x *CloudControlReport) GetSimilarControls() []*SimilarControlsfunc (*CloudControlReport) ProtoMessage
func (*CloudControlReport) ProtoMessage()func (*CloudControlReport) ProtoReflect
func (x *CloudControlReport) ProtoReflect() protoreflect.Messagefunc (*CloudControlReport) Reset
func (x *CloudControlReport) Reset()func (*CloudControlReport) String
func (x *CloudControlReport) String() stringCloudControlReport_CloudControlAssessmentDetails
type CloudControlReport_CloudControlAssessmentDetails struct {
// The details of a cloud control assessment.
CloudControlAssessmentDetails *CloudControlAssessmentDetails `protobuf:"bytes,14,opt,name=cloud_control_assessment_details,json=cloudControlAssessmentDetails,proto3,oneof"`
}CloudControlReport_ManualCloudControlAssessmentDetails
type CloudControlReport_ManualCloudControlAssessmentDetails struct {
// The details of a manual cloud control assessment.
ManualCloudControlAssessmentDetails *ManualCloudControlAssessmentDetails `protobuf:"bytes,13,opt,name=manual_cloud_control_assessment_details,json=manualCloudControlAssessmentDetails,proto3,oneof"`
}CloudControl_Type
type CloudControl_Type int32The type of cloud control.
CloudControl_TYPE_UNSPECIFIED, CloudControl_CUSTOM, CloudControl_BUILT_IN
const (
// Default value. This value is unused.
CloudControl_TYPE_UNSPECIFIED CloudControl_Type = 0
// A cloud control that's created and managed by you.
CloudControl_CUSTOM CloudControl_Type = 1
// A cloud control that's provided and managed by Google.
CloudControl_BUILT_IN CloudControl_Type = 2
)func (CloudControl_Type) Descriptor
func (CloudControl_Type) Descriptor() protoreflect.EnumDescriptorfunc (CloudControl_Type) Enum
func (x CloudControl_Type) Enum() *CloudControl_Typefunc (CloudControl_Type) EnumDescriptor
func (CloudControl_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudControl_Type.Descriptor instead.
func (CloudControl_Type) Number
func (x CloudControl_Type) Number() protoreflect.EnumNumberfunc (CloudControl_Type) String
func (x CloudControl_Type) String() stringfunc (CloudControl_Type) Type
func (CloudControl_Type) Type() protoreflect.EnumTypeCloudProvider
type CloudProvider int32The cloud provider that's associated with the cloud control.
CloudProvider_CLOUD_PROVIDER_UNSPECIFIED, CloudProvider_AWS, CloudProvider_AZURE, CloudProvider_GCP
const (
// Default value. This value is unused.
CloudProvider_CLOUD_PROVIDER_UNSPECIFIED CloudProvider = 0
// Amazon Web Services (AWS).
CloudProvider_AWS CloudProvider = 1
// Microsoft Azure.
CloudProvider_AZURE CloudProvider = 2
// Google Cloud.
CloudProvider_GCP CloudProvider = 3
)func (CloudProvider) Descriptor
func (CloudProvider) Descriptor() protoreflect.EnumDescriptorfunc (CloudProvider) Enum
func (x CloudProvider) Enum() *CloudProviderfunc (CloudProvider) EnumDescriptor
func (CloudProvider) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudProvider.Descriptor instead.
func (CloudProvider) Number
func (x CloudProvider) Number() protoreflect.EnumNumberfunc (CloudProvider) String
func (x CloudProvider) String() stringfunc (CloudProvider) Type
func (CloudProvider) Type() protoreflect.EnumTypeCmEnrollment
type CmEnrollment struct {
// Identifier. The name of the Compliance Manager enrollment.
//
// Supported formats are the following:
//
// * `organizations/{organization_id}/locations/{location}/cmEnrollment`
// * `folders/{folder_id}/locations/{location}/cmEnrollment`
// * `projects/{project_id}/locations/{location}/cmEnrollment`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Whether the resource is enrolled in Compliance Manager.
// This setting is inherited by all descendants.
Enrolled bool `protobuf:"varint,2,opt,name=enrolled,proto3" json:"enrolled,omitempty"`
// Optional. The audit configuration for Compliance Manager.
// If set at a scope, this configuration overrides any inherited audit
// configuration.
AuditConfig *AuditConfig `protobuf:"bytes,3,opt,name=audit_config,json=auditConfig,proto3" json:"audit_config,omitempty"`
// contains filtered or unexported fields
}The settings for Compliance Manager at a specific resource scope.=
func (*CmEnrollment) Descriptor
func (*CmEnrollment) Descriptor() ([]byte, []int)Deprecated: Use CmEnrollment.ProtoReflect.Descriptor instead.
func (*CmEnrollment) GetAuditConfig
func (x *CmEnrollment) GetAuditConfig() *AuditConfigfunc (*CmEnrollment) GetEnrolled
func (x *CmEnrollment) GetEnrolled() boolfunc (*CmEnrollment) GetName
func (x *CmEnrollment) GetName() stringfunc (*CmEnrollment) ProtoMessage
func (*CmEnrollment) ProtoMessage()func (*CmEnrollment) ProtoReflect
func (x *CmEnrollment) ProtoReflect() protoreflect.Messagefunc (*CmEnrollment) Reset
func (x *CmEnrollment) Reset()func (*CmEnrollment) String
func (x *CmEnrollment) String() stringCmEnrollmentServiceClient
type CmEnrollmentServiceClient interface {
// Updates the Compliance Manager enrollment for a resource to facilitate
// an audit.
// Use this method to enroll a resource in Compliance Manager or to
// create or update feature-specific configurations.
UpdateCmEnrollment(ctx context.Context, in *UpdateCmEnrollmentRequest, opts ...grpc.CallOption) (*CmEnrollment, error)
// Calculates the effective Compliance Manager enrollment for a resource.
// An effective enrollment is either a direct enrollment of a
// resource (if it exists), or an enrollment of the closest parent of a
// resource that's enrolled in Compliance Manager.
CalculateEffectiveCmEnrollment(ctx context.Context, in *CalculateEffectiveCmEnrollmentRequest, opts ...grpc.CallOption) (*CalculateEffectiveCmEnrollmentResponse, error)
}CmEnrollmentServiceClient is the client API for CmEnrollmentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCmEnrollmentServiceClient
func NewCmEnrollmentServiceClient(cc grpc.ClientConnInterface) CmEnrollmentServiceClientCmEnrollmentServiceServer
type CmEnrollmentServiceServer interface {
// Updates the Compliance Manager enrollment for a resource to facilitate
// an audit.
// Use this method to enroll a resource in Compliance Manager or to
// create or update feature-specific configurations.
UpdateCmEnrollment(context.Context, *UpdateCmEnrollmentRequest) (*CmEnrollment, error)
// Calculates the effective Compliance Manager enrollment for a resource.
// An effective enrollment is either a direct enrollment of a
// resource (if it exists), or an enrollment of the closest parent of a
// resource that's enrolled in Compliance Manager.
CalculateEffectiveCmEnrollment(context.Context, *CalculateEffectiveCmEnrollmentRequest) (*CalculateEffectiveCmEnrollmentResponse, error)
}CmEnrollmentServiceServer is the server API for CmEnrollmentService service. All implementations should embed UnimplementedCmEnrollmentServiceServer for forward compatibility
ComplianceState
type ComplianceState int32The state of compliance after evaluation is complete.
ComplianceState_COMPLIANCE_STATE_UNSPECIFIED, ComplianceState_COMPLIANT, ComplianceState_VIOLATION, ComplianceState_MANUAL_REVIEW_NEEDED, ComplianceState_ERROR, ComplianceState_AUDIT_NOT_SUPPORTED
const (
// Default value. This value is unused.
ComplianceState_COMPLIANCE_STATE_UNSPECIFIED ComplianceState = 0
// The resource is compliant.
ComplianceState_COMPLIANT ComplianceState = 1
// The resource has a violation.
ComplianceState_VIOLATION ComplianceState = 2
// The resource requires manual review from you.
ComplianceState_MANUAL_REVIEW_NEEDED ComplianceState = 3
// An error occurred while computing the resource status.
ComplianceState_ERROR ComplianceState = 4
// The resource can't be audited.
ComplianceState_AUDIT_NOT_SUPPORTED ComplianceState = 5
)func (ComplianceState) Descriptor
func (ComplianceState) Descriptor() protoreflect.EnumDescriptorfunc (ComplianceState) Enum
func (x ComplianceState) Enum() *ComplianceStatefunc (ComplianceState) EnumDescriptor
func (ComplianceState) EnumDescriptor() ([]byte, []int)Deprecated: Use ComplianceState.Descriptor instead.
func (ComplianceState) Number
func (x ComplianceState) Number() protoreflect.EnumNumberfunc (ComplianceState) String
func (x ComplianceState) String() stringfunc (ComplianceState) Type
func (ComplianceState) Type() protoreflect.EnumTypeConfigClient
type ConfigClient interface {
// Lists the frameworks (both built-in and custom) that are available within
// the parent resource. The latest major version of each framework is
// returned.
// This method supports pagination.
ListFrameworks(ctx context.Context, in *ListFrameworksRequest, opts ...grpc.CallOption) (*ListFrameworksResponse, error)
// Gets details about a framework.
// This method retrieves the latest major version of the framework.
//
// To retrieve a specific major version, include `major_revision_id` in
// the request.
GetFramework(ctx context.Context, in *GetFrameworkRequest, opts ...grpc.CallOption) (*Framework, error)
// Creates a custom framework in a given parent resource.
// You can't create built-in frameworks because those are managed by
// Google.
CreateFramework(ctx context.Context, in *CreateFrameworkRequest, opts ...grpc.CallOption) (*Framework, error)
// Updates a custom framework.
// This method allows for partial updates of a framework. Use the
// `update_mask` to specify which fields to update. Consider the following:
//
// - If you provide an `update_mask`, only the fields that are specified
// in the mask are updated.
// - If you don't provide an `update_mask`, all the fields that are present
// in the request's `framework` body are used to overwrite the existing
// resource.
//
// You can only update frameworks with the `CUSTOM` type.
// A successful update creates a new version of the framework.
UpdateFramework(ctx context.Context, in *UpdateFrameworkRequest, opts ...grpc.CallOption) (*Framework, error)
// Deletes a custom framework, including all its major and
// minor revisions. Consider the following:
//
// - You can't delete built-in frameworks. You can only delete frameworks
// with type `CUSTOM`.
// - You can't delete frameworks that are deployed to a resource.
// - You can't restore a deleted framework. This action is permanent.
DeleteFramework(ctx context.Context, in *DeleteFrameworkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists the cloud controls (both built-in and custom) that are available
// in a given parent resource. The latest major version of each cloud control
// is returned.
// This method supports pagination.
ListCloudControls(ctx context.Context, in *ListCloudControlsRequest, opts ...grpc.CallOption) (*ListCloudControlsResponse, error)
// Gets details about a cloud control.
// This method retrieves the latest major version of a cloud control that
// you identify by name.
//
// By default, the latest major version of the cloud control is returned.
// To retrieve a specific major version, include `major_revision_id` in
// the request.
GetCloudControl(ctx context.Context, in *GetCloudControlRequest, opts ...grpc.CallOption) (*CloudControl, error)
// Creates a custom cloud control in a given parent
// resource.
// You can't create built-in cloud controls because those are managed by
// Google.
CreateCloudControl(ctx context.Context, in *CreateCloudControlRequest, opts ...grpc.CallOption) (*CloudControl, error)
// Updates a custom cloud control.
// This method allows for partial updates of a cloud control. Use the
// `update_mask` to specify which fields to update. Consider the following:
//
// - If you provide an `update_mask`, only the fields that are specified
// in the mask are updated.
// - If you don't provide an `update_mask`, all the fields that are present
// in the request's `cloud_control` body are used to overwrite the existing
// resource.
//
// You can only update cloud controls with the `CUSTOM` type.
// A successful update creates a new version of the cloud control.
UpdateCloudControl(ctx context.Context, in *UpdateCloudControlRequest, opts ...grpc.CallOption) (*CloudControl, error)
// Deletes a custom cloud control, including all its
// major and minor revisions. Consider the following:
//
// - You can't delete built-in cloud controls. You can only delete cloud
// controls with type `CUSTOM`.
// - You can't delete cloud controls if any of the versions are referenced
// by a framework.
// - You can't restore a deleted cloud control. This action is permanent.
DeleteCloudControl(ctx context.Context, in *DeleteCloudControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}ConfigClient is the client API for Config service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConfigClient
func NewConfigClient(cc grpc.ClientConnInterface) ConfigClientConfigServer
type ConfigServer interface {
// Lists the frameworks (both built-in and custom) that are available within
// the parent resource. The latest major version of each framework is
// returned.
// This method supports pagination.
ListFrameworks(context.Context, *ListFrameworksRequest) (*ListFrameworksResponse, error)
// Gets details about a framework.
// This method retrieves the latest major version of the framework.
//
// To retrieve a specific major version, include `major_revision_id` in
// the request.
GetFramework(context.Context, *GetFrameworkRequest) (*Framework, error)
// Creates a custom framework in a given parent resource.
// You can't create built-in frameworks because those are managed by
// Google.
CreateFramework(context.Context, *CreateFrameworkRequest) (*Framework, error)
// Updates a custom framework.
// This method allows for partial updates of a framework. Use the
// `update_mask` to specify which fields to update. Consider the following:
//
// - If you provide an `update_mask`, only the fields that are specified
// in the mask are updated.
// - If you don't provide an `update_mask`, all the fields that are present
// in the request's `framework` body are used to overwrite the existing
// resource.
//
// You can only update frameworks with the `CUSTOM` type.
// A successful update creates a new version of the framework.
UpdateFramework(context.Context, *UpdateFrameworkRequest) (*Framework, error)
// Deletes a custom framework, including all its major and
// minor revisions. Consider the following:
//
// - You can't delete built-in frameworks. You can only delete frameworks
// with type `CUSTOM`.
// - You can't delete frameworks that are deployed to a resource.
// - You can't restore a deleted framework. This action is permanent.
DeleteFramework(context.Context, *DeleteFrameworkRequest) (*emptypb.Empty, error)
// Lists the cloud controls (both built-in and custom) that are available
// in a given parent resource. The latest major version of each cloud control
// is returned.
// This method supports pagination.
ListCloudControls(context.Context, *ListCloudControlsRequest) (*ListCloudControlsResponse, error)
// Gets details about a cloud control.
// This method retrieves the latest major version of a cloud control that
// you identify by name.
//
// By default, the latest major version of the cloud control is returned.
// To retrieve a specific major version, include `major_revision_id` in
// the request.
GetCloudControl(context.Context, *GetCloudControlRequest) (*CloudControl, error)
// Creates a custom cloud control in a given parent
// resource.
// You can't create built-in cloud controls because those are managed by
// Google.
CreateCloudControl(context.Context, *CreateCloudControlRequest) (*CloudControl, error)
// Updates a custom cloud control.
// This method allows for partial updates of a cloud control. Use the
// `update_mask` to specify which fields to update. Consider the following:
//
// - If you provide an `update_mask`, only the fields that are specified
// in the mask are updated.
// - If you don't provide an `update_mask`, all the fields that are present
// in the request's `cloud_control` body are used to overwrite the existing
// resource.
//
// You can only update cloud controls with the `CUSTOM` type.
// A successful update creates a new version of the cloud control.
UpdateCloudControl(context.Context, *UpdateCloudControlRequest) (*CloudControl, error)
// Deletes a custom cloud control, including all its
// major and minor revisions. Consider the following:
//
// - You can't delete built-in cloud controls. You can only delete cloud
// controls with type `CUSTOM`.
// - You can't delete cloud controls if any of the versions are referenced
// by a framework.
// - You can't restore a deleted cloud control. This action is permanent.
DeleteCloudControl(context.Context, *DeleteCloudControlRequest) (*emptypb.Empty, error)
}ConfigServer is the server API for Config service. All implementations should embed UnimplementedConfigServer for forward compatibility
Control
type Control struct {
// Output only. The name of a regulatory control, in one of the following
// formats:
// - `organizations/{organization}/locations/{location}/controls/{control}`
// - `projects/{project}/locations/{location}/controls/{control}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The friendly name for the regulatory control.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The description of the regulatory control.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The regulatory group that the control belongs to.
Family Control_Family `protobuf:"varint,5,opt,name=family,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Control_Family" json:"family,omitempty"`
// Output only. The regulatory family that the control belongs to.
ControlFamily *ControlFamily `protobuf:"bytes,6,opt,name=control_family,json=controlFamily,proto3" json:"control_family,omitempty"`
// Output only. The entity that's responsible for the control, whether Google,
// you as the customer, or both.
ResponsibilityType RegulatoryControlResponsibilityType `protobuf:"varint,7,opt,name=responsibility_type,json=responsibilityType,proto3,enum=google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType" json:"responsibility_type,omitempty"`
// Output only. A description of Google's responsibility for the regulatory
// control.
GoogleResponsibilityDescription string `protobuf:"bytes,8,opt,name=google_responsibility_description,json=googleResponsibilityDescription,proto3" json:"google_responsibility_description,omitempty"`
// Output only. A description of Google's responsibility for implementing the
// regulatory control.
GoogleResponsibilityImplementation string `protobuf:"bytes,9,opt,name=google_responsibility_implementation,json=googleResponsibilityImplementation,proto3" json:"google_responsibility_implementation,omitempty"`
// Output only. A description of your responsibility for the regulatory
// control.
CustomerResponsibilityDescription string `protobuf:"bytes,10,opt,name=customer_responsibility_description,json=customerResponsibilityDescription,proto3" json:"customer_responsibility_description,omitempty"`
// Output only. A description of the your responsibility for implementing the
// regulatory control.
CustomerResponsibilityImplementation string `protobuf:"bytes,11,opt,name=customer_responsibility_implementation,json=customerResponsibilityImplementation,proto3" json:"customer_responsibility_implementation,omitempty"`
// Output only. A description of the responsibility that's shared between
// Google and you in implementing this control.
SharedResponsibilityDescription string `protobuf:"bytes,12,opt,name=shared_responsibility_description,json=sharedResponsibilityDescription,proto3" json:"shared_responsibility_description,omitempty"`
// Output only. A link to the documentation that's related to this control.
AdditionalContentUri string `protobuf:"bytes,13,opt,name=additional_content_uri,json=additionalContentUri,proto3" json:"additional_content_uri,omitempty"`
// Output only. The frameworks that include this control.
RelatedFrameworks []string `protobuf:"bytes,14,rep,name=related_frameworks,json=relatedFrameworks,proto3" json:"related_frameworks,omitempty"`
// contains filtered or unexported fields
}The regulatory control.
func (*Control) Descriptor
Deprecated: Use Control.ProtoReflect.Descriptor instead.
func (*Control) GetAdditionalContentUri
func (*Control) GetControlFamily
func (x *Control) GetControlFamily() *ControlFamilyfunc (*Control) GetCustomerResponsibilityDescription
func (*Control) GetCustomerResponsibilityImplementation
func (*Control) GetDescription
func (*Control) GetDisplayName
func (*Control) GetFamily
func (x *Control) GetFamily() Control_Familyfunc (*Control) GetGoogleResponsibilityDescription
func (*Control) GetGoogleResponsibilityImplementation
func (*Control) GetName
func (*Control) GetRelatedFrameworks
func (*Control) GetResponsibilityType
func (x *Control) GetResponsibilityType() RegulatoryControlResponsibilityTypefunc (*Control) GetSharedResponsibilityDescription
func (*Control) ProtoMessage
func (*Control) ProtoMessage()func (*Control) ProtoReflect
func (x *Control) ProtoReflect() protoreflect.Messagefunc (*Control) Reset
func (x *Control) Reset()func (*Control) String
ControlAssessmentDetails
type ControlAssessmentDetails struct {
// The number of controls that are passing or not assessed.
PassingControls int32 `protobuf:"varint,1,opt,name=passing_controls,json=passingControls,proto3" json:"passing_controls,omitempty"`
// The number of controls that are failing.
FailingControls int32 `protobuf:"varint,2,opt,name=failing_controls,json=failingControls,proto3" json:"failing_controls,omitempty"`
// The number of controls that were assessed and are passing.
AssessedPassingControls int32 `protobuf:"varint,3,opt,name=assessed_passing_controls,json=assessedPassingControls,proto3" json:"assessed_passing_controls,omitempty"`
// The number of controls that aren't assessed because they require manual
// review.
NotAssessedControls int32 `protobuf:"varint,4,opt,name=not_assessed_controls,json=notAssessedControls,proto3" json:"not_assessed_controls,omitempty"`
// contains filtered or unexported fields
}The details for a control assessment.
func (*ControlAssessmentDetails) Descriptor
func (*ControlAssessmentDetails) Descriptor() ([]byte, []int)Deprecated: Use ControlAssessmentDetails.ProtoReflect.Descriptor instead.
func (*ControlAssessmentDetails) GetAssessedPassingControls
func (x *ControlAssessmentDetails) GetAssessedPassingControls() int32func (*ControlAssessmentDetails) GetFailingControls
func (x *ControlAssessmentDetails) GetFailingControls() int32func (*ControlAssessmentDetails) GetNotAssessedControls
func (x *ControlAssessmentDetails) GetNotAssessedControls() int32func (*ControlAssessmentDetails) GetPassingControls
func (x *ControlAssessmentDetails) GetPassingControls() int32func (*ControlAssessmentDetails) ProtoMessage
func (*ControlAssessmentDetails) ProtoMessage()func (*ControlAssessmentDetails) ProtoReflect
func (x *ControlAssessmentDetails) ProtoReflect() protoreflect.Messagefunc (*ControlAssessmentDetails) Reset
func (x *ControlAssessmentDetails) Reset()func (*ControlAssessmentDetails) String
func (x *ControlAssessmentDetails) String() stringControlComplianceSummary
type ControlComplianceSummary struct {
// The name of the control.
Control string `protobuf:"bytes,1,opt,name=control,proto3" json:"control,omitempty"`
// The display name of the control.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The description of the control.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The overall evaluation status of the control.
OverallEvaluationState EvaluationState `protobuf:"varint,4,opt,name=overall_evaluation_state,json=overallEvaluationState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.EvaluationState" json:"overall_evaluation_state,omitempty"`
// The total number of findings for the control.
TotalFindingsCount int32 `protobuf:"varint,5,opt,name=total_findings_count,json=totalFindingsCount,proto3" json:"total_findings_count,omitempty"`
// The list of compliance frameworks that the control belongs to.
ComplianceFrameworks []string `protobuf:"bytes,6,rep,name=compliance_frameworks,json=complianceFrameworks,proto3" json:"compliance_frameworks,omitempty"`
// The list of similar controls.
SimilarControls []*SimilarControls `protobuf:"bytes,7,rep,name=similar_controls,json=similarControls,proto3" json:"similar_controls,omitempty"`
// The list of cloud control reports.
CloudControlReports []*CloudControlReport `protobuf:"bytes,8,rep,name=cloud_control_reports,json=cloudControlReports,proto3" json:"cloud_control_reports,omitempty"`
// The responsibility type for the control.
ControlResponsibilityType RegulatoryControlResponsibilityType `protobuf:"varint,9,opt,name=control_responsibility_type,json=controlResponsibilityType,proto3,enum=google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType" json:"control_responsibility_type,omitempty"`
// Whether the control is a fake control. Fake controls are created
// and mapped to cloud controls that don't belong to a control group.
IsFakeControl bool `protobuf:"varint,10,opt,name=is_fake_control,json=isFakeControl,proto3" json:"is_fake_control,omitempty"`
// Identifier. The name of the control compliance summary.
Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The details for control compliance.
func (*ControlComplianceSummary) Descriptor
func (*ControlComplianceSummary) Descriptor() ([]byte, []int)Deprecated: Use ControlComplianceSummary.ProtoReflect.Descriptor instead.
func (*ControlComplianceSummary) GetCloudControlReports
func (x *ControlComplianceSummary) GetCloudControlReports() []*CloudControlReportfunc (*ControlComplianceSummary) GetComplianceFrameworks
func (x *ControlComplianceSummary) GetComplianceFrameworks() []stringfunc (*ControlComplianceSummary) GetControl
func (x *ControlComplianceSummary) GetControl() stringfunc (*ControlComplianceSummary) GetControlResponsibilityType
func (x *ControlComplianceSummary) GetControlResponsibilityType() RegulatoryControlResponsibilityTypefunc (*ControlComplianceSummary) GetDescription
func (x *ControlComplianceSummary) GetDescription() stringfunc (*ControlComplianceSummary) GetDisplayName
func (x *ControlComplianceSummary) GetDisplayName() stringfunc (*ControlComplianceSummary) GetIsFakeControl
func (x *ControlComplianceSummary) GetIsFakeControl() boolfunc (*ControlComplianceSummary) GetName
func (x *ControlComplianceSummary) GetName() stringfunc (*ControlComplianceSummary) GetOverallEvaluationState
func (x *ControlComplianceSummary) GetOverallEvaluationState() EvaluationStatefunc (*ControlComplianceSummary) GetSimilarControls
func (x *ControlComplianceSummary) GetSimilarControls() []*SimilarControlsfunc (*ControlComplianceSummary) GetTotalFindingsCount
func (x *ControlComplianceSummary) GetTotalFindingsCount() int32func (*ControlComplianceSummary) ProtoMessage
func (*ControlComplianceSummary) ProtoMessage()func (*ControlComplianceSummary) ProtoReflect
func (x *ControlComplianceSummary) ProtoReflect() protoreflect.Messagefunc (*ControlComplianceSummary) Reset
func (x *ControlComplianceSummary) Reset()func (*ControlComplianceSummary) String
func (x *ControlComplianceSummary) String() stringControlFamily
type ControlFamily struct {
// The identifier for the regulatory control family.
FamilyId string `protobuf:"bytes,1,opt,name=family_id,json=familyId,proto3" json:"family_id,omitempty"`
// The friendly name for the regulatory control family.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}The regulatory family of the control.
func (*ControlFamily) Descriptor
func (*ControlFamily) Descriptor() ([]byte, []int)Deprecated: Use ControlFamily.ProtoReflect.Descriptor instead.
func (*ControlFamily) GetDisplayName
func (x *ControlFamily) GetDisplayName() stringfunc (*ControlFamily) GetFamilyId
func (x *ControlFamily) GetFamilyId() stringfunc (*ControlFamily) ProtoMessage
func (*ControlFamily) ProtoMessage()func (*ControlFamily) ProtoReflect
func (x *ControlFamily) ProtoReflect() protoreflect.Messagefunc (*ControlFamily) Reset
func (x *ControlFamily) Reset()func (*ControlFamily) String
func (x *ControlFamily) String() stringControl_Family
type Control_Family int32The regulatory control family.
Control_FAMILY_UNSPECIFIED, Control_AC, Control_AT, Control_AU, Control_CA, Control_CM, Control_CP, Control_IA, Control_IR, Control_MA, Control_MP, Control_PE, Control_PL, Control_PS, Control_RA, Control_SA, Control_SC, Control_SI, Control_SR
const (
// Default value. This value is unused.
Control_FAMILY_UNSPECIFIED Control_Family = 0
// Access control
Control_AC Control_Family = 1
// Awareness and araining
Control_AT Control_Family = 2
// Audit and accountability
Control_AU Control_Family = 3
// Certification, accreditation, and security assessments
Control_CA Control_Family = 4
// Configuration management
Control_CM Control_Family = 5
// Contingency planning
Control_CP Control_Family = 6
// Identification and authentication
Control_IA Control_Family = 7
// Incident response
Control_IR Control_Family = 8
// Maintenance
Control_MA Control_Family = 9
// Media protection
Control_MP Control_Family = 10
// Physical and environmental protection
Control_PE Control_Family = 11
// Security planning
Control_PL Control_Family = 12
// Personnel aecurity
Control_PS Control_Family = 13
// Risk assessment
Control_RA Control_Family = 14
// System services and acquisition
Control_SA Control_Family = 15
// System and communications protection
Control_SC Control_Family = 16
// System and information integrity
Control_SI Control_Family = 17
// Supply chain risk management
Control_SR Control_Family = 18
)func (Control_Family) Descriptor
func (Control_Family) Descriptor() protoreflect.EnumDescriptorfunc (Control_Family) Enum
func (x Control_Family) Enum() *Control_Familyfunc (Control_Family) EnumDescriptor
func (Control_Family) EnumDescriptor() ([]byte, []int)Deprecated: Use Control_Family.Descriptor instead.
func (Control_Family) Number
func (x Control_Family) Number() protoreflect.EnumNumberfunc (Control_Family) String
func (x Control_Family) String() stringfunc (Control_Family) Type
func (Control_Family) Type() protoreflect.EnumTypeCreateCloudControlRequest
type CreateCloudControlRequest struct {
// Required. The parent resource name, in one of the following formats:
// - `organizations/{organization}/locations/{location}`.
// - `projects/{project}/locations/{location}`.
//
// The only supported location is `global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The identifier for the cloud control, which is the last segment
// of the cloud control name. The format is
// `^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$`.
CloudControlId string `protobuf:"bytes,2,opt,name=cloud_control_id,json=cloudControlId,proto3" json:"cloud_control_id,omitempty"`
// Required. The cloud control that's being created.
CloudControl *CloudControl `protobuf:"bytes,3,opt,name=cloud_control,json=cloudControl,proto3" json:"cloud_control,omitempty"`
// contains filtered or unexported fields
}The request message for [CreateCloudControl][].
func (*CreateCloudControlRequest) Descriptor
func (*CreateCloudControlRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCloudControlRequest.ProtoReflect.Descriptor instead.
func (*CreateCloudControlRequest) GetCloudControl
func (x *CreateCloudControlRequest) GetCloudControl() *CloudControlfunc (*CreateCloudControlRequest) GetCloudControlId
func (x *CreateCloudControlRequest) GetCloudControlId() stringfunc (*CreateCloudControlRequest) GetParent
func (x *CreateCloudControlRequest) GetParent() stringfunc (*CreateCloudControlRequest) ProtoMessage
func (*CreateCloudControlRequest) ProtoMessage()func (*CreateCloudControlRequest) ProtoReflect
func (x *CreateCloudControlRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCloudControlRequest) Reset
func (x *CreateCloudControlRequest) Reset()func (*CreateCloudControlRequest) String
func (x *CreateCloudControlRequest) String() stringCreateFrameworkAuditRequest
type CreateFrameworkAuditRequest struct {
// Required. The parent resource where this framework audit is created.
//
// Supported formats are the following:
//
// * `organizations/{organization_id}/locations/{location}`
// * `folders/{folder_id}/locations/{location}`
// * `projects/{project_id}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The ID to use for the framework audit. The ID becomes the final
// component of the framework audit's full resource name.
//
// The ID must be between 4-63 characters, and valid characters
// are `\[a-z][0-9]-\`.
FrameworkAuditId string `protobuf:"bytes,2,opt,name=framework_audit_id,json=frameworkAuditId,proto3" json:"framework_audit_id,omitempty"`
// Required. The framework audit to create.
FrameworkAudit *FrameworkAudit `protobuf:"bytes,3,opt,name=framework_audit,json=frameworkAudit,proto3" json:"framework_audit,omitempty"`
// contains filtered or unexported fields
}The request message for [CreateFrameworkAudit][].
func (*CreateFrameworkAuditRequest) Descriptor
func (*CreateFrameworkAuditRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateFrameworkAuditRequest.ProtoReflect.Descriptor instead.
func (*CreateFrameworkAuditRequest) GetFrameworkAudit
func (x *CreateFrameworkAuditRequest) GetFrameworkAudit() *FrameworkAuditfunc (*CreateFrameworkAuditRequest) GetFrameworkAuditId
func (x *CreateFrameworkAuditRequest) GetFrameworkAuditId() stringfunc (*CreateFrameworkAuditRequest) GetParent
func (x *CreateFrameworkAuditRequest) GetParent() stringfunc (*CreateFrameworkAuditRequest) ProtoMessage
func (*CreateFrameworkAuditRequest) ProtoMessage()func (*CreateFrameworkAuditRequest) ProtoReflect
func (x *CreateFrameworkAuditRequest) ProtoReflect() protoreflect.Messagefunc (*CreateFrameworkAuditRequest) Reset
func (x *CreateFrameworkAuditRequest) Reset()func (*CreateFrameworkAuditRequest) String
func (x *CreateFrameworkAuditRequest) String() stringCreateFrameworkDeploymentRequest
type CreateFrameworkDeploymentRequest struct {
// Required. The parent resource of the framework deployment in the format
// `organizations/{organization}/locations/{location}`
// or
// `projects/{project}/locations/{location}`.
// Only the global location is supported.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. An identifier for the framework deployment that's unique in scope
// of the parent. If you don't specify a value, then a random UUID is
// generated.
FrameworkDeploymentId string `protobuf:"bytes,2,opt,name=framework_deployment_id,json=frameworkDeploymentId,proto3" json:"framework_deployment_id,omitempty"`
// Required. The framework deployment that you're creating.
FrameworkDeployment *FrameworkDeployment `protobuf:"bytes,3,opt,name=framework_deployment,json=frameworkDeployment,proto3" json:"framework_deployment,omitempty"`
// contains filtered or unexported fields
}The request message for [CreateFrameworkDeployment][].
func (*CreateFrameworkDeploymentRequest) Descriptor
func (*CreateFrameworkDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateFrameworkDeploymentRequest.ProtoReflect.Descriptor instead.
func (*CreateFrameworkDeploymentRequest) GetFrameworkDeployment
func (x *CreateFrameworkDeploymentRequest) GetFrameworkDeployment() *FrameworkDeploymentfunc (*CreateFrameworkDeploymentRequest) GetFrameworkDeploymentId
func (x *CreateFrameworkDeploymentRequest) GetFrameworkDeploymentId() stringfunc (*CreateFrameworkDeploymentRequest) GetParent
func (x *CreateFrameworkDeploymentRequest) GetParent() stringfunc (*CreateFrameworkDeploymentRequest) ProtoMessage
func (*CreateFrameworkDeploymentRequest) ProtoMessage()func (*CreateFrameworkDeploymentRequest) ProtoReflect
func (x *CreateFrameworkDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateFrameworkDeploymentRequest) Reset
func (x *CreateFrameworkDeploymentRequest) Reset()func (*CreateFrameworkDeploymentRequest) String
func (x *CreateFrameworkDeploymentRequest) String() stringCreateFrameworkRequest
type CreateFrameworkRequest struct {
// Required. The parent resource name, in one of the following formats:
// - `organizations/{organization}/locations/{location}`
// - `projects/{project}/locations/{location}`.
//
// The only supported location is `global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The identifier (ID) of the framework. The ID is not the full name
// of the framework; it's the last part of the full name of the framework.
FrameworkId string `protobuf:"bytes,2,opt,name=framework_id,json=frameworkId,proto3" json:"framework_id,omitempty"`
// Required. The resource being created.
Framework *Framework `protobuf:"bytes,3,opt,name=framework,proto3" json:"framework,omitempty"`
// contains filtered or unexported fields
}The request message for [CreateFramework][].
func (*CreateFrameworkRequest) Descriptor
func (*CreateFrameworkRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateFrameworkRequest.ProtoReflect.Descriptor instead.
func (*CreateFrameworkRequest) GetFramework
func (x *CreateFrameworkRequest) GetFramework() *Frameworkfunc (*CreateFrameworkRequest) GetFrameworkId
func (x *CreateFrameworkRequest) GetFrameworkId() stringfunc (*CreateFrameworkRequest) GetParent
func (x *CreateFrameworkRequest) GetParent() stringfunc (*CreateFrameworkRequest) ProtoMessage
func (*CreateFrameworkRequest) ProtoMessage()func (*CreateFrameworkRequest) ProtoReflect
func (x *CreateFrameworkRequest) ProtoReflect() protoreflect.Messagefunc (*CreateFrameworkRequest) Reset
func (x *CreateFrameworkRequest) Reset()func (*CreateFrameworkRequest) String
func (x *CreateFrameworkRequest) String() stringDeleteCloudControlRequest
type DeleteCloudControlRequest struct {
// Required. The name of the cloud control to delete, in one of the following
// formats:
// `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`
// or
// `projects/{project}/locations/{location}/CloudControls/{CloudControl}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for [DeleteCloudControl][].
func (*DeleteCloudControlRequest) Descriptor
func (*DeleteCloudControlRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteCloudControlRequest.ProtoReflect.Descriptor instead.
func (*DeleteCloudControlRequest) GetName
func (x *DeleteCloudControlRequest) GetName() stringfunc (*DeleteCloudControlRequest) ProtoMessage
func (*DeleteCloudControlRequest) ProtoMessage()func (*DeleteCloudControlRequest) ProtoReflect
func (x *DeleteCloudControlRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCloudControlRequest) Reset
func (x *DeleteCloudControlRequest) Reset()func (*DeleteCloudControlRequest) String
func (x *DeleteCloudControlRequest) String() stringDeleteFrameworkDeploymentRequest
type DeleteFrameworkDeploymentRequest struct {
// Required. The name of the framework deployment that you want to delete,
// in the format
// `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
// or
// `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An opaque identifier for the current version of the resource.
//
// If you provide this value, then it must match the existing value. If the
// values don't match, then the request fails with an
// [`ABORTED`][google.rpc.Code.ABORTED] error.
//
// If you omit this value, then the resource is deleted regardless of its
// current `etag` value.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request message for [DeleteFrameworkDeployment][].
func (*DeleteFrameworkDeploymentRequest) Descriptor
func (*DeleteFrameworkDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteFrameworkDeploymentRequest.ProtoReflect.Descriptor instead.
func (*DeleteFrameworkDeploymentRequest) GetEtag
func (x *DeleteFrameworkDeploymentRequest) GetEtag() stringfunc (*DeleteFrameworkDeploymentRequest) GetName
func (x *DeleteFrameworkDeploymentRequest) GetName() stringfunc (*DeleteFrameworkDeploymentRequest) ProtoMessage
func (*DeleteFrameworkDeploymentRequest) ProtoMessage()func (*DeleteFrameworkDeploymentRequest) ProtoReflect
func (x *DeleteFrameworkDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteFrameworkDeploymentRequest) Reset
func (x *DeleteFrameworkDeploymentRequest) Reset()func (*DeleteFrameworkDeploymentRequest) String
func (x *DeleteFrameworkDeploymentRequest) String() stringDeleteFrameworkRequest
type DeleteFrameworkRequest struct {
// Required. The name of the resource, in one of the following formats:
// `organizations/{organization}/locations/{location}/frameworks/{framework}`
// or
// `projects/{project}/locations/{location}/frameworks/{framework}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [DeleteFramework][].
func (*DeleteFrameworkRequest) Descriptor
func (*DeleteFrameworkRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteFrameworkRequest.ProtoReflect.Descriptor instead.
func (*DeleteFrameworkRequest) GetName
func (x *DeleteFrameworkRequest) GetName() stringfunc (*DeleteFrameworkRequest) ProtoMessage
func (*DeleteFrameworkRequest) ProtoMessage()func (*DeleteFrameworkRequest) ProtoReflect
func (x *DeleteFrameworkRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteFrameworkRequest) Reset
func (x *DeleteFrameworkRequest) Reset()func (*DeleteFrameworkRequest) String
func (x *DeleteFrameworkRequest) String() stringDeploymentClient
type DeploymentClient interface {
// Creates a framework deployment in a given parent resource. A
// framework deployment lets you assign a particular framework version to an
// organization, folder, or project so that you can control and monitor
// those resources using the framework's cloud controls.
CreateFrameworkDeployment(ctx context.Context, in *CreateFrameworkDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a framework deployment.
DeleteFrameworkDeployment(ctx context.Context, in *DeleteFrameworkDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details about a framework deployment.
GetFrameworkDeployment(ctx context.Context, in *GetFrameworkDeploymentRequest, opts ...grpc.CallOption) (*FrameworkDeployment, error)
// Lists the framework deployments in a given parent resource.
ListFrameworkDeployments(ctx context.Context, in *ListFrameworkDeploymentsRequest, opts ...grpc.CallOption) (*ListFrameworkDeploymentsResponse, error)
// Gets details about a cloud control deployment.
GetCloudControlDeployment(ctx context.Context, in *GetCloudControlDeploymentRequest, opts ...grpc.CallOption) (*CloudControlDeployment, error)
// Lists the cloud conrol deployments in a given parent resource.
ListCloudControlDeployments(ctx context.Context, in *ListCloudControlDeploymentsRequest, opts ...grpc.CallOption) (*ListCloudControlDeploymentsResponse, error)
}DeploymentClient is the client API for Deployment service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeploymentClient
func NewDeploymentClient(cc grpc.ClientConnInterface) DeploymentClientDeploymentServer
type DeploymentServer interface {
// Creates a framework deployment in a given parent resource. A
// framework deployment lets you assign a particular framework version to an
// organization, folder, or project so that you can control and monitor
// those resources using the framework's cloud controls.
CreateFrameworkDeployment(context.Context, *CreateFrameworkDeploymentRequest) (*longrunningpb.Operation, error)
// Deletes a framework deployment.
DeleteFrameworkDeployment(context.Context, *DeleteFrameworkDeploymentRequest) (*longrunningpb.Operation, error)
// Gets details about a framework deployment.
GetFrameworkDeployment(context.Context, *GetFrameworkDeploymentRequest) (*FrameworkDeployment, error)
// Lists the framework deployments in a given parent resource.
ListFrameworkDeployments(context.Context, *ListFrameworkDeploymentsRequest) (*ListFrameworkDeploymentsResponse, error)
// Gets details about a cloud control deployment.
GetCloudControlDeployment(context.Context, *GetCloudControlDeploymentRequest) (*CloudControlDeployment, error)
// Lists the cloud conrol deployments in a given parent resource.
ListCloudControlDeployments(context.Context, *ListCloudControlDeploymentsRequest) (*ListCloudControlDeploymentsResponse, error)
}DeploymentServer is the server API for Deployment service. All implementations should embed UnimplementedDeploymentServer for forward compatibility
DeploymentState
type DeploymentState int32The state of the deployment resource.
DeploymentState_DEPLOYMENT_STATE_UNSPECIFIED, DeploymentState_DEPLOYMENT_STATE_VALIDATING, DeploymentState_DEPLOYMENT_STATE_CREATING, DeploymentState_DEPLOYMENT_STATE_DELETING, DeploymentState_DEPLOYMENT_STATE_UPDATING, DeploymentState_DEPLOYMENT_STATE_FAILED, DeploymentState_DEPLOYMENT_STATE_READY, DeploymentState_DEPLOYMENT_STATE_PARTIALLY_DEPLOYED, DeploymentState_DEPLOYMENT_STATE_PARTIALLY_DELETED
const (
// Default value. This value is unused.
DeploymentState_DEPLOYMENT_STATE_UNSPECIFIED DeploymentState = 0
// Validating the deployment.
DeploymentState_DEPLOYMENT_STATE_VALIDATING DeploymentState = 1
// Deployment is being created.
DeploymentState_DEPLOYMENT_STATE_CREATING DeploymentState = 2
// Deployment is being deleted.
DeploymentState_DEPLOYMENT_STATE_DELETING DeploymentState = 3
// Deployment is being updated.
DeploymentState_DEPLOYMENT_STATE_UPDATING DeploymentState = 8
// Deployment has failed. All the changes made by the deployment were
// successfully rolled back. You can retry or delete a deployment that's
// in this state.
DeploymentState_DEPLOYMENT_STATE_FAILED DeploymentState = 4
// Deployment is successful and ready to use.
DeploymentState_DEPLOYMENT_STATE_READY DeploymentState = 5
// Deployment is partially deployed. All the cloud controls weren't deployed
// successfully. Retrying the operation resumes from the first failed
// step.
DeploymentState_DEPLOYMENT_STATE_PARTIALLY_DEPLOYED DeploymentState = 6
// Deployment is partially deleted. All the cloud control deployments weren't
// deleted successfully. Retrying the operation resumes from the first
// failed step.
DeploymentState_DEPLOYMENT_STATE_PARTIALLY_DELETED DeploymentState = 7
)func (DeploymentState) Descriptor
func (DeploymentState) Descriptor() protoreflect.EnumDescriptorfunc (DeploymentState) Enum
func (x DeploymentState) Enum() *DeploymentStatefunc (DeploymentState) EnumDescriptor
func (DeploymentState) EnumDescriptor() ([]byte, []int)Deprecated: Use DeploymentState.Descriptor instead.
func (DeploymentState) Number
func (x DeploymentState) Number() protoreflect.EnumNumberfunc (DeploymentState) String
func (x DeploymentState) String() stringfunc (DeploymentState) Type
func (DeploymentState) Type() protoreflect.EnumTypeEnforcementMode
type EnforcementMode int32The enforcement mode for the cloud control.
EnforcementMode_ENFORCEMENT_MODE_UNSPECIFIED, EnforcementMode_PREVENTIVE, EnforcementMode_DETECTIVE, EnforcementMode_AUDIT
const (
// Default value. This value is unused.
EnforcementMode_ENFORCEMENT_MODE_UNSPECIFIED EnforcementMode = 0
// The cloud control is enforced to prevent non-compliance.
EnforcementMode_PREVENTIVE EnforcementMode = 1
// The cloud control is enforced to detect non-compliance.
EnforcementMode_DETECTIVE EnforcementMode = 2
// The cloud control is enforced to audit for non-compliance.
EnforcementMode_AUDIT EnforcementMode = 3
)func (EnforcementMode) Descriptor
func (EnforcementMode) Descriptor() protoreflect.EnumDescriptorfunc (EnforcementMode) Enum
func (x EnforcementMode) Enum() *EnforcementModefunc (EnforcementMode) EnumDescriptor
func (EnforcementMode) EnumDescriptor() ([]byte, []int)Deprecated: Use EnforcementMode.Descriptor instead.
func (EnforcementMode) Number
func (x EnforcementMode) Number() protoreflect.EnumNumberfunc (EnforcementMode) String
func (x EnforcementMode) String() stringfunc (EnforcementMode) Type
func (EnforcementMode) Type() protoreflect.EnumTypeEvaluationState
type EvaluationState int32The evaluation state of the control.
EvaluationState_EVALUATION_STATE_UNSPECIFIED, EvaluationState_EVALUATION_STATE_PASSED, EvaluationState_EVALUATION_STATE_FAILED, EvaluationState_EVALUATION_STATE_NOT_ASSESSED
const (
// Default value. This value is unused.
EvaluationState_EVALUATION_STATE_UNSPECIFIED EvaluationState = 0
// The control is passing.
EvaluationState_EVALUATION_STATE_PASSED EvaluationState = 1
// The control is failing.
EvaluationState_EVALUATION_STATE_FAILED EvaluationState = 2
// The control is not assessed.
EvaluationState_EVALUATION_STATE_NOT_ASSESSED EvaluationState = 3
)func (EvaluationState) Descriptor
func (EvaluationState) Descriptor() protoreflect.EnumDescriptorfunc (EvaluationState) Enum
func (x EvaluationState) Enum() *EvaluationStatefunc (EvaluationState) EnumDescriptor
func (EvaluationState) EnumDescriptor() ([]byte, []int)Deprecated: Use EvaluationState.Descriptor instead.
func (EvaluationState) Number
func (x EvaluationState) Number() protoreflect.EnumNumberfunc (EvaluationState) String
func (x EvaluationState) String() stringfunc (EvaluationState) Type
func (EvaluationState) Type() protoreflect.EnumTypeEvidenceDetails
type EvidenceDetails struct {
// Output only. The resource identifier.
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
// Output only. The service identifier.
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// Output only. The path to the evidence.
EvidencePath string `protobuf:"bytes,3,opt,name=evidence_path,json=evidencePath,proto3" json:"evidence_path,omitempty"`
// contains filtered or unexported fields
}The evidence details for a finding.
func (*EvidenceDetails) Descriptor
func (*EvidenceDetails) Descriptor() ([]byte, []int)Deprecated: Use EvidenceDetails.ProtoReflect.Descriptor instead.
func (*EvidenceDetails) GetEvidencePath
func (x *EvidenceDetails) GetEvidencePath() stringfunc (*EvidenceDetails) GetResource
func (x *EvidenceDetails) GetResource() stringfunc (*EvidenceDetails) GetService
func (x *EvidenceDetails) GetService() stringfunc (*EvidenceDetails) ProtoMessage
func (*EvidenceDetails) ProtoMessage()func (*EvidenceDetails) ProtoReflect
func (x *EvidenceDetails) ProtoReflect() protoreflect.Messagefunc (*EvidenceDetails) Reset
func (x *EvidenceDetails) Reset()func (*EvidenceDetails) String
func (x *EvidenceDetails) String() stringFetchFrameworkComplianceReportRequest
type FetchFrameworkComplianceReportRequest struct {
// Required. The name of the framework compliance report to retrieve.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The end time of the report.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Optional. The filtering results.
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}The request message for [FetchFrameworkComplianceReport][].
func (*FetchFrameworkComplianceReportRequest) Descriptor
func (*FetchFrameworkComplianceReportRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchFrameworkComplianceReportRequest.ProtoReflect.Descriptor instead.
func (*FetchFrameworkComplianceReportRequest) GetEndTime
func (x *FetchFrameworkComplianceReportRequest) GetEndTime() *timestamppb.Timestampfunc (*FetchFrameworkComplianceReportRequest) GetFilter
func (x *FetchFrameworkComplianceReportRequest) GetFilter() stringfunc (*FetchFrameworkComplianceReportRequest) GetName
func (x *FetchFrameworkComplianceReportRequest) GetName() stringfunc (*FetchFrameworkComplianceReportRequest) ProtoMessage
func (*FetchFrameworkComplianceReportRequest) ProtoMessage()func (*FetchFrameworkComplianceReportRequest) ProtoReflect
func (x *FetchFrameworkComplianceReportRequest) ProtoReflect() protoreflect.Messagefunc (*FetchFrameworkComplianceReportRequest) Reset
func (x *FetchFrameworkComplianceReportRequest) Reset()func (*FetchFrameworkComplianceReportRequest) String
func (x *FetchFrameworkComplianceReportRequest) String() stringFindingClass
type FindingClass int32A finding is a record of assessment data like security, risk, health, or privacy.
FindingClass_FINDING_CLASS_UNSPECIFIED, FindingClass_THREAT, FindingClass_VULNERABILITY, FindingClass_MISCONFIGURATION, FindingClass_OBSERVATION, FindingClass_SCC_ERROR, FindingClass_POSTURE_VIOLATION, FindingClass_TOXIC_COMBINATION, FindingClass_SENSITIVE_DATA_RISK, FindingClass_CHOKEPOINT
const (
// Default value. This value is unused.
FindingClass_FINDING_CLASS_UNSPECIFIED FindingClass = 0
// The activity is unwanted or malicious.
FindingClass_THREAT FindingClass = 1
// A potential weakness in software that increases risk to
// confidentiality, integrity, and availability.
FindingClass_VULNERABILITY FindingClass = 2
// A potential weakness in a cloud resource or asset configuration that
// increases risk.
FindingClass_MISCONFIGURATION FindingClass = 3
// A security observation that is for informational purposes.
FindingClass_OBSERVATION FindingClass = 4
// An error that prevents Security Command Center from functioning properly.
FindingClass_SCC_ERROR FindingClass = 5
// A potential security risk that's due to a change in the security
// posture.
FindingClass_POSTURE_VIOLATION FindingClass = 6
// A combination of security issues that represent a more severe
// security problem when taken together.
FindingClass_TOXIC_COMBINATION FindingClass = 7
// A potential security risk to data assets that contain sensitive
// data.
FindingClass_SENSITIVE_DATA_RISK FindingClass = 8
// A resource or resource group where high risk attack paths
// converge, based on attack path simulations (APS).
FindingClass_CHOKEPOINT FindingClass = 9
)func (FindingClass) Descriptor
func (FindingClass) Descriptor() protoreflect.EnumDescriptorfunc (FindingClass) Enum
func (x FindingClass) Enum() *FindingClassfunc (FindingClass) EnumDescriptor
func (FindingClass) EnumDescriptor() ([]byte, []int)Deprecated: Use FindingClass.Descriptor instead.
func (FindingClass) Number
func (x FindingClass) Number() protoreflect.EnumNumberfunc (FindingClass) String
func (x FindingClass) String() stringfunc (FindingClass) Type
func (FindingClass) Type() protoreflect.EnumTypeFindingDetails
type FindingDetails struct {
// Output only. The name of the finding.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The compliance state of the finding.
ComplianceState ComplianceState `protobuf:"varint,2,opt,name=compliance_state,json=complianceState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.ComplianceState" json:"compliance_state,omitempty"`
// Output only. The observation details for the finding.
Observation *ObservationDetails `protobuf:"bytes,3,opt,name=observation,proto3" json:"observation,omitempty"`
// Output only. The evidence details for the finding.
Evidence *EvidenceDetails `protobuf:"bytes,4,opt,name=evidence,proto3" json:"evidence,omitempty"`
// contains filtered or unexported fields
}The details for a finding.
func (*FindingDetails) Descriptor
func (*FindingDetails) Descriptor() ([]byte, []int)Deprecated: Use FindingDetails.ProtoReflect.Descriptor instead.
func (*FindingDetails) GetComplianceState
func (x *FindingDetails) GetComplianceState() ComplianceStatefunc (*FindingDetails) GetEvidence
func (x *FindingDetails) GetEvidence() *EvidenceDetailsfunc (*FindingDetails) GetName
func (x *FindingDetails) GetName() stringfunc (*FindingDetails) GetObservation
func (x *FindingDetails) GetObservation() *ObservationDetailsfunc (*FindingDetails) ProtoMessage
func (*FindingDetails) ProtoMessage()func (*FindingDetails) ProtoReflect
func (x *FindingDetails) ProtoReflect() protoreflect.Messagefunc (*FindingDetails) Reset
func (x *FindingDetails) Reset()func (*FindingDetails) String
func (x *FindingDetails) String() stringFindingSummary
type FindingSummary struct {
// The category of the finding.
FindingCategory string `protobuf:"bytes,1,opt,name=finding_category,json=findingCategory,proto3" json:"finding_category,omitempty"`
// The class of the finding.
FindingClass FindingClass `protobuf:"varint,2,opt,name=finding_class,json=findingClass,proto3,enum=google.cloud.cloudsecuritycompliance.v1.FindingClass" json:"finding_class,omitempty"`
// The severity of the finding.
Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Severity" json:"severity,omitempty"`
// The count of the finding.
FindingCount int64 `protobuf:"varint,4,opt,name=finding_count,json=findingCount,proto3" json:"finding_count,omitempty"`
// Output only. The last updated time of the finding.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. The list of compliance frameworks that the finding belongs to.
RelatedFrameworks []string `protobuf:"bytes,6,rep,name=related_frameworks,json=relatedFrameworks,proto3" json:"related_frameworks,omitempty"`
// Identifier. The name of the finding summary.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The details for a finding.
func (*FindingSummary) Descriptor
func (*FindingSummary) Descriptor() ([]byte, []int)Deprecated: Use FindingSummary.ProtoReflect.Descriptor instead.
func (*FindingSummary) GetFindingCategory
func (x *FindingSummary) GetFindingCategory() stringfunc (*FindingSummary) GetFindingClass
func (x *FindingSummary) GetFindingClass() FindingClassfunc (*FindingSummary) GetFindingCount
func (x *FindingSummary) GetFindingCount() int64func (*FindingSummary) GetName
func (x *FindingSummary) GetName() stringfunc (*FindingSummary) GetRelatedFrameworks
func (x *FindingSummary) GetRelatedFrameworks() []stringfunc (*FindingSummary) GetSeverity
func (x *FindingSummary) GetSeverity() Severityfunc (*FindingSummary) GetUpdateTime
func (x *FindingSummary) GetUpdateTime() *timestamppb.Timestampfunc (*FindingSummary) ProtoMessage
func (*FindingSummary) ProtoMessage()func (*FindingSummary) ProtoReflect
func (x *FindingSummary) ProtoReflect() protoreflect.Messagefunc (*FindingSummary) Reset
func (x *FindingSummary) Reset()func (*FindingSummary) String
func (x *FindingSummary) String() stringFolderCreationConfig
type FolderCreationConfig struct {
// Required. The parent of the folder, in the format
// `organizations/{organizationID}` or `folders/{folderID}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The display name of the folder.
FolderDisplayName string `protobuf:"bytes,2,opt,name=folder_display_name,json=folderDisplayName,proto3" json:"folder_display_name,omitempty"`
// contains filtered or unexported fields
}The configuration that's required to create a folder to be used as the target resource for a deployment.
func (*FolderCreationConfig) Descriptor
func (*FolderCreationConfig) Descriptor() ([]byte, []int)Deprecated: Use FolderCreationConfig.ProtoReflect.Descriptor instead.
func (*FolderCreationConfig) GetFolderDisplayName
func (x *FolderCreationConfig) GetFolderDisplayName() stringfunc (*FolderCreationConfig) GetParent
func (x *FolderCreationConfig) GetParent() stringfunc (*FolderCreationConfig) ProtoMessage
func (*FolderCreationConfig) ProtoMessage()func (*FolderCreationConfig) ProtoReflect
func (x *FolderCreationConfig) ProtoReflect() protoreflect.Messagefunc (*FolderCreationConfig) Reset
func (x *FolderCreationConfig) Reset()func (*FolderCreationConfig) String
func (x *FolderCreationConfig) String() stringFramework
type Framework struct {
// Required. Identifier. The name of the framework, in one of the following
// formats:
// `organizations/{organization}/locations/{location}/frameworks/{framework}`
// or
// `projects/{project}/locations/{location}/frameworks/{framework}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The major version of the framework, which is incremented in
// ascending order.
MajorRevisionId int64 `protobuf:"varint,2,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// Optional. The friendly name of the framework. The maximum length is 200
// characters.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The description of the framework. The maximum length is 2000
// characters.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The type of framework.
Type Framework_FrameworkType `protobuf:"varint,6,opt,name=type,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Framework_FrameworkType" json:"type,omitempty"`
// Optional. The cloud control details that are directly added without any
// grouping in the framework.
CloudControlDetails []*CloudControlDetails `protobuf:"bytes,8,rep,name=cloud_control_details,json=cloudControlDetails,proto3" json:"cloud_control_details,omitempty"`
// Optional. The category of the framework.
Category []FrameworkCategory `protobuf:"varint,9,rep,packed,name=category,proto3,enum=google.cloud.cloudsecuritycompliance.v1.FrameworkCategory" json:"category,omitempty"`
// Output only. The cloud providers that are supported by the framework.
SupportedCloudProviders []CloudProvider `protobuf:"varint,10,rep,packed,name=supported_cloud_providers,json=supportedCloudProviders,proto3,enum=google.cloud.cloudsecuritycompliance.v1.CloudProvider" json:"supported_cloud_providers,omitempty"`
// Output only. The target resource types that are supported by the framework.
SupportedTargetResourceTypes []TargetResourceType `protobuf:"varint,11,rep,packed,name=supported_target_resource_types,json=supportedTargetResourceTypes,proto3,enum=google.cloud.cloudsecuritycompliance.v1.TargetResourceType" json:"supported_target_resource_types,omitempty"`
// Output only. The supported enforcement modes of the framework.
SupportedEnforcementModes []EnforcementMode `protobuf:"varint,13,rep,packed,name=supported_enforcement_modes,json=supportedEnforcementModes,proto3,enum=google.cloud.cloudsecuritycompliance.v1.EnforcementMode" json:"supported_enforcement_modes,omitempty"`
// contains filtered or unexported fields
}A framework is a collection of cloud controls and regulatory controls that represent security best practices or industry-defined standards such as FedRAMP or NIST.
func (*Framework) Descriptor
Deprecated: Use Framework.ProtoReflect.Descriptor instead.
func (*Framework) GetCategory
func (x *Framework) GetCategory() []FrameworkCategoryfunc (*Framework) GetCloudControlDetails
func (x *Framework) GetCloudControlDetails() []*CloudControlDetailsfunc (*Framework) GetDescription
func (*Framework) GetDisplayName
func (*Framework) GetMajorRevisionId
func (*Framework) GetName
func (*Framework) GetSupportedCloudProviders
func (x *Framework) GetSupportedCloudProviders() []CloudProviderfunc (*Framework) GetSupportedEnforcementModes
func (x *Framework) GetSupportedEnforcementModes() []EnforcementModefunc (*Framework) GetSupportedTargetResourceTypes
func (x *Framework) GetSupportedTargetResourceTypes() []TargetResourceTypefunc (*Framework) GetType
func (x *Framework) GetType() Framework_FrameworkTypefunc (*Framework) ProtoMessage
func (*Framework) ProtoMessage()func (*Framework) ProtoReflect
func (x *Framework) ProtoReflect() protoreflect.Messagefunc (*Framework) Reset
func (x *Framework) Reset()func (*Framework) String
FrameworkAudit
type FrameworkAudit struct {
// Output only. Identifier. The name of the framework audit.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The ID of the framework audit.
FrameworkAuditId string `protobuf:"bytes,2,opt,name=framework_audit_id,json=frameworkAuditId,proto3" json:"framework_audit_id,omitempty"`
// Output only. The compliance framework used for the audit.
ComplianceFramework string `protobuf:"bytes,3,opt,name=compliance_framework,json=complianceFramework,proto3" json:"compliance_framework,omitempty"`
// Output only. The scope of the audit.
Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
// Required. The destination for the audit reports.
FrameworkAuditDestination *FrameworkAuditDestination `protobuf:"bytes,5,opt,name=framework_audit_destination,json=frameworkAuditDestination,proto3" json:"framework_audit_destination,omitempty"`
// Output only. The time that the audit started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The time that the audit finished.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// Output only. The overall compliance state of the audit.
ComplianceState ComplianceState `protobuf:"varint,8,opt,name=compliance_state,json=complianceState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.ComplianceState" json:"compliance_state,omitempty"`
// Output only. The summary of the report.
ReportSummary *ReportSummary `protobuf:"bytes,9,opt,name=report_summary,json=reportSummary,proto3" json:"report_summary,omitempty"`
// Optional. The details for the cloud control groups within this audit.
CloudControlGroupAuditDetails []*CloudControlGroupAuditDetails `protobuf:"bytes,10,rep,name=cloud_control_group_audit_details,json=cloudControlGroupAuditDetails,proto3" json:"cloud_control_group_audit_details,omitempty"`
// Optional. The details for the cloud controls within this audit.
CloudControlAuditDetails []*CloudControlAuditDetails `protobuf:"bytes,11,rep,name=cloud_control_audit_details,json=cloudControlAuditDetails,proto3" json:"cloud_control_audit_details,omitempty"`
// Output only. The ID of the long-running operation.
OperationId string `protobuf:"bytes,12,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// Output only. The framework audit state of the audit.
State FrameworkAudit_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.cloudsecuritycompliance.v1.FrameworkAudit_State" json:"state,omitempty"`
// contains filtered or unexported fields
}A framework audit.
func (*FrameworkAudit) Descriptor
func (*FrameworkAudit) Descriptor() ([]byte, []int)Deprecated: Use FrameworkAudit.ProtoReflect.Descriptor instead.
func (*FrameworkAudit) GetCloudControlAuditDetails
func (x *FrameworkAudit) GetCloudControlAuditDetails() []*CloudControlAuditDetailsfunc (*FrameworkAudit) GetCloudControlGroupAuditDetails
func (x *FrameworkAudit) GetCloudControlGroupAuditDetails() []*CloudControlGroupAuditDetailsfunc (*FrameworkAudit) GetComplianceFramework
func (x *FrameworkAudit) GetComplianceFramework() stringfunc (*FrameworkAudit) GetComplianceState
func (x *FrameworkAudit) GetComplianceState() ComplianceStatefunc (*FrameworkAudit) GetFinishTime
func (x *FrameworkAudit) GetFinishTime() *timestamppb.Timestampfunc (*FrameworkAudit) GetFrameworkAuditDestination
func (x *FrameworkAudit) GetFrameworkAuditDestination() *FrameworkAuditDestinationfunc (*FrameworkAudit) GetFrameworkAuditId
func (x *FrameworkAudit) GetFrameworkAuditId() stringfunc (*FrameworkAudit) GetName
func (x *FrameworkAudit) GetName() stringfunc (*FrameworkAudit) GetOperationId
func (x *FrameworkAudit) GetOperationId() stringfunc (*FrameworkAudit) GetReportSummary
func (x *FrameworkAudit) GetReportSummary() *ReportSummaryfunc (*FrameworkAudit) GetScope
func (x *FrameworkAudit) GetScope() stringfunc (*FrameworkAudit) GetStartTime
func (x *FrameworkAudit) GetStartTime() *timestamppb.Timestampfunc (*FrameworkAudit) GetState
func (x *FrameworkAudit) GetState() FrameworkAudit_Statefunc (*FrameworkAudit) ProtoMessage
func (*FrameworkAudit) ProtoMessage()func (*FrameworkAudit) ProtoReflect
func (x *FrameworkAudit) ProtoReflect() protoreflect.Messagefunc (*FrameworkAudit) Reset
func (x *FrameworkAudit) Reset()func (*FrameworkAudit) String
func (x *FrameworkAudit) String() stringFrameworkAuditDestination
type FrameworkAuditDestination struct {
// The type of destination.
//
// Types that are valid to be assigned to DestinationType:
//
// *FrameworkAuditDestination_Bucket
DestinationType isFrameworkAuditDestination_DestinationType `protobuf_oneof:"destination_type"`
// contains filtered or unexported fields
}A destination for the framework audit.
func (*FrameworkAuditDestination) Descriptor
func (*FrameworkAuditDestination) Descriptor() ([]byte, []int)Deprecated: Use FrameworkAuditDestination.ProtoReflect.Descriptor instead.
func (*FrameworkAuditDestination) GetBucket
func (x *FrameworkAuditDestination) GetBucket() *BucketDestinationfunc (*FrameworkAuditDestination) GetDestinationType
func (x *FrameworkAuditDestination) GetDestinationType() isFrameworkAuditDestination_DestinationTypefunc (*FrameworkAuditDestination) ProtoMessage
func (*FrameworkAuditDestination) ProtoMessage()func (*FrameworkAuditDestination) ProtoReflect
func (x *FrameworkAuditDestination) ProtoReflect() protoreflect.Messagefunc (*FrameworkAuditDestination) Reset
func (x *FrameworkAuditDestination) Reset()func (*FrameworkAuditDestination) String
func (x *FrameworkAuditDestination) String() stringFrameworkAuditDestination_Bucket
type FrameworkAuditDestination_Bucket struct {
// The Cloud Storage bucket destination.
Bucket *BucketDestination `protobuf:"bytes,1,opt,name=bucket,proto3,oneof"`
}FrameworkAudit_State
type FrameworkAudit_State int32The state of the framework audit.
FrameworkAudit_STATE_UNSPECIFIED, FrameworkAudit_SCHEDULED, FrameworkAudit_RUNNING, FrameworkAudit_UPLOADING, FrameworkAudit_FAILED, FrameworkAudit_SUCCEEDED
const (
// Default value. This value is unused.
FrameworkAudit_STATE_UNSPECIFIED FrameworkAudit_State = 0
// The audit is scheduled.
FrameworkAudit_SCHEDULED FrameworkAudit_State = 1
// The audit is running.
FrameworkAudit_RUNNING FrameworkAudit_State = 2
// The audit results are being uploaded.
FrameworkAudit_UPLOADING FrameworkAudit_State = 3
// The audit failed.
FrameworkAudit_FAILED FrameworkAudit_State = 4
// The audit completed successfully.
FrameworkAudit_SUCCEEDED FrameworkAudit_State = 5
)func (FrameworkAudit_State) Descriptor
func (FrameworkAudit_State) Descriptor() protoreflect.EnumDescriptorfunc (FrameworkAudit_State) Enum
func (x FrameworkAudit_State) Enum() *FrameworkAudit_Statefunc (FrameworkAudit_State) EnumDescriptor
func (FrameworkAudit_State) EnumDescriptor() ([]byte, []int)Deprecated: Use FrameworkAudit_State.Descriptor instead.
func (FrameworkAudit_State) Number
func (x FrameworkAudit_State) Number() protoreflect.EnumNumberfunc (FrameworkAudit_State) String
func (x FrameworkAudit_State) String() stringfunc (FrameworkAudit_State) Type
func (FrameworkAudit_State) Type() protoreflect.EnumTypeFrameworkCategory
type FrameworkCategory int32The category for the framework.
FrameworkCategory_FRAMEWORK_CATEGORY_UNSPECIFIED, FrameworkCategory_INDUSTRY_DEFINED_STANDARD, FrameworkCategory_ASSURED_WORKLOADS, FrameworkCategory_DATA_SECURITY, FrameworkCategory_GOOGLE_BEST_PRACTICES, FrameworkCategory_CUSTOM_FRAMEWORK
const (
// Default value. This value is unused.
FrameworkCategory_FRAMEWORK_CATEGORY_UNSPECIFIED FrameworkCategory = 0
// An industry-defined framework.
FrameworkCategory_INDUSTRY_DEFINED_STANDARD FrameworkCategory = 1
// An Assured Workloads framework.
FrameworkCategory_ASSURED_WORKLOADS FrameworkCategory = 2
// A data security posture framework.
FrameworkCategory_DATA_SECURITY FrameworkCategory = 3
// A Google's best practices framework.
FrameworkCategory_GOOGLE_BEST_PRACTICES FrameworkCategory = 4
// A user-created framework.
FrameworkCategory_CUSTOM_FRAMEWORK FrameworkCategory = 5
)func (FrameworkCategory) Descriptor
func (FrameworkCategory) Descriptor() protoreflect.EnumDescriptorfunc (FrameworkCategory) Enum
func (x FrameworkCategory) Enum() *FrameworkCategoryfunc (FrameworkCategory) EnumDescriptor
func (FrameworkCategory) EnumDescriptor() ([]byte, []int)Deprecated: Use FrameworkCategory.Descriptor instead.
func (FrameworkCategory) Number
func (x FrameworkCategory) Number() protoreflect.EnumNumberfunc (FrameworkCategory) String
func (x FrameworkCategory) String() stringfunc (FrameworkCategory) Type
func (FrameworkCategory) Type() protoreflect.EnumTypeFrameworkComplianceReport
type FrameworkComplianceReport struct {
// The name of the framework.
Framework string `protobuf:"bytes,1,opt,name=framework,proto3" json:"framework,omitempty"`
// The description of the framework.
FrameworkDescription string `protobuf:"bytes,2,opt,name=framework_description,json=frameworkDescription,proto3" json:"framework_description,omitempty"`
// Output only. The last updated time of the report.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The control assessment details of the framework.
ControlAssessmentDetails *ControlAssessmentDetails `protobuf:"bytes,4,opt,name=control_assessment_details,json=controlAssessmentDetails,proto3" json:"control_assessment_details,omitempty"`
// The type of framework.
FrameworkType Framework_FrameworkType `protobuf:"varint,5,opt,name=framework_type,json=frameworkType,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Framework_FrameworkType" json:"framework_type,omitempty"`
// The list of cloud providers supported by the framework.
SupportedCloudProviders []CloudProvider `protobuf:"varint,6,rep,packed,name=supported_cloud_providers,json=supportedCloudProviders,proto3,enum=google.cloud.cloudsecuritycompliance.v1.CloudProvider" json:"supported_cloud_providers,omitempty"`
// The list of framework categories supported.
FrameworkCategories []FrameworkCategory `protobuf:"varint,7,rep,packed,name=framework_categories,json=frameworkCategories,proto3,enum=google.cloud.cloudsecuritycompliance.v1.FrameworkCategory" json:"framework_categories,omitempty"`
// Optional. The display name for the framework.
FrameworkDisplayName string `protobuf:"bytes,8,opt,name=framework_display_name,json=frameworkDisplayName,proto3" json:"framework_display_name,omitempty"`
// Identifier. The name of the framework compliance report.
Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
// The latest major revision ID of the framework.
MajorRevisionId int64 `protobuf:"varint,10,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// The latest minor revision ID of the latest major revision of the framework.
MinorRevisionId int64 `protobuf:"varint,11,opt,name=minor_revision_id,json=minorRevisionId,proto3" json:"minor_revision_id,omitempty"`
// The target resource details of the framework.
TargetResourceDetails []*TargetResourceDetails `protobuf:"bytes,12,rep,name=target_resource_details,json=targetResourceDetails,proto3" json:"target_resource_details,omitempty"`
// contains filtered or unexported fields
}The response message for [GetFrameworkComplianceReport][].
func (*FrameworkComplianceReport) Descriptor
func (*FrameworkComplianceReport) Descriptor() ([]byte, []int)Deprecated: Use FrameworkComplianceReport.ProtoReflect.Descriptor instead.
func (*FrameworkComplianceReport) GetControlAssessmentDetails
func (x *FrameworkComplianceReport) GetControlAssessmentDetails() *ControlAssessmentDetailsfunc (*FrameworkComplianceReport) GetFramework
func (x *FrameworkComplianceReport) GetFramework() stringfunc (*FrameworkComplianceReport) GetFrameworkCategories
func (x *FrameworkComplianceReport) GetFrameworkCategories() []FrameworkCategoryfunc (*FrameworkComplianceReport) GetFrameworkDescription
func (x *FrameworkComplianceReport) GetFrameworkDescription() stringfunc (*FrameworkComplianceReport) GetFrameworkDisplayName
func (x *FrameworkComplianceReport) GetFrameworkDisplayName() stringfunc (*FrameworkComplianceReport) GetFrameworkType
func (x *FrameworkComplianceReport) GetFrameworkType() Framework_FrameworkTypefunc (*FrameworkComplianceReport) GetMajorRevisionId
func (x *FrameworkComplianceReport) GetMajorRevisionId() int64func (*FrameworkComplianceReport) GetMinorRevisionId
func (x *FrameworkComplianceReport) GetMinorRevisionId() int64func (*FrameworkComplianceReport) GetName
func (x *FrameworkComplianceReport) GetName() stringfunc (*FrameworkComplianceReport) GetSupportedCloudProviders
func (x *FrameworkComplianceReport) GetSupportedCloudProviders() []CloudProviderfunc (*FrameworkComplianceReport) GetTargetResourceDetails
func (x *FrameworkComplianceReport) GetTargetResourceDetails() []*TargetResourceDetailsfunc (*FrameworkComplianceReport) GetUpdateTime
func (x *FrameworkComplianceReport) GetUpdateTime() *timestamppb.Timestampfunc (*FrameworkComplianceReport) ProtoMessage
func (*FrameworkComplianceReport) ProtoMessage()func (*FrameworkComplianceReport) ProtoReflect
func (x *FrameworkComplianceReport) ProtoReflect() protoreflect.Messagefunc (*FrameworkComplianceReport) Reset
func (x *FrameworkComplianceReport) Reset()func (*FrameworkComplianceReport) String
func (x *FrameworkComplianceReport) String() stringFrameworkComplianceSummary
type FrameworkComplianceSummary struct {
// The name of the framework.
Framework string `protobuf:"bytes,1,opt,name=framework,proto3" json:"framework,omitempty"`
// The control assessment details of the framework.
ControlAssessmentDetails *ControlAssessmentDetails `protobuf:"bytes,2,opt,name=control_assessment_details,json=controlAssessmentDetails,proto3" json:"control_assessment_details,omitempty"`
// The type of framework.
FrameworkType Framework_FrameworkType `protobuf:"varint,3,opt,name=framework_type,json=frameworkType,proto3,enum=google.cloud.cloudsecuritycompliance.v1.Framework_FrameworkType" json:"framework_type,omitempty"`
// The list of cloud providers supported by the framework.
SupportedCloudProviders []CloudProvider `protobuf:"varint,4,rep,packed,name=supported_cloud_providers,json=supportedCloudProviders,proto3,enum=google.cloud.cloudsecuritycompliance.v1.CloudProvider" json:"supported_cloud_providers,omitempty"`
// The list of framework categories supported by the framework.
FrameworkCategories []FrameworkCategory `protobuf:"varint,5,rep,packed,name=framework_categories,json=frameworkCategories,proto3,enum=google.cloud.cloudsecuritycompliance.v1.FrameworkCategory" json:"framework_categories,omitempty"`
// Optional. The display name for the framework.
FrameworkDisplayName string `protobuf:"bytes,6,opt,name=framework_display_name,json=frameworkDisplayName,proto3" json:"framework_display_name,omitempty"`
// Identifier. The name of the framework compliance summary.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// The major revision ID of the framework.
MajorRevisionId int64 `protobuf:"varint,8,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// The minor revision ID of the framework.
MinorRevisionId int64 `protobuf:"varint,9,opt,name=minor_revision_id,json=minorRevisionId,proto3" json:"minor_revision_id,omitempty"`
// The target resource details for the framework.
TargetResourceDetails []*TargetResourceDetails `protobuf:"bytes,10,rep,name=target_resource_details,json=targetResourceDetails,proto3" json:"target_resource_details,omitempty"`
// Output only. The count of the findings generated against the framework.
FindingCount int64 `protobuf:"varint,11,opt,name=finding_count,json=findingCount,proto3" json:"finding_count,omitempty"`
// Output only. The trend of controls that are passing for the given duration.
ControlsPassingTrend *Trend `protobuf:"bytes,12,opt,name=controls_passing_trend,json=controlsPassingTrend,proto3" json:"controls_passing_trend,omitempty"`
// contains filtered or unexported fields
}The details for a framework compliance summary.
func (*FrameworkComplianceSummary) Descriptor
func (*FrameworkComplianceSummary) Descriptor() ([]byte, []int)Deprecated: Use FrameworkComplianceSummary.ProtoReflect.Descriptor instead.
func (*FrameworkComplianceSummary) GetControlAssessmentDetails
func (x *FrameworkComplianceSummary) GetControlAssessmentDetails() *ControlAssessmentDetailsfunc (*FrameworkComplianceSummary) GetControlsPassingTrend
func (x *FrameworkComplianceSummary) GetControlsPassingTrend() *Trendfunc (*FrameworkComplianceSummary) GetFindingCount
func (x *FrameworkComplianceSummary) GetFindingCount() int64func (*FrameworkComplianceSummary) GetFramework
func (x *FrameworkComplianceSummary) GetFramework() stringfunc (*FrameworkComplianceSummary) GetFrameworkCategories
func (x *FrameworkComplianceSummary) GetFrameworkCategories() []FrameworkCategoryfunc (*FrameworkComplianceSummary) GetFrameworkDisplayName
func (x *FrameworkComplianceSummary) GetFrameworkDisplayName() stringfunc (*FrameworkComplianceSummary) GetFrameworkType
func (x *FrameworkComplianceSummary) GetFrameworkType() Framework_FrameworkTypefunc (*FrameworkComplianceSummary) GetMajorRevisionId
func (x *FrameworkComplianceSummary) GetMajorRevisionId() int64func (*FrameworkComplianceSummary) GetMinorRevisionId
func (x *FrameworkComplianceSummary) GetMinorRevisionId() int64func (*FrameworkComplianceSummary) GetName
func (x *FrameworkComplianceSummary) GetName() stringfunc (*FrameworkComplianceSummary) GetSupportedCloudProviders
func (x *FrameworkComplianceSummary) GetSupportedCloudProviders() []CloudProviderfunc (*FrameworkComplianceSummary) GetTargetResourceDetails
func (x *FrameworkComplianceSummary) GetTargetResourceDetails() []*TargetResourceDetailsfunc (*FrameworkComplianceSummary) ProtoMessage
func (*FrameworkComplianceSummary) ProtoMessage()func (*FrameworkComplianceSummary) ProtoReflect
func (x *FrameworkComplianceSummary) ProtoReflect() protoreflect.Messagefunc (*FrameworkComplianceSummary) Reset
func (x *FrameworkComplianceSummary) Reset()func (*FrameworkComplianceSummary) String
func (x *FrameworkComplianceSummary) String() stringFrameworkComplianceSummaryView
type FrameworkComplianceSummaryView int32Specifies the view of the framework compliance summary to be returned. New values may be added in the future.
FrameworkComplianceSummaryView_FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED, FrameworkComplianceSummaryView_FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC, FrameworkComplianceSummaryView_FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL
const (
// The default / unset value. The API will default to the BASIC view.
FrameworkComplianceSummaryView_FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED FrameworkComplianceSummaryView = 0
// Includes basic compliance metadata, but omits trend data.
FrameworkComplianceSummaryView_FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC FrameworkComplianceSummaryView = 1
// Includes all information, including
// [finding_count][google.cloud.cloudsecuritycompliance.v1main.FrameworkComplianceSummary.finding_count]
// and
// [controls_passing_trend][google.cloud.cloudsecuritycompliance.v1main.FrameworkComplianceSummary.controls_passing_trend].
// Trend data is provided for the last 30 days.
FrameworkComplianceSummaryView_FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL FrameworkComplianceSummaryView = 2
)func (FrameworkComplianceSummaryView) Descriptor
func (FrameworkComplianceSummaryView) Descriptor() protoreflect.EnumDescriptorfunc (FrameworkComplianceSummaryView) Enum
func (x FrameworkComplianceSummaryView) Enum() *FrameworkComplianceSummaryViewfunc (FrameworkComplianceSummaryView) EnumDescriptor
func (FrameworkComplianceSummaryView) EnumDescriptor() ([]byte, []int)Deprecated: Use FrameworkComplianceSummaryView.Descriptor instead.
func (FrameworkComplianceSummaryView) Number
func (x FrameworkComplianceSummaryView) Number() protoreflect.EnumNumberfunc (FrameworkComplianceSummaryView) String
func (x FrameworkComplianceSummaryView) String() stringfunc (FrameworkComplianceSummaryView) Type
func (FrameworkComplianceSummaryView) Type() protoreflect.EnumTypeFrameworkDeployment
type FrameworkDeployment struct {
// Identifier. The name of the framework deployment, in the format
// `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
// or
// `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The details of the target resource that you want to deploy the
// framework to. You can specify an existing resource, or create a new one.
TargetResourceConfig *TargetResourceConfig `protobuf:"bytes,2,opt,name=target_resource_config,json=targetResourceConfig,proto3" json:"target_resource_config,omitempty"`
// Output only. The target resource to deploy the framework to, in one the
// following formats:
//
// - `organizations/{organizationID}`
// - `folders/{folderID}`
// - `projects/{projectID}`
ComputedTargetResource string `protobuf:"bytes,3,opt,name=computed_target_resource,json=computedTargetResource,proto3" json:"computed_target_resource,omitempty"`
// Required. A reference to the framework that you're deploying.
Framework *FrameworkReference `protobuf:"bytes,4,opt,name=framework,proto3" json:"framework,omitempty"`
// Optional. A user-provided description of the framework deployment.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Required. The deployment mode and parameters for each of the cloud controls
// in the framework. Every cloud control in the framework includes metadata.
CloudControlMetadata []*CloudControlMetadata `protobuf:"bytes,6,rep,name=cloud_control_metadata,json=cloudControlMetadata,proto3" json:"cloud_control_metadata,omitempty"`
// Output only. The state for the framework deployment.
DeploymentState DeploymentState `protobuf:"varint,7,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.cloudsecuritycompliance.v1.DeploymentState" json:"deployment_state,omitempty"`
// Output only. The time at which the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time at which the resource last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. To prevent concurrent updates from overwriting each other, always
// provide the `etag` when you update a framework deployment. You can also
// provide the `etag` when you delete a framework deployment, to help
// ensure that you're deleting the intended version of the
// framework deployment.
Etag string `protobuf:"bytes,11,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The display name of the target resource.
TargetResourceDisplayName string `protobuf:"bytes,13,opt,name=target_resource_display_name,json=targetResourceDisplayName,proto3" json:"target_resource_display_name,omitempty"`
// Output only. The references to the cloud control deployments. The reference
// includes all the cloud control deployments that are in the framework or in
// a cloud control group.
//
// For example, if a framework deployment deploys two
// cloud controls, `cc-deployment-1` and `cc-deployment-2`, then the
// references are:
//
// ```
//
// {
// cloud_control_deployment_reference: {
// cloud_control_deployment:
// "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
// },
// cloud_control_deployment_reference: {
// cloud_control_deployment:
// "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
// }
//
// ```
CloudControlDeploymentReferences []*CloudControlDeploymentReference `protobuf:"bytes,14,rep,name=cloud_control_deployment_references,json=cloudControlDeploymentReferences,proto3" json:"cloud_control_deployment_references,omitempty"`
// contains filtered or unexported fields
}Framework deployments represent the assignment of a framework to a target resource. Supported target resources are organizations, folders, and projects.
func (*FrameworkDeployment) Descriptor
func (*FrameworkDeployment) Descriptor() ([]byte, []int)Deprecated: Use FrameworkDeployment.ProtoReflect.Descriptor instead.
func (*FrameworkDeployment) GetCloudControlDeploymentReferences
func (x *FrameworkDeployment) GetCloudControlDeploymentReferences() []*CloudControlDeploymentReferencefunc (*FrameworkDeployment) GetCloudControlMetadata
func (x *FrameworkDeployment) GetCloudControlMetadata() []*CloudControlMetadatafunc (*FrameworkDeployment) GetComputedTargetResource
func (x *FrameworkDeployment) GetComputedTargetResource() stringfunc (*FrameworkDeployment) GetCreateTime
func (x *FrameworkDeployment) GetCreateTime() *timestamppb.Timestampfunc (*FrameworkDeployment) GetDeploymentState
func (x *FrameworkDeployment) GetDeploymentState() DeploymentStatefunc (*FrameworkDeployment) GetDescription
func (x *FrameworkDeployment) GetDescription() stringfunc (*FrameworkDeployment) GetEtag
func (x *FrameworkDeployment) GetEtag() stringfunc (*FrameworkDeployment) GetFramework
func (x *FrameworkDeployment) GetFramework() *FrameworkReferencefunc (*FrameworkDeployment) GetName
func (x *FrameworkDeployment) GetName() stringfunc (*FrameworkDeployment) GetTargetResourceConfig
func (x *FrameworkDeployment) GetTargetResourceConfig() *TargetResourceConfigfunc (*FrameworkDeployment) GetTargetResourceDisplayName
func (x *FrameworkDeployment) GetTargetResourceDisplayName() stringfunc (*FrameworkDeployment) GetUpdateTime
func (x *FrameworkDeployment) GetUpdateTime() *timestamppb.Timestampfunc (*FrameworkDeployment) ProtoMessage
func (*FrameworkDeployment) ProtoMessage()func (*FrameworkDeployment) ProtoReflect
func (x *FrameworkDeployment) ProtoReflect() protoreflect.Messagefunc (*FrameworkDeployment) Reset
func (x *FrameworkDeployment) Reset()func (*FrameworkDeployment) String
func (x *FrameworkDeployment) String() stringFrameworkDeploymentReference
type FrameworkDeploymentReference struct {
// Output only. The name of the framework deployment, in the format
// `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
// or
// `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
// The only supported location is `global`.
FrameworkDeployment string `protobuf:"bytes,1,opt,name=framework_deployment,json=frameworkDeployment,proto3" json:"framework_deployment,omitempty"`
// Optional. The reference to the framework that this deployment is for.
// For example:
//
// ```
//
// {
// framework:
// "organizations/{organization}/locations/{location}/frameworks/{framework}",
// major_revision_id: 1
// }
//
// ```
//
// The only supported location is `global`.
FrameworkReference *FrameworkReference `protobuf:"bytes,2,opt,name=framework_reference,json=frameworkReference,proto3" json:"framework_reference,omitempty"`
// Optional. The display name of the framework that this framework deployment
// is for.
FrameworkDisplayName string `protobuf:"bytes,3,opt,name=framework_display_name,json=frameworkDisplayName,proto3" json:"framework_display_name,omitempty"`
// contains filtered or unexported fields
}The reference to a framework deployment.
func (*FrameworkDeploymentReference) Descriptor
func (*FrameworkDeploymentReference) Descriptor() ([]byte, []int)Deprecated: Use FrameworkDeploymentReference.ProtoReflect.Descriptor instead.
func (*FrameworkDeploymentReference) GetFrameworkDeployment
func (x *FrameworkDeploymentReference) GetFrameworkDeployment() stringfunc (*FrameworkDeploymentReference) GetFrameworkDisplayName
func (x *FrameworkDeploymentReference) GetFrameworkDisplayName() stringfunc (*FrameworkDeploymentReference) GetFrameworkReference
func (x *FrameworkDeploymentReference) GetFrameworkReference() *FrameworkReferencefunc (*FrameworkDeploymentReference) ProtoMessage
func (*FrameworkDeploymentReference) ProtoMessage()func (*FrameworkDeploymentReference) ProtoReflect
func (x *FrameworkDeploymentReference) ProtoReflect() protoreflect.Messagefunc (*FrameworkDeploymentReference) Reset
func (x *FrameworkDeploymentReference) Reset()func (*FrameworkDeploymentReference) String
func (x *FrameworkDeploymentReference) String() stringFrameworkReference
type FrameworkReference struct {
// Required. The major version of the framework. If not specified, the version
// corresponds to the latest version of the framework.
Framework string `protobuf:"bytes,1,opt,name=framework,proto3" json:"framework,omitempty"`
// Optional. The major version of the framework. If not specified, the version
// corresponds to the latest version of the framework.
MajorRevisionId *int64 `protobuf:"varint,2,opt,name=major_revision_id,json=majorRevisionId,proto3,oneof" json:"major_revision_id,omitempty"`
// contains filtered or unexported fields
}The reference of a framework, in one of the following formats:
organizations/{organization}/locations/{location}/frameworks/{framework}projects/{project}/locations/{location}/frameworks/{framework}.
The only supported location is global.
func (*FrameworkReference) Descriptor
func (*FrameworkReference) Descriptor() ([]byte, []int)Deprecated: Use FrameworkReference.ProtoReflect.Descriptor instead.
func (*FrameworkReference) GetFramework
func (x *FrameworkReference) GetFramework() stringfunc (*FrameworkReference) GetMajorRevisionId
func (x *FrameworkReference) GetMajorRevisionId() int64func (*FrameworkReference) ProtoMessage
func (*FrameworkReference) ProtoMessage()func (*FrameworkReference) ProtoReflect
func (x *FrameworkReference) ProtoReflect() protoreflect.Messagefunc (*FrameworkReference) Reset
func (x *FrameworkReference) Reset()func (*FrameworkReference) String
func (x *FrameworkReference) String() stringFramework_FrameworkType
type Framework_FrameworkType int32The type of framework.
Framework_FRAMEWORK_TYPE_UNSPECIFIED, Framework_BUILT_IN, Framework_CUSTOM
const (
// Default value. This value is unused.
Framework_FRAMEWORK_TYPE_UNSPECIFIED Framework_FrameworkType = 0
// A framework that's provided and managed by Google.
Framework_BUILT_IN Framework_FrameworkType = 1
// A framework that's created and managed by you.
Framework_CUSTOM Framework_FrameworkType = 2
)func (Framework_FrameworkType) Descriptor
func (Framework_FrameworkType) Descriptor() protoreflect.EnumDescriptorfunc (Framework_FrameworkType) Enum
func (x Framework_FrameworkType) Enum() *Framework_FrameworkTypefunc (Framework_FrameworkType) EnumDescriptor
func (Framework_FrameworkType) EnumDescriptor() ([]byte, []int)Deprecated: Use Framework_FrameworkType.Descriptor instead.
func (Framework_FrameworkType) Number
func (x Framework_FrameworkType) Number() protoreflect.EnumNumberfunc (Framework_FrameworkType) String
func (x Framework_FrameworkType) String() stringfunc (Framework_FrameworkType) Type
func (Framework_FrameworkType) Type() protoreflect.EnumTypeGenerateFrameworkAuditScopeReportRequest
type GenerateFrameworkAuditScopeReportRequest struct {
// Required. The organization, folder or project for the audit report.
//
// Supported formats are the following:
//
// * `projects/{project_id}/locations/{location}`
// * `folders/{folder_id}/locations/{location}`
// * `organizations/{organization_id}/locations/{location}`
Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
// Required. The format that the scope report bytes is returned in.
ReportFormat GenerateFrameworkAuditScopeReportRequest_Format `protobuf:"varint,2,opt,name=report_format,json=reportFormat,proto3,enum=google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest_Format" json:"report_format,omitempty"`
// Required. The compliance framework that the scope report is generated for.
ComplianceFramework string `protobuf:"bytes,3,opt,name=compliance_framework,json=complianceFramework,proto3" json:"compliance_framework,omitempty"`
// contains filtered or unexported fields
}The request message for [GenerateFrameworkAuditScopeReport][].
func (*GenerateFrameworkAuditScopeReportRequest) Descriptor
func (*GenerateFrameworkAuditScopeReportRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateFrameworkAuditScopeReportRequest.ProtoReflect.Descriptor instead.
func (*GenerateFrameworkAuditScopeReportRequest) GetComplianceFramework
func (x *GenerateFrameworkAuditScopeReportRequest) GetComplianceFramework() stringfunc (*GenerateFrameworkAuditScopeReportRequest) GetReportFormat
func (x *GenerateFrameworkAuditScopeReportRequest) GetReportFormat() GenerateFrameworkAuditScopeReportRequest_Formatfunc (*GenerateFrameworkAuditScopeReportRequest) GetScope
func (x *GenerateFrameworkAuditScopeReportRequest) GetScope() stringfunc (*GenerateFrameworkAuditScopeReportRequest) ProtoMessage
func (*GenerateFrameworkAuditScopeReportRequest) ProtoMessage()func (*GenerateFrameworkAuditScopeReportRequest) ProtoReflect
func (x *GenerateFrameworkAuditScopeReportRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateFrameworkAuditScopeReportRequest) Reset
func (x *GenerateFrameworkAuditScopeReportRequest) Reset()func (*GenerateFrameworkAuditScopeReportRequest) String
func (x *GenerateFrameworkAuditScopeReportRequest) String() stringGenerateFrameworkAuditScopeReportRequest_Format
type GenerateFrameworkAuditScopeReportRequest_Format int32The set of options for the audit scope report format.
GenerateFrameworkAuditScopeReportRequest_FORMAT_UNSPECIFIED, GenerateFrameworkAuditScopeReportRequest_ODF
const (
// Default value. This value is unused.
GenerateFrameworkAuditScopeReportRequest_FORMAT_UNSPECIFIED GenerateFrameworkAuditScopeReportRequest_Format = 0
// The report format is the Open Document Format (ODF).
GenerateFrameworkAuditScopeReportRequest_ODF GenerateFrameworkAuditScopeReportRequest_Format = 1
)func (GenerateFrameworkAuditScopeReportRequest_Format) Descriptor
func (GenerateFrameworkAuditScopeReportRequest_Format) Descriptor() protoreflect.EnumDescriptorfunc (GenerateFrameworkAuditScopeReportRequest_Format) Enum
func (x GenerateFrameworkAuditScopeReportRequest_Format) Enum() *GenerateFrameworkAuditScopeReportRequest_Formatfunc (GenerateFrameworkAuditScopeReportRequest_Format) EnumDescriptor
func (GenerateFrameworkAuditScopeReportRequest_Format) EnumDescriptor() ([]byte, []int)Deprecated: Use GenerateFrameworkAuditScopeReportRequest_Format.Descriptor instead.
func (GenerateFrameworkAuditScopeReportRequest_Format) Number
func (x GenerateFrameworkAuditScopeReportRequest_Format) Number() protoreflect.EnumNumberfunc (GenerateFrameworkAuditScopeReportRequest_Format) String
func (x GenerateFrameworkAuditScopeReportRequest_Format) String() stringfunc (GenerateFrameworkAuditScopeReportRequest_Format) Type
GenerateFrameworkAuditScopeReportResponse
type GenerateFrameworkAuditScopeReportResponse struct {
// The set of options that the audit scope report is exported in.
//
// Types that are valid to be assigned to AuditReport:
//
// *GenerateFrameworkAuditScopeReportResponse_ScopeReportContents
AuditReport isGenerateFrameworkAuditScopeReportResponse_AuditReport `protobuf_oneof:"audit_report"`
// Identifier. The name of the audit report, in the format that was
// given in the request.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The compliance framework that the audit scope report is generated
// for.
ComplianceFramework string `protobuf:"bytes,2,opt,name=compliance_framework,json=complianceFramework,proto3" json:"compliance_framework,omitempty"`
// contains filtered or unexported fields
}The response message for [GenerateFrameworkAuditScopeReport][].
func (*GenerateFrameworkAuditScopeReportResponse) Descriptor
func (*GenerateFrameworkAuditScopeReportResponse) Descriptor() ([]byte, []int)Deprecated: Use GenerateFrameworkAuditScopeReportResponse.ProtoReflect.Descriptor instead.
func (*GenerateFrameworkAuditScopeReportResponse) GetAuditReport
func (x *GenerateFrameworkAuditScopeReportResponse) GetAuditReport() isGenerateFrameworkAuditScopeReportResponse_AuditReportfunc (*GenerateFrameworkAuditScopeReportResponse) GetComplianceFramework
func (x *GenerateFrameworkAuditScopeReportResponse) GetComplianceFramework() stringfunc (*GenerateFrameworkAuditScopeReportResponse) GetName
func (x *GenerateFrameworkAuditScopeReportResponse) GetName() stringfunc (*GenerateFrameworkAuditScopeReportResponse) GetScopeReportContents
func (x *GenerateFrameworkAuditScopeReportResponse) GetScopeReportContents() []bytefunc (*GenerateFrameworkAuditScopeReportResponse) ProtoMessage
func (*GenerateFrameworkAuditScopeReportResponse) ProtoMessage()func (*GenerateFrameworkAuditScopeReportResponse) ProtoReflect
func (x *GenerateFrameworkAuditScopeReportResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateFrameworkAuditScopeReportResponse) Reset
func (x *GenerateFrameworkAuditScopeReportResponse) Reset()func (*GenerateFrameworkAuditScopeReportResponse) String
func (x *GenerateFrameworkAuditScopeReportResponse) String() stringGenerateFrameworkAuditScopeReportResponse_ScopeReportContents
type GenerateFrameworkAuditScopeReportResponse_ScopeReportContents struct {
// The audit scope report content in byte format.
ScopeReportContents []byte `protobuf:"bytes,3,opt,name=scope_report_contents,json=scopeReportContents,proto3,oneof"`
}GetCloudControlDeploymentRequest
type GetCloudControlDeploymentRequest struct {
// Required. The name for the cloud control deployment, in the format
// `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
// or
// `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for [GetCloudControlDeployment][].
func (*GetCloudControlDeploymentRequest) Descriptor
func (*GetCloudControlDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCloudControlDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetCloudControlDeploymentRequest) GetName
func (x *GetCloudControlDeploymentRequest) GetName() stringfunc (*GetCloudControlDeploymentRequest) ProtoMessage
func (*GetCloudControlDeploymentRequest) ProtoMessage()func (*GetCloudControlDeploymentRequest) ProtoReflect
func (x *GetCloudControlDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*GetCloudControlDeploymentRequest) Reset
func (x *GetCloudControlDeploymentRequest) Reset()func (*GetCloudControlDeploymentRequest) String
func (x *GetCloudControlDeploymentRequest) String() stringGetCloudControlRequest
type GetCloudControlRequest struct {
// Required. The name of the cloud control to retrieve, in one of the
// following formats:
// `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
// or
// `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The major version of the cloud control to retrieve. If not
// specified, the most recently updated `revision_id` is retrieved.
MajorRevisionId int64 `protobuf:"varint,2,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// contains filtered or unexported fields
}The request message for [GetCloudControl][].
func (*GetCloudControlRequest) Descriptor
func (*GetCloudControlRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCloudControlRequest.ProtoReflect.Descriptor instead.
func (*GetCloudControlRequest) GetMajorRevisionId
func (x *GetCloudControlRequest) GetMajorRevisionId() int64func (*GetCloudControlRequest) GetName
func (x *GetCloudControlRequest) GetName() stringfunc (*GetCloudControlRequest) ProtoMessage
func (*GetCloudControlRequest) ProtoMessage()func (*GetCloudControlRequest) ProtoReflect
func (x *GetCloudControlRequest) ProtoReflect() protoreflect.Messagefunc (*GetCloudControlRequest) Reset
func (x *GetCloudControlRequest) Reset()func (*GetCloudControlRequest) String
func (x *GetCloudControlRequest) String() stringGetFrameworkAuditRequest
type GetFrameworkAuditRequest struct {
// Required. The name of the framework audit to retrieve.
//
// Supported formats are the following:
//
// * `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
// * `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
// * `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for [GetFrameworkAudit][].
func (*GetFrameworkAuditRequest) Descriptor
func (*GetFrameworkAuditRequest) Descriptor() ([]byte, []int)Deprecated: Use GetFrameworkAuditRequest.ProtoReflect.Descriptor instead.
func (*GetFrameworkAuditRequest) GetName
func (x *GetFrameworkAuditRequest) GetName() stringfunc (*GetFrameworkAuditRequest) ProtoMessage
func (*GetFrameworkAuditRequest) ProtoMessage()func (*GetFrameworkAuditRequest) ProtoReflect
func (x *GetFrameworkAuditRequest) ProtoReflect() protoreflect.Messagefunc (*GetFrameworkAuditRequest) Reset
func (x *GetFrameworkAuditRequest) Reset()func (*GetFrameworkAuditRequest) String
func (x *GetFrameworkAuditRequest) String() stringGetFrameworkDeploymentRequest
type GetFrameworkDeploymentRequest struct {
// Required. The name of the framework deployment, in the format
// `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
// or
// `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request message for [GetFrameworkDeployment][].
func (*GetFrameworkDeploymentRequest) Descriptor
func (*GetFrameworkDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetFrameworkDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetFrameworkDeploymentRequest) GetName
func (x *GetFrameworkDeploymentRequest) GetName() stringfunc (*GetFrameworkDeploymentRequest) ProtoMessage
func (*GetFrameworkDeploymentRequest) ProtoMessage()func (*GetFrameworkDeploymentRequest) ProtoReflect
func (x *GetFrameworkDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*GetFrameworkDeploymentRequest) Reset
func (x *GetFrameworkDeploymentRequest) Reset()func (*GetFrameworkDeploymentRequest) String
func (x *GetFrameworkDeploymentRequest) String() stringGetFrameworkRequest
type GetFrameworkRequest struct {
// Required. The name of the framework to retrieve, in one of the following
// formats:
// `organizations/{organization}/locations/{location}/frameworks/{framework}`
// or
// `projects/{project}/locations/{location}/frameworks/{framework}`.
//
// The only supported location is `global`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The framework major version to retrieve. If not specified, the
// most recently updated `revision_id` is retrieved.
MajorRevisionId int64 `protobuf:"varint,2,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// contains filtered or unexported fields
}The request message for [GetFramework][].
func (*GetFrameworkRequest) Descriptor
func (*GetFrameworkRequest) Descriptor() ([]byte, []int)Deprecated: Use GetFrameworkRequest.ProtoReflect.Descriptor instead.
func (*GetFrameworkRequest) GetMajorRevisionId
func (x *GetFrameworkRequest) GetMajorRevisionId() int64func (*GetFrameworkRequest) GetName
func (x *GetFrameworkRequest) GetName() stringfunc (*GetFrameworkRequest) ProtoMessage
func (*GetFrameworkRequest) ProtoMessage()func (*GetFrameworkRequest) ProtoReflect
func (x *GetFrameworkRequest) ProtoReflect() protoreflect.Messagefunc (*GetFrameworkRequest) Reset
func (x *GetFrameworkRequest) Reset()func (*GetFrameworkRequest) String
func (x *GetFrameworkRequest) String() stringIntRange
type IntRange struct {
// Required. The minimum permitted value for the numeric parameter
// (inclusive).
Min int64 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
// Required. The maximum permitted value for the numeric parameter
// (inclusive).
Max int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
// contains filtered or unexported fields
}The number range for number parameters.
func (*IntRange) Descriptor
Deprecated: Use IntRange.ProtoReflect.Descriptor instead.
func (*IntRange) GetMax
func (*IntRange) GetMin
func (*IntRange) ProtoMessage
func (*IntRange) ProtoMessage()func (*IntRange) ProtoReflect
func (x *IntRange) ProtoReflect() protoreflect.Messagefunc (*IntRange) Reset
func (x *IntRange) Reset()func (*IntRange) String
ListCloudControlDeploymentsRequest
type ListCloudControlDeploymentsRequest struct {
// Required. The parent resource for the cloud control deployment, in the
// format `organizations/{organization}/locations/{location}` or
// `projects/{project}/locations/{location}`.
// The only supported location is `global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The requested page size. The server might return fewer items than
// you requested.
// If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that identifies the page of results that the server
// should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter to apply on the resource, as defined by
// [AIP-160: Filtering](https://google.aip.dev/160).
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The sort order for the results. The following values are
// supported:
//
// * `name`
// * `name desc`
//
// If you do not specify a value, then the results are not sorted.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request message for [ListCloudControlDeployments][].
func (*ListCloudControlDeploymentsRequest) Descriptor
func (*ListCloudControlDeploymentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCloudControlDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListCloudControlDeploymentsRequest) GetFilter
func (x *ListCloudControlDeploymentsRequest) GetFilter() stringfunc (*ListCloudControlDeploymentsRequest) GetOrderBy
func (x *ListCloudControlDeploymentsRequest) GetOrderBy() stringfunc (*ListCloudControlDeploymentsRequest) GetPageSize
func (x *ListCloudControlDeploymentsRequest) GetPageSize() int32func (*ListCloudControlDeploymentsRequest) GetPageToken
func (x *ListCloudControlDeploymentsRequest) GetPageToken() stringfunc (*ListCloudControlDeploymentsRequest) GetParent
func (x *ListCloudControlDeploymentsRequest) GetParent() stringfunc (*ListCloudControlDeploymentsRequest) ProtoMessage
func (*ListCloudControlDeploymentsRequest) ProtoMessage()func (*ListCloudControlDeploymentsRequest) ProtoReflect
func (x *ListCloudControlDeploymentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListCloudControlDeploymentsRequest) Reset
func (x *ListCloudControlDeploymentsRequest) Reset()func (*ListCloudControlDeploymentsRequest) String
func (x *ListCloudControlDeploymentsRequest) String() stringListCloudControlDeploymentsResponse
type ListCloudControlDeploymentsResponse struct {
// The list of cloud control deployments.
CloudControlDeployments []*CloudControlDeployment `protobuf:"bytes,1,rep,name=cloud_control_deployments,json=cloudControlDeployments,proto3" json:"cloud_control_deployments,omitempty"`
// A token that identifies the next page of results that the server
// should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListCloudControlDeployments][].
func (*ListCloudControlDeploymentsResponse) Descriptor
func (*ListCloudControlDeploymentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCloudControlDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListCloudControlDeploymentsResponse) GetCloudControlDeployments
func (x *ListCloudControlDeploymentsResponse) GetCloudControlDeployments() []*CloudControlDeploymentfunc (*ListCloudControlDeploymentsResponse) GetNextPageToken
func (x *ListCloudControlDeploymentsResponse) GetNextPageToken() stringfunc (*ListCloudControlDeploymentsResponse) ProtoMessage
func (*ListCloudControlDeploymentsResponse) ProtoMessage()func (*ListCloudControlDeploymentsResponse) ProtoReflect
func (x *ListCloudControlDeploymentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListCloudControlDeploymentsResponse) Reset
func (x *ListCloudControlDeploymentsResponse) Reset()func (*ListCloudControlDeploymentsResponse) String
func (x *ListCloudControlDeploymentsResponse) String() stringListCloudControlsRequest
type ListCloudControlsRequest struct {
// Required. The parent resource name, in one of the following formats:
// - `organizations/{organization}/locations/{location}`
// - `projects/{project}/locations/{location}`.
//
// The only supported location is `global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of cloud controls to return. The default value
// is `500`.
//
// If you exceed the maximum value of `1000`, then the service uses the
// maximum value.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A pagination token that's returned from a previous request to
// list cloud controls. Provide this token to retrieve the next page of
// results.
//
// When paginating, the parent that you provide to the
// [ListCloudControls][google.cloud.cloudsecuritycompliance.v1.Config.ListCloudControls]
// request must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for [ListCloudControls][].
func (*ListCloudControlsRequest) Descriptor
func (*ListCloudControlsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCloudControlsRequest.ProtoReflect.Descriptor instead.
func (*ListCloudControlsRequest) GetPageSize
func (x *ListCloudControlsRequest) GetPageSize() int32func (*ListCloudControlsRequest) GetPageToken
func (x *ListCloudControlsRequest) GetPageToken() stringfunc (*ListCloudControlsRequest) GetParent
func (x *ListCloudControlsRequest) GetParent() stringfunc (*ListCloudControlsRequest) ProtoMessage
func (*ListCloudControlsRequest) ProtoMessage()func (*ListCloudControlsRequest) ProtoReflect
func (x *ListCloudControlsRequest) ProtoReflect() protoreflect.Messagefunc (*ListCloudControlsRequest) Reset
func (x *ListCloudControlsRequest) Reset()func (*ListCloudControlsRequest) String
func (x *ListCloudControlsRequest) String() stringListCloudControlsResponse
type ListCloudControlsResponse struct {
// The list of CloudControl resources.
CloudControls []*CloudControl `protobuf:"bytes,1,rep,name=cloud_controls,json=cloudControls,proto3" json:"cloud_controls,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListCloudControls][].
func (*ListCloudControlsResponse) Descriptor
func (*ListCloudControlsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCloudControlsResponse.ProtoReflect.Descriptor instead.
func (*ListCloudControlsResponse) GetCloudControls
func (x *ListCloudControlsResponse) GetCloudControls() []*CloudControlfunc (*ListCloudControlsResponse) GetNextPageToken
func (x *ListCloudControlsResponse) GetNextPageToken() stringfunc (*ListCloudControlsResponse) ProtoMessage
func (*ListCloudControlsResponse) ProtoMessage()func (*ListCloudControlsResponse) ProtoReflect
func (x *ListCloudControlsResponse) ProtoReflect() protoreflect.Messagefunc (*ListCloudControlsResponse) Reset
func (x *ListCloudControlsResponse) Reset()func (*ListCloudControlsResponse) String
func (x *ListCloudControlsResponse) String() stringListControlComplianceSummariesRequest
type ListControlComplianceSummariesRequest struct {
// Required. The parent scope for the framework overview page.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The end time of the control compliance summary.
//
// Deprecated: Marked as deprecated in google/cloud/cloudsecuritycompliance/v1/monitoring.proto.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Optional. The requested page size. The server might return fewer items than
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that identifies the page of results that the server
// should return.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filtering results.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}The request message for [ListControlComplianceSummaries][].
func (*ListControlComplianceSummariesRequest) Descriptor
func (*ListControlComplianceSummariesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListControlComplianceSummariesRequest.ProtoReflect.Descriptor instead.
func (*ListControlComplianceSummariesRequest) GetEndTime
func (x *ListControlComplianceSummariesRequest) GetEndTime() *timestamppb.TimestampDeprecated: Marked as deprecated in google/cloud/cloudsecuritycompliance/v1/monitoring.proto.
func (*ListControlComplianceSummariesRequest) GetFilter
func (x *ListControlComplianceSummariesRequest) GetFilter() stringfunc (*ListControlComplianceSummariesRequest) GetPageSize
func (x *ListControlComplianceSummariesRequest) GetPageSize() int32func (*ListControlComplianceSummariesRequest) GetPageToken
func (x *ListControlComplianceSummariesRequest) GetPageToken() stringfunc (*ListControlComplianceSummariesRequest) GetParent
func (x *ListControlComplianceSummariesRequest) GetParent() stringfunc (*ListControlComplianceSummariesRequest) ProtoMessage
func (*ListControlComplianceSummariesRequest) ProtoMessage()func (*ListControlComplianceSummariesRequest) ProtoReflect
func (x *ListControlComplianceSummariesRequest) ProtoReflect() protoreflect.Messagefunc (*ListControlComplianceSummariesRequest) Reset
func (x *ListControlComplianceSummariesRequest) Reset()func (*ListControlComplianceSummariesRequest) String
func (x *ListControlComplianceSummariesRequest) String() stringListControlComplianceSummariesResponse
type ListControlComplianceSummariesResponse struct {
// The list of control compliance details.
ControlComplianceSummaries []*ControlComplianceSummary `protobuf:"bytes,1,rep,name=control_compliance_summaries,json=controlComplianceSummaries,proto3" json:"control_compliance_summaries,omitempty"`
// Output only. The token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListControlComplianceSummaries][].
func (*ListControlComplianceSummariesResponse) Descriptor
func (*ListControlComplianceSummariesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListControlComplianceSummariesResponse.ProtoReflect.Descriptor instead.
func (*ListControlComplianceSummariesResponse) GetControlComplianceSummaries
func (x *ListControlComplianceSummariesResponse) GetControlComplianceSummaries() []*ControlComplianceSummaryfunc (*ListControlComplianceSummariesResponse) GetNextPageToken
func (x *ListControlComplianceSummariesResponse) GetNextPageToken() stringfunc (*ListControlComplianceSummariesResponse) ProtoMessage
func (*ListControlComplianceSummariesResponse) ProtoMessage()func (*ListControlComplianceSummariesResponse) ProtoReflect
func (x *ListControlComplianceSummariesResponse) ProtoReflect() protoreflect.Messagefunc (*ListControlComplianceSummariesResponse) Reset
func (x *ListControlComplianceSummariesResponse) Reset()func (*ListControlComplianceSummariesResponse) String
func (x *ListControlComplianceSummariesResponse) String() stringListFindingSummariesRequest
type ListFindingSummariesRequest struct {
// Required. The parent scope for the framework overview page.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The requested page size. The server might return fewer items than
//
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that identifies the page of results that the server
// should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The end time of the finding summary.
//
// Deprecated: Marked as deprecated in google/cloud/cloudsecuritycompliance/v1/monitoring.proto.
EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The request message for [ListFindingSummaries][].
func (*ListFindingSummariesRequest) Descriptor
func (*ListFindingSummariesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListFindingSummariesRequest.ProtoReflect.Descriptor instead.
func (*ListFindingSummariesRequest) GetEndTime
func (x *ListFindingSummariesRequest) GetEndTime() *timestamppb.TimestampDeprecated: Marked as deprecated in google/cloud/cloudsecuritycompliance/v1/monitoring.proto.
func (*ListFindingSummariesRequest) GetFilter
func (x *ListFindingSummariesRequest) GetFilter() stringfunc (*ListFindingSummariesRequest) GetPageSize
func (x *ListFindingSummariesRequest) GetPageSize() int32func (*ListFindingSummariesRequest) GetPageToken
func (x *ListFindingSummariesRequest) GetPageToken() stringfunc (*ListFindingSummariesRequest) GetParent
func (x *ListFindingSummariesRequest) GetParent() stringfunc (*ListFindingSummariesRequest) ProtoMessage
func (*ListFindingSummariesRequest) ProtoMessage()func (*ListFindingSummariesRequest) ProtoReflect
func (x *ListFindingSummariesRequest) ProtoReflect() protoreflect.Messagefunc (*ListFindingSummariesRequest) Reset
func (x *ListFindingSummariesRequest) Reset()func (*ListFindingSummariesRequest) String
func (x *ListFindingSummariesRequest) String() stringListFindingSummariesResponse
type ListFindingSummariesResponse struct {
// List of finding summary by category.
FindingSummaries []*FindingSummary `protobuf:"bytes,1,rep,name=finding_summaries,json=findingSummaries,proto3" json:"finding_summaries,omitempty"`
// Output only. The token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListFindingSummaries][].
func (*ListFindingSummariesResponse) Descriptor
func (*ListFindingSummariesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListFindingSummariesResponse.ProtoReflect.Descriptor instead.
func (*ListFindingSummariesResponse) GetFindingSummaries
func (x *ListFindingSummariesResponse) GetFindingSummaries() []*FindingSummaryfunc (*ListFindingSummariesResponse) GetNextPageToken
func (x *ListFindingSummariesResponse) GetNextPageToken() stringfunc (*ListFindingSummariesResponse) ProtoMessage
func (*ListFindingSummariesResponse) ProtoMessage()func (*ListFindingSummariesResponse) ProtoReflect
func (x *ListFindingSummariesResponse) ProtoReflect() protoreflect.Messagefunc (*ListFindingSummariesResponse) Reset
func (x *ListFindingSummariesResponse) Reset()func (*ListFindingSummariesResponse) String
func (x *ListFindingSummariesResponse) String() stringListFrameworkAuditsRequest
type ListFrameworkAuditsRequest struct {
// Required. The parent resource where the framework audits are listed.
//
// Supported formats are the following:
//
// * `organizations/{organization_id}/locations/{location}`
// * `folders/{folder_id}/locations/{location}`
// * `projects/{project_id}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of framework audits to return. The service
// might return fewer audits than this value. If unspecified, a maximum of 10
// framework audits are returned. The maximum value is 50; values above 50 are
// limited to 50.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The `next_page_token` value that's returned from a previous list
// request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filters to apply to the framework audits.
// Supported filters are `compliance_framework`, `compliance_state`,
// `create_time,` and `framework_audit_name`. If the filter is invalid, an
// invalid argument error is returned.
// For syntax details, see [AIP-160][https://google.aip.dev/160].
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}The request message for [ListFrameworkAudits][].
func (*ListFrameworkAuditsRequest) Descriptor
func (*ListFrameworkAuditsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworkAuditsRequest.ProtoReflect.Descriptor instead.
func (*ListFrameworkAuditsRequest) GetFilter
func (x *ListFrameworkAuditsRequest) GetFilter() stringfunc (*ListFrameworkAuditsRequest) GetPageSize
func (x *ListFrameworkAuditsRequest) GetPageSize() int32func (*ListFrameworkAuditsRequest) GetPageToken
func (x *ListFrameworkAuditsRequest) GetPageToken() stringfunc (*ListFrameworkAuditsRequest) GetParent
func (x *ListFrameworkAuditsRequest) GetParent() stringfunc (*ListFrameworkAuditsRequest) ProtoMessage
func (*ListFrameworkAuditsRequest) ProtoMessage()func (*ListFrameworkAuditsRequest) ProtoReflect
func (x *ListFrameworkAuditsRequest) ProtoReflect() protoreflect.Messagefunc (*ListFrameworkAuditsRequest) Reset
func (x *ListFrameworkAuditsRequest) Reset()func (*ListFrameworkAuditsRequest) String
func (x *ListFrameworkAuditsRequest) String() stringListFrameworkAuditsResponse
type ListFrameworkAuditsResponse struct {
// The framework audits.
FrameworkAudits []*FrameworkAudit `protobuf:"bytes,1,rep,name=framework_audits,json=frameworkAudits,proto3" json:"framework_audits,omitempty"`
// A token, which you can send as the `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListFrameworkAudits][].
func (*ListFrameworkAuditsResponse) Descriptor
func (*ListFrameworkAuditsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworkAuditsResponse.ProtoReflect.Descriptor instead.
func (*ListFrameworkAuditsResponse) GetFrameworkAudits
func (x *ListFrameworkAuditsResponse) GetFrameworkAudits() []*FrameworkAuditfunc (*ListFrameworkAuditsResponse) GetNextPageToken
func (x *ListFrameworkAuditsResponse) GetNextPageToken() stringfunc (*ListFrameworkAuditsResponse) ProtoMessage
func (*ListFrameworkAuditsResponse) ProtoMessage()func (*ListFrameworkAuditsResponse) ProtoReflect
func (x *ListFrameworkAuditsResponse) ProtoReflect() protoreflect.Messagefunc (*ListFrameworkAuditsResponse) Reset
func (x *ListFrameworkAuditsResponse) Reset()func (*ListFrameworkAuditsResponse) String
func (x *ListFrameworkAuditsResponse) String() stringListFrameworkComplianceSummariesRequest
type ListFrameworkComplianceSummariesRequest struct {
// Required. The parent scope for the framework compliance summary.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The requested page size. The server might return fewer items than
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that identifies the page of results that the server
// should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Specifies the level of detail to return in the response.
View FrameworkComplianceSummaryView `protobuf:"varint,5,opt,name=view,proto3,enum=google.cloud.cloudsecuritycompliance.v1.FrameworkComplianceSummaryView" json:"view,omitempty"`
// contains filtered or unexported fields
}The request message for [ListFrameworkComplianceSummariesRequest][google.cloud.cloudsecuritycompliance.v1.ListFrameworkComplianceSummariesRequest].
func (*ListFrameworkComplianceSummariesRequest) Descriptor
func (*ListFrameworkComplianceSummariesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworkComplianceSummariesRequest.ProtoReflect.Descriptor instead.
func (*ListFrameworkComplianceSummariesRequest) GetFilter
func (x *ListFrameworkComplianceSummariesRequest) GetFilter() stringfunc (*ListFrameworkComplianceSummariesRequest) GetPageSize
func (x *ListFrameworkComplianceSummariesRequest) GetPageSize() int32func (*ListFrameworkComplianceSummariesRequest) GetPageToken
func (x *ListFrameworkComplianceSummariesRequest) GetPageToken() stringfunc (*ListFrameworkComplianceSummariesRequest) GetParent
func (x *ListFrameworkComplianceSummariesRequest) GetParent() stringfunc (*ListFrameworkComplianceSummariesRequest) GetView
func (x *ListFrameworkComplianceSummariesRequest) GetView() FrameworkComplianceSummaryViewfunc (*ListFrameworkComplianceSummariesRequest) ProtoMessage
func (*ListFrameworkComplianceSummariesRequest) ProtoMessage()func (*ListFrameworkComplianceSummariesRequest) ProtoReflect
func (x *ListFrameworkComplianceSummariesRequest) ProtoReflect() protoreflect.Messagefunc (*ListFrameworkComplianceSummariesRequest) Reset
func (x *ListFrameworkComplianceSummariesRequest) Reset()func (*ListFrameworkComplianceSummariesRequest) String
func (x *ListFrameworkComplianceSummariesRequest) String() stringListFrameworkComplianceSummariesResponse
type ListFrameworkComplianceSummariesResponse struct {
// The list of framework compliance summaries.
FrameworkComplianceSummaries []*FrameworkComplianceSummary `protobuf:"bytes,1,rep,name=framework_compliance_summaries,json=frameworkComplianceSummaries,proto3" json:"framework_compliance_summaries,omitempty"`
// Output only. The token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListFrameworkComplianceSummariesResponse][google.cloud.cloudsecuritycompliance.v1.ListFrameworkComplianceSummariesResponse].
func (*ListFrameworkComplianceSummariesResponse) Descriptor
func (*ListFrameworkComplianceSummariesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworkComplianceSummariesResponse.ProtoReflect.Descriptor instead.
func (*ListFrameworkComplianceSummariesResponse) GetFrameworkComplianceSummaries
func (x *ListFrameworkComplianceSummariesResponse) GetFrameworkComplianceSummaries() []*FrameworkComplianceSummaryfunc (*ListFrameworkComplianceSummariesResponse) GetNextPageToken
func (x *ListFrameworkComplianceSummariesResponse) GetNextPageToken() stringfunc (*ListFrameworkComplianceSummariesResponse) ProtoMessage
func (*ListFrameworkComplianceSummariesResponse) ProtoMessage()func (*ListFrameworkComplianceSummariesResponse) ProtoReflect
func (x *ListFrameworkComplianceSummariesResponse) ProtoReflect() protoreflect.Messagefunc (*ListFrameworkComplianceSummariesResponse) Reset
func (x *ListFrameworkComplianceSummariesResponse) Reset()func (*ListFrameworkComplianceSummariesResponse) String
func (x *ListFrameworkComplianceSummariesResponse) String() stringListFrameworkDeploymentsRequest
type ListFrameworkDeploymentsRequest struct {
// Required. The parent resource of the framework deployment, in the format
// `organizations/{organization}/locations/{location}`
// or
// `projects/{project}/locations/{location}`.
// The only supported location is `global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The requested page size. The server might return fewer items than
// requested.
// If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that identifies a page of results the server should
// return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter to be applied on the resource, as defined by
// [AIP-160: Filtering](https://google.aip.dev/160).
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The sort order for the results. The following values are
// supported:
//
// * `name`
// * `name desc`
//
// If you do not specify a value, then the results are not sorted.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request message for [ListFrameworkDeployments][].
func (*ListFrameworkDeploymentsRequest) Descriptor
func (*ListFrameworkDeploymentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworkDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListFrameworkDeploymentsRequest) GetFilter
func (x *ListFrameworkDeploymentsRequest) GetFilter() stringfunc (*ListFrameworkDeploymentsRequest) GetOrderBy
func (x *ListFrameworkDeploymentsRequest) GetOrderBy() stringfunc (*ListFrameworkDeploymentsRequest) GetPageSize
func (x *ListFrameworkDeploymentsRequest) GetPageSize() int32func (*ListFrameworkDeploymentsRequest) GetPageToken
func (x *ListFrameworkDeploymentsRequest) GetPageToken() stringfunc (*ListFrameworkDeploymentsRequest) GetParent
func (x *ListFrameworkDeploymentsRequest) GetParent() stringfunc (*ListFrameworkDeploymentsRequest) ProtoMessage
func (*ListFrameworkDeploymentsRequest) ProtoMessage()func (*ListFrameworkDeploymentsRequest) ProtoReflect
func (x *ListFrameworkDeploymentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListFrameworkDeploymentsRequest) Reset
func (x *ListFrameworkDeploymentsRequest) Reset()func (*ListFrameworkDeploymentsRequest) String
func (x *ListFrameworkDeploymentsRequest) String() stringListFrameworkDeploymentsResponse
type ListFrameworkDeploymentsResponse struct {
// The list of framework deployments.
FrameworkDeployments []*FrameworkDeployment `protobuf:"bytes,1,rep,name=framework_deployments,json=frameworkDeployments,proto3" json:"framework_deployments,omitempty"`
// A token that identifies the next page of results that the server
// should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListFrameworkDeployments][].
func (*ListFrameworkDeploymentsResponse) Descriptor
func (*ListFrameworkDeploymentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworkDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListFrameworkDeploymentsResponse) GetFrameworkDeployments
func (x *ListFrameworkDeploymentsResponse) GetFrameworkDeployments() []*FrameworkDeploymentfunc (*ListFrameworkDeploymentsResponse) GetNextPageToken
func (x *ListFrameworkDeploymentsResponse) GetNextPageToken() stringfunc (*ListFrameworkDeploymentsResponse) ProtoMessage
func (*ListFrameworkDeploymentsResponse) ProtoMessage()func (*ListFrameworkDeploymentsResponse) ProtoReflect
func (x *ListFrameworkDeploymentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListFrameworkDeploymentsResponse) Reset
func (x *ListFrameworkDeploymentsResponse) Reset()func (*ListFrameworkDeploymentsResponse) String
func (x *ListFrameworkDeploymentsResponse) String() stringListFrameworksRequest
type ListFrameworksRequest struct {
// Required. The parent resource name, in one of the following formats:
// - `organizations/{organization}/locations/{location}`
// - `projects/{project}/locations/{location}`.
//
// The only supported location is `global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of frameworks to return. The default value is
// `500`.
//
// If you exceed the maximum value of `1000`, then the service uses the
// maximum value.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A pagination token returned from a previous request to list
// frameworks. Provide this token to retrieve the next page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for [ListFrameworks][].
func (*ListFrameworksRequest) Descriptor
func (*ListFrameworksRequest) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworksRequest.ProtoReflect.Descriptor instead.
func (*ListFrameworksRequest) GetPageSize
func (x *ListFrameworksRequest) GetPageSize() int32func (*ListFrameworksRequest) GetPageToken
func (x *ListFrameworksRequest) GetPageToken() stringfunc (*ListFrameworksRequest) GetParent
func (x *ListFrameworksRequest) GetParent() stringfunc (*ListFrameworksRequest) ProtoMessage
func (*ListFrameworksRequest) ProtoMessage()func (*ListFrameworksRequest) ProtoReflect
func (x *ListFrameworksRequest) ProtoReflect() protoreflect.Messagefunc (*ListFrameworksRequest) Reset
func (x *ListFrameworksRequest) Reset()func (*ListFrameworksRequest) String
func (x *ListFrameworksRequest) String() stringListFrameworksResponse
type ListFrameworksResponse struct {
// The list of framework resources.
Frameworks []*Framework `protobuf:"bytes,1,rep,name=frameworks,proto3" json:"frameworks,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [ListFrameworks][]. Returns a paginated list of Framework resources.
func (*ListFrameworksResponse) Descriptor
func (*ListFrameworksResponse) Descriptor() ([]byte, []int)Deprecated: Use ListFrameworksResponse.ProtoReflect.Descriptor instead.
func (*ListFrameworksResponse) GetFrameworks
func (x *ListFrameworksResponse) GetFrameworks() []*Frameworkfunc (*ListFrameworksResponse) GetNextPageToken
func (x *ListFrameworksResponse) GetNextPageToken() stringfunc (*ListFrameworksResponse) ProtoMessage
func (*ListFrameworksResponse) ProtoMessage()func (*ListFrameworksResponse) ProtoReflect
func (x *ListFrameworksResponse) ProtoReflect() protoreflect.Messagefunc (*ListFrameworksResponse) Reset
func (x *ListFrameworksResponse) Reset()func (*ListFrameworksResponse) String
func (x *ListFrameworksResponse) String() stringManualCloudControlAssessmentDetails
type ManualCloudControlAssessmentDetails struct {
// The guide for assessing a cloud control manually.
ManualCloudControlGuide []string `protobuf:"bytes,1,rep,name=manual_cloud_control_guide,json=manualCloudControlGuide,proto3" json:"manual_cloud_control_guide,omitempty"`
// contains filtered or unexported fields
}The details for a manual cloud control assessment.
func (*ManualCloudControlAssessmentDetails) Descriptor
func (*ManualCloudControlAssessmentDetails) Descriptor() ([]byte, []int)Deprecated: Use ManualCloudControlAssessmentDetails.ProtoReflect.Descriptor instead.
func (*ManualCloudControlAssessmentDetails) GetManualCloudControlGuide
func (x *ManualCloudControlAssessmentDetails) GetManualCloudControlGuide() []stringfunc (*ManualCloudControlAssessmentDetails) ProtoMessage
func (*ManualCloudControlAssessmentDetails) ProtoMessage()func (*ManualCloudControlAssessmentDetails) ProtoReflect
func (x *ManualCloudControlAssessmentDetails) ProtoReflect() protoreflect.Messagefunc (*ManualCloudControlAssessmentDetails) Reset
func (x *ManualCloudControlAssessmentDetails) Reset()func (*ManualCloudControlAssessmentDetails) String
func (x *ManualCloudControlAssessmentDetails) String() stringMonitoringClient
type MonitoringClient interface {
// Lists the framework compliance summary for a given scope.
ListFrameworkComplianceSummaries(ctx context.Context, in *ListFrameworkComplianceSummariesRequest, opts ...grpc.CallOption) (*ListFrameworkComplianceSummariesResponse, error)
// Lists the finding summary by category for a given scope.
ListFindingSummaries(ctx context.Context, in *ListFindingSummariesRequest, opts ...grpc.CallOption) (*ListFindingSummariesResponse, error)
// Fetches the framework compliance report for a given scope.
FetchFrameworkComplianceReport(ctx context.Context, in *FetchFrameworkComplianceReportRequest, opts ...grpc.CallOption) (*FrameworkComplianceReport, error)
// Lists the control compliance summary for a given scope.
ListControlComplianceSummaries(ctx context.Context, in *ListControlComplianceSummariesRequest, opts ...grpc.CallOption) (*ListControlComplianceSummariesResponse, error)
// Gets the aggregated compliance report over time for a given scope.
AggregateFrameworkComplianceReport(ctx context.Context, in *AggregateFrameworkComplianceReportRequest, opts ...grpc.CallOption) (*AggregateFrameworkComplianceReportResponse, error)
}MonitoringClient is the client API for Monitoring service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMonitoringClient
func NewMonitoringClient(cc grpc.ClientConnInterface) MonitoringClientMonitoringServer
type MonitoringServer interface {
// Lists the framework compliance summary for a given scope.
ListFrameworkComplianceSummaries(context.Context, *ListFrameworkComplianceSummariesRequest) (*ListFrameworkComplianceSummariesResponse, error)
// Lists the finding summary by category for a given scope.
ListFindingSummaries(context.Context, *ListFindingSummariesRequest) (*ListFindingSummariesResponse, error)
// Fetches the framework compliance report for a given scope.
FetchFrameworkComplianceReport(context.Context, *FetchFrameworkComplianceReportRequest) (*FrameworkComplianceReport, error)
// Lists the control compliance summary for a given scope.
ListControlComplianceSummaries(context.Context, *ListControlComplianceSummariesRequest) (*ListControlComplianceSummariesResponse, error)
// Gets the aggregated compliance report over time for a given scope.
AggregateFrameworkComplianceReport(context.Context, *AggregateFrameworkComplianceReportRequest) (*AggregateFrameworkComplianceReportResponse, error)
}MonitoringServer is the server API for Monitoring service. All implementations should embed UnimplementedMonitoringServer for forward compatibility
ObservationDetails
type ObservationDetails struct {
// Output only. The current value.
CurrentValue string `protobuf:"bytes,1,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"`
// Optional. The expected value.
ExpectedValue string `protobuf:"bytes,2,opt,name=expected_value,json=expectedValue,proto3" json:"expected_value,omitempty"`
// Output only. Any guidance for the observation.
Guidance string `protobuf:"bytes,3,opt,name=guidance,proto3" json:"guidance,omitempty"`
// contains filtered or unexported fields
}The observation details for a finding.
func (*ObservationDetails) Descriptor
func (*ObservationDetails) Descriptor() ([]byte, []int)Deprecated: Use ObservationDetails.ProtoReflect.Descriptor instead.
func (*ObservationDetails) GetCurrentValue
func (x *ObservationDetails) GetCurrentValue() stringfunc (*ObservationDetails) GetExpectedValue
func (x *ObservationDetails) GetExpectedValue() stringfunc (*ObservationDetails) GetGuidance
func (x *ObservationDetails) GetGuidance() stringfunc (*ObservationDetails) ProtoMessage
func (*ObservationDetails) ProtoMessage()func (*ObservationDetails) ProtoReflect
func (x *ObservationDetails) ProtoReflect() protoreflect.Messagefunc (*ObservationDetails) Reset
func (x *ObservationDetails) Reset()func (*ObservationDetails) String
func (x *ObservationDetails) String() stringOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. The server-defined resource path for the target of the
// operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. The name of the verb that was executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. The human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested that the operation
// be cancelled. If an operation was cancelled successfully, then the field
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// contains the value [google.rpc.Code.CANCELLED][google.rpc.Code.CANCELLED].
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. The API version that was used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}The metadata for the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringParamValue
type ParamValue struct {
// The list of possible parameter value types.
//
// Types that are valid to be assigned to Kind:
//
// *ParamValue_StringValue
// *ParamValue_BoolValue
// *ParamValue_StringListValue
// *ParamValue_NumberValue
// *ParamValue_OneofValue
Kind isParamValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}The possible parameter value types.
func (*ParamValue) Descriptor
func (*ParamValue) Descriptor() ([]byte, []int)Deprecated: Use ParamValue.ProtoReflect.Descriptor instead.
func (*ParamValue) GetBoolValue
func (x *ParamValue) GetBoolValue() boolfunc (*ParamValue) GetKind
func (x *ParamValue) GetKind() isParamValue_Kindfunc (*ParamValue) GetNumberValue
func (x *ParamValue) GetNumberValue() float64func (*ParamValue) GetOneofValue
func (x *ParamValue) GetOneofValue() *Parameterfunc (*ParamValue) GetStringListValue
func (x *ParamValue) GetStringListValue() *StringListfunc (*ParamValue) GetStringValue
func (x *ParamValue) GetStringValue() stringfunc (*ParamValue) ProtoMessage
func (*ParamValue) ProtoMessage()func (*ParamValue) ProtoReflect
func (x *ParamValue) ProtoReflect() protoreflect.Messagefunc (*ParamValue) Reset
func (x *ParamValue) Reset()func (*ParamValue) String
func (x *ParamValue) String() stringParamValue_BoolValue
type ParamValue_BoolValue struct {
// Optional. A boolean value.
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}ParamValue_NumberValue
type ParamValue_NumberValue struct {
// Optional. A double value.
NumberValue float64 `protobuf:"fixed64,6,opt,name=number_value,json=numberValue,proto3,oneof"`
}ParamValue_OneofValue
type ParamValue_OneofValue struct {
// Optional. Sub-parameter values.
OneofValue *Parameter `protobuf:"bytes,7,opt,name=oneof_value,json=oneofValue,proto3,oneof"`
}ParamValue_StringListValue
type ParamValue_StringListValue struct {
// Optional. A repeated string.
StringListValue *StringList `protobuf:"bytes,5,opt,name=string_list_value,json=stringListValue,proto3,oneof"`
}ParamValue_StringValue
type ParamValue_StringValue struct {
// Optional. A string value.
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}Parameter
type Parameter struct {
// Required. The name or key of the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The value of the parameter.
ParameterValue *ParamValue `protobuf:"bytes,2,opt,name=parameter_value,json=parameterValue,proto3" json:"parameter_value,omitempty"`
// contains filtered or unexported fields
}Parameters are key-value pairs that let you provide your custom location requirements, environment requirements, or other settings that are relevant to the cloud control.
func (*Parameter) Descriptor
Deprecated: Use Parameter.ProtoReflect.Descriptor instead.
func (*Parameter) GetName
func (*Parameter) GetParameterValue
func (x *Parameter) GetParameterValue() *ParamValuefunc (*Parameter) ProtoMessage
func (*Parameter) ProtoMessage()func (*Parameter) ProtoReflect
func (x *Parameter) ProtoReflect() protoreflect.Messagefunc (*Parameter) Reset
func (x *Parameter) Reset()func (*Parameter) String
ParameterSpec
type ParameterSpec struct {
// Required. The name of the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The friendly name of the parameter. The maximum length is 200
// characters.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The description of the parameter. The maximum length is 2000
// characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Required. Whether the parameter is required.
IsRequired bool `protobuf:"varint,4,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
// Required. The parameter value type.
ValueType ParameterSpec_ValueType `protobuf:"varint,5,opt,name=value_type,json=valueType,proto3,enum=google.cloud.cloudsecuritycompliance.v1.ParameterSpec_ValueType" json:"value_type,omitempty"`
// Optional. The default value of the parameter.
DefaultValue *ParamValue `protobuf:"bytes,6,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
// Optional. The list of parameter substitutions.
SubstitutionRules []*ParameterSubstitutionRule `protobuf:"bytes,7,rep,name=substitution_rules,json=substitutionRules,proto3" json:"substitution_rules,omitempty"`
// Optional. The parameter specification for `oneOf` attributes.
SubParameters []*ParameterSpec `protobuf:"bytes,8,rep,name=sub_parameters,json=subParameters,proto3" json:"sub_parameters,omitempty"`
// Optional. The permitted set of values for the parameter.
Validation *Validation `protobuf:"bytes,9,opt,name=validation,proto3" json:"validation,omitempty"`
// contains filtered or unexported fields
}The parameter specification for the cloud control.
func (*ParameterSpec) Descriptor
func (*ParameterSpec) Descriptor() ([]byte, []int)Deprecated: Use ParameterSpec.ProtoReflect.Descriptor instead.
func (*ParameterSpec) GetDefaultValue
func (x *ParameterSpec) GetDefaultValue() *ParamValuefunc (*ParameterSpec) GetDescription
func (x *ParameterSpec) GetDescription() stringfunc (*ParameterSpec) GetDisplayName
func (x *ParameterSpec) GetDisplayName() stringfunc (*ParameterSpec) GetIsRequired
func (x *ParameterSpec) GetIsRequired() boolfunc (*ParameterSpec) GetName
func (x *ParameterSpec) GetName() stringfunc (*ParameterSpec) GetSubParameters
func (x *ParameterSpec) GetSubParameters() []*ParameterSpecfunc (*ParameterSpec) GetSubstitutionRules
func (x *ParameterSpec) GetSubstitutionRules() []*ParameterSubstitutionRulefunc (*ParameterSpec) GetValidation
func (x *ParameterSpec) GetValidation() *Validationfunc (*ParameterSpec) GetValueType
func (x *ParameterSpec) GetValueType() ParameterSpec_ValueTypefunc (*ParameterSpec) ProtoMessage
func (*ParameterSpec) ProtoMessage()func (*ParameterSpec) ProtoReflect
func (x *ParameterSpec) ProtoReflect() protoreflect.Messagefunc (*ParameterSpec) Reset
func (x *ParameterSpec) Reset()func (*ParameterSpec) String
func (x *ParameterSpec) String() stringParameterSpec_ValueType
type ParameterSpec_ValueType int32The type of parameter value.
ParameterSpec_VALUE_TYPE_UNSPECIFIED, ParameterSpec_STRING, ParameterSpec_BOOLEAN, ParameterSpec_STRINGLIST, ParameterSpec_NUMBER, ParameterSpec_ONEOF
const (
// Default value. This value is unused.
ParameterSpec_VALUE_TYPE_UNSPECIFIED ParameterSpec_ValueType = 0
// A string value.
ParameterSpec_STRING ParameterSpec_ValueType = 3
// A boolean value.
ParameterSpec_BOOLEAN ParameterSpec_ValueType = 4
// A string list value.
ParameterSpec_STRINGLIST ParameterSpec_ValueType = 5
// A numeric value.
ParameterSpec_NUMBER ParameterSpec_ValueType = 6
// A oneOf value.
ParameterSpec_ONEOF ParameterSpec_ValueType = 7
)func (ParameterSpec_ValueType) Descriptor
func (ParameterSpec_ValueType) Descriptor() protoreflect.EnumDescriptorfunc (ParameterSpec_ValueType) Enum
func (x ParameterSpec_ValueType) Enum() *ParameterSpec_ValueTypefunc (ParameterSpec_ValueType) EnumDescriptor
func (ParameterSpec_ValueType) EnumDescriptor() ([]byte, []int)Deprecated: Use ParameterSpec_ValueType.Descriptor instead.
func (ParameterSpec_ValueType) Number
func (x ParameterSpec_ValueType) Number() protoreflect.EnumNumberfunc (ParameterSpec_ValueType) String
func (x ParameterSpec_ValueType) String() stringfunc (ParameterSpec_ValueType) Type
func (ParameterSpec_ValueType) Type() protoreflect.EnumTypeParameterSubstitutionRule
type ParameterSubstitutionRule struct {
// The type of substitution.
//
// Types that are valid to be assigned to SubstitutionType:
//
// *ParameterSubstitutionRule_PlaceholderSubstitutionRule
// *ParameterSubstitutionRule_AttributeSubstitutionRule
SubstitutionType isParameterSubstitutionRule_SubstitutionType `protobuf_oneof:"substitution_type"`
// contains filtered or unexported fields
}The parameter substitution rules.
func (*ParameterSubstitutionRule) Descriptor
func (*ParameterSubstitutionRule) Descriptor() ([]byte, []int)Deprecated: Use ParameterSubstitutionRule.ProtoReflect.Descriptor instead.
func (*ParameterSubstitutionRule) GetAttributeSubstitutionRule
func (x *ParameterSubstitutionRule) GetAttributeSubstitutionRule() *AttributeSubstitutionRulefunc (*ParameterSubstitutionRule) GetPlaceholderSubstitutionRule
func (x *ParameterSubstitutionRule) GetPlaceholderSubstitutionRule() *PlaceholderSubstitutionRulefunc (*ParameterSubstitutionRule) GetSubstitutionType
func (x *ParameterSubstitutionRule) GetSubstitutionType() isParameterSubstitutionRule_SubstitutionTypefunc (*ParameterSubstitutionRule) ProtoMessage
func (*ParameterSubstitutionRule) ProtoMessage()func (*ParameterSubstitutionRule) ProtoReflect
func (x *ParameterSubstitutionRule) ProtoReflect() protoreflect.Messagefunc (*ParameterSubstitutionRule) Reset
func (x *ParameterSubstitutionRule) Reset()func (*ParameterSubstitutionRule) String
func (x *ParameterSubstitutionRule) String() stringParameterSubstitutionRule_AttributeSubstitutionRule
type ParameterSubstitutionRule_AttributeSubstitutionRule struct {
// The attribute substitution rule.
AttributeSubstitutionRule *AttributeSubstitutionRule `protobuf:"bytes,2,opt,name=attribute_substitution_rule,json=attributeSubstitutionRule,proto3,oneof"`
}ParameterSubstitutionRule_PlaceholderSubstitutionRule
type ParameterSubstitutionRule_PlaceholderSubstitutionRule struct {
// The placeholder substitution rule.
PlaceholderSubstitutionRule *PlaceholderSubstitutionRule `protobuf:"bytes,1,opt,name=placeholder_substitution_rule,json=placeholderSubstitutionRule,proto3,oneof"`
}PlaceholderSubstitutionRule
type PlaceholderSubstitutionRule struct {
// The fully qualified proto attribute path, in dot notation.
Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// contains filtered or unexported fields
}The placeholder that's substituted in the rendered string.
func (*PlaceholderSubstitutionRule) Descriptor
func (*PlaceholderSubstitutionRule) Descriptor() ([]byte, []int)Deprecated: Use PlaceholderSubstitutionRule.ProtoReflect.Descriptor instead.
func (*PlaceholderSubstitutionRule) GetAttribute
func (x *PlaceholderSubstitutionRule) GetAttribute() stringfunc (*PlaceholderSubstitutionRule) ProtoMessage
func (*PlaceholderSubstitutionRule) ProtoMessage()func (*PlaceholderSubstitutionRule) ProtoReflect
func (x *PlaceholderSubstitutionRule) ProtoReflect() protoreflect.Messagefunc (*PlaceholderSubstitutionRule) Reset
func (x *PlaceholderSubstitutionRule) Reset()func (*PlaceholderSubstitutionRule) String
func (x *PlaceholderSubstitutionRule) String() stringProjectCreationConfig
type ProjectCreationConfig struct {
// Required. The parent of the project, in the format
// `organizations/{organizationID}` or `folders/{folderID}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The display name of the project.
ProjectDisplayName string `protobuf:"bytes,2,opt,name=project_display_name,json=projectDisplayName,proto3" json:"project_display_name,omitempty"`
// Required. The billing account ID for the project.
BillingAccountId string `protobuf:"bytes,3,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billing_account_id,omitempty"`
// contains filtered or unexported fields
}The configuration that's required to create a project to be used as the target resource of a deployment.
func (*ProjectCreationConfig) Descriptor
func (*ProjectCreationConfig) Descriptor() ([]byte, []int)Deprecated: Use ProjectCreationConfig.ProtoReflect.Descriptor instead.
func (*ProjectCreationConfig) GetBillingAccountId
func (x *ProjectCreationConfig) GetBillingAccountId() stringfunc (*ProjectCreationConfig) GetParent
func (x *ProjectCreationConfig) GetParent() stringfunc (*ProjectCreationConfig) GetProjectDisplayName
func (x *ProjectCreationConfig) GetProjectDisplayName() stringfunc (*ProjectCreationConfig) ProtoMessage
func (*ProjectCreationConfig) ProtoMessage()func (*ProjectCreationConfig) ProtoReflect
func (x *ProjectCreationConfig) ProtoReflect() protoreflect.Messagefunc (*ProjectCreationConfig) Reset
func (x *ProjectCreationConfig) Reset()func (*ProjectCreationConfig) String
func (x *ProjectCreationConfig) String() stringRegexpPattern
type RegexpPattern struct {
// Required. The regex pattern to match the values of the parameter with.
Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
// contains filtered or unexported fields
}The regular expression (regex) validator for parameter values.
func (*RegexpPattern) Descriptor
func (*RegexpPattern) Descriptor() ([]byte, []int)Deprecated: Use RegexpPattern.ProtoReflect.Descriptor instead.
func (*RegexpPattern) GetPattern
func (x *RegexpPattern) GetPattern() stringfunc (*RegexpPattern) ProtoMessage
func (*RegexpPattern) ProtoMessage()func (*RegexpPattern) ProtoReflect
func (x *RegexpPattern) ProtoReflect() protoreflect.Messagefunc (*RegexpPattern) Reset
func (x *RegexpPattern) Reset()func (*RegexpPattern) String
func (x *RegexpPattern) String() stringRegulatoryControlResponsibilityType
type RegulatoryControlResponsibilityType int32The responsibility type for the regulatory control.
RegulatoryControlResponsibilityType_REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED, RegulatoryControlResponsibilityType_GOOGLE, RegulatoryControlResponsibilityType_CUSTOMER, RegulatoryControlResponsibilityType_SHARED
const (
// Default value. This value is unused.
RegulatoryControlResponsibilityType_REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED RegulatoryControlResponsibilityType = 0
// Google's responsibility.
RegulatoryControlResponsibilityType_GOOGLE RegulatoryControlResponsibilityType = 1
// Your responsibility.
RegulatoryControlResponsibilityType_CUSTOMER RegulatoryControlResponsibilityType = 2
// Shared responsibility.
RegulatoryControlResponsibilityType_SHARED RegulatoryControlResponsibilityType = 3
)func (RegulatoryControlResponsibilityType) Descriptor
func (RegulatoryControlResponsibilityType) Descriptor() protoreflect.EnumDescriptorfunc (RegulatoryControlResponsibilityType) Enum
func (x RegulatoryControlResponsibilityType) Enum() *RegulatoryControlResponsibilityTypefunc (RegulatoryControlResponsibilityType) EnumDescriptor
func (RegulatoryControlResponsibilityType) EnumDescriptor() ([]byte, []int)Deprecated: Use RegulatoryControlResponsibilityType.Descriptor instead.
func (RegulatoryControlResponsibilityType) Number
func (x RegulatoryControlResponsibilityType) Number() protoreflect.EnumNumberfunc (RegulatoryControlResponsibilityType) String
func (x RegulatoryControlResponsibilityType) String() stringfunc (RegulatoryControlResponsibilityType) Type
func (RegulatoryControlResponsibilityType) Type() protoreflect.EnumTypeReportSummary
type ReportSummary struct {
// Output only. The total number of checks.
TotalCount int32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// Output only. The number of compliant checks.
CompliantCount int32 `protobuf:"varint,2,opt,name=compliant_count,json=compliantCount,proto3" json:"compliant_count,omitempty"`
// Output only. The number of checks with violations.
ViolationCount int32 `protobuf:"varint,3,opt,name=violation_count,json=violationCount,proto3" json:"violation_count,omitempty"`
// Output only. The number of checks with "manual review needed" status.
ManualReviewNeededCount int32 `protobuf:"varint,4,opt,name=manual_review_needed_count,json=manualReviewNeededCount,proto3" json:"manual_review_needed_count,omitempty"`
// Output only. The number of checks that can't be performed due to errors.
ErrorCount int32 `protobuf:"varint,5,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
// contains filtered or unexported fields
}Additional information for an audit operation.
func (*ReportSummary) Descriptor
func (*ReportSummary) Descriptor() ([]byte, []int)Deprecated: Use ReportSummary.ProtoReflect.Descriptor instead.
func (*ReportSummary) GetCompliantCount
func (x *ReportSummary) GetCompliantCount() int32func (*ReportSummary) GetErrorCount
func (x *ReportSummary) GetErrorCount() int32func (*ReportSummary) GetManualReviewNeededCount
func (x *ReportSummary) GetManualReviewNeededCount() int32func (*ReportSummary) GetTotalCount
func (x *ReportSummary) GetTotalCount() int32func (*ReportSummary) GetViolationCount
func (x *ReportSummary) GetViolationCount() int32func (*ReportSummary) ProtoMessage
func (*ReportSummary) ProtoMessage()func (*ReportSummary) ProtoReflect
func (x *ReportSummary) ProtoReflect() protoreflect.Messagefunc (*ReportSummary) Reset
func (x *ReportSummary) Reset()func (*ReportSummary) String
func (x *ReportSummary) String() stringRule
type Rule struct {
// The rule implementation.
//
// Types that are valid to be assigned to Implementation:
//
// *Rule_CelExpression
Implementation isRule_Implementation `protobuf_oneof:"implementation"`
// Optional. The rule description. The maximum length is 2000 characters.
Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
// Required. The functionality that's enabled by the rule.
RuleActionTypes []RuleActionType `protobuf:"varint,16,rep,packed,name=rule_action_types,json=ruleActionTypes,proto3,enum=google.cloud.cloudsecuritycompliance.v1.RuleActionType" json:"rule_action_types,omitempty"`
// contains filtered or unexported fields
}A rule in the cloud control.
func (*Rule) Descriptor
Deprecated: Use Rule.ProtoReflect.Descriptor instead.
func (*Rule) GetCelExpression
func (x *Rule) GetCelExpression() *CELExpressionfunc (*Rule) GetDescription
func (*Rule) GetImplementation
func (x *Rule) GetImplementation() isRule_Implementationfunc (*Rule) GetRuleActionTypes
func (x *Rule) GetRuleActionTypes() []RuleActionTypefunc (*Rule) ProtoMessage
func (*Rule) ProtoMessage()func (*Rule) ProtoReflect
func (x *Rule) ProtoReflect() protoreflect.Messagefunc (*Rule) Reset
func (x *Rule) Reset()func (*Rule) String
RuleActionType
type RuleActionType int32The action type of the rule.
RuleActionType_RULE_ACTION_TYPE_UNSPECIFIED, RuleActionType_RULE_ACTION_TYPE_PREVENTIVE, RuleActionType_RULE_ACTION_TYPE_DETECTIVE, RuleActionType_RULE_ACTION_TYPE_AUDIT
const (
// Default value. This value is unused.
RuleActionType_RULE_ACTION_TYPE_UNSPECIFIED RuleActionType = 0
// The rule is intended to prevent non-compliance.
RuleActionType_RULE_ACTION_TYPE_PREVENTIVE RuleActionType = 1
// The rule is intended to detect non-compliance.
RuleActionType_RULE_ACTION_TYPE_DETECTIVE RuleActionType = 2
// The rule is intended to audit non-compliance.
RuleActionType_RULE_ACTION_TYPE_AUDIT RuleActionType = 3
)func (RuleActionType) Descriptor
func (RuleActionType) Descriptor() protoreflect.EnumDescriptorfunc (RuleActionType) Enum
func (x RuleActionType) Enum() *RuleActionTypefunc (RuleActionType) EnumDescriptor
func (RuleActionType) EnumDescriptor() ([]byte, []int)Deprecated: Use RuleActionType.Descriptor instead.
func (RuleActionType) Number
func (x RuleActionType) Number() protoreflect.EnumNumberfunc (RuleActionType) String
func (x RuleActionType) String() stringfunc (RuleActionType) Type
func (RuleActionType) Type() protoreflect.EnumTypeRule_CelExpression
type Rule_CelExpression struct {
// The rule's logic expression in Common Expression Language (CEL).
CelExpression *CELExpression `protobuf:"bytes,1,opt,name=cel_expression,json=celExpression,proto3,oneof"`
}Severity
type Severity int32The severity of the finding.
Severity_SEVERITY_UNSPECIFIED, Severity_CRITICAL, Severity_HIGH, Severity_MEDIUM, Severity_LOW
const (
// Default value. This value is unused.
Severity_SEVERITY_UNSPECIFIED Severity = 0
// A critical vulnerability is easily discoverable by an external actor,
// exploitable, and results in the direct ability to execute arbitrary code,
// exfiltrate data, and otherwise gain additional access and privileges to
// cloud resources and workloads. Examples include publicly accessible
// unprotected user data and public SSH access with weak or no
// passwords.
//
// A critical threat is a threat that can access, modify, or delete data or
// execute unauthorized code within existing resources.
Severity_CRITICAL Severity = 1
// A high-risk vulnerability can be easily discovered and exploited in
// combination with other vulnerabilities to gain direct access and
// the ability to execute arbitrary code, exfiltrate data, and otherwise
// gain additional access and privileges to cloud resources and workloads.
// An example is a database with weak or no passwords that is only
// accessible internally. This database could easily be compromised by an
// actor that had access to the internal network.
//
// A high-risk threat is a threat that can create new computational
// resources in an environment but can't access data or execute code in
// existing resources.
Severity_HIGH Severity = 2
// A medium-risk vulnerability can be used by an actor to gain access to
// resources or privileges that enable them to eventually (through multiple
// steps or a complex exploit) gain access and the ability to execute
// arbitrary code or exfiltrate data. An example is a service account with
// access to more projects than it should have. If an actor gains access to
// the service account, they could potentially use that access to manipulate
// a project the service account was not intended to.
//
// A medium-risk threat can cause operational impact but might not
// access data or execute unauthorized code.
Severity_MEDIUM Severity = 3
// A low-risk vulnerability hampers a security organization's ability to
// detect vulnerabilities or active threats in their deployment, or prevents
// the root cause investigation of security issues. An example is monitoring
// and logs being disabled for resource configurations and access.
//
// A low-risk threat is a threat that has obtained minimal access to an
// environment but can't access data, execute code, or create resources.
Severity_LOW Severity = 4
)func (Severity) Descriptor
func (Severity) Descriptor() protoreflect.EnumDescriptorfunc (Severity) Enum
func (Severity) EnumDescriptor
Deprecated: Use Severity.Descriptor instead.
func (Severity) Number
func (x Severity) Number() protoreflect.EnumNumberfunc (Severity) String
func (Severity) Type
func (Severity) Type() protoreflect.EnumTypeSimilarControls
type SimilarControls struct {
// The name of the framework.
Framework string `protobuf:"bytes,1,opt,name=framework,proto3" json:"framework,omitempty"`
// The ID of the control.
ControlId string `protobuf:"bytes,2,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"`
// contains filtered or unexported fields
}The similar controls.
func (*SimilarControls) Descriptor
func (*SimilarControls) Descriptor() ([]byte, []int)Deprecated: Use SimilarControls.ProtoReflect.Descriptor instead.
func (*SimilarControls) GetControlId
func (x *SimilarControls) GetControlId() stringfunc (*SimilarControls) GetFramework
func (x *SimilarControls) GetFramework() stringfunc (*SimilarControls) ProtoMessage
func (*SimilarControls) ProtoMessage()func (*SimilarControls) ProtoReflect
func (x *SimilarControls) ProtoReflect() protoreflect.Messagefunc (*SimilarControls) Reset
func (x *SimilarControls) Reset()func (*SimilarControls) String
func (x *SimilarControls) String() stringStringList
type StringList struct {
// Required. The strings in the list.
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}A list of strings for the parameter value.
func (*StringList) Descriptor
func (*StringList) Descriptor() ([]byte, []int)Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetValues
func (x *StringList) GetValues() []stringfunc (*StringList) ProtoMessage
func (*StringList) ProtoMessage()func (*StringList) ProtoReflect
func (x *StringList) ProtoReflect() protoreflect.Messagefunc (*StringList) Reset
func (x *StringList) Reset()func (*StringList) String
func (x *StringList) String() stringTargetResourceConfig
type TargetResourceConfig struct {
// The resource configuration for the target resource.
//
// Types that are valid to be assigned to ResourceConfig:
//
// *TargetResourceConfig_ExistingTargetResource
// *TargetResourceConfig_TargetResourceCreationConfig
ResourceConfig isTargetResourceConfig_ResourceConfig `protobuf_oneof:"resource_config"`
// contains filtered or unexported fields
}The name of the target resource or the configuration that's required to create a new target resource.
func (*TargetResourceConfig) Descriptor
func (*TargetResourceConfig) Descriptor() ([]byte, []int)Deprecated: Use TargetResourceConfig.ProtoReflect.Descriptor instead.
func (*TargetResourceConfig) GetExistingTargetResource
func (x *TargetResourceConfig) GetExistingTargetResource() stringfunc (*TargetResourceConfig) GetResourceConfig
func (x *TargetResourceConfig) GetResourceConfig() isTargetResourceConfig_ResourceConfigfunc (*TargetResourceConfig) GetTargetResourceCreationConfig
func (x *TargetResourceConfig) GetTargetResourceCreationConfig() *TargetResourceCreationConfigfunc (*TargetResourceConfig) ProtoMessage
func (*TargetResourceConfig) ProtoMessage()func (*TargetResourceConfig) ProtoReflect
func (x *TargetResourceConfig) ProtoReflect() protoreflect.Messagefunc (*TargetResourceConfig) Reset
func (x *TargetResourceConfig) Reset()func (*TargetResourceConfig) String
func (x *TargetResourceConfig) String() stringTargetResourceConfig_ExistingTargetResource
type TargetResourceConfig_ExistingTargetResource struct {
// Optional. The resource hierarchy node, in one of the following formats:
//
// - `organizations/{organizationID}`
// - `folders/{folderID}`
// - `projects/{projectID}`
ExistingTargetResource string `protobuf:"bytes,1,opt,name=existing_target_resource,json=existingTargetResource,proto3,oneof"`
}TargetResourceConfig_TargetResourceCreationConfig
type TargetResourceConfig_TargetResourceCreationConfig struct {
// Optional. The details that are required to create a resource and use
// that resource as the target resource for deployment.
TargetResourceCreationConfig *TargetResourceCreationConfig `protobuf:"bytes,2,opt,name=target_resource_creation_config,json=targetResourceCreationConfig,proto3,oneof"`
}TargetResourceCreationConfig
type TargetResourceCreationConfig struct {
// The configuration that's required to create the target resource.
//
// Types that are valid to be assigned to ResourceCreationConfig:
//
// *TargetResourceCreationConfig_FolderCreationConfig
// *TargetResourceCreationConfig_ProjectCreationConfig
ResourceCreationConfig isTargetResourceCreationConfig_ResourceCreationConfig `protobuf_oneof:"resource_creation_config"`
// contains filtered or unexported fields
}The configuration that's required to create a target resource.
func (*TargetResourceCreationConfig) Descriptor
func (*TargetResourceCreationConfig) Descriptor() ([]byte, []int)Deprecated: Use TargetResourceCreationConfig.ProtoReflect.Descriptor instead.
func (*TargetResourceCreationConfig) GetFolderCreationConfig
func (x *TargetResourceCreationConfig) GetFolderCreationConfig() *FolderCreationConfigfunc (*TargetResourceCreationConfig) GetProjectCreationConfig
func (x *TargetResourceCreationConfig) GetProjectCreationConfig() *ProjectCreationConfigfunc (*TargetResourceCreationConfig) GetResourceCreationConfig
func (x *TargetResourceCreationConfig) GetResourceCreationConfig() isTargetResourceCreationConfig_ResourceCreationConfigfunc (*TargetResourceCreationConfig) ProtoMessage
func (*TargetResourceCreationConfig) ProtoMessage()func (*TargetResourceCreationConfig) ProtoReflect
func (x *TargetResourceCreationConfig) ProtoReflect() protoreflect.Messagefunc (*TargetResourceCreationConfig) Reset
func (x *TargetResourceCreationConfig) Reset()func (*TargetResourceCreationConfig) String
func (x *TargetResourceCreationConfig) String() stringTargetResourceCreationConfig_FolderCreationConfig
type TargetResourceCreationConfig_FolderCreationConfig struct {
// Optional. The configuration that's required to create a folder.
FolderCreationConfig *FolderCreationConfig `protobuf:"bytes,1,opt,name=folder_creation_config,json=folderCreationConfig,proto3,oneof"`
}TargetResourceCreationConfig_ProjectCreationConfig
type TargetResourceCreationConfig_ProjectCreationConfig struct {
// Optional. The configuration that's required to create a project.
ProjectCreationConfig *ProjectCreationConfig `protobuf:"bytes,2,opt,name=project_creation_config,json=projectCreationConfig,proto3,oneof"`
}TargetResourceDetails
type TargetResourceDetails struct {
// The framework deployment name for the target resource.
//
// For example,
// `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}`
FrameworkDeployment string `protobuf:"bytes,1,opt,name=framework_deployment,json=frameworkDeployment,proto3" json:"framework_deployment,omitempty"`
// The display name of the target resource. For example, `google.com`,
// `staging-project`, or `development-folder`.
TargetResourceDisplayName string `protobuf:"bytes,2,opt,name=target_resource_display_name,json=targetResourceDisplayName,proto3" json:"target_resource_display_name,omitempty"`
// The target resource. For example, `organizations/1234567890`,
// `projects/1234567890`, or `folders/1234567890`.
TargetResource string `protobuf:"bytes,3,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
// The create time of the target resource.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The update time of the target resource.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The major revision ID of the framework for the target resource.
MajorRevisionId int64 `protobuf:"varint,6,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// The minor revision ID of the framework for the target resource.
MinorRevisionId int64 `protobuf:"varint,7,opt,name=minor_revision_id,json=minorRevisionId,proto3" json:"minor_revision_id,omitempty"`
// contains filtered or unexported fields
}The details for a target resource.
func (*TargetResourceDetails) Descriptor
func (*TargetResourceDetails) Descriptor() ([]byte, []int)Deprecated: Use TargetResourceDetails.ProtoReflect.Descriptor instead.
func (*TargetResourceDetails) GetCreateTime
func (x *TargetResourceDetails) GetCreateTime() *timestamppb.Timestampfunc (*TargetResourceDetails) GetFrameworkDeployment
func (x *TargetResourceDetails) GetFrameworkDeployment() stringfunc (*TargetResourceDetails) GetMajorRevisionId
func (x *TargetResourceDetails) GetMajorRevisionId() int64func (*TargetResourceDetails) GetMinorRevisionId
func (x *TargetResourceDetails) GetMinorRevisionId() int64func (*TargetResourceDetails) GetTargetResource
func (x *TargetResourceDetails) GetTargetResource() stringfunc (*TargetResourceDetails) GetTargetResourceDisplayName
func (x *TargetResourceDetails) GetTargetResourceDisplayName() stringfunc (*TargetResourceDetails) GetUpdateTime
func (x *TargetResourceDetails) GetUpdateTime() *timestamppb.Timestampfunc (*TargetResourceDetails) ProtoMessage
func (*TargetResourceDetails) ProtoMessage()func (*TargetResourceDetails) ProtoReflect
func (x *TargetResourceDetails) ProtoReflect() protoreflect.Messagefunc (*TargetResourceDetails) Reset
func (x *TargetResourceDetails) Reset()func (*TargetResourceDetails) String
func (x *TargetResourceDetails) String() stringTargetResourceType
type TargetResourceType int32The type of resource that a control or framework can be applied to.
TargetResourceType_TARGET_RESOURCE_TYPE_UNSPECIFIED, TargetResourceType_TARGET_RESOURCE_CRM_TYPE_ORG, TargetResourceType_TARGET_RESOURCE_CRM_TYPE_FOLDER, TargetResourceType_TARGET_RESOURCE_CRM_TYPE_PROJECT, TargetResourceType_TARGET_RESOURCE_TYPE_APPLICATION
const (
// Default value. This value is unused.
TargetResourceType_TARGET_RESOURCE_TYPE_UNSPECIFIED TargetResourceType = 0
// The target resource is a Google Cloud organization.
TargetResourceType_TARGET_RESOURCE_CRM_TYPE_ORG TargetResourceType = 1
// The target resource is a folder.
TargetResourceType_TARGET_RESOURCE_CRM_TYPE_FOLDER TargetResourceType = 2
// The target resource is a project.
TargetResourceType_TARGET_RESOURCE_CRM_TYPE_PROJECT TargetResourceType = 3
// The target resource is an application in App Hub.
TargetResourceType_TARGET_RESOURCE_TYPE_APPLICATION TargetResourceType = 4
)func (TargetResourceType) Descriptor
func (TargetResourceType) Descriptor() protoreflect.EnumDescriptorfunc (TargetResourceType) Enum
func (x TargetResourceType) Enum() *TargetResourceTypefunc (TargetResourceType) EnumDescriptor
func (TargetResourceType) EnumDescriptor() ([]byte, []int)Deprecated: Use TargetResourceType.Descriptor instead.
func (TargetResourceType) Number
func (x TargetResourceType) Number() protoreflect.EnumNumberfunc (TargetResourceType) String
func (x TargetResourceType) String() stringfunc (TargetResourceType) Type
func (TargetResourceType) Type() protoreflect.EnumTypeTrend
type Trend struct {
// Output only. The duration for the trend.
Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
// Output only. The trend value as a percentage. The value can be positive or
// negative.
ValuePercent float64 `protobuf:"fixed64,2,opt,name=value_percent,json=valuePercent,proto3" json:"value_percent,omitempty"`
// contains filtered or unexported fields
}The trend of a compliance metric.
func (*Trend) Descriptor
Deprecated: Use Trend.ProtoReflect.Descriptor instead.
func (*Trend) GetDuration
func (x *Trend) GetDuration() *durationpb.Durationfunc (*Trend) GetValuePercent
func (*Trend) ProtoMessage
func (*Trend) ProtoMessage()func (*Trend) ProtoReflect
func (x *Trend) ProtoReflect() protoreflect.Messagefunc (*Trend) Reset
func (x *Trend) Reset()func (*Trend) String
UnimplementedAuditServer
type UnimplementedAuditServer struct {
}UnimplementedAuditServer should be embedded to have forward compatible implementations.
func (UnimplementedAuditServer) CreateFrameworkAudit
func (UnimplementedAuditServer) CreateFrameworkAudit(context.Context, *CreateFrameworkAuditRequest) (*longrunningpb.Operation, error)func (UnimplementedAuditServer) GenerateFrameworkAuditScopeReport
func (UnimplementedAuditServer) GenerateFrameworkAuditScopeReport(context.Context, *GenerateFrameworkAuditScopeReportRequest) (*GenerateFrameworkAuditScopeReportResponse, error)func (UnimplementedAuditServer) GetFrameworkAudit
func (UnimplementedAuditServer) GetFrameworkAudit(context.Context, *GetFrameworkAuditRequest) (*FrameworkAudit, error)func (UnimplementedAuditServer) ListFrameworkAudits
func (UnimplementedAuditServer) ListFrameworkAudits(context.Context, *ListFrameworkAuditsRequest) (*ListFrameworkAuditsResponse, error)UnimplementedCmEnrollmentServiceServer
type UnimplementedCmEnrollmentServiceServer struct {
}UnimplementedCmEnrollmentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCmEnrollmentServiceServer) CalculateEffectiveCmEnrollment
func (UnimplementedCmEnrollmentServiceServer) CalculateEffectiveCmEnrollment(context.Context, *CalculateEffectiveCmEnrollmentRequest) (*CalculateEffectiveCmEnrollmentResponse, error)func (UnimplementedCmEnrollmentServiceServer) UpdateCmEnrollment
func (UnimplementedCmEnrollmentServiceServer) UpdateCmEnrollment(context.Context, *UpdateCmEnrollmentRequest) (*CmEnrollment, error)UnimplementedConfigServer
type UnimplementedConfigServer struct {
}UnimplementedConfigServer should be embedded to have forward compatible implementations.
func (UnimplementedConfigServer) CreateCloudControl
func (UnimplementedConfigServer) CreateCloudControl(context.Context, *CreateCloudControlRequest) (*CloudControl, error)func (UnimplementedConfigServer) CreateFramework
func (UnimplementedConfigServer) CreateFramework(context.Context, *CreateFrameworkRequest) (*Framework, error)func (UnimplementedConfigServer) DeleteCloudControl
func (UnimplementedConfigServer) DeleteCloudControl(context.Context, *DeleteCloudControlRequest) (*emptypb.Empty, error)func (UnimplementedConfigServer) DeleteFramework
func (UnimplementedConfigServer) DeleteFramework(context.Context, *DeleteFrameworkRequest) (*emptypb.Empty, error)func (UnimplementedConfigServer) GetCloudControl
func (UnimplementedConfigServer) GetCloudControl(context.Context, *GetCloudControlRequest) (*CloudControl, error)func (UnimplementedConfigServer) GetFramework
func (UnimplementedConfigServer) GetFramework(context.Context, *GetFrameworkRequest) (*Framework, error)func (UnimplementedConfigServer) ListCloudControls
func (UnimplementedConfigServer) ListCloudControls(context.Context, *ListCloudControlsRequest) (*ListCloudControlsResponse, error)func (UnimplementedConfigServer) ListFrameworks
func (UnimplementedConfigServer) ListFrameworks(context.Context, *ListFrameworksRequest) (*ListFrameworksResponse, error)func (UnimplementedConfigServer) UpdateCloudControl
func (UnimplementedConfigServer) UpdateCloudControl(context.Context, *UpdateCloudControlRequest) (*CloudControl, error)func (UnimplementedConfigServer) UpdateFramework
func (UnimplementedConfigServer) UpdateFramework(context.Context, *UpdateFrameworkRequest) (*Framework, error)UnimplementedDeploymentServer
type UnimplementedDeploymentServer struct {
}UnimplementedDeploymentServer should be embedded to have forward compatible implementations.
func (UnimplementedDeploymentServer) CreateFrameworkDeployment
func (UnimplementedDeploymentServer) CreateFrameworkDeployment(context.Context, *CreateFrameworkDeploymentRequest) (*longrunningpb.Operation, error)func (UnimplementedDeploymentServer) DeleteFrameworkDeployment
func (UnimplementedDeploymentServer) DeleteFrameworkDeployment(context.Context, *DeleteFrameworkDeploymentRequest) (*longrunningpb.Operation, error)func (UnimplementedDeploymentServer) GetCloudControlDeployment
func (UnimplementedDeploymentServer) GetCloudControlDeployment(context.Context, *GetCloudControlDeploymentRequest) (*CloudControlDeployment, error)func (UnimplementedDeploymentServer) GetFrameworkDeployment
func (UnimplementedDeploymentServer) GetFrameworkDeployment(context.Context, *GetFrameworkDeploymentRequest) (*FrameworkDeployment, error)func (UnimplementedDeploymentServer) ListCloudControlDeployments
func (UnimplementedDeploymentServer) ListCloudControlDeployments(context.Context, *ListCloudControlDeploymentsRequest) (*ListCloudControlDeploymentsResponse, error)func (UnimplementedDeploymentServer) ListFrameworkDeployments
func (UnimplementedDeploymentServer) ListFrameworkDeployments(context.Context, *ListFrameworkDeploymentsRequest) (*ListFrameworkDeploymentsResponse, error)UnimplementedMonitoringServer
type UnimplementedMonitoringServer struct {
}UnimplementedMonitoringServer should be embedded to have forward compatible implementations.
func (UnimplementedMonitoringServer) AggregateFrameworkComplianceReport
func (UnimplementedMonitoringServer) AggregateFrameworkComplianceReport(context.Context, *AggregateFrameworkComplianceReportRequest) (*AggregateFrameworkComplianceReportResponse, error)func (UnimplementedMonitoringServer) FetchFrameworkComplianceReport
func (UnimplementedMonitoringServer) FetchFrameworkComplianceReport(context.Context, *FetchFrameworkComplianceReportRequest) (*FrameworkComplianceReport, error)func (UnimplementedMonitoringServer) ListControlComplianceSummaries
func (UnimplementedMonitoringServer) ListControlComplianceSummaries(context.Context, *ListControlComplianceSummariesRequest) (*ListControlComplianceSummariesResponse, error)func (UnimplementedMonitoringServer) ListFindingSummaries
func (UnimplementedMonitoringServer) ListFindingSummaries(context.Context, *ListFindingSummariesRequest) (*ListFindingSummariesResponse, error)func (UnimplementedMonitoringServer) ListFrameworkComplianceSummaries
func (UnimplementedMonitoringServer) ListFrameworkComplianceSummaries(context.Context, *ListFrameworkComplianceSummariesRequest) (*ListFrameworkComplianceSummariesResponse, error)UnsafeAuditServer
type UnsafeAuditServer interface {
// contains filtered or unexported methods
}UnsafeAuditServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuditServer will result in compilation errors.
UnsafeCmEnrollmentServiceServer
type UnsafeCmEnrollmentServiceServer interface {
// contains filtered or unexported methods
}UnsafeCmEnrollmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CmEnrollmentServiceServer will result in compilation errors.
UnsafeConfigServer
type UnsafeConfigServer interface {
// contains filtered or unexported methods
}UnsafeConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServer will result in compilation errors.
UnsafeDeploymentServer
type UnsafeDeploymentServer interface {
// contains filtered or unexported methods
}UnsafeDeploymentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentServer will result in compilation errors.
UnsafeMonitoringServer
type UnsafeMonitoringServer interface {
// contains filtered or unexported methods
}UnsafeMonitoringServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MonitoringServer will result in compilation errors.
UpdateCloudControlRequest
type UpdateCloudControlRequest struct {
// Optional. Use a field mask to specify the fields to be overwritten in the
// cloud control during the update.
// The fields that you specify in the `update_mask` are relative to the
// cloud control, not the full request. A field is overwritten if it is in
// the mask. If you don't provide a mask, all fields in the request
// are updated.
//
// You can update the following fields:
//
// - Display name
// - Description
// - Parameters
// - Rules
// - Parameter specification
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The cloud control that you're updating.
CloudControl *CloudControl `protobuf:"bytes,2,opt,name=cloud_control,json=cloudControl,proto3" json:"cloud_control,omitempty"`
// contains filtered or unexported fields
}The request message for [UpdateCloudControl][].
func (*UpdateCloudControlRequest) Descriptor
func (*UpdateCloudControlRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateCloudControlRequest.ProtoReflect.Descriptor instead.
func (*UpdateCloudControlRequest) GetCloudControl
func (x *UpdateCloudControlRequest) GetCloudControl() *CloudControlfunc (*UpdateCloudControlRequest) GetUpdateMask
func (x *UpdateCloudControlRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateCloudControlRequest) ProtoMessage
func (*UpdateCloudControlRequest) ProtoMessage()func (*UpdateCloudControlRequest) ProtoReflect
func (x *UpdateCloudControlRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateCloudControlRequest) Reset
func (x *UpdateCloudControlRequest) Reset()func (*UpdateCloudControlRequest) String
func (x *UpdateCloudControlRequest) String() stringUpdateCmEnrollmentRequest
type UpdateCmEnrollmentRequest struct {
// Required. The Compliance Manager enrollment to update.
// The `name` field is used to identify the settings that you want to update.
CmEnrollment *CmEnrollment `protobuf:"bytes,1,opt,name=cm_enrollment,json=cmEnrollment,proto3" json:"cm_enrollment,omitempty"`
// Optional. The list of fields that you want to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [UpdateCmEnrollment][].
func (*UpdateCmEnrollmentRequest) Descriptor
func (*UpdateCmEnrollmentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateCmEnrollmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateCmEnrollmentRequest) GetCmEnrollment
func (x *UpdateCmEnrollmentRequest) GetCmEnrollment() *CmEnrollmentfunc (*UpdateCmEnrollmentRequest) GetUpdateMask
func (x *UpdateCmEnrollmentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateCmEnrollmentRequest) ProtoMessage
func (*UpdateCmEnrollmentRequest) ProtoMessage()func (*UpdateCmEnrollmentRequest) ProtoReflect
func (x *UpdateCmEnrollmentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateCmEnrollmentRequest) Reset
func (x *UpdateCmEnrollmentRequest) Reset()func (*UpdateCmEnrollmentRequest) String
func (x *UpdateCmEnrollmentRequest) String() stringUpdateFrameworkRequest
type UpdateFrameworkRequest struct {
// Optional. A field mask is used to specify the fields to be overwritten in
// the framework resource by the update. The fields specified in the
// `update_mask` are relative to the resource, not the full request. A field
// is overwritten if it is in the mask. If you don't provide a mask then all
// fields present in the request will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource that is being updated.
Framework *Framework `protobuf:"bytes,2,opt,name=framework,proto3" json:"framework,omitempty"`
// Optional. The major version ID of the framework to update.
MajorRevisionId int64 `protobuf:"varint,3,opt,name=major_revision_id,json=majorRevisionId,proto3" json:"major_revision_id,omitempty"`
// contains filtered or unexported fields
}The request message for [UpdateFramework][].
func (*UpdateFrameworkRequest) Descriptor
func (*UpdateFrameworkRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateFrameworkRequest.ProtoReflect.Descriptor instead.
func (*UpdateFrameworkRequest) GetFramework
func (x *UpdateFrameworkRequest) GetFramework() *Frameworkfunc (*UpdateFrameworkRequest) GetMajorRevisionId
func (x *UpdateFrameworkRequest) GetMajorRevisionId() int64func (*UpdateFrameworkRequest) GetUpdateMask
func (x *UpdateFrameworkRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateFrameworkRequest) ProtoMessage
func (*UpdateFrameworkRequest) ProtoMessage()func (*UpdateFrameworkRequest) ProtoReflect
func (x *UpdateFrameworkRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateFrameworkRequest) Reset
func (x *UpdateFrameworkRequest) Reset()func (*UpdateFrameworkRequest) String
func (x *UpdateFrameworkRequest) String() stringValidation
type Validation struct {
// Defines validators for parameter values.
//
// Types that are valid to be assigned to Constraint:
//
// *Validation_AllowedValues
// *Validation_IntRange
// *Validation_RegexpPattern
Constraint isValidation_Constraint `protobuf_oneof:"constraint"`
// contains filtered or unexported fields
}The validation of the parameter.
func (*Validation) Descriptor
func (*Validation) Descriptor() ([]byte, []int)Deprecated: Use Validation.ProtoReflect.Descriptor instead.
func (*Validation) GetAllowedValues
func (x *Validation) GetAllowedValues() *AllowedValuesfunc (*Validation) GetConstraint
func (x *Validation) GetConstraint() isValidation_Constraintfunc (*Validation) GetIntRange
func (x *Validation) GetIntRange() *IntRangefunc (*Validation) GetRegexpPattern
func (x *Validation) GetRegexpPattern() *RegexpPatternfunc (*Validation) ProtoMessage
func (*Validation) ProtoMessage()func (*Validation) ProtoReflect
func (x *Validation) ProtoReflect() protoreflect.Messagefunc (*Validation) Reset
func (x *Validation) Reset()func (*Validation) String
func (x *Validation) String() stringValidation_AllowedValues
type Validation_AllowedValues struct {
// The permitted set of values for the parameter.
AllowedValues *AllowedValues `protobuf:"bytes,1,opt,name=allowed_values,json=allowedValues,proto3,oneof"`
}Validation_IntRange
type Validation_IntRange struct {
// The permitted range for numeric parameters.
IntRange *IntRange `protobuf:"bytes,2,opt,name=int_range,json=intRange,proto3,oneof"`
}Validation_RegexpPattern
type Validation_RegexpPattern struct {
// The regular expression for string parameters.
RegexpPattern *RegexpPattern `protobuf:"bytes,3,opt,name=regexp_pattern,json=regexpPattern,proto3,oneof"`
}