Hello,
Currenlty I am triggering scan with ( https://<host_ip>/api/3/sites/<side_id>/scans ) with hostname or ip in payload.
I am trying to trigger site scan with selected engine. any help would be appreciated.
Thanks.
Hello,
Currenlty I am triggering scan with ( https://<host_ip>/api/3/sites/<side_id>/scans ) with hostname or ip in payload.
I am trying to trigger site scan with selected engine. any help would be appreciated.
Thanks.
Hi,
https://help.rapid7.com/insightvm/en-us/api/index.html#tag/Scan/operation/startScan
you need to include engine id in the payload:
{
"assetGroupIds": [
61
],
"engineId": 0,
"hosts": [
"string"
],
"name": "string",
"templateId": "string"
}
you can get scan engine ids from api :https://[console address]/api/3/scan_engines
or via the admin page, → scan engines