Target Definitions
Create Target Definiton
- Community
- Blog
- Authentication
- GETAPI Status
- GETGet hosts
- GETGet hosts live
- GETGet hosts latest
- GETGet hosts live latest
- GETGet hosts by targetid
- GETGet hosts live by targetid
- GETGet targets
- GETGet targets by targetid
- POSTCreate Target Definiton
- PUTUpdate targets
- DELDelete Target Definitions
- PUTImport hosts by target
- PUTStart SUBDOMAINX Scan
- PUTStart CNAME X Scan
- PUTStart corscanner scan
- PUTStart SPIDER X Scan
- PUTStart REDIRECT X Scan
- PUTStart XSSCANNER Scan
- POSTSchedule scan
- GETGet scans schedule
- GETGet scheduled scans
- PUTTrigger scheduled scans
- PUTUnschedule scans
- GETGet scans by targetid
- GETGet scans by targetid scanid
- DELDelete Target Scans
- GETGet scans
- GETGet scan status
- GETGet scan results
- GETGet scan results by scanid
- DELDelete Scan Results
- DELDelete Multiple Scans
- GETGet vulnerabilities by targetid
- GETGet Concurrent Scans
- GETGet vaults
API Authentication
API Status
Hosts
Target Definitions
Scanners
Scans
Scan Data
Vulnerabilities
Activity
Vault
Target Definitions
Create Target Definiton
Create a Target Definition
POST
/
api
/
targets
/
new
X-API-Key
string
*
X-API-Key
Required
string
object
*
targetName
string
targetName
string
Add Example Value
target
string
target
string
Add Example Value
addr
string
addr
string
Add Example Value
cidr
string
cidr
string
Add Example Value
scope
string
scope
string
Add Example Value
outOfScope
string
outOfScope
string
Add Example Value
scopeHeaders
string
scopeHeaders
string
Add Example Value
delay
integer
delay
integer
Add Example Value
curl --request POST \
--url https://api.novasec.io/api/targets/new \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"targetName": "Example",
"target": "example.com",
"addr": "192.168.1.1-254,...",
"cidr": "192.168.1.0/24,...",
"scope": "example.com,*.example.com,...",
"outOfScope": "app-stg.example.com,...",
"scopeHeaders": "X-Header: test;; Cookies: SESS_ID=eyJ...",
"delay": 123
}'
Authorizations
X-API-Key
string
headerrequiredBody
application/json
targetName
string
target
string
addr
string
cidr
string
scope
string
outOfScope
string
scopeHeaders
string
delay
integer
curl --request POST \
--url https://api.novasec.io/api/targets/new \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"targetName": "Example",
"target": "example.com",
"addr": "192.168.1.1-254,...",
"cidr": "192.168.1.0/24,...",
"scope": "example.com,*.example.com,...",
"outOfScope": "app-stg.example.com,...",
"scopeHeaders": "X-Header: test;; Cookies: SESS_ID=eyJ...",
"delay": 123
}'