Bulk Waivers

Bulk Waivers

The Bulk Waivers feature allows users to efficiently create waivers for multiple policy violations simultaneously within Sonatype Lifecycle. This feature streamlines waiver management, improves consistency, and reduces the time required to handle policy violations.

Key Benefits:

The Bulk Waivers feature enables you to create and apply multiple policy waivers in a single workflow, improving efficiency and consistency across applications.

Accessing Bulk Waivers

The Bulk Waive button is available in several locations throughout the application interface:

“The Bulk Waive button is visible only to users who have the WAIVE_POLICY_VIOLATIONS permission. When this permission is granted but there are no open waiveable violations, the button is disabled.

Violation Selection:

The Violation Selection page displays all policy violations eligible for bulk waiver in a sortable, filterable table. You can select multiple violations to waive at once.

Key Features:

Once at least one violation is selected, Click Next to proceed to the Waiver Configuration step. To exit without saving, Click Cancel to return to the previous page and clear selections.

Waiver Configuration:

In this step, you configure how waivers will apply to the selected violations. The configuration includes scope, component matching strategy, expiration duration, reason, and comments.

Configuration Options:

Scope(Required)

Indicates the organizational level (such as Application, Organization, or Repository) where the waiver applies.

Available options include Application, Organization, Repository, Repository Manager, and Repository Container, depending on your permissions and the current context.

Component Matching (Required)

Specifies how the waiver matches components:

Waiver Expiration (Required)

Determines when the waiver expires. Choose from a set of predefined durations (7, 14, 30, 60, 90, or 120 days). You can also specify that the waiver will never expire or provide a custom expiration date using the date picker.

Note

When selecting a custom date, you must choose a future date.

Reason (Optional)

Select a predefined waiver reason configured in Sonatype Lifecycle.

Comments (Optional)

Provide contextual notes explaining the waiver rationale (maximum 1000 characters).

Handling Unknown Components:

After configuring the waiver, Click Next to review the summary. If you need to change selections, Click Back to return to the previous step. To discard and exit, Click Cancel.

Confirmation and Submission:

The Confirmation step allows users to review all selected violations and configuration details before submission.

Review Summary:

This message indicates that the ‘All Versions’ option applies only to identified components, and unknown components will be excluded from the waiver.

After you click Submit, the bulk waiver is created. It will be applied the next time Sonatype Lifecycle performs a report re-evaluation and will not affect the current report.

A confirmation is available at the top of the screen: “Bulk Waivers will apply when the report is re-evaluated.”

Submission:

After reviewing, Click Submit to create waivers. Waivers are created through a single, atomic transaction, if any validation fails, the entire batch is rolled back.

A message confirms: “Re-evaluate the report to apply bulk waivers.”

API Integration

You can also create bulk waivers programmatically using the Policy Waiver REST API. This operation requires the WAIVE_POLICY_VIOLATIONS permission, and waivers are created in a single atomic transaction (if any violation fails validation, the entire batch is rolled back).

See the full API reference and examples here: Bulk Waivers API