Skip to content

Document PBF rulebase hierarchy and cover firewall/Panorama XPaths - #638

Open
emrecoskunz wants to merge 3 commits into
PaloAltoNetworks:developfrom
emrecoskunz:docs/pbf-rulebase-hierarchy
Open

emrecoskunz wants to merge 3 commits into
PaloAltoNetworks:developfrom
emrecoskunz:docs/pbf-rulebase-hierarchy

Conversation

@emrecoskunz

@emrecoskunz emrecoskunz commented Nov 30, 2026 •

Copy link
Copy Markdown

References #577.

The rulebase parent supplies the PBF path segment. This change documents the supported hierarchy and tests both xpath_short() and xpath() for firewall vsys1/vsys3 and Panorama device-group pre-/post-rulebases. The existing relative XPath is preserved.

Verification

Tested commit 6af3a3a on Windows using Poetry 1.7.1 and the repository lockfile. Python socket connections were disabled and tests/live was excluded.

Check Result
Four PBF cases All four passed on Python 3.8.20 and 3.9.25
Full offline suite, including mocked integration tests 3,134 passed and 723 skipped on each interpreter
Black and isort Both passed on Python 3.8.20
Flake8 4,149 diagnostics on both this head and upstream 92ed648. The diagnostic multisets match after ignoring line positions.
Bandit Eight findings on each revision, with the same rule IDs and messages.

Read the Docs succeeded on the updated PR. GitHub Actions requires upstream workflow approval. All tests used local objects or mocks.

AI-assisted contribution.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant