Code Monkey home page Code Monkey logo

Comments (7)

mpapazog avatar mpapazog commented on August 17, 2024

Thank you for your feedback. I will take a look at these.

On the second issue: are you asking for the script to verify if the line it is going to insert is the same as the one that already exists in the same position and skip that appliance if true?

from automation-scripts.

pblais-bowlero avatar pblais-bowlero commented on August 17, 2024

Thank you for your feedback. I will take a look at these.

On the second issue: are you asking for the script to verify if the line it is going to insert is the same as the one that already exists in the same position and skip that appliance if true?

Hopefully, I can communicate it better. Sorry for the confusion. What is happening is, It does not go to each backup file and restore to file for each meraki. It actually is taking the first backup file and restoring it to the other Meraki MX devices. So is acting like one backup file for all MX appliances. So it changes the source IP addresses to the wrong backup file. Does that make sense?

from automation-scripts.

mpapazog avatar mpapazog commented on August 17, 2024

I think I fixed the second issue you reported. Please have a look at the latest version of the script, which has moved here: https://github.com/meraki/automation-scripts/tree/master/mx_firewall_control

I will do some testing on the other issue next week.

The script has also been updated to use API v1 and now has the option to fetch the API key from an environment variable.

from automation-scripts.

pblais-bowlero avatar pblais-bowlero commented on August 17, 2024

Thank you for getting this completed. I will test and let you know what I find. It is a great script for Outbound Firewall rules changes on the Meraki MX devices.

from automation-scripts.

mpapazog avatar mpapazog commented on August 17, 2024

Please check the latest version of the script. It should no longer duplicate "allow any" default rules.

Note that if the ruleset you are inserting ends with an "allow any", the script will not strip it, unless it ends up being positioned as the last rule of the merged ruleset. Inserting an "allow any" in between other rules can be intentional, for example to disable processing part of the ruleset without removing it. To prevent inserting the "allow any" in this scenario, modifying the source ruleset is the way to go.

Let me know how your tests go.

from automation-scripts.

mpapazog avatar mpapazog commented on August 17, 2024

Closing due to inactivity. If the problem persists in the latest version, please reopen this issue.

from automation-scripts.

pblais-bowlero avatar pblais-bowlero commented on August 17, 2024

Sorry for the delay in responding. I have finally tested and the two issues have been resolved successfully. Thanks for getting it done.

from automation-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.