Target Definitions
Create Target Definiton
Create a Target Definition
POST
/
api
/
targets
/
new
Authorization
Body
curl --request POST \
--url https://api.novasec.io/api/targets/new \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '{
"addr": "192.168.1.1-254,...",
"cidr": "192.168.1.0/24,...",
"delay": 123,
"outOfScope": "app-stg.example.com,...",
"scope": "example.com,*.example.com,...",
"scopeHeaders": "X-Header: test;; Cookies: SESS_ID=eyJ...",
"target": "example.com",
"targetName": "Example"
}'
Authorizations
X-API-Key
string
headerrequiredBody
application/json
addr
string
cidr
string
delay
integer
outOfScope
string
scope
string
scopeHeaders
string
target
string
targetName
string
curl --request POST \
--url https://api.novasec.io/api/targets/new \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '{
"addr": "192.168.1.1-254,...",
"cidr": "192.168.1.0/24,...",
"delay": 123,
"outOfScope": "app-stg.example.com,...",
"scope": "example.com,*.example.com,...",
"scopeHeaders": "X-Header: test;; Cookies: SESS_ID=eyJ...",
"target": "example.com",
"targetName": "Example"
}'