List Scan Dates
GET/targets/:target_id/scans/dates/
deprecated
Request
Path Parameters
target_id stringrequired
Identifier of the target.
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
string
[
"string"
]
{
"id": "MyThjkIs2Wca",
"target": {
"id": "MyThjkIs2Wca",
"name": "",
"site": {
"id": "MyThjkIs2Wca",
"name": "[PwC] Example Site",
"desc": "",
"url": "https://www.example.pt/",
"host": "www.example.pt",
"has_form_login": false,
"form_login_url": "https://example.com",
"form_login_check_pattern": "",
"form_login": [
{
"name": "username",
"value": "testuser1"
},
{
"name": "password",
"value": "testuserpassword"
}
],
"logout_detection_enabled": false,
"has_sequence_login": true,
"has_sequence_navigation": false,
"has_basic_auth": false,
"basic_auth": {
"username": "",
"password": ""
},
"headers": [],
"cookies": [],
"whitelist": [],
"blacklist": [],
"changed": "2023-10-20T20:44:12.556924Z",
"changed_by": {
"id": "-sDw5jjjtJ3Y",
"email": "[email protected]",
"name": "testuser"
},
"auth_enabled": false,
"logout_condition": "any",
"check_session_url": "",
"has_otp": false,
"otp_secret": "",
"otp_algorithm": "SHA1",
"otp_digits": 6,
"otp_field": "",
"otp_submit": "",
"otp_login_sequence_totp_value": "",
"otp_type": "totp",
"otp_url": "",
"stack": [
{
"id": "MyThjkIs2Wca",
"name": "IIS",
"desc": ""
},
{
"id": "MyThjkIs2Wca",
"name": "Microsoft ASP.NET",
"desc": ""
},
{
"id": "MyThjkIs2Wca",
"name": "Windows Server",
"desc": ""
}
],
"verified": false,
"verification_token": "07080d0e-1234-ABCD-1234-fcbb57e2fe0c",
"verification_date": null,
"verification_method": "",
"verification_last_error": "",
"api_scan_settings": null
},
"type": "single",
"desc": "",
"labels": [
{
"id": "MyThjkIs2Wca",
"name": "PwC",
"color": "",
"changed_by": {
"id": "MyThjkIs2Wca",
"email": "",
"name": "Example"
},
"changed": "2022-06-02T09:31:29.238031Z"
}
],
"has_assets": false,
"report_fileformat": "docx",
"scanning_agent": null,
"teams": [
{
"id": "MyThjkIs2Wca",
"name": "Example Team"
}
],
"blackout_period": {
"begin": "02:00:00",
"cease": "03:00:00",
"weekdays": [
1
],
"enabled": true,
"timezone": "Africa/Lagos",
"changed": "2023-10-30T18:11:32.548246Z",
"changed_by": {
"id": "-sDw5JJJtV3Y",
"email": "[email protected]",
"name": "Testuser"
}
}
},
"status": "completed",
"started": "2024-01-25T01:05:08.102608Z",
"completed": "2024-01-25T01:07:34.570500Z",
"scan_profile": {
"id": "lightning",
"name": "Lightning",
"description": "Fast scan that checks vulnerabilities related to SSL/TLS, HTTP security headers, and cookies attributes.",
"builtin": true
},
"lows": 5,
"mediums": 1,
"highs": 0,
"created": "2024-01-25T01:05:05.894103Z",
"unlimited": true,
"changed": "2024-01-25T01:07:45.896140Z",
"changed_by": {
"id": "-sDw5iRCtV3Y",
"email": "[email protected]",
"name": "Testuser"
},
"stack": [],
"crawler": {
"state": "ended",
"status": [
4,
4
],
"warning": [
{
"code": "login_failed",
"message": "Cannot login, please review your login settings."
},
{
"code": "target_status",
"message": "The target is responding with an HTTP 500 code. Please make sure that this is intended. If Snyk API & Web's requests are being throttled, ignored, or rejected, this will result in poor scan results."
}
],
"error": [],
"full_status": {
"type": "feedback",
"ts": 1706720605.0290248,
"iid": "c144f028-9110-XXXX-1234-5d2b10161f43",
"aid": "b3448314-41c8-XXXX-1234-fd1af2a9f1fb",
"stage": "crawler",
"module": "anansi",
"subtype": "status",
"data": {
"type": "feedback",
"allExtraHosts": [],
"countTimeoutEndpoints": 0,
"crawlingEndpoints": [],
"countLoginFailed": 1,
"lastLogin": [
{
"status": "failed",
"timestamp": 1706720567048
}
],
"status": {
"500": 4
},
"outOfScopeHostsCount": {},
"allHostnames": [
"example.com"
],
"version": 2,
"countNetworkErrorEndpoints": 0,
"total": 4,
"lastCrawledEndpoints": [
{
"jobId": 2,
"status": 500,
"method": "GET",
"url": "https://example.com/"
},
{
"jobId": 3,
"status": 500,
"method": "GET",
"url": "https://example.com/"
},
{
"jobId": 4,
"status": 500,
"method": "GET",
"url": "https://example.com/"
}
],
"doingLogin": false,
"done": 4,
"rejected": 0,
"countLoginSuccess": 0,
"statusByHost": {
"example.com": {
"500": 4
}
}
}
}
},
"fingerprinter": {
"state": "ended",
"count": 1,
"warning": [],
"error": []
},
"scanner": {
"state": "ended",
"status": [
1,
1
],
"warning": [],
"error": [],
"full_status": {
"type": "feedback",
"aid": "494b2a40-5e8d-4d6c-808b-ac81194917d4",
"subtype": "status",
"stage": "scanner",
"module": "zap",
"data": {
"done": 79,
"total": 400,
"scannerState": {
"numberRequestBeingScanned": 2,
"currentAverageRtt": 16.444445,
"averageRtt": 16.444445,
"nStatus3xx": "0",
"nStatus4xx": "0",
"nStatus5xx": "0",
"nConnectionErrors": "0",
"nTimeouts": "0",
"nRequests": "9",
"sampleOfRequestBeingScanned": [
{
"httpMethod": "GET",
"url": "http://127.0.0.1:9999/dynamicResponseGenerator/XXX__122__XXX?x1=aaaaaa&x2=aaaaaa&x3=aaaaaa&x4=aaaaaa&x5=aaaaaa&x6=aaaaaa"
},
{
"httpMethod": "GET",
"url": "http://127.0.0.1:9999/dynamicResponseGenerator/XXX__120__XXX?x1=aaaaaa&x2=aaaaaa&x3=aaaaaa&x4=aaaaaa&x5=aaaaaa&x6=aaaaaa"
}
]
}
}
}
},
"has_sequence_navigation": false,
"incremental": false,
"reduced_scope": true,
"crawl_sequences_only": false,
"ignore_blackout_period": false,
"user_data": null
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]
non_field_errors string[]
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Unexpected error while handling your request."
}
Loading...