paloaltonetworks:api:basics
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| paloaltonetworks:api:basics [2020/05/22 14:25] – bstafford | paloaltonetworks:api:basics [2023/05/17 19:16] (current) – [cURL] bstafford | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| The official PANOS XML API information is [[https:// | The official PANOS XML API information is [[https:// | ||
| - | In addition to using cURL and PowerShell, you can (for the most part) just take the '' | + | In addition to using cURL and PowerShell, you can (for the most part) just take the //https// commands and paste them straight into a web browser' |
| =====Get API Key===== | =====Get API Key===== | ||
| To get the API key, run | To get the API key, run | ||
| Line 15: | Line 15: | ||
| * white space should be replaced with '' | * white space should be replaced with '' | ||
| * ''"'' | * ''"'' | ||
| - | * ''''' | + | * '' |
| * '' | * '' | ||
| * ''<'' | * ''<'' | ||
| Line 33: | Line 33: | ||
| * The '' | * The '' | ||
| * The '' | * The '' | ||
| + | * The '' | ||
| Sometimes we need to output to a file (e.g. if exporting configuration files or certificates) and we use '' | Sometimes we need to output to a file (e.g. if exporting configuration files or certificates) and we use '' | ||
| Line 61: | Line 62: | ||
| On some scripts, you may need the IP of the server the script is running on. This seems to work: (I found it [[https:// | On some scripts, you may need the IP of the server the script is running on. This seems to work: (I found it [[https:// | ||
| < | < | ||
| + | ===== Get XML Data ===== | ||
| + | < | ||
| + | [[https:// | ||
paloaltonetworks/api/basics.1590157500.txt.gz · Last modified: (external edit)
