Skip to content

fix: enforce rule box scoping and API rule IDs - #21

Open
rtrappman-dev wants to merge 4 commits into
firewalla:mainfrom
rtrappman-dev:fix/Rule-box-scoping-/-ID-handling
Open

rtrappman-dev wants to merge 4 commits into
firewalla:mainfrom
rtrappman-dev:fix/Rule-box-scoping-/-ID-handling

Conversation

@rtrappman-dev

Copy link
Copy Markdown

Summary

Fix rule collection and mutation handling so --box consistently scopes rules to the selected Firewalla box and rule operations use the rule IDs defined by the MSP API.

Problem

The CLI previously sent the selected box GID as a gid query parameter when fetching rules:

GET /v2/rules?gid=<box-gid>

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