> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-cloud-api/vulnerability-intelligence/vulnerabilities.md).

# Vulnerabilities

APIs for managing vulnerabilities

## Get list of vulnerabilities

> Get a list of vulnerabilities that match the filter fields. The list includes key information about each vulnerability.\
> \
> \*\*Required license:\*\* Cortex Cloud Runtime Security or Cortex Cloud Posture Management.

```json
{"openapi":"3.0.0","info":{"title":"Vulnerability Intelligence public APIs","version":"Cortex Cloud"},"tags":[{"name":"Vulnerabilities","description":"APIs for managing vulnerabilities"}],"servers":[{"url":"https://api-yourfqdn"}],"paths":{"/public_api/uvem/v1/get_vulnerabilities":{"post":{"summary":"Get list of vulnerabilities","tags":["Vulnerabilities"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"reply":{"type":"object","properties":{"result_count":{"type":"integer"},"total_count":{"type":"integer"},"vulnerabilities":{"type":"array","items":{"type":"object","properties":{"vulnerability_id":{"type":"string"},"epss_score":{"type":"integer","nullable":true},"cvss_score":{"type":"integer","nullable":true},"cvss_severity":{"type":"string","nullable":true},"package_names":{"type":"array","items":{"type":"string"}},"vendors":{"type":"array","items":{"type":"string"}},"distribution_and_releases":{"type":"array","items":{"type":"string"}},"cisa_kev":{"nullable":true},"cvss_severity_source":{"type":"string","nullable":true},"cvss_score_source":{"type":"string","nullable":true},"first_published":{"type":"integer"},"last_modified":{"type":"integer"},"reported_exploited_by":{"type":"array","items":{"type":"object"}},"attack_vector":{"type":"string"},"cvss_version":{"type":"string","nullable":true}}}},"next_page_token":{"type":"string"}}}}}}}},"401":{"description":"Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"reply":{"type":"object","properties":{"err_code":{"type":"string"},"err_msg":{"type":"string"},"err_extra":{"type":"string"}}}}}}}},"500":{"description":"Internal server error. A unified status for API communication type errors.","content":{"application/json":{"schema":{"type":"object","properties":{"reply":{"type":"object","properties":{"err_code":{"type":"string"},"err_msg":{"type":"string"},"err_extra":{"type":"string"}}}}}}}}},"operationId":"post-public_api-uvem-v1-get_vulnerabilities","description":"Get a list of vulnerabilities that match the filter fields. The list includes key information about each vulnerability.\n\n**Required license:** Cortex Cloud Runtime Security or Cortex Cloud Posture Management.","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["request_data"],"properties":{"request_data":{"type":"object","properties":{"filters":{"type":"array","description":"An array of filter fields","items":{"type":"object","properties":{"field":{"description":"Identifies the field the filter is matching. ","enum":["attack_vector","cisa_kev","cvss_score","cvss_score_source","cvss_severity","cvss_severity_source","cvss_version","distribution_and_releases","epss_score","first_published","last_modified","package_names","reported_exploited_by","vendors","vulnerability_id"]},"operator":{"type":"string","description":"Identifies the comparison operator you want to use for this filter. Allowed values depend on the filter used.\n- **contains**/**not_contains**: use with attack_vector, cvss_score_source, cvss_severity_source, cvss_version , distribution_and_releases, package_names, reported_exploited_by, vendors, vulnerability_id\n- **eq**/**neq**: use with attack_vector, cisa_kev, cvss_score, cvss_score_source, cvss_severity_source, cvss_version, epss_score, vulnerability_id\n- **gte**/**lte**: use with cvss_score, epss score, first_published, last_modified\n- **range**: use with first_published, last_modified\n- **relative_timestamp**: use with first_published, last_modified"},"value":{"type":"string","description":"Values for filtering the results.\n- *array[string]*: use with affected_cpu_archs, distribution_and_releases, package_names, reported_exploited_by\n- *boolean*: cisa_kev\n- *string*: use with attack_vector, cvss_score, cvss_severity, cvss_score_source, cvss_severity_source, cvss_version, vulnerability_id\n- *integer*: use with first_published, last_modified\n- *number*: use with cvss_score, epss_score"}}}},"sort":{"type":"object","properties":{"field":{"type":"string","description":"Sort on any filter field except fields that take an array as their value."},"keyword":{"enum":["asc","desc"]}}},"search_from":{"type":"integer","description":"An integer representing the start offset index of results\nDefault value - 0","default":0},"search_to":{"type":"integer","default":500,"description":"An integer representing the start offset index of results. Use this field to specify the number of results on a page when using page token pagination.\nDefault value - 500"},"use_page_token":{"type":"boolean","description":"Use `\"use_page_token\":true` in the initial request to paginate the response data."},"next_page_token":{"type":"string","description":"If `\"use_page_token\":true` was included in the initial request, the response for that request will include a page token.\nUse `\"next_page_token\":\"string\"` to pass that page token into the next request to paginate the next set of data."}}}}}}}},"parameters":[]}}}}
```

## Get vulnerability details

> Get detailed information about a specific vulnerability. \
> \
> For example, the following request retrieves detailed information about CVE-2021-28799:\
> <https://api-\\{{fqdn\\}}/public\\_api/uvem/v1/vulnerabilities?vulnerabilityId=CVE-2021-28799\\>
> \
> \*\*Required license:\*\* Cortex Cloud Runtime Security or Cortex Cloud Posture Management.

```json
{"openapi":"3.0.0","info":{"title":"Vulnerability Intelligence public APIs","version":"Cortex Cloud"},"tags":[{"name":"Vulnerabilities","description":"APIs for managing vulnerabilities"}],"servers":[{"url":"https://api-yourfqdn"}],"paths":{"/public_api/uvem/v1/vulnerabilities":{"get":{"summary":"Get vulnerability details","tags":["Vulnerabilities"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"cvss":{"type":"object","properties":{"baseScoreMetrics":{"type":"object","properties":{"attackComplexity":{"type":"string"},"attackVector":{"type":"string"},"availabilityImpact":{"type":"string"},"confidentialityImpact":{"type":"string"},"integrityImpact":{"type":"string"},"privilegesRequired":{"type":"string"},"scope":{"type":"string"},"userInteraction":{"type":"string"}}},"score":{"type":"number"},"scoreSource":{"type":"string"},"severity":{"type":"string"},"severitySource":{"type":"string"},"vectorString":{"type":"string"},"version":{"type":"string"}}},"description":{"type":"string"},"epss_score":{"type":"number"},"exploitDetails":{"type":"object","properties":{"commercialExploitFound":{"type":"boolean"},"exploitMaturity":{"type":"string"},"firstReportedThreatActor":{"type":"integer"},"mostRecentReportedThreatActor":{"type":"integer"},"publicExploitFound":{"type":"boolean"},"reportedExploited":{"type":"boolean"},"reportedExploitedByBotnets":{"type":"boolean"},"reportedExploitedByRansomware":{"type":"boolean"},"reportedExploitedByThreatActors":{"type":"boolean"},"weaponizedExploitFound":{"type":"boolean"}}},"fixVersions":{"type":"string"},"isKev":{"type":"boolean"},"temporalCvss":{"type":"object","properties":{"confidence":{"type":"string"},"score":{"type":"number"},"vectorString":{"type":"string"},"version":{"type":"string"}}},"vulnerabilityID":{"type":"string"}}}}}}},"operationId":"get-public_api-uvem-v1-vulnerabilities","description":"Get detailed information about a specific vulnerability. \n\nFor example, the following request retrieves detailed information about CVE-2021-28799:\nhttps://api-{{fqdn}}/public_api/uvem/v1/vulnerabilities?vulnerabilityId=CVE-2021-28799\n\n**Required license:** Cortex Cloud Runtime Security or Cortex Cloud Posture Management.","parameters":[{"schema":{"type":"string"},"in":"query","name":"vulnerabilityId","required":true,"description":"Vulnerability ID"},{"schema":{"type":"string"},"in":"header","name":"authorization","description":"api-key","required":true},{"schema":{"type":"string"},"in":"header","required":true,"name":"x-xdr-auth-id","description":"api-key-id"}]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-cloud-api/vulnerability-intelligence/vulnerabilities.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
