Get All Applications
POST/appid/api/v2/app
Get the list of all applications and its details. These are applications that are scanned based on the discovery criteria and displayed in the Application Inventory. This endpoint will return upto 2000 applications. You can further filter the application based on the values of business criticality, business owner, environment and name.
Note: You need
investigateApplicationRql
feature withRead
permission to access this endpoint. Verify if your permission group includes this feature using the Get Permission Group by ID endpoint. You can also check this in the Prisma Cloud console by ensuring thatInvestigate
>Applications
is enabled.
Request
- application/json
Body
businessCriticality string
owner string
displayName string
environment string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- getAppsByRepositoryIds
- getAppsByMetadataFields
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
apps object[]
id string
createdAt integer
metadata object
property name* string[]
string
summary object
cloudTypes string[]
assetCount object
total integer
byAlertSeverity object
critical integer
high integer
medium integer
low integer
informational integer
byVulnSeverity object
critical integer
high integer
medium integer
low integer
alertCountByPolicyType object[]
type string
value integer
alertCountBySeverity object
critical integer
high integer
medium integer
low integer
informational integer
vulnCountBySeverity object
critical integer
high integer
medium integer
low integer
findingCountByType object[]
type string
value integer
{
"apps": [
{
"id": "string",
"createdAt": 0,
"metadata": {},
"summary": {
"cloudTypes": [
"string"
],
"assetCount": {
"total": 0,
"byAlertSeverity": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0,
"informational": 0
},
"byVulnSeverity": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0
}
},
"alertCountByPolicyType": [
{
"type": "string",
"value": 0
}
],
"alertCountBySeverity": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0,
"informational": 0
},
"vulnCountBySeverity": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0
},
"findingCountByType": [
{
"type": "string",
"value": 0
}
]
}
}
]
}
[
{
"metadata": {
"businessCriticality": [
"High"
],
"displayName": [
"AppDNA-Test-APP"
],
"environment": [
"prod"
],
"owner": [
"owner1"
],
"repos": [
{
"fullRepositoryName": "name-012b49a5-4ddc-42db-a0fe-632279d1afc5",
"id": "012b49a5-4ddc-42db-a0fe-632279d1afc5"
},
{
"fullRepositoryName": "name-6e453e07-d896-4c65-a902-cb52874fe399",
"id": "6e453e07-d896-4c65-a902-cb52874fe399"
}
],
"reviewed": [
"true"
],
"type": [
"NON_K8s"
]
},
"id": "0622a20b-8db5-449d-b529-70ab3244be79",
"createdAt": 1713876184450,
"summary": null
},
{
"metadata": {
"displayName": [
"appid-tags-automation"
],
"environment": [
"prod"
],
"owner": [
"owner2"
],
"repos": [
{
"fullRepositoryName": "name-012b49a5-4ddc-42db-a0fe-632279d1afc5",
"id": "012b49a5-4ddc-42db-a0fe-632279d1afc5"
},
{
"fullRepositoryName": "name-6e453e07-d896-4c65-a902-cb52874fe399",
"id": "6e453e07-d896-4c65-a902-cb52874fe399"
}
],
"reviewed": [
"true"
],
"type": [
"NON_K8s"
]
},
"id": "88f3fd07-4096-3504-867d-f5cf3422ddae",
"createdAt": 1713876184450,
"summary": null
}
]
[
{
"metadata": {
"businessCriticality": [
"High"
],
"businessUnit": [
"pc"
],
"clusterAssetId": [
"arn:aws:eks:us-east-1:661959982153:cluster/k8sdev-apps2"
],
"complianceStandards": [
"pc"
],
"description": [
"testing edit for an application"
],
"devopsOwner": [
"pc"
],
"displayName": [
"applicedev@k8sdev-apps2"
],
"environment": [
"Production"
],
"namespace": [
"applicedev"
],
"owner": [
"pc"
],
"repository": [
"pc"
],
"reviewed": [
"true"
],
"securityOwner": [
"pc"
],
"type": [
"K8s"
]
},
"id": "56e3a090-9510-33f8-a93e-ecb14a2ac38f",
"createdAt": -1,
"summary": {
"alertCountByPolicyType": {
"attack_path": 71,
"config": 3,
"iam": 46,
"network": 4
},
"alertCountsBySeverity": {
"critical": 8,
"high": 25,
"info": 60,
"low": 60,
"medium": 27
},
"assetCount": {
"total": 24
},
"cloudTypes": [
"aws"
],
"findingCountByType": {
"INTERNET_EXPOSURE": 12,
"MISCONFIGURATION": 1,
"PRIVILEGE_ESCALATION": 8
},
"vulnCountsBySeverity": {
"critical": 0,
"high": 0,
"low": 0,
"medium": 0
}
}
}
]
Loading...