Returns a list of running scans

Request
Security:
st_portal_auth
(read:scans)
query Parameters
sponsorId
integer <int64>

id of the sponsor which should be used to filter list

Example: sponsorId=1
scanProfile
string (ScanProfileName)

name of the scan profile used to filter list

Example: scanProfile=Sponsor : Boarding Scan Profile
ruleProfile
string (RuleProfileName)

name of the rule profile used to filter list

Example: ruleProfile=Viking Cloud Rules
required
object (ScanTypeEnumWrapper)

scan type used to filter list (DEFAULT, BOARDING, ADHOC)

Example: scanType=DEFAULT
Responses
200

successful operation

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

404

Not Found. The specified resource (or resource referred to by id) was not found

405

Method Not Allowed. The API was accessed with the wrong method

429

Too Many Requests. The API is rate-limited. Wait and try your request again.

500

Internal Server Error. An unexpected error has occurred. This may be due to a transient error. Retry the request and if the issue persists, please contact support.

503

Service Unavailable. The service is temporarily unavailable. Try your request later.

get/wrm/v1/scans/running
Request samples
curl -i -X GET \
  'https://api.vikingcloud.com/wrm/v1/scans/running?sponsorId=0&scanProfile=Sponsor%20%3A%20Boarding%20Scan%20Profile&ruleProfile=Viking%20Cloud%20Rules&scanType=DEFAULT' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response samples
application/json
[
  • "string"
]