The basic flow for when to show suppression actions:
When user is not logged in - show annotation-based suppressions code actions.
When user is logged in but local repo does not belong to any project in the cloud or belongs to a project without policy - show annotation-based suppressions code actions.
When user is loged in and local repo belongs to a cloud project show fingerprint-based suppressions code action:
If has repository write permission - show 'Suppress...' action.
If has repository read permission - show `Request suppression...' action.
This PR adds support for fingerprint suppressions.
Fixes https://github.com/kubeshop/monokle-saas/issues/2307. Fixes #93. Fixes https://github.com/kubeshop/monokle-saas/issues/2438. Fixes #94. Fixes #76 (48a94ac9e2bd42ea702a07ffbe40c22cbb222cae).
The basic flow for when to show suppression actions:
write
permission - show 'Suppress...' action.read
permission - show `Request suppression...' action.Changes
Fixes
How it works
https://github.com/kubeshop/vscode-monokle/assets/1061942/f33ad96e-a226-4455-9c70-28827e82f7ab
You can see an error in Monokle Cloud on suppressions view, I reported it earlier here - https://github.com/kubeshop/monokle-saas/issues/2461.
Checklist