Get URL Web Artifacts
Table of Contents
Expand all | Collapse all
-
- Get a WildFire Verdict (WildFire API)
- Get Multiple WildFire Verdicts (WildFire API)
- Get a List of Samples with Changed WildFire Appliance Verdicts (WildFire API)
- Get a Sample (WildFire API)
- Get a Packet Capture (WildFire API)
- Get a WildFire Analysis Report (WildFire API)
- Get a Malware Test File (WildFire API)
- Get URL Web Artifacts
- WildFire API Error Codes
Get URL Web Artifacts
Use this resource to get the web artifacts found during
analysis of the specified web page URL.
Resource
/get/webartifacts/
Request Parameters
Use the following form
parameters when requesting URL analysis web artifacts:
Parameters | Description | Example |
|---|---|---|
| (Required for API key authentication) API key | Example:
|
| (Required for token-based authentication) HTTP request header for token-based authentication. To obtain an access token, create a WildFire API token in Strata Cloud Manager, then generate an access token from the authentication service. | Example:
|
| (Required for Prisma Access and Prisma Cloud
Compute-based WildFire public API keys) Designates the API
key type | Example:
Options
include:
|
| (Required) The URL of the web page | Example:
|
| Web artifact types | The following values can be specified in a
comma-separated list. Acceptable values:
|
Example Request
Make a POST request to
the /get/webartifacts resource and include
the API key, the URL of the web page, and optionally include the
specific web artifacts that you want to download (the default is
all), similar to the following cURL command:
curl -F 'apikey=<API KEY>' -F 'url=http://www.google.com' -F 'types=download_files' -JO 'https://wildfire.paloaltonetworks.com/publicapi/get/webartifacts'
The
response saves the URL web artifacts in a .tgz file package to your
local system.
Example Request (Token-Based Authentication)
Alternatively, you can authenticate using a Bearer token instead of an API key. Make the same POST request to the /get/webartifacts resource, but replace the apikey form field with an Authorization header containing your access token:
curl -F 'url=http://www.thebadsite.com' -H 'Authorization: Bearer <ACCESS_TOKEN>' 'https://wildfire.paloaltonetworks.com/publicapi/get/webartifacts'