@contrast/blocking
v1.3.1
Published
For blocking attacks detected by other contrast instrumentation.
Keywords
Readme
@contrast/blocking
Blocks requests for attacks that the agent detects.
A class-based component (ComponentBase) registered on core as blocking. It
throws a SecurityException and installs framework-specific handlers from
lib/install/ so the blocked request ends with the correct response.
Blocking is active when either feature that can block is enabled and the Contrast UI grants it blocking:
protect.enablewith theentitlements.protect.allow_blockentitlementshield.enablewith theentitlements.shield.allow_blockentitlement
Entitlements arrive from the Contrast UI when the agent starts and can't be set locally.
