PBF rules created with wrong path
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- networking
调研方向
Open panos/policies.py and locate the PBF profile XPath setup, starting with the self._xpaths.add_profile call mentioned in the issue. Confirm the path used for rule creation and verify that creating a PBF rule targets the documented rulebase/pbf/rules location.
由索引模型根据 Issue 内容生成。
描述
The import for PolicyBaseFordwarding uses wong xpath to try creating rules
The xpath to use should be /config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/pbf/rules"
It tries on config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/pbf/rules which is documented on https://github.com/PaloAltoNetworks/pan-os-python/blob/develop/panos/policies.py
Change " self._xpaths.add_profile(value="/pbf/rules") " to self._xpaths.add_profile(value="/rulebase/pbf/rules")
Any attempt to create a PBF
Firewall is running version 10.x
- 主要语言
- Python
- 星标
- 402
- 派生
- 199
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PaloAltoNetworks/pan-os-python 的其他 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 68/100
PaloAltoNetworks/pan-os-python#624 · 1 条评论 ·
-
Security: xml.etree.ElementTree used across 10 core modules — no XXE protection可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
PaloAltoNetworks/pan-os-python#617 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
documentation
难度 2/5 1-3 小时 新手友好度 35/100
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
查看 PaloAltoNetworks/pan-os-python 的全部 Issue
相似的 Issue
-
breaking change
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
check-skill-pages: show fixture build errors when a build fails可能已有人在做 @ShahadatTest 今天认领。 未关闭good first issue P2
难度 1/5 1 小时以内 新手友好度 85/100
coco-research/coco#439 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
esphome/home-assistant-addon#274 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
endurain-project/endurain#882 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 72/100