Webhooks

Webhooks

Repository Firewall sends a webhook when it blocks or quarantines a component download due to policy violations. Webhooks are configured as Capabilities in Nexus Repository. Use these webhooks to integrate with external systems for incident response, security alerting, and compliance tracking.

When enabled, quarantine webhooks provide:

How Quarantine Webhooks Work

Webhooks cover two distinct scenarios. The values of quarantine_status and action indicate which of the two scenarios triggered the webhook.

First-Time Quarantine

When a component fails policy evaluation during download, it is added to quarantine. This scenario occurs when IQ Server policy evaluation fails during a component download. Nexus evaluates the component, adds it to quarantine, and blocks the download with HTTP 403 (HTTP 409 for NuGet packages). The webhook payload includes detailed policy violation information (including CVE information).

Expected values:

Repeat Access to Quarantined Component

This scenario occurs when a user tries to download a component that is already quarantined. Nexus blocks the request without performing a new policy evaluation and returns HTTP 403 (HTTP 409 for NuGet packages). The webhook payload includes a generic reason indicating a repeat access attempt.

Expected values:

Firewall Webhook Event Types

Event Type Availability in Firewall
Container Evaluation
Firewall Violation Alert
Firewall Waiver Request
License Override Management
Organization and Repository Management
Policy Management
Security Vulnerability Override Management
Waiver Expiration

Getting Started

Use the following pages to configure and validate webhook delivery in Nexus Repository

Use the following pages to create webhook and event types in Firewall