Pan-python

Latest version: v0.25.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.13.0

-------------------

- Documentation fixes.

- pan.config: Support 8.1.0 config for set format.

- Use 8.1 documentation links.

0.12.0

-------------------

- Add documentation for panafapi.py.

- Documentation fixes.

- panxapi.py: For json.dumps() use separators=(',', ': ') so -j output
is the same with py2 and py3 (this is the default when indent is not
None starting in 3.4).

- panxapi.py: Allow -t '' which is the same as no tag but can also be
used to create tag-less entries for a .panrc.

- pan.config: Quote set argument with single quotes if it contains a
double quote.

0.11.0

-------------------

- pan.wfapi.rst, panwfapi.rst: Reference "WildFire API Reference" for
platform ID documentation.

- Use 8.0 documentation links.

- pan.config: Add XPaths for 8.0.

- Add a Python and command line interface to the PAN-OS licensing API.

- panwfapi.py, pan.wfapi: Add phishing verdict.

- pan.xapi: When URLError try to deduce if it's a SSL handshake error
and if OpenSSL may not support TLS 1.1, and log warning at DEBUG1
that PAN-OS 8.0 does not allow TLS 1.0 connections by default.

- pan.xapi, pan.afapi, pan.wfapi: log ssl.OPENSSL_VERSION at DEBUG3.

- pan.xapi.rst: Fix cut-paste error in xml_result().

- Remove Python 3.[23] and add 3.5 to supported list. 3.[23] should
continue to work however I'm not testing with them.

- pan.wfapi, pan.xapi: Handle ssl.CertificateError exception.

- pan.wfapi: Fix raise of PanXapiError vs. PanWFapiError.

- pan.config: Add XPaths used for XML to set translation in 7.0 and 7.1.

- pan.xapi: Add undocumented feature to use pre PAN-OS 4.1 API request
URI and commit request. From Darlene Wong.

0.10.0

-------------------

- pan.http: Use email.message_from_string() for the headers attribute,
which is now an email.message.Message object:

https://docs.python.org/2/library/email.message.html

encoding attribute now set with Message get_content_charset()
method.

Add content_type attribute using Message get_content_type() method.

NOTE: this *may* introduce an incompatibility depending on how you
were using pan.afapi.PanAFapiRequest http_headers.

- pan.http: If using urllib and no content-type header urlencode data
so application/x-www-form-urlencoded request works.

- panxapi.rst: Add link to "PAN-OS XML API Labs with pan-python".

- Updated documentation links to PAN-OS 7.1.

- pan.xapi, pan.wfapi: Sanitize secrets in debug output.

- pan.wfapi, bin/panwfapi.py: Deprecate the use of
pan.wfapi.cloud_ssl_context() for SSL server certificate
verification.

NOTE: Changes are backwards compatible however use of
cloud_ssl_context() is not recommended.

If your operating system certificate store is insufficient you can
install certifi (https://pypi.python.org/pypi/certifi) and its CA
bundle will now be used for SSL server certificate verification when
ssl_context is None.

- pan.xapi: Allow Python 2.6 as a one-off while still using
sys.version_info.major named attribute.

- pan.xapi, panxapi.py: Support for type=report API request. Joint
effort with Andrew Stanton.

0.9.1

------------------

- panrc.rst: AutoFocus API uses .panrc also.

- pan.rc: Sanitize secrets in debug output.

- pan.http: Handle ssl.CertificateError exception.

- panxapi.py: api_password now optional for -l; when not specified the
user is prompted for the password (using getpass.getpass()).

0.9.0

------------------

- AutoFocus API support.

- panwfapi.py: Add hash length to hash invalid length message.

- pan.wfapi: Use email package for HTTP header retrieval and parsing;
also fixes potential issue with not handling a quoted filename in
content-disposition header.

content-disposition: attachment; filename="sample"

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.