Virtual patches

Virtual patching rules block or log requests matching specific vulnerabilities.

IMPORTANT: The Fastly Next-Gen WAF API is only available to customers with access to the Next-Gen WAF product in the Fastly control panel. If you have access to the Next-Gen WAF control panel, check out the Next-Gen WAF API.

Data model

descriptionstringDescription of the virtual patch. Required.
enabledbooleanControl for enabling and disabling a virtual patch. Required.
idstringThe ID of the virtual patch. Required.
modestringAction to take when a signal for virtual patch is detected. Required.

Endpoints

List virtual patches

GET/ngwaf/v1/workspaces/workspace_id/virtual-patches

Retreive virtual patch

GET/ngwaf/v1/workspaces/workspace_id/virtual-patches/virtual_patch_id

Edit virtual patch

PATCH/ngwaf/v1/workspaces/workspace_id/virtual-patches/virtual_patch_id