v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13134345498.3 KB
organizations

Create a security monitoring condition.

post/v1/{+parent}/securityMonitoringConditions

Path parameters

parentstring required

Required. The parent resource name. Format: organizations/{org}

Query parameters

securityMonitoringConditionIdstring

Optional. Optional: The security monitoring condition id. If not specified, a monitoring condition uuid will be generated by the backend. This value should be 4-63 characters, and valid characters are /a-z-/.

Request body

profilestring

Required. ID of security profile of the security monitoring condition.

namestring

Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}

totalDeployedResourcesinteger

Output only. Total number of deployed resources within scope.

totalMonitoredResourcesinteger

Output only. Total number of monitored resources within this condition.

apiHubGatewaystring

Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}

updateTimestring google-datetime

Output only. The time of the security monitoring condition update.

scopestring

Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.

createTimestring google-datetime

Output only. The time of the security monitoring condition creation.

riskAssessmentType'RISK_ASSESSMENT_TYPE_UNSPECIFIED' | 'APIGEE' | 'API_HUB'

Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.

includeAllResourcesGoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll

Message for include_all_resources option.

Response

Successful response