Import Targets
Changed onThe upload functionality allows the automatic creation of new targets from multiple file formats (.yaml, .csv, .json).
And one can optionally add scheduled scan data when uploading target data.
The following are the required internal data structures.
CSV data
The fields about scheduled scan data can be left empty if not necessary.
"name","url","scan_profile","scheduledscan_datetime","scheduledscan_recurrence","labels"
"My target","https://mytarget.url.com","Normal","2022-12-30T12:34:56.224739","m","['label1', 'label2']"
"My other target","https://www.mytargetsite2.com","Normal","","","['label3', 'label2']"
YAML data
- name: My target
site:
name: My target site
desc: My target site description
url: https://mytarget.url.com
# optional site fields
form_login_url: https://mytarget.url.com/login
form_login_check_pattern: ""
form_login: []
headers: []
cookies: []
whitelist: []
scan_profile: normal
type: single
# optional target fields
report_type: default
# optional scheduled_scan data
scheduled_scan:
date_time: "2022-12-30T12:34:56.224739"
recurrence: "d"
timezome: "Europe/Madrid"
JSON data
Data format with nested ScheduledScan data:
[
{
"name": "My target",
"site": {
"name": "My target site",
"desc": "My target description",
"url": "https://mytarget.url.com",
# optional site fields
"form_login_url": "https://mytarget.url.com/login,
"form_login_check_pattern": "",
"form_login": [],
"headers": [],
"cookies": [],
"whitelist": []
},
"scan_profile": "Normal",
// optional scheduled_scan data
"scheduled_scan": {
"date_time": "2022-12-30T12:34:56.224739",
"recurrence": "d",
"timezone": "Europe/Madrid"
}
}
]
Data format with flat ScheduledScan data:
[
{
"name": "My target",
"site": {
"name": "My target site",
"desc": "My target description",
"url": "https://mytarget.url.com"
# optional site fields
"form_login_url": "https://mytarget.url.com/login,
"form_login_check_pattern": "",
"form_login": [],
"headers": [],
"cookies": [],
"whitelist": []
},
"scan_profile": "Normal",
// optional scheduled_scan data
"scheduledscan_datetime": "2022-12-30T12:34:56.224739",
"scheduledscan_recurrence": "m"
},
]
Request
- Base URLhttps://api.probely.com
- URLhttps://api.probely.com/targets/upload/
- AuthAPI key in header Authorization
Request body
Response
Example response
{
"target_ids": [
"<target id>"
],
"scan_ids": [
"<target id>"
]
}Changes
- breaking
added to the
//////////request propertyallOflist (media type: application/json) - breaking
added to the
//////////request propertyallOflist (media type: application/x-www-form-urlencoded) - breaking
added to the
//////////request propertyallOflist (media type: multipart/form-data) - warning
removed from the
//////////request propertyallOflist (media type: application/json) - warning
removed from the
//////////request propertyallOflist (media type: application/x-www-form-urlencoded) - warning
removed from the
//////////request propertyallOflist (media type: multipart/form-data) - warning
removed the request property
///////////////(media type: application/json) - warning
removed the request property
///////////////(media type: application/x-www-form-urlencoded) - warning
removed the request property
///////////////(media type: multipart/form-data) - warning
removed the request property
///////////////(media type: application/json) - warning
removed the request property
///////////////(media type: application/x-www-form-urlencoded) - warning
removed the request property
///////////////(media type: multipart/form-data) - warning
removed the request property
/////(media type: application/json) - warning
removed the request property
/////(media type: application/x-www-form-urlencoded) - warning
removed the request property
/////(media type: multipart/form-data) - warning
removed the request property
/////(media type: application/json) - warning
removed the request property
/////(media type: application/x-www-form-urlencoded) - warning
removed the request property
/////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
///////////////(media type: application/json) - info
added the new optional request property
///////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
///////////////(media type: multipart/form-data) - info
added the new optional request property
///////////////(media type: application/json) - info
added the new optional request property
///////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
///////////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
/////(media type: application/json) - info
added the new optional request property
/////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
/////(media type: multipart/form-data) - info
added the new optional request property
/////(media type: application/json) - info
added the new optional request property
/////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
/////(media type: multipart/form-data) - info
the request optional property
became read-only (media type: application/json) - info
the request optional property
became read-only (media type: application/x-www-form-urlencoded) - info
the request optional property
became read-only (media type: multipart/form-data) - info
added the new
brunoenum value to the request property////////////////////(media type: application/json) - info
added the new
brunoenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
brunoenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
brunoenum value to the request property//////////(media type: application/json) - info
added the new
brunoenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
brunoenum value to the request property//////////(media type: multipart/form-data) - info
added the new
folderenum value to the request property////////////////////(media type: application/json) - info
added the new
folderenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
folderenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
folderenum value to the request property//////////(media type: application/json) - info
added the new
folderenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
folderenum value to the request property//////////(media type: multipart/form-data) - info
added the new
interactive_browserenum value to the request property////////////////////(media type: application/json) - info
added the new
interactive_browserenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
interactive_browserenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
interactive_browserenum value to the request property//////////(media type: application/json) - info
added the new
interactive_browserenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
interactive_browserenum value to the request property//////////(media type: multipart/form-data) - info
added the new
repositoryenum value to the request property////////////////////(media type: application/json) - info
added the new
repositoryenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
repositoryenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
repositoryenum value to the request property//////////(media type: application/json) - info
added the new
repositoryenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
repositoryenum value to the request property//////////(media type: multipart/form-data) - info
added the new
zipenum value to the request property////////////////////(media type: application/json) - info
added the new
zipenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
zipenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
zipenum value to the request property//////////(media type: application/json) - info
added the new
zipenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
zipenum value to the request property//////////(media type: multipart/form-data)
- breaking
- info
added the new optional request property
////////////////////(media type: application/json) - info
added the new optional request property
////////////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
////////////////////(media type: multipart/form-data) - info
added the new optional request property
///////////////(media type: application/json) - info
added the new optional request property
///////////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
///////////////(media type: multipart/form-data) - info
added the new optional request property
//////////(media type: application/json) - info
added the new optional request property
//////////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//////////(media type: multipart/form-data) - info
added the new optional request property
/////(media type: application/json) - info
added the new optional request property
/////(media type: application/x-www-form-urlencoded) - info
added the new optional request property
/////(media type: multipart/form-data) - info
added the new
application/graphqlenum value to the request property////////////////////(media type: application/json) - info
added the new
application/graphqlenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
application/graphqlenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
application/graphqlenum value to the request property//////////(media type: application/json) - info
added the new
application/graphqlenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
application/graphqlenum value to the request property//////////(media type: multipart/form-data) - info
added the new
graphqlenum value to the request property////////////////////(media type: application/json) - info
added the new
graphqlenum value to the request property////////////////////(media type: application/x-www-form-urlencoded) - info
added the new
graphqlenum value to the request property////////////////////(media type: multipart/form-data) - info
added the new
graphqlenum value to the request property//////////(media type: application/json) - info
added the new
graphqlenum value to the request property//////////(media type: application/x-www-form-urlencoded) - info
added the new
graphqlenum value to the request property//////////(media type: multipart/form-data) - info
added the new
owasp_web_2021enum value to the request property(media type: application/json) - info
added the new
owasp_web_2021enum value to the request property(media type: application/x-www-form-urlencoded) - info
added the new
owasp_web_2021enum value to the request property(media type: multipart/form-data) - info
added the new
owasp_web_2025enum value to the request property(media type: application/json) - info
added the new
owasp_web_2025enum value to the request property(media type: application/x-www-form-urlencoded) - info
added the new
owasp_web_2025enum value to the request property(media type: multipart/form-data) - info
added the new
pci_v3_2_1enum value to the request property(media type: application/json) - info
added the new
pci_v3_2_1enum value to the request property(media type: application/x-www-form-urlencoded) - info
added the new
pci_v3_2_1enum value to the request property(media type: multipart/form-data) - info
added the new
pci_v4_0_1enum value to the request property(media type: application/json) - info
added the new
pci_v4_0_1enum value to the request property(media type: application/x-www-form-urlencoded) - info
added the new
pci_v4_0_1enum value to the request property(media type: multipart/form-data)
- info