ApplicationObject's refreshall limits to 50 results
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- api, documentation
調査の方向性
Start with examples/bulk_address_objects.py, linked in the issue, and review how ApplicationObject.refreshall is presented there. Document the 50-object pagination behavior and the supported way to retrieve additional objects, if one is available in the SDK. The documentation is done when users can understand the limit and how to fetch all results.
索引モデルが issue の本文から書いたものです。
説明
Documentation link
https://github.com/PaloAltoNetworks/pan-os-python/blob/develop/examples/bulk_address_objects.py
Describe the problem
The documentation does not mention that the Panorama SDK paginates Application objects with a default limit of 50, and the pan-os-sdk does not automatically handle pagination.
As a result, calling:
objects = ApplicationObject.refreshall(panorama)
returns only 50 application objects, even when more exist.
There is also no documented method in the SDK (such as chunk_size or limit) to override the limit or to auto-paginate, which leads to confusion.
Is it possible to fetch all the objects using pagination or any other approach ?
- 主要言語
- Python
- スター
- 402
- フォーク
- 199
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
PaloAltoNetworks/pan-os-python#617 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
PaloAltoNetworks/pan-os-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
suitenumerique/accounts#160 ·
メンテナーはふだん 1 日以内に返信
-
Restoring an exhausted flatmap checkpoint can replay consumed records対応中かも @salma2vec が今日担当しました。 オープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
`ingest` fails with pynndescent 0.7対応中かも @eroell が今日担当しました。 オープンTriage 🩺
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信