Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated example response

/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 Introduced2.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:

Code Block
languagebash
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/v2.7.5/applications?team=Test%20Team


Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 1,
            "name": "App 1",
            "url": null,
            "uniqueId": null,
            "applicationCriticality": {
                "id": 21,
                "name": "MediumLow"
            },
            "policyStatuses": [],
            "description": null,   {
         "releaseFrequency": "UNKNOWN",             "testEnvironmentid": null1,
               "grcApplication": null,    "currentStatus": "FAILING",
       "scans": [            "policy": {
   {                     "idname": 5"CP",
                        "importTimefilterName": 1455123975000"Critical",
                        "updatedDateid": 1455123975000,1
                    "numberClosedVulnerabilities": 489,}
                     "numberNewVulnerabilities": 81},
                {
   "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilitiesid": 02,
                    "numberTotalVulnerabilitiescurrentStatus": 81"FAILING",
                    "numberRepeatResultspolicy": 0, {
                        "numberRepeatFindingsname": 0,"HP",
                        "numberInfoVulnerabilitiesfilterName": 24,"High",
                        "numberLowVulnerabilitiesid": 52,2
                    "numberMediumVulnerabilities": 2,}
                },
    "numberHighVulnerabilities": 3,           {
         "numberCriticalVulnerabilities": 0,          "id": 3,
         "scannerName": "IBM Security AppScan Standard"       "currentStatus": "FAILING",
        },            "policy": {
   {                     "idname": 4"MP",
                        "importTimefilterName": 1455040223000"Medium",
                        "updatedDateid": 1455040223000,3
                    }
 "numberClosedVulnerabilities": 278,              }
      "numberNewVulnerabilities": 211,     ],
               "numberOldVulnerabilitiesdescription": 0null,
            "releaseFrequency": "UNKNOWN",
      "numberResurfacedVulnerabilities": 0,        "testEnvironment": null,
            "numberTotalVulnerabilitiesgrcApplication": 211,
   {
                "numberRepeatResultsid": 011,
                    "numberRepeatFindingsnativeId": 0"5f8a84a848b83ee3cda444b83a",
                    "numberInfoVulnerabilitiesname": 54,"grc test app",
                  "numberLowVulnerabilitiespolicyNumber": 29"5f8a84a848b83ee3cda444b83a",
                    "numberMediumVulnerabilities""application": 34,{
                    "numberHighVulnerabilitiesteamName": 94"Team 0002",
                    "numberCriticalVulnerabilitiesteamId": 01,
                    "scannerNamename": "App 1"IBM,
  Security AppScan Standard"                 },"id": 1
                {}
            },
       "id": 3,    "scans": [
               "importTime": 1425466659000, {
                    "updatedDateid": 14254666590002,
                    "numberClosedVulnerabilitiesimportTime": 961459116538000,
                    "numberNewVulnerabilitiesupdatedDate": 1821459116538000,
                    "numberOldVulnerabilitiesnumberClosedVulnerabilities": 0171,
                    "numberResurfacedVulnerabilitiesnumberNewVulnerabilities": 0,
                    "numberTotalVulnerabilitiesnumberOldVulnerabilities": 182362,
                    "numberRepeatResultsnumberResurfacedVulnerabilities": 0,
                    "numberRepeatFindingsnumberTotalVulnerabilities": 0362,
                    "numberInfoVulnerabilitiesnumberRepeatResults": 31376,
                    "numberLowVulnerabilitiesnumberRepeatFindings": 86367,
                    "numberMediumVulnerabilitiesnumberInfoVulnerabilities": 32257,
                    "numberHighVulnerabilitiesnumberLowVulnerabilities": 3327,
                    "numberCriticalVulnerabilitiesnumberMediumVulnerabilities": 07,
                    "scannerNamenumberHighVulnerabilities": 8,
 "IBM Security AppScan Standard"                "numberCriticalVulnerabilities": }63,
                {    "scannerName": "WebInspect"
               "id": 2},
                    "importTime": 1307976287000,{
                     "updatedDateid": 13079762870001,
                    "numberClosedVulnerabilitiesimportTime": 521458943738000,
                    "updatedDate": 1458943738000,
                    "numberClosedVulnerabilities": 0,
                    "numberNewVulnerabilities": 44533,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 44533,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 5257,
                    "numberLowVulnerabilities": 2136,
                    "numberMediumVulnerabilities": 87,
                    "numberHighVulnerabilities": 108,
                    "numberCriticalVulnerabilities": 0225,
                    "scannerName": "IBM Security AppScan StandardWebInspect"
                },
                {
                    "id": 14022,
                    "importTime": 12343203990001455146449000,
                    "updatedDate": 12343203990001455213232000,
                    "numberClosedVulnerabilities": 0222,
                    "numberNewVulnerabilities": 528,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 528,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 170,
                    "numberLowVulnerabilities": 118,
                    "numberMediumVulnerabilities": 110,
                    "numberHighVulnerabilities": 130,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "IBM Security AppScan StandardFortify SCA"
                },
            ],      {
      "infoVulnCount": 24,             "lowVulnCountid": 524021,
            "mediumVulnCount": 2,       "importTime": 1441776439000,
    "highVulnCount": 3,                "criticalVulnCountupdatedDate": 01441776439000,
  
         "totalVulnCount": 81,             "isInternalnumberClosedVulnerabilities": false136,
            "tags        "numberNewVulnerabilities": [],86,
                    "versionsnumberOldVulnerabilities": [],0,
                    "riskRatingnumberResurfacedVulnerabilities": null,0,
                    "filterSetnumberTotalVulnerabilities": null86,
            "applicationMetadataList": [],       "numberRepeatResults": 0,
    "waf": null,                "organizationnumberRepeatFindings": 0,
   {                 "namenumberInfoVulnerabilities": "Test Team",0,
                    "numberLowVulnerabilities": 34,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 52,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                },
                {
                    "id": 4020,
                    "importTime": 1427732739000,
                    "updatedDate": 1427919214000,
                    "numberClosedVulnerabilities": 20,
                    "numberNewVulnerabilities": 116,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 116,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 0,
                    "numberLowVulnerabilities": 0,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 116,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                },
                {
                    "id": 4019,
                    "importTime": 1427210563000,
                    "updatedDate": 1427210656000,
                    "numberClosedVulnerabilities": 20,
                    "numberNewVulnerabilities": 0,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 0,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 0,
                    "numberLowVulnerabilities": 0,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 0,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                },
                {
                    "id": 4018,
                    "importTime": 1426769717000,
                    "updatedDate": 1426769940000,
                    "numberClosedVulnerabilities": 20,
                    "numberNewVulnerabilities": 0,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 0,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 0,
                    "numberLowVulnerabilities": 0,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 0,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                },
                {
                    "id": 4017,
                    "importTime": 1408667139000,
                    "updatedDate": 1408667876000,
                    "numberClosedVulnerabilities": 6,
                    "numberNewVulnerabilities": 14,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 14,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 0,
                    "numberLowVulnerabilities": 0,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 14,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                },
                {
                    "id": 3,
                    "importTime": 1387298340000,
                    "updatedDate": 1387301160000,
                    "numberClosedVulnerabilities": 0,
                    "numberNewVulnerabilities": 204,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 204,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 50,
                    "numberLowVulnerabilities": 16,
                    "numberMediumVulnerabilities": 74,
                    "numberHighVulnerabilities": 64,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Checkmarx"
                },
                {
                    "id": 4016,
                    "importTime": 1371039047000,
                    "updatedDate": 1371039047000,
                    "numberClosedVulnerabilities": 0,
                    "numberNewVulnerabilities": 6,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 6,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 0,
                    "numberLowVulnerabilities": 0,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 6,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                },
                {
                    "id": 4015,
                    "importTime": 1254513027000,
                    "updatedDate": 1254513041000,
                    "numberClosedVulnerabilities": 0,
                    "numberNewVulnerabilities": 0,
                    "numberOldVulnerabilities": 0,
                    "numberResurfacedVulnerabilities": 0,
                    "numberTotalVulnerabilities": 0,
                    "numberRepeatResults": 0,
                    "numberRepeatFindings": 0,
                    "numberInfoVulnerabilities": 0,
                    "numberLowVulnerabilities": 0,
                    "numberMediumVulnerabilities": 0,
                    "numberHighVulnerabilities": 0,
                    "numberCriticalVulnerabilities": 0,
                    "scannerName": "Fortify SCA"
                }
            ],
            "infoVulnCount": 307,
            "lowVulnCount": 51,
            "mediumVulnCount": 81,
            "highVulnCount": 72,
            "criticalVulnCount": 63,
            "totalVulnCount": 574,
            "isInternal": false,
            "tags": [
                {
                    "id": 3,
                    "name": "HIPAA",
                    "type": "APPLICATION"
                },
                {
                    "id": 1,
                    "name": "PCI",
                    "type": "APPLICATION"
                }
            ],
            "versions": [
                {
                    "id": 1,
                    "name": "Test 1",
                    "date": 1547272800000
                },
                {
                    "id": 2,
                    "name": "Test 2",
                    "date": 1549951200000
                }
            ],
            "riskRating": null,
            "filterSet": null,
            "applicationMetadataList": [
                {
                    "id": 1,
                    "orderPosition": 1,
                    "description": "data",
                    "title": "Meta"
                },
                {
                    "id": 2,
                    "orderPosition": 2,
                    "description": "meta",
                    "idtitle": 1"Data"
            }    }
    },        ],
{             "idorganization": 2, {
                "name": "AppTeam 20002",
                "urlid": null,1
            "uniqueId": null},
            "applicationCriticalitywaf": {
                "idname": 2"FLE",
                "nameid": "Medium"1
            },
            "policyStatuses": [],
  },
         "description": null,  {
            "releaseFrequencyid": "UNKNOWN"2,
            "testEnvironmentname": null"App 2",
            "grcApplicationurl": null,
            "scansuniqueId": [null,
                {
 "applicationCriticality": {
                  "id": 61,

                   "importTimename": 1455146449000,"Low"
                    "updatedDate": 1455213232000},
                    "numberClosedVulnerabilities"policyStatuses": 0,
       [],
            "numberNewVulnerabilitiesdescription": 6548null,
            "releaseFrequency": "UNKNOWN",
      "numberOldVulnerabilities": 0,        "testEnvironment": null,
            "numberResurfacedVulnerabilitiesgrcApplication": 0null,
            "scans": [],
      "numberTotalVulnerabilities": 6307,       "infoVulnCount": 0,
            "numberRepeatResultslowVulnCount": 0,
   
                "numberRepeatFindingsmediumVulnCount": 0,
               "highVulnCount": 0,
    "numberInfoVulnerabilities": 0,       "criticalVulnCount": 0,
            "numberLowVulnerabilitiestotalVulnCount": 43340,
            "isInternal": false,
      "numberMediumVulnerabilities": 47,     "tags": [
              "numberHighVulnerabilities": 1602,  {
                    "numberCriticalVulnerabilitiesid": 3243,
                    "scannerNamename": "Fortify SCAHIPAA",
                }    "type": "APPLICATION"
       ],         },
   "infoVulnCount": 0,            {
"lowVulnCount": 4334,             "mediumVulnCount": 47,     "id": 1,
      "highVulnCount": 1602,             "criticalVulnCountname": 324"PCI",
            "totalVulnCount        "type": 6307,"APPLICATION"
              "isInternal": false, }
           "tags": [],
            "versions": [],
            "riskRating": null,
            "filterSet": null,
            "applicationMetadataList": [],
            "waforganization": {
   null,             "organizationname": {"Team 0002",
                "nameid": "Test1
Team",            },
    "id": 1             }"waf": null
        }
    ]
}


Page Tree
rootApplications API