Skip to main content

When getting the configuration for Palo Alto Firewalls in the Network Intents it is not giving it in the set format so its hard to check for compliance. How would I be able to see the configuration of the Palo Alto Firewalls in a set format like the link below?

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClHoCAK

Hi dprior,

I’m currently looking into your question and checking with the team internally. I’ll get back to you with an update as soon as I have more information.

I appreciate your patience!


Hi dprior,

Apologies for the delay. I had to escalate the issue to the QA team, and they’ve provided the following solution. Please give it a try and let us know your feedback.


The solution is to copy the JSON below into Figure 2  Step #5 and then give it a try.
 

{
    "expected_items": t
        {
            "expected_prompt": "):",
            "send_command": "yes",
            "hide": true
        },
        {
            "expected_prompt": "regex:login:",
            "send_command": "$(username)",
            "hide": false
        },
        {
            "expected_prompt": "regex:((\\(yes/no\\) *:)|(\\ yes/no\\] *:))",
            "send_command": "yes",
            "hide": false
        },
        {
            "expected_prompt": "Password:",
            "send_command": "$(password)",
            "hide": false
        },
        {
            "expected_prompt": "regex:>\\>\\#]",
            "send_command": "set cli pager off",
            "hide": false
        },
        {
            "expected_prompt": "regex: \\>\\#]",
            "send_command": "set cli terminal width 500",
            "hide": false
        },
        {
            "expected_prompt": "regex: \\>\\#]",
            "send_command": "set cli config-output-format set",
            "hide": false
        },
        {
            "expected_prompt": "regex:r\\>\\#]",
            "hide": false,
            "send_command": "configure"
        },
        {
            "expected_prompt": "regex: \\>\\#]",
            "hide": false,
            "send_command": ""
        }
    ],
    "related_builtin_cmd": >
        "show"
        ],
    "could_enter_cm_mode": false,
    "support_ping_trace_from": false
}

 

 


Reply