Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResponseInspectionJson

import type { ResponseInspectionJson } from "https://aws-api.deno.dev/v0.4/services/wafv2.ts?docs=full";

Configures inspection of the response JSON. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet.

Note: Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.

interface ResponseInspectionJson {
FailureValues: string[];
Identifier: string;
SuccessValues: string[];
}

§Properties

§
FailureValues: string[]
[src]

Values for the specified identifier in the response JSON that indicate a failed login attempt. To be counted as a failed login, the value must be an exact match, including case. Each value must be unique among the success and failure values.

JSON example: "FailureValues": [ "False", "Failed" ]

§
Identifier: string
[src]

The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.

JSON example: "Identifier": [ "/login/success" ]

§
SuccessValues: string[]
[src]

Values for the specified identifier in the response JSON that indicate a successful login attempt. To be counted as a successful login, the value must be an exact match, including case. Each value must be unique among the success and failure values.

JSON example: "SuccessValues": [ "True", "Succeeded" ]