- Created by David Harrison (Unlicensed) on Apr 30, 2019
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
/rest/applications?team={teamName}
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Retrieves a list of all applications, or all applications in for a team. |
Required Permission | Read Access (Any Role) |
Version Introduced | 2.7.5 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Request GET Parameters
Parameter | Value | Required | Description |
---|---|---|---|
team | String | No | Only return applications belonging to this team. |
Sample Call:
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/v2.7.5/applications?team=Test%20Team
Sample Output:
{ "message": "", "success": true, "responseCode": -1, "object": [ { "id": 1, "name": "App 1", "url": null, "uniqueId": null, "applicationCriticality": { "id": 2, "name": "Medium" }, "policyStatuses": [], "description": null, "releaseFrequency": "UNKNOWN", "testEnvironment": null, "grcApplication": null, "scans": [ { "id": 5, "importTime": 1455123975000, "updatedDate": 1455123975000, "numberClosedVulnerabilities": 489, "numberNewVulnerabilities": 81, "numberOldVulnerabilities": 0, "numberResurfacedVulnerabilities": 0, "numberTotalVulnerabilities": 81, "numberRepeatResults": 0, "numberRepeatFindings": 0, "numberInfoVulnerabilities": 24, "numberLowVulnerabilities": 52, "numberMediumVulnerabilities": 2, "numberHighVulnerabilities": 3, "numberCriticalVulnerabilities": 0, "scannerName": "IBM Security AppScan Standard" }, { "id": 4, "importTime": 1455040223000, "updatedDate": 1455040223000, "numberClosedVulnerabilities": 278, "numberNewVulnerabilities": 211, "numberOldVulnerabilities": 0, "numberResurfacedVulnerabilities": 0, "numberTotalVulnerabilities": 211, "numberRepeatResults": 0, "numberRepeatFindings": 0, "numberInfoVulnerabilities": 54, "numberLowVulnerabilities": 29, "numberMediumVulnerabilities": 34, "numberHighVulnerabilities": 94, "numberCriticalVulnerabilities": 0, "scannerName": "IBM Security AppScan Standard" }, { "id": 3, "importTime": 1425466659000, "updatedDate": 1425466659000, "numberClosedVulnerabilities": 96, "numberNewVulnerabilities": 182, "numberOldVulnerabilities": 0, "numberResurfacedVulnerabilities": 0, "numberTotalVulnerabilities": 182, "numberRepeatResults": 0, "numberRepeatFindings": 0, "numberInfoVulnerabilities": 31, "numberLowVulnerabilities": 86, "numberMediumVulnerabilities": 32, "numberHighVulnerabilities": 33, "numberCriticalVulnerabilities": 0, "scannerName": "IBM Security AppScan Standard" }, { "id": 2, "importTime": 1307976287000, "updatedDate": 1307976287000, "numberClosedVulnerabilities": 52, "numberNewVulnerabilities": 44, "numberOldVulnerabilities": 0, "numberResurfacedVulnerabilities": 0, "numberTotalVulnerabilities": 44, "numberRepeatResults": 0, "numberRepeatFindings": 0, "numberInfoVulnerabilities": 5, "numberLowVulnerabilities": 21, "numberMediumVulnerabilities": 8, "numberHighVulnerabilities": 10, "numberCriticalVulnerabilities": 0, "scannerName": "IBM Security AppScan Standard" }, { "id": 1, "importTime": 1234320399000, "updatedDate": 1234320399000, "numberClosedVulnerabilities": 0, "numberNewVulnerabilities": 52, "numberOldVulnerabilities": 0, "numberResurfacedVulnerabilities": 0, "numberTotalVulnerabilities": 52, "numberRepeatResults": 0, "numberRepeatFindings": 0, "numberInfoVulnerabilities": 17, "numberLowVulnerabilities": 11, "numberMediumVulnerabilities": 11, "numberHighVulnerabilities": 13, "numberCriticalVulnerabilities": 0, "scannerName": "IBM Security AppScan Standard" } ], "infoVulnCount": 24, "lowVulnCount": 52, "mediumVulnCount": 2, "highVulnCount": 3, "criticalVulnCount": 0, "totalVulnCount": 81, "isInternal": false, "tags": [], "versions": [], "riskRating": null, "filterSet": null, "applicationMetadataList": [], "waf": null, "organization": { "name": "Test Team", "id": 1 } }, { "id": 2, "name": "App 2", "url": null, "uniqueId": null, "applicationCriticality": { "id": 2, "name": "Medium" }, "policyStatuses": [], "description": null, "releaseFrequency": "UNKNOWN", "testEnvironment": null, "grcApplication": null, "scans": [ { "id": 6, "importTime": 1455146449000, "updatedDate": 1455213232000, "numberClosedVulnerabilities": 0, "numberNewVulnerabilities": 6548, "numberOldVulnerabilities": 0, "numberResurfacedVulnerabilities": 0, "numberTotalVulnerabilities": 6307, "numberRepeatResults": 0, "numberRepeatFindings": 0, "numberInfoVulnerabilities": 0, "numberLowVulnerabilities": 4334, "numberMediumVulnerabilities": 47, "numberHighVulnerabilities": 1602, "numberCriticalVulnerabilities": 324, "scannerName": "Fortify SCA" } ], "infoVulnCount": 0, "lowVulnCount": 4334, "mediumVulnCount": 47, "highVulnCount": 1602, "criticalVulnCount": 324, "totalVulnCount": 6307, "isInternal": false, "tags": [], "versions": [], "riskRating": null, "filterSet": null, "applicationMetadataList": [], "waf": null, "organization": { "name": "Test Team", "id": 1 } } ] }
- No labels