Submit a query at host level to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the state of "enqueued" means that the request succeeded.
HTTP request
POST https://apigee.googleapis.com/v1/{parent=organizations/*}/hostSecurityReports
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[[["This API allows users to submit a query at the host level, which will be processed in the background."],["A successful query submission returns a 201 status code along with an ID, and a state of \"enqueued\", indicating that the request was successful."],["The API endpoint for submitting a query is a `POST` request to `https://apigee.googleapis.com/v1/{parent=organizations/*}/hostSecurityReports`, utilizing gRPC Transcoding syntax."],["Authorization to use the API requires the `apigee.hostsecurityreports.create` IAM permission on the `parent` resource and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["The request body should contain an instance of `SecurityReportQuery`, and upon success, the response body will include a newly created instance of `SecurityReport`."]]],[]]