Connectors
...
Actions
Run Antivirus Scan
6 min
description initiates a microsoft defender antivirus scan on an entity using machine id with options to customize the comment and scan type endpoint url /api/machines/{{id}}/runantivirusscan method post inputs path parameters (object) – required id (string) – required json body (object) – required comment (string) – required comment to associate with the action scantype (string) – required defines the type of the scan possible values are quick or full quick perform quick scan on the device full perform full scan on the device output example \[ { "status code" 201, "response headers" { "date" "fri, 13 dec 2024 07 45 13 gmt", "content type" "application/json; odata metadata=minimal; odata streaming=true; charset=utf 8", "transfer encoding" "chunked", "connection" "keep alive", "content encoding" "deflate", "vary" "accept encoding", "odata version" "4 0", "strict transport security" "max age=31536000; includesubdomains" }, "reason" "ok", "json body" { "id" "5382f7ea 7557 4ab7 9782 d50480024a4e", "type" "isolate", "scope" "selective", "requestor" "analyst\@testprd onmicrosoft com", "requestorcomment" "test for docs", "status" "succeeded", "machineid" "7b1f4967d9728e5aa3c06a9e617a22a4a5a17378", "computerdnsname" "desktop test", "creationdatetimeutc" "2019 01 02t14 39 38 2262283z", "lastupdatedatetimeutc" "2019 01 02t14 40 44 6596267z", "relatedfileinfo" null } } ] output parameters status code (number) reason (string) json body (object) id (string) type (string) scope (string) requestor (string) requestorcomment (string) status (string) machineid (string) computerdnsname (string) creationdatetimeutc (string) lastupdatedatetimeutc (string) relatedfileinfo (object) response headers header type date string content type string transfer encoding string connection string content encoding string vary string odata version string strict transport security string