Self-service Firewall rules?

Reply
L0 Member

Self-service Firewall rules?

Wondering if the NGFW are capable of automation. Automation as in, if someone has a set of firewall rules that needs to implemented and they know their source, their destination, their port, they can implement the rule themselves. 

L5 Sessionator

Re: Self-service Firewall rules?

Hi @BulgingEyes,

 

This is definitely possible! Using the XML-API you can send a HTTP POST for example with the known information like you mention to create a rule, then send a commit job afterwards.

 

https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api

 

https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api/get-started-with-the-pan-os-xml-api

 

Thanks,

Luke.

L7 Applicator

Re: Self-service Firewall rules?

@BulgingEyes,

Yup. As @LukeBullimore already pointed out the XML-API actually allows you to do a lot of this, and depending on what you are doing setting up security rules with address-groups will likely be to your advantage. 

Currently I have a few groups that can add addresses via a scripts that utilizes the API to add address objects for development and testing servers as an address with a 'Test-Server' or 'Dev-Server' tag that are then a part of a dynamic address-group that gets used in security policies to allow the Dev and Server folks access to newley created machines. 

L7 Applicator

Re: Self-service Firewall rules?

And note that once you dig into the api and start working on this.  There is a separate forum here to ask questions.

 

https://live.paloaltonetworks.com/t5/Automation-API-Discussions/bd-p/TechnologiesSDKsDiscussions

 

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center
L7 Applicator

Re: Self-service Firewall rules?

@BulgingEyes

Depending on your actual goal, keep in mind that this can be extremely complex to implement. At least if you also need custom workflows with approvals, logging for audit and compliance reasons, building a usable webinterface for your users and so on. So depending on your needs, the time you want to invest, and the knowledge you/your company already has, it could make more sense to buy something that already does this for you.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!