Initiate a Config Upload
POST/posture/checks/v1/reports/config-file-upload
Generates a tracking ID and a presigned GCS URL for file upload using device metadata.
Using the Signed URL
After receiving the upload_url in the response, upload your config file using a PUT request:
curl -X PUT "<upload_url>" \
-H "Content-Type: text/plain" \
-H "Content-Encoding: gzip" \
--data-binary @/path/to/your/config.xml
Required headers:
Content-Type: text/plainContent-Encoding: gzip
Request
Responses
- 201
- 400
- 429
- 500
Successfully initiated config upload.
Response Headers
Location
URI of the created task resource.
Bad request - missing required header or invalid request body.
Too many requests - maximum limit of 5 active jobs reached.
Internal server error.