As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

/rest/applications/{appId}

 

Descriptor

Value

HTTP Method

GET

Description

Retrieves an application using the given appId.

Restricted

False

Changes in 2.4.0                

Added new “tags” and “versions” sections to response.

 

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 

Sample Call:

curl --insecure -H 'Accept: application/json' http://localhost:8080/threadfix/rest/v2.4/applications/1?apiKey={apiKey}

 

Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": {
        "id": 54,
        "name": "Test App",
        "url": "http://example.com",
        "uniqueId": null,
        "applicationCriticality": {
            "id": 1,
            "name": "Low"
        },
        "grcApplication": null,
        "scans": [
            {
                "id": 383,
                "importTime": 1309962639000,
                "numberClosedVulnerabilities": 0,
                "numberNewVulnerabilities": 2,
                "numberOldVulnerabilities": 0,
                "numberResurfacedVulnerabilities": 0,
                "numberTotalVulnerabilities": 2,
                "numberRepeatResults": 0,
                "numberRepeatFindings": 0,
                "numberInfoVulnerabilities": 0,
                "numberLowVulnerabilities": 0,
                "numberMediumVulnerabilities": 1,
                "numberHighVulnerabilities": 1,
                "numberCriticalVulnerabilities": 0,
                "scannerName": "w3af"
            }
        ],
        "infoVulnCount": 0,
        "lowVulnCount": 0,
        "mediumVulnCount": 1,
        "highVulnCount": 1,
        "criticalVulnCount": 0,
        "totalVulnCount": 2,
        "tags": [
            {
                "id": 11,
                "name": "First Tag",
                "type": "APPLICATION"
            },
            {
                "id": 12,
                "name": "Second Tag",
                "type": "APPLICATION"
            }
        ],
        "versions": [
            {
                "id": 14,
                "name": "Version 1",
                "date": 1293861600000
            },
            {
                "id": 15,
                "name": "Version 2",
                "date": 1357020000000
            }
        ],
        "waf": null,
        "organization": {
            "name": "Test Team",
            "id": 22
        }
    }
}

  • No labels