Tag Archives: tufin securechange

[python]Sending access request to Tufin SecureChange

Required improvements/Bugs IP address checking required, situation such as this 192.168.1.1/24. Dynamically update the action field, right now all request is assumed Accept. Dynamically update comment field on each access request, right now the script does not check comment Optimize … Continue reading

Posted in Python, Scripting | Tagged , , , , | Leave a comment

[tufin]Illegal processing instruction target, xml (case insensitive) is reserved by the specs. at [row,col {unknown-source}]: [2,5]

When I submit the xml body to Tufin SecureChange, Tufin’s response is xml (case insensitive) is reserved by the specs. at [row,col {unknown-source}]: [2,5] this is an exception threw by the Java app in tufin, the reason is because I … Continue reading

Posted in Python, Scripting | Tagged , | Leave a comment

[tufin]Caution on posting xml to tufin securechange

You need to remember to encode your xml body to utf-8, otherwise the requests module will throw in weird exceptions like this: 2018-05-04 16:53:57,068 ERROR:’NoneType’ object is not callable 2018-05-04 16:54:21,816 ERROR:too many values to unpack (expected 2) 2018-05-04 17:22:20,238 … Continue reading

Posted in Python, Scripting | Tagged , , | Leave a comment

[powershell]Get the verifier topology from Tufin SecureChange

There is a href in /securechangeworkflow/api/securechange/tickets/$ticket_id/steps for calling the topology map. Consider this script, supposed the previous script has passed the request successfully, that script passed the ticket id to this script.

Posted in Powershell, Scripting | Tagged , , | Leave a comment

[powershell]Send access request to Tufin SecureChange using REST API

Previously I had a code in powershell, however this update supports ip address range format. accepted source and destination addresses formats are: 1. hostname 2. host ip address 3. subnet in cidr notation 4. ip address range, from first ip … Continue reading

Posted in General stuffs, Powershell, Scripting | Tagged , , | Leave a comment

[powershell]Sending access request to Tufin SecureChange REST API.

On previous post I have a code that use a text block to contain all the XML tags of a body, this method proved to be unsustainable, for some reasons variables cannot be parsed into the @” “@ block correctly. … Continue reading

Posted in Powershell, Scripting | Tagged , , | Leave a comment

[powershell]Creating access request on Tufin using REST API

This script uses a user filled in excel sheet (xlsx), the sheet contains 3 columns, source, destination and service. Since Tufin SecureChange cannot do remove or deny, asking user to choose remove or deny is meaningless. the below script has … Continue reading

Posted in Powershell, Scripting | Tagged , , , , | Leave a comment