Scanners
Start corscanner scan
Initiate a Cross-Origin Resource Sharing misconfiguration scan
PUT
/
api
/
corscanner
/
scan
Authorization
Body
curl --request PUT \
--url https://api.novasec.io/api/corscanner/scan \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '{
"delay": 123,
"headers": "X-Header: test;; Cookies: SESS_ID=eyJ...",
"subdomainXScanId": "{subdomainXScanId}",
"targetId": "{targetId}",
"targetURL": "https://api.example.com",
"timeout": 7,
"vulnerabilityScanId": "{vulnerabilityScanId}"
}'
Authorizations
X-API-Key
string
headerrequiredBody
application/json
delay
integer
headers
string
subdomainXScanId
string
targetId
string
targetURL
string
timeout
integer
vulnerabilityScanId
string
curl --request PUT \
--url https://api.novasec.io/api/corscanner/scan \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '{
"delay": 123,
"headers": "X-Header: test;; Cookies: SESS_ID=eyJ...",
"subdomainXScanId": "{subdomainXScanId}",
"targetId": "{targetId}",
"targetURL": "https://api.example.com",
"timeout": 7,
"vulnerabilityScanId": "{vulnerabilityScanId}"
}'