Skip to main content

Request Threat Signature Update History

The API Reference information for retrieving the release history for a specified threat signature can be found here.

Overview

The Threat Vault API can be used to request the history of threat signatures. Consider the following examples:

Keep a few things in mind when formatting your API query:

  1. All the query strings in Get requests must be a URL-Encoded parameter string. If you use a space in the URL-Encoded request, you must include either a plus sign (+) or %20 to replace the space.
  2. You can specify the content type of the request body and response by specifying the Content-Type header. Some responses generate an HTTP response in addition to a JSON object.
  3. Do not embed API keys in code or application source tree files. This can inadvertently expose the API key. Instead, consider storing the API key in environmental variables or files that are excluded from your application source tree files.

Example 1: Request information about the release history of a specific threat signature:

curl -H 'X-API-KEY: API_KEY' 'https://api.threatvault.paloaltonetworks.com/service/v1/threats/history?id=93680069&type=antivirus'

A successful API call returns, within the contents section, status="success" along with an indicator showing the total number of changes and the update history of the specified threat signature.

{
"success": true,
"link": {
"next": null,
"previous": null
},
"count": 27,
"data": [
{
"version": "4107",
"build_time": "2022-06-07T13:35:32Z",
"release_time": "2022-06-07T13:35:32Z"
},
{
"version": "4108",
"build_time": "2022-06-08T13:36:11Z",
"release_time": "2022-06-08T13:36:11Z"
},
{
"version": "4109",
"build_time": "2022-06-09T13:36:58Z",
"release_time": "2022-06-09T13:36:58Z"
},
{
"version": "4110",
"build_time": "2022-06-10T13:36:35Z",
"release_time": "2022-06-10T13:36:35Z"
},
{
"version": "4111",
"build_time": "2022-06-11T13:37:42Z",
"release_time": "2022-06-11T13:37:42Z"
},
{
"version": "4112",
"build_time": "2022-06-12T13:37:11Z",
"release_time": "2022-06-12T13:37:11Z"
},
{
"version": "4141-4654",
"build_time": "2022-07-10T21:35:18Z",
"release_time": "2022-07-11T11:01:37Z"
},
{
"version": "4142-4655",
"build_time": "2022-07-11T21:19:11Z",
"release_time": "2022-07-12T16:39:07Z"
},
{
"version": "4143-4656",
"build_time": "2022-07-12T21:18:53Z",
"release_time": "2022-07-13T16:41:26Z"
},
{
"version": "4144-4657",
"build_time": "2022-07-13T21:19:00Z",
"release_time": "2022-07-14T16:18:59Z"
},
{
"version": "4145-4658",
"build_time": "2022-07-14T21:18:59Z",
"release_time": "2022-07-15T11:02:26Z"
},
{
"version": "4146-4659",
"build_time": "2022-07-15T21:22:20Z",
"release_time": "2022-07-16T11:04:43Z"
},
{
"version": "4147-4660",
"build_time": "2022-07-16T21:19:54Z",
"release_time": "2022-07-17T11:02:57Z"
},
{
"version": "4148-4661",
"build_time": "2022-07-17T21:17:40Z",
"release_time": "2022-07-18T11:02:05Z"
},
{
"version": "4149-4662",
"build_time": "2022-07-18T21:16:36Z",
"release_time": "2022-07-19T11:02:37Z"
},
{
"version": "4150-4663",
"build_time": "2022-07-19T21:21:49Z",
"release_time": "2022-07-20T11:00:20Z"
},
{
"version": "4151-4664",
"build_time": "2022-07-20T21:18:33Z",
"release_time": "2022-07-21T11:02:19Z"
},
{
"version": "4152-4665",
"build_time": "2022-07-21T21:18:06Z",
"release_time": "2022-07-22T11:01:01Z"
},
{
"version": "4153-4666",
"build_time": "2022-07-22T21:17:03Z",
"release_time": "2022-07-23T11:03:36Z"
},
{
"version": "4154-4667",
"build_time": "2022-07-23T21:19:39Z",
"release_time": "2022-07-24T11:00:04Z"
},
{
"version": "4155-4668",
"build_time": "2022-07-24T21:17:28Z",
"release_time": "2022-07-25T11:04:54Z"
},
{
"version": "4156-4669",
"build_time": "2022-07-25T21:16:39Z",
"release_time": "2022-07-26T11:01:50Z"
},
{
"version": "4157-4670",
"build_time": "2022-07-26T21:19:18Z",
"release_time": "2022-07-27T11:01:51Z"
},
{
"version": "4158-4671",
"build_time": "2022-07-27T21:20:03Z",
"release_time": "2022-07-28T11:02:08Z"
},
{
"version": "4159-4672",
"build_time": "2022-07-28T21:19:14Z",
"release_time": "2022-07-29T11:04:31Z"
},
{
"version": "4160-4673",
"build_time": "2022-07-29T21:19:32Z",
"release_time": "2022-07-30T11:03:53Z"
},
{
"version": "4161-4674",
"build_time": "2022-07-30T21:19:21Z",
"release_time": "2022-07-31T11:03:45Z"
}
],
"message": "Successful"
}