Connectors
...
Actions
Scan Retest
6 min
description launches a retest scan based on the provided base scan identifier endpoint url /api/1 0/scans/retest method post inputs json body (object) – required agentname (string) basescanid (string) – required output example \[ { "status code" 201, "response headers" { "date" "thu, 28 mar 2024 09 53 50 gmt", "content type" "application/json; charset=utf 8", "content length" "3369", "connection" "keep alive", "cache control" "no cache", "pragma" "no cache", "expires" " 1", "x content type options" "nosniff", "x frame options" "deny", "referrer policy" "no referrer", "x xss protection" "1; mode=block", "origin trial" "au1hlo38hdou0c5ahko3bugr8p9kt881bvrccp4vesne1hv+b1xx/mzhfznp/tww4+bpblko9h3fokvwcxzdsqaaaabieyjvcmlnaw4ioijodhrwczovl3d3dy5uzxrzcgfya2vyy2xvdwquy29tojq0myisimzlyxr1cmuioijvmkztzwn1cml0eutleufqssisimv4cglyesi6mty1odg3otk5ox0=", "strict transport security" "max age=31536000; includesubdomains; preload", "expect ct" "max age=30,report uri=\\"https //www netsparkercloud com/report ct/\\"" }, "reason" "created", "json body" { "additionalwebsites" null, "agentid" null, "agentname" null, "cookies" null, "crawlandattack" true, "deletedon" null, "enableheuristicchecksincustomurlrewrite" true, "excludedlinks" "\[\\"gtm\\\\\\\\ js\\",\\"webresource\\\\\\\\ axd\\",\\"scriptresource\\\\\\\\ axd\\"]", "excludelinks" true, "disallowedhttpmethods" "\[]", "findandfollownewlinks" true, "importedlinks" null, "allimportedlinks" "", "desktopscanid" null, "initiatedtime" "28/03/2024 03 53 am", "initiateddate" "28/03/2024", "initiatedat" "2024 03 28t09 53 50 5351532+00 00", "maxdynamicsignatures" 60, "maxscanduration" 48, "duration" "00 00 00", "policydescription" "performs recommended security checks", "policyid" "b2018666 2a01 e411 976c 0a45dbb897e8", "policyuserid" "3f2e0a60 a5ec e311 80bc 000c29e428b5", "policyisdefault" true, "policyisshared" true, "policyname" "default security checks", "authenticationprofileid" null, "authenticationprofileoption" "dontuse", "reportpolicydescription" "default report policy ", "reportpolicyid" "013660af 56b7 4176 85be cf2b84966816", "reportpolicyuserid" "3f2e0a60 a5ec e311 80bc 000c29e428b5", "reportpolicyisdefault" true, "reportpolicyisshared" true, "reportpolicyname" "default report policy", "scope" "enteredpathandbelow", "subpathmaxdynamicsignatures" 30, "targetpath" "/", "targeturl" "http //php testinvicti com/", "targeturlroot" "http //php testinvicti com/", "timewindow" null, "totalvulnerabilitycount" 0, "urlrewriteanalyzableextensions" "htm,html", "urlrewriteblockseparators" "/$ ,;| ", "urlrewritemode" "heuristic", "urlrewriterules" null, "urlrewriteexcludedlinks" null, "userid" "7d85ab71 641d 4fed 096f b11404a17c3d", "vcscommitinfo" { "cibuildconfigurationname" null, "cibuildhaschange" null, "cibuildid" null, "cibuildservername" "", "cibuildserverversion" null, "cibuildurl" null, "cincpluginversion" null, "citimestamp" null, "comitterid" null, "committer" null, "committername" null, "committeroverride" null, "integrationsystem" null, "iscommiterexistandauthorizedinnc" null, "vcsname" null, "vcsversion" null }, "websitename" "sample", "websiteurl" "http //php testinvicti com/", "websitedescription" null, "websiteprotocol" "http", "websiteisdeleted" false, "iswebsitelatestcompletedfullscantask" false, "enablepciscantask" false, "pciscantask" null, "username" "greg sherman", "queuedscantaskexist" false, "scantaskprofileid" null, "scantaskprofile" null, "websitegroupids" \[ "dafa9879 4ce8 4e74 0973 b11404a17c78" ], "comments" null, "businesslogicrecordersetting" null, "scanprofilechanged" false, "completedsteps" 0, "estimatedlaunchtime" null, "estimatedsteps" 0, "failurereason" null, "failurereasondescription" null, "failurereasonstring" null, "globalthreatlevel" "unknown", "globalvulnerabilitycriticalcount" 0, "globalvulnerabilityhighcount" 0, "globalvulnerabilityinfocount" 0, "globalvulnerabilitybestpracticecount" 0, "globalvulnerabilitylowcount" 0, "globalvulnerabilitymediumcount" 0, "id" "af6d0ffd 529e 4056 b39f b141021fae74", "iscompleted" false, "percentage" 0, "phase" "pending", "scantaskgroupid" "9725ef27 50d8 4f96 e85f b13b04474c98", "scantype" "retest", "scheduledscanid" null, "state" "queued", "statechanged" null, "threatlevel" "unknown", "vulnerabilitycriticalcount" 0, "vulnerabilityhighcount" 0, "vulnerabilityinfocount" 0, "vulnerabilitybestpracticecount" 0, "vulnerabilitylowcount" 0, "vulnerabilitymediumcount" 0, "websiteid" "f3a1c84e bf9f 452d 1525 b11d048449cf", "initiated" "2024 03 28t09 53 50 5351532+00 00", "tags" \[] } } ] output parameters status code (number) reason (string) json body (object) additionalwebsites (object) agentid (object) agentname (object) cookies (object) crawlandattack (boolean) deletedon (object) enableheuristicchecksincustomurlrewrite (boolean) excludedlinks (string) excludelinks (boolean) disallowedhttpmethods (string) findandfollownewlinks (boolean) importedlinks (object) allimportedlinks (string) desktopscanid (object) initiatedtime (string) initiateddate (string) initiatedat (string) maxdynamicsignatures (number) maxscanduration (number) duration (string) policydescription (string) policyid (string) policyuserid (string) policyisdefault (boolean) policyisshared (boolean) policyname (string) authenticationprofileid (object) authenticationprofileoption (string) reportpolicydescription (string) reportpolicyid (string) reportpolicyuserid (string) reportpolicyisdefault (boolean) reportpolicyisshared (boolean) reportpolicyname (string) scope (string) subpathmaxdynamicsignatures (number) targetpath (string) targeturl (string) targeturlroot (string) timewindow (object) totalvulnerabilitycount (number) urlrewriteanalyzableextensions (string) urlrewriteblockseparators (string) urlrewritemode (string) urlrewriterules (object) urlrewriteexcludedlinks (object) userid (string) vcscommitinfo (object) cibuildconfigurationname (object) cibuildhaschange (object) cibuildid (object) cibuildservername (string) cibuildserverversion (object) cibuildurl (object) cincpluginversion (object) citimestamp (object) comitterid (object) committer (object) committername (object) committeroverride (object) integrationsystem (object) iscommiterexistandauthorizedinnc (object) vcsname (object) vcsversion (object) websitename (string) websiteurl (string) websitedescription (object) websiteprotocol (string) websiteisdeleted (boolean) iswebsitelatestcompletedfullscantask (boolean) enablepciscantask (boolean) pciscantask (object) username (string) queuedscantaskexist (boolean) scantaskprofileid (object) scantaskprofile (object) websitegroupids (array) comments (object) businesslogicrecordersetting (object) scanprofilechanged (boolean) completedsteps (number) estimatedlaunchtime (object) estimatedsteps (number) failurereason (object) failurereasondescription (object) failurereasonstring (object) globalthreatlevel (string) globalvulnerabilitycriticalcount (number) globalvulnerabilityhighcount (number) globalvulnerabilityinfocount (number) globalvulnerabilitybestpracticecount (number) globalvulnerabilitylowcount (number) globalvulnerabilitymediumcount (number) id (string) iscompleted (boolean) percentage (number) phase (string) scantaskgroupid (string) scantype (string) scheduledscanid (object) state (string) statechanged (object) threatlevel (string) vulnerabilitycriticalcount (number) vulnerabilityhighcount (number) vulnerabilityinfocount (number) vulnerabilitybestpracticecount (number) vulnerabilitylowcount (number) vulnerabilitymediumcount (number) websiteid (string) initiated (string) tags (array) file name (string) – required file (string) – required response headers header type date string content type string content length string connection string cache control string pragma string expires string x content type options string x frame options string referrer policy string x xss protection string origin trial string strict transport security string expect ct string