Skip to main content

Initiate a Configuration Upload

POST 

/posture/checks/v1/reports/config-file-upload

Generates a tracking Identifier and a presigned GCS Uniform Resource Locator for file upload using device metadata.

Using the Signed Uniform Resource Locator

After receiving the upload_url in the response, upload your Configuration file using a PUT request:

curl -X PUT "<upload_url>" \
-H "Content-Type: plain/text" \
-H "Content-Encoding: gzip" \
--data-binary @/path/to/your/Configuration.xml

Required headers:

  • Content-Type: plain/text
  • Content-Encoding: gzip.

Request

Responses

Successfully initiated config upload.

Response Headers
    Location

    URI of the created task resource.