Note
We’ve renamed Microsoft Cloud App Security. It’s now called Microsoft Defender for Cloud Apps. In the coming weeks, we’ll update the screenshots and instructions here and in related pages. For more information about the change, see this announcement. To learn more about the recent renaming of Microsoft security services, see the Microsoft Ignite Security blog.
After the file content upload successfully completes, notify us in order to begin the processing of the file.
HTTP request
POST /api/v1/discovery/done_upload/
Request BODY parameters
Parameter | Description |
---|---|
uploadUrl | The URL that was returned in the initial call requesting file upload. |
inputStreamName | The name of the data source from which data is coming in (represents the device). |
uploadAsSnapshot | Upload the data as a snapshot report instead of uploading to a continuous report. If this parameter is set, then the report will be created with the name specified in inputStreamName. |
Example
Request
Here is an example of the request.
curl -XPOST -H "Authorization:Token <your_token_key>" "https://<tenant_id>.<tenant_region>.contoso.com/api/v1/discovery/done_upload/" -d "uploadUrl=<initiate_file_upload_response_url>"
If you run into any problems, we’re here to help. To get assistance or support for your product issue, please open a support ticket.