Skip to content

Commit

Permalink
[SOAR-18265] Palo Alto Pan OS - Fix add_address_object_to_group action (
Browse files Browse the repository at this point in the history
#2976)

* Fix action, sdk bump, requirements bump - v6.1.7

* Removing jsonschema from requirements (included in SDK)
  • Loading branch information
rmurray-r7 authored Nov 25, 2024
1 parent c084e5d commit ce7cec9
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions plugins/palo_alto_pan_os/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "4e7e4991077f7598ca5677952ca60355",
"manifest": "3e6147497a52840d1b21b61882289ead",
"setup": "c28b96c0343eafc1b11aee33318a848f",
"spec": "07e1f60e8ad5a8d8b2e49f30e70c7502",
"manifest": "8bac9240ef9e34d7fe118a91dcf5e7a5",
"setup": "d1c8ebcf988930ddb2730385228df605",
"schemas": [
{
"identifier": "add_address_object_to_group/schema.py",
Expand Down
2 changes: 1 addition & 1 deletion plugins/palo_alto_pan_os/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.0.0
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.2.0

LABEL organization=rapid7
LABEL sdk=python
Expand Down
2 changes: 1 addition & 1 deletion plugins/palo_alto_pan_os/bin/komand_palo_alto_pan_os
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "Palo Alto Firewall"
Vendor = "rapid7"
Version = "6.1.6"
Version = "6.1.7"
Description = "[PAN-OS](https://www.paloaltonetworks.com/documentation/80/pan-os) is the software that runs all Palo Alto Networks next-generation firewalls. This plugin utilizes the [PAN-OS API](https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api) to provide programmatic management of the Palo Alto Firewall appliance(s). It supports managing firewalls individually or centralized via [Panorama](https://www.paloaltonetworks.com/network-security/panorama)"


Expand Down
1 change: 1 addition & 0 deletions plugins/palo_alto_pan_os/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,7 @@ Action connection type

# Version History

* 6.1.7 - Fix issue in 'add_address_object_to_group' action | SDK bump to 6.2.0 | Bumping requirements.txt
* 6.1.6 - Update SDK | Fix critical Snyk vulnerability
* 6.1.5 - Bumping requirements of `gunicorn` and `validators` | update the SDK to 5.4.9 | Added examples to all actions | Updated unit tests to include schema checks
* 6.1.4 - Add information to every action on whether it uses Panorama or a direct firewall connection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ def run(self, params={}):
def make_xml(names, group_name):
members = ""
for name in names:
members = members.join(f"<member>{name}</member>")
members += f"<member>{name}</member>"
xml_template = f"<entry name='{group_name}'><static>{members}</static></entry>"
return xml_template
5 changes: 3 additions & 2 deletions plugins/palo_alto_pan_os/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ products: [insightconnect]
name: palo_alto_pan_os
title: Palo Alto Firewall
description: "[PAN-OS](https://www.paloaltonetworks.com/documentation/80/pan-os) is the software that runs all Palo Alto Networks next-generation firewalls. This plugin utilizes the [PAN-OS API](https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api) to provide programmatic management of the Palo Alto Firewall appliance(s). It supports managing firewalls individually or centralized via [Panorama](https://www.paloaltonetworks.com/network-security/panorama)"
version: 6.1.6
version: 6.1.7
sdk:
type: full
version: 6.0.0
version: 6.2.0
user: nobody
supported_versions: ["9.0.3"]
connection_version: 6
Expand All @@ -32,6 +32,7 @@ requirements: ["Access to Palo Alto Next Generation firewall or Palo Alto Panora
references: ["[Palo Alto PAN-OS API](https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api)"]
links: ["[Palo Alto PAN-OS](https://www.paloaltonetworks.com/documentation/80/pan-os)"]
version_history:
- "6.1.7 - Fix issue in 'add_address_object_to_group' action | SDK bump to 6.2.0 | Bumping requirements.txt"
- "6.1.6 - Update SDK | Fix critical Snyk vulnerability"
- "6.1.5 - Bumping requirements of `gunicorn` and `validators` | update the SDK to 5.4.9 | Added examples to all actions | Updated unit tests to include schema checks"
- "6.1.4 - Add information to every action on whether it uses Panorama or a direct firewall connection"
Expand Down
5 changes: 2 additions & 3 deletions plugins/palo_alto_pan_os/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
gunicorn==22.0.0
xmltodict==0.12.0
dicttoxml==1.7.4
validators==0.22.0
validators==0.34.0
IPy==1.01
parameterized==0.8.1
jsonschema==3.2.0
parameterized==0.9.0
setuptools==70.0.0
2 changes: 1 addition & 1 deletion plugins/palo_alto_pan_os/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="palo_alto_pan_os-rapid7-plugin",
version="6.1.6",
version="6.1.7",
description="[PAN-OS](https://www.paloaltonetworks.com/documentation/80/pan-os) is the software that runs all Palo Alto Networks next-generation firewalls. This plugin utilizes the [PAN-OS API](https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api) to provide programmatic management of the Palo Alto Firewall appliance(s). It supports managing firewalls individually or centralized via [Panorama](https://www.paloaltonetworks.com/network-security/panorama)",
author="rapid7",
author_email="",
Expand Down

0 comments on commit ce7cec9

Please sign in to comment.