Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

📙 You will learn

...

Info

The following endpoints available for ThreadFix 3.1 and newer.

/api/application/queue/scans

...

/pending/<pending_scan_id>

Descriptor

Value

HTTP Method

GET

Description

This endpoint returns the pending scans object identified by the <pending_scan_id> for users to view the status and additional processing data of a pending scan.

Required Permission

...

View Scans Queue

Version Introduced

...

3.

...

1.

...

0


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.

...

_sort

...

-modifiedDate

...

TBD

...

Parameter

...

Value

...

Required

...

Description

api-version

1.0

...

Optional

...

_limit

...

10

...

Optional

Yes

‘latest’ is also a valid option


Sample Call:

Code Block
https://localhost/api/application/queue/scans/pending/6bdf895a-3019-11ec-a1fa-1f4bc1b38394

Sample Output:

Code Block

...

{
    "id": "6bdf895a-3019-11ec-a1fa-1f4bc1b38394",
    "active": true,
    "createdDate": "2021-10-18T13:43:48+00:00",
    "modifiedDate": "2021-10-18T13:45:50+00:00",
    "orgId": 3,
    "appId": 10,
    "primaryChannelTypeId": 8,
    "remoteProviderEntityId": 8,
    "scanId": 21,
    "jobId": "fecd50d6-9017-441d-b438-2801870946a3",
    "orgName": "Team 3",
    "appName": "App 3-8",
    "primaryChannelTypeName": "Black Duck",
    "remoteProviderEntityName": "Black Duck",
    "importType": "REMOTE_PROVIDER_IMPORT_TYPE",
    "sourceNameCount": 1,
    "sourceName": "[\"JavaVulnerableLab\"]",
    "processingStartTime": "2021-10-18T13:43:50+00:00",
    "requestTime": "2021-10-18T13:43:03+00:00",
    "endTime": "2021-10-18T13:45:50+00:00",
    "importTime": "2020-12-30T23:05:51.000+00:00",
    "updatedDate": "2020-12-30T23:05:51.000+00:00",
    "pendingScanStatus": "COMPLETED",
    "totalParsedFindingCount": 20,
    "combinedScan": false,
    "overrideNewestScan": false
}

Page Tree
rootQueue Management 3.1 - WIP
startDepth1