Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A arachni
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 125
    • Issues 125
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arachni - Web Application Security Scanner Framework
  • arachni
  • Wiki
  • Guides
  • Developer
  • REST API

REST API · Changes

Page history
Updated REST-API (markdown) authored Sep 16, 2016 by Tasos Laskos's avatar Tasos Laskos
Show whitespace changes
Inline Side-by-side
guides/developer/REST-API.md
View page @ 7d39aa06
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* [List scans](#list-scans) * [List scans](#list-scans)
* [Perform a new scan](#perform-a-new-scan) * [Perform a new scan](#perform-a-new-scan)
* [Monitor scan progress](#monitor-scan-progress) * [Monitor scan progress](#monitor-scan-progress)
* [Summary](#monitor-scan-progress-summary)
* [Pause a scan](#pause-a-scan) * [Pause a scan](#pause-a-scan)
* [Resume a scan](#resume-a-scan) * [Resume a scan](#resume-a-scan)
* [Retrieve a scan report](#retrieve-a-scan-report) * [Retrieve a scan report](#retrieve-a-scan-report)
...@@ -232,6 +233,50 @@ So long as the client maintains a session with the service, only new `issues`, ` ...@@ -232,6 +233,50 @@ So long as the client maintains a session with the service, only new `issues`, `
entries and `errors` will be returned. entries and `errors` will be returned.
If no session is being maintained, each call will always return all data. If no session is being maintained, each call will always return all data.
#### <a id="monitor-scan-progress-summary" href="#monitor-scan-progress-summary">Summary</a>
Returns the same data as "[Monitor scan progress](#monitor-scan-progress)" but without `issues`, `errors` and `sitemap`.
##### Request
GET /scans/:id/summary
##### Response
```json
{
"status": "scanning",
"busy": true,
"seed": "c0c039750bef4f5688da4fba929b06ac",
"statistics": {
"http": {
"request_count": 1312,
"response_count": 1208,
"time_out_count": 0,
"total_responses_per_second": 145.55173283136,
"burst_response_time_sum": 0,
"burst_response_count": 0,
"burst_responses_per_second": 0,
"burst_average_response_time": 0,
"total_average_response_time": 0.12118887582781,
"max_concurrency": 20,
"original_max_concurrency": 20
},
"browser_cluster": {
"seconds_per_job": 1.6666666666667,
"total_job_time": 25,
"queued_job_count": 31,
"completed_job_count": 15
},
"runtime": 9.251885252,
"found_pages": 10,
"audited_pages": 2,
"current_page": "http:\/\/testhtml5.vulnweb.com\/ajax\/popular?offset=0"
},
"messages": []
}
```
### <a id="pause-a-scan" href="#pause-a-scan">Pause a scan</a> ### <a id="pause-a-scan" href="#pause-a-scan">Pause a scan</a>
This is a soft pause, it will not kill the scanner process but merely make it This is a soft pause, it will not kill the scanner process but merely make it
......
Clone repository

Pages [all]

  • Home
  • Installation instructions
  • For users
    • Executables
    • Command Line Interface
    • Web User Interface
    • Distributed components
      • RPC Client
      • RPC Server (Dispatcher)
      • REST Server
  • For developers
    • REST API
    • RPC API
    • Core API documentation
    • Development environment

Can't find what you're looking for? Why not have a look at the support portal?