feat(i/snap): add snap-declaration assertion filters
Metadata
Current evaluation
Merged following two approvals and CI validation. Implements snap-declaration assertion filters in inspectors.yaml to restrict downloads by publisher-id, resolving issue #249. Rebased on feature/configurability.
Suggested action: —
No scores available.
Issue body
Snap-declaration assertion filters allow downloaded snaps to be
filtered according to snap-declaration assertion headers. To filter
based on publisher-id, add:
```
snap:
snap-declaration:
- name: publisher-id
value: [... allowed IDs ...]
```
to the inspectors.yaml configuration file.
Fixes: #249
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged following two approvals and CI validation. Implements snap-declaration assertion filters in inspectors.yaml to restrict downloads by publisher-id, resolving issue #249. Rebased on feature/configurability. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #414 fix(i/snap): fix snap declaration assertion parsing | fetch-service | merged | Merged after resolving snap declaration assertion parsing by allowing authority-id to appear in any field position. Added validation test cases. Approved by two reviewers and passed CI. |