BytesafeDependency Firewall

Exceptions

Field-level reference for firewall rule exceptions and the exception reason vocabulary.

An exception waives one rule for requests matching its selector. It is consulted only after the rule's own selector has matched, and only while unexpired. For the mental model, see Exception model; for workflows, see Manage exceptions.

Shape

{
  "id": "allow-lodash-41720",
  "rule": "block-critical-vulns",
  "selector": { "packageName": "lodash", "version": "4.17.20" },
  "log": true,
  "expires": "2026-08-01T00:00:00Z",
  "reason": "not_exploitable",
  "notes": "Not reachable from our code. JIRA-1234."
}

Fields

FieldTypeDescription
idstringUnique within the firewall. Recorded on log entries for requests the exception allowed
rulestringID of the rule this exception waives. Exactly one rule per exception
selectorobjectSame shape as a rule selector, including wildcards and functions. Scope narrowly
logbooleanWrite a log entry (message EXCEPTION, carrying the exception ID) when the exception allows a request
expiresstringRFC 3339 timestamp. From this moment the exception stops matching and the rule applies again. Optional; omitted means no expiry
reasonstringOne of the reason codes below
notesstringFree text; the place for ticket links and justification detail

Reasons

Config valueDashboard labelMeaning
acknowledged_violationAcknowledged ViolationThe violation is known and accepted for now
evaluating_componentEvaluating ComponentThe package is under assessment, temporary access
mitigated_externallyMitigated ExternallyThe risk is handled outside the package, for example WAF or configuration
no_upgrade_pathNo Upgrade PathNo fixed version is available yet
not_exploitableNot ExploitableThe vulnerability cannot be triggered in this usage
not_reachableNot ReachableThe vulnerable code path is not reachable
otherOtherAnything else, explained in notes

Evaluation semantics

  • The exception is checked only after its rule's selector matched the request.
  • Expired exceptions are skipped entirely, as if deleted.
  • If several exceptions on a rule exist, the first match wins; further exceptions and the rule's effect are not evaluated for that request.
  • An exception affects only its own rule. All other rules still see the request.

On this page