Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Artifact RegistryDependency FirewallExceptions

Request an exception

Submit a time-limited exception request to use a package blocked or warned by Harness Dependency Firewall, with a business justification and remediation plan.

When Dependency Firewall flags a package as Blocked or Warning, an exception is the supported way to grant temporary access. You submit a request with a business justification and a remediation plan. An approver reviews the request, and on approval the package version becomes available for the duration you requested. When that duration elapses, the exception expires and the original verdict applies again.

Before you begin

  • Dependency Firewall is enabled on the upstream proxy you need access through. Go to Dependency Firewall overview.

  • The package version shows a Blocked or Warning status on the Violations tab. Passed packages cannot be excepted.

  • Your user account has download access to the registry.

Exception lifecycle

State
How it gets there
What it means

Pending

You submit the request

The package stays under its original Blocked or Warning verdict

Approved

An approver approves the request

The package version is available for the duration you requested

Rejected

An approver rejects the request

The original verdict stands; a new request is required

Expired

The approved duration has elapsed

The original verdict applies again; submit a new request to renew

Submit a request

Exception requests are filed from the row that shows the violation:

  1. In the navigation menu, select Dependency Firewall, then open the Violations tab.

  2. Find the package and version you need access to. The Status column shows Blocked or Warning.

  3. Open the row overflow menu (⋮) and select Request Exception.

  4. Fill in the request form:

Field
Description

Package Name

Pre-filled from the violation row. Read-only.

Version

Pre-filled. Add additional versions in the same field if you need access to more than one.

Exception duration (in days)

How long the exception stays active after it is approved.

Business justification

Why you need this package now: the operational reason that makes the exception necessary.

Remediation plan

How and when you plan to upgrade, replace, or remove the dependency.

  1. Select Send Exception Request.

The request enters Pending state and becomes visible to approvers on the Exceptions tab. You receive no automatic notification when the request is reviewed. To be alerted on status changes, ask your account administrator to configure a Centralised Notification rule for the Dependency Firewall Exception events.

After your request is approved

When an approver approves your request, the exact package@version is pulled into the upstream proxy registry and becomes available for download. Subsequent pulls of that version succeed instead of being blocked by the firewall, until the exception expires.

After the exception expires, the package reverts to its policy verdict. If you still need access, go to the Violations tab and submit a new request with an updated remediation plan.

Edit or withdraw a pending request

You can modify or cancel a pending request at any time before it is approved or rejected. Once a request reaches Approved or Rejected, it is locked.

  1. Go to Dependency Firewall > Exceptions tab.

  2. Find the row in Pending status.

  3. Open the row overflow menu (⋮).

  4. Select Edit Exception to update the duration, justification, or remediation plan, or Delete to withdraw the request.

Troubleshooting

Request Exception is missing from the row menu

Confirm that Dependency Firewall is enabled on the upstream proxy that produced the violation, and that the violation status is Blocked or Warning, not Passed. Passed versions cannot be excepted. Also confirm your account has download access to the registry.

The exception was approved but the package still fails to download

Confirm the following:

  • The exception covers the exact version you are requesting. Version matching is precise: 1.2.3 and 1.2.3.1 are different.

  • The upstream proxy on the exception matches the proxy you are pulling through.

  • The exception status on the Exceptions tab shows Approved, not Expired.

If all three are correct and the package still fails, contact Harness Support.

The exception expired and the package is blocked again

Expired exceptions are not auto-renewed. Open the Violations tab, find the package, and submit a new request with an updated remediation plan.

Approvers did not receive a notification when I submitted the request

Notifications are not sent to approvers by default. To push exception events to Slack, email, Microsoft Teams, or other channels, an account administrator must configure a Centralised Notification rule for Artifact Registry on the Dependency Firewall Exception Requested event. Go to Artifact Registry notifications for setup steps.

Last updated

Was this helpful?