---
title: InspectResponse
summary: Results of inspecting a request with the Fastly Next-Gen WAF.
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/security/interface.InspectResponse/
---

**Kind:** Interface  
**Module:** [security](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/security/)  
**Package:** @fastly/js-compute 4.0.1  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/security.d.ts#L77

Results of inspecting a request with the Fastly Next-Gen WAF.

## Properties

### waf_response

**Type:** `number`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/security.d.ts#L79

WAF response status code.

### redirect_url

**Type:** `string`  
**Flags:** optional  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/security.d.ts#L81

A redirect URL returned from the WAF, if applicable.

### tags

**Type:** `Array<string>`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/security.d.ts#L83

Tags returned by the WAF.

### verdict

**Type:** `InspectVerdict | string`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/security.d.ts#L90

The WAF's verdict on how to handle this request.

Known verdicts are defined in [InspectVerdict](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/security/enum.InspectVerdict/), but other values
may be returned.

### decision_ms

**Type:** `number`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/security.d.ts#L92

How long the WAF spent determining its verdict, in milliseconds.
