URL
GET https://{api-url}/api/v2/tenants/{tenantId}/policies/discovery/action/scan/{discoveryProfileId}
Sample URLs
For AWS:
https://{api-url}/api/v2/tenants/client_105261/policies/discovery/action/scan/110
https://{api-url}/api/v2/tenants/msp_526/policies/discovery/action/scan/210
For Azure:
https://{api-url}/api/v2/tenants/client_105261/policies/discovery/action/scan/110
https://{api-url}/api/v2/tenants/msp_521/policies/discovery/action/scan/90
For Google:
https://{api-url}/api/v2/tenants/client_105261/policies/discovery/action/scan/110
https://{api-url}/api/v2/tenants/msp_587/policies/discovery/action/scan/345
Parameters
This field is mandatory:
Field | Data Type | Description |
---|---|---|
discoveryProfileId | Integer | The discovery profile Id. |
Status code
200 OK
Sample response
For AWS, Azure, and Google:
{
"status": 200,
"entity": "Request to scan the discoveryprofile has been initiated",
"metadata": {},
"cookies": {},
"allowedMethods": [],
"links": [],
"statusInfo": {
"reasonPhrase": "OK",
"statusCode": 200,
"family": "SUCCESSFUL"
},
"actualEntity": "Request to scan the discoveryprofile has been initiated",
"stringHeaders": {},
"headers": {},
"length": -1
}