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

ResponseInspectionHeader

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

Configures inspection of the response header. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet.

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

interface ResponseInspectionHeader {
FailureValues: string[];
Name: string;
SuccessValues: string[];
}

§Properties

§
FailureValues: string[]
[src]

Values in the response header with the specified name 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": [ "LoginFailed", "Failed login" ]

§
Name: string
[src]

The name of the header to match against. The name must be an exact match, including case.

JSON example: "Name": [ "LoginResult" ]

§
SuccessValues: string[]
[src]

Values in the response header with the specified name 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": [ "LoginPassed", "Successful login" ]