Skip to content

Commit 4aa5df7

Browse files
committed
updated auth param
1 parent 948ae5d commit 4aa5df7

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
@@ -552,9 +552,10 @@ The request will _not be blocked_ because this violation is set to alarm in the
552552
553553
### Authenticating External References with Basic Auth
554554
555-
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`).
555+
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.
556556
557557
**Example:**
558+
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.
558559
559560
```json
560561
{
@@ -568,7 +569,7 @@ For any external reference section in your policy that uses an HTTP or HTTPS lin
568569
"link": "https://securedomain.com:8081/response-pages.txt",
569570
"basicAuth": {
570571
"user": "<user>",
571-
"passwordBase64": "<password>"
572+
"passwordBase64": "<passwordBase64>"
572573
}
573574
}
574575
}

0 commit comments

Comments
 (0)