Run Snapshot Scan
Run a snapshot scan on all the registered target accounts.
Sample 1 - Run Snapshot ScanSample 1 - Run Snapshot Scan
API request
curl -X 'GET' \'https://gateway.xxx.xxx.xxxxx.qualys.com/conn/snapshot/v1.0/register-scanner-run' \ -H 'accept: application/json' \ -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXX'
Response
{
{
"targetAccounts": [
{
"awsAccountId": "95xxxxxxxx75",
"connectorId": "xxxxxxx"
}
],
"amis": {
"ap-northeast-1": "ami-06xxxxxxxxxxxxa3",
"ap-northeast-2": "ami-05xxxxxxxxxxxx26",
"ap-northeast-3": "ami-07xxxxxxxxxxxxe7",
"ap-south-1": "ami-05xxxxxxxxxxxx02",
"ap-southeast-1": "ami-09xxxxxxxxxxxxf5"
}
}
|
Code |
Message |
|---|---|
|
200 |
OK |
|
401 |
Invalid customer or back office entry not exists. |
|
404 |
Service account not found |
|
429 |
Too many requests |