Skip to main content

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/plain
  • Content-Encoding: gzip

Request

Responses

Successfully initiated config upload.

Response Headers
    Location

    URI of the created task resource.