| Next revision | Previous revision |
| paloaltonetworks:api:set_configuration [2020/05/23 12:18] – created bstafford | paloaltonetworks:api:set_configuration [2022/11/23 12:49] (current) – external edit 127.0.0.1 |
|---|
| <code>&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting/wildfire/file-size-limit/entry[@name='script']&element=<size-limit>19</size-limit></code> | <code>&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting/wildfire/file-size-limit/entry[@name='script']&element=<size-limit>19</size-limit></code> |
| =====Security Settings===== | =====Security Settings===== |
| <code>https://10.1.1.1/api/?type=config&key=APIKEY&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<tcp><drop-zero-flag>yes</drop-zero-flag><bypass-exceed-oo-queue>no</bypass-exceed-oo-queue><check-timestamp-option>yes</check-timestamp-option></tcp></code> | <code>&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<tcp><drop-zero-flag>yes</drop-zero-flag><bypass-exceed-oo-queue>no</bypass-exceed-oo-queue><check-timestamp-option>yes</check-timestamp-option></tcp></code> |
| Set "Forward segments exceeding TCP App-ID inspection queue" settings in Device->Setup->Content-ID | Set "Forward segments exceeding TCP App-ID inspection queue" settings in Device->Setup->Content-ID |
| <code>https://10.1.1.1/api/?type=config&key=APIKEY&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<application><bypass-exceed-queue>no</bypass-exceed-queue></application></code> | <code>&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<application><bypass-exceed-queue>no</bypass-exceed-queue></application></code> |
| Set the "Forward segments exceeding TCP content inspection queue" and "Forward datagrams exceeding UDP content inspection queue" settings in Device->Setup->Content-ID | Set the "Forward segments exceeding TCP content inspection queue" and "Forward datagrams exceeding UDP content inspection queue" settings in Device->Setup->Content-ID |
| <code>https://10.1.1.1/api/?type=config&key=APIKEY&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<ctd><udp-bypass-exceed-queue>no</udp-bypass-exceed-queue><tcp-bypass-exceed-queue>no</tcp-bypass-exceed-queue></ctd></code> | <code>&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<ctd><udp-bypass-exceed-queue>no</udp-bypass-exceed-queue><tcp-bypass-exceed-queue>no</tcp-bypass-exceed-queue></ctd></code> |
| Set URL Proxy for SSL Decrypt. This allows proper response pages to be delivered even when decryption is not enabled. | Set URL Proxy for SSL Decrypt. This allows proper response pages to be delivered even when decryption is not enabled. |
| <code>https://10.1.1.1/api/?type=config&key=APIKEY&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<ssl-decrypt><url-proxy>yes</url-proxy></ssl-decrypt></code> | <code>&type=config&action=set&xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/setting&element=<ssl-decrypt><url-proxy>yes</url-proxy></ssl-decrypt></code> |
| ==Terminal Service Agent Config== | ==Terminal Service Agent Config== |
| ===Create TS Agent Entry=== | ===Create TS Agent Entry=== |