Get PolicyVioalationIds for Repository - Sonatype Lifecycle & Repository Firewall - Sonatype Community

Get PolicyVioalationIds for Repository

post by m588 on May 13, 2022

Marcus Münzberg

Hello,

i am investigate, how i can get all Polcy Violation for an Repository?

Have only found the " Policy Violation REST API" which gives me only the applicationViolations.

For the Background: I want to import a new policy matrix and therefor all Waivers are lost. To rebuild the actual state, i want to extract all existing waivers (with the information of packageUrl etc…) and then use the " Policy Waiver REST API" to add this Waiver. So we have the same state as before (also for new fine grained policys).

Is this possible at the moment?

Greets, Marcus

613 views