Skip to content

feat(policy): Add filtering to policy list command - #201

Merged
v0lkan merged 1 commit into
spiffe:mainfrom
marikann:186-list-policies-filtering
Aug 6, 2025
Merged

feat(policy): Add filtering to policy list command#201
v0lkan merged 1 commit into
spiffe:mainfrom
marikann:186-list-policies-filtering

Conversation

@marikann

Copy link
Copy Markdown
Contributor

This change introduces the ability to filter policies in the
spike policy list command by either a path pattern or a
SPIFFE ID pattern.

  • Added --path and --spiffeid flags to spike policy list.
  • These two filtering options are mutually exclusive and cannot be used together.
  • The backend (Nexus API) has been updated to support these filter parameters.
  • The command documentation has been updated to include the new flags and usage examples.

@v0lkan

v0lkan commented Jul 30, 2025

Copy link
Copy Markdown
Member

There are some CI failures. — I'll check the branch locally when I find some time.

@v0lkan

v0lkan commented Jul 31, 2025

Copy link
Copy Markdown
Member

looks like we need a SDK upgrade for this to pass CI. — will look at it and update here.

@marikann

Copy link
Copy Markdown
Contributor Author

yes I think so too

@v0lkan

v0lkan commented Aug 6, 2025

Copy link
Copy Markdown
Member

There is already a newer SPIKE SDK version.

I'll merge this and fix anything that needs fixing locally.

main will be broken for a while.

@v0lkan
v0lkan merged commit a3d7881 into spiffe:main Aug 6, 2025
1 of 10 checks passed
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.

2 participants