Releases: kevinsteves/pan-python
0.15.0
-
pan.afapi: Automatic int conversions have been deprecated in
Python3. See: https://bugs.python.org/issue27672 -
Use 9.0 documentation links.
-
pan.wfapi, panwfapi.py, pan.wfapi.rst, panwfapi.rst: Add support for
retrieving additional malware test file types. -
pycodestyle fixes.
-
pan.licapi, pan.afapi: Remove verbose argument from namedtuple() for
Python 3.7. From Michael Richardson.
0.14.0
-
setup.py: Cleanup and switch to setuptools. Will now also publish
wheels to PyPI. Classify as Production/Stable. -
Rename README.txt to README.rst and shrink.
-
pan.config: Support 9.0.0 config for set format.
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"
0.8.0
-
Don't override default Exception class
__init__()
and__str__()
methods since we don't change anything. -
pan.wfapi: Restore behaviour of allowing non-2XX response codes to
fall through urlopen() that was erroneously removed in previous SSL
handling/PEP 476 changes. -
pan.xapi: For commit sync=True, sleep at the top of the loop so we
don't poll immediately after commit. -
pan.wfapi: Mention WildFire appliance in the module docstring.
-
pan.wfapi, panwfapi.py: Rework SSL handling to use SSL context and
recognize PEP 476 changes in Python 2.7.9 and 3.4.3. Greatly
simplifies SSL certificate verification.NOTE INCOMPATIBLE CHANGES:
pan.wfapi.PanWFapi(): cacloud, cafile, capath removed.
ssl_context added.panwfapi.py: --cacloud removed. --ssl added.
-
panxapi.py: If a .panrc tagname is specified with -k the output will
be hostname and api_key varname values for use in a .panrc file. -
panwfapi.rst: hostname can also specify a WildFire appliance.
-
panwfapi.py: Allow --date to be specified as -days or 0 for today.
-
Use 7.0 links to documentation.
-
reStructuredText blank line cleanup.
-
pan.wfapi, panwfapi.py: Add support for /publicapi/submit/link(s)
requests. -
pan.wfapi, panwfapi.py: Add support for WildFire API
/publicapi/submit/change-request request.
0.7.0
- pan.xapi: Allow xml_result() to match result in report output.
- pan.config: Fix typo causing Panorama 6.1 xpaths to not be used.
- panrc.rst: Add section on .panrc file permissions.
- panxapi.py: Use lstrip('\r\n').rstrip() on response XML and message
before printing. - Fix a bug where we only processed the first node for -pjr when there
was more than one node. - Move .panrc documentation to a separate document.
- Documentation: /publicapi/get/verdicts allows up to 500 hashes.