Skip to content

Commit 986d7d3

Browse files
committed
updated auth param
1 parent 33d8083 commit 986d7d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/waf/policies/external-references.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,10 @@ The request will _not be blocked_ because this violation is set to alarm in the
546546
547547
### Authenticating External References with Basic Auth
548548
549-
For any external reference section in your policy that uses an HTTP or HTTPS link, you can include a `basicAuth` object with the username (`user`) and the base64-encoded password (`passwordBase64`).
549+
For any type of external reference in your policy that uses an HTTP or HTTPS link—including simple URL references and OpenAPI references—you can include a `basicAuth` object, which specifies the username (user) and base64-encoded password (passwordBase64) for HTTP Basic Authentication.
550550
551551
**Example:**
552+
This example uses `responsePageReference`, but the same `basicAuth` configuration applies to any supported external reference (such as OpenAPI or other URL references) that uses an HTTP/HTTPS link.
552553
553554
```json
554555
{
@@ -562,7 +563,7 @@ For any external reference section in your policy that uses an HTTP or HTTPS lin
562563
"link": "https://securedomain.com:8081/response-pages.txt",
563564
"basicAuth": {
564565
"user": "<user>",
565-
"passwordBase64": "<password>"
566+
"passwordBase64": "<passwordBase64>"
566567
}
567568
}
568569
}

0 commit comments

Comments
 (0)