Skip to content

Commit 0ad4457

Browse files
authored
Update outdated OPA links in the document (#3555)
Update outdated OPA links in the document Signed-off-by: Greeshma Mathew <greeshma.mathew@gmail.com>
1 parent 4aa0db2 commit 0ad4457

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/filters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,13 +2033,13 @@ The difference is that if the decision in (3) is equivalent to false, the respon
20332033

20342034
*Manipulating Request Headers*
20352035

2036-
Headers both to the upstream and the downstream service can be manipulated the same way this works for [Envoy external authorization](https://www.openpolicyagent.org/docs/latest/envoy-primer/#example-policy-with-additional-controls)
2036+
Headers both to the upstream and the downstream service can be manipulated the same way this works for [Envoy external authorization](https://www.openpolicyagent.org/docs/envoy/primer#example-policy-with-additional-controls)
20372037

20382038
This allows both to add and remove unwanted headers in allow/deny cases.
20392039

20402040
#### opaAuthorizeRequestWithBody
20412041

2042-
Requests can also be authorized based on the request body the same way that is supported with the [Open Policy Agent Envoy plugin](https://www.openpolicyagent.org/docs/latest/envoy-primer/#example-input), look for the input attribute `parsed_body` in the upstream documentation.
2042+
Requests can also be authorized based on the request body the same way that is supported with the [Open Policy Agent Envoy plugin](https://www.openpolicyagent.org/docs/envoy/primer#example-input), look for the input attribute `parsed_body` in the upstream documentation.
20432043

20442044
This filter has the same parameters that the `opaAuthorizeRequest` filter has.
20452045

@@ -2096,7 +2096,7 @@ For this filter, the data flow looks like this independent of an allow/deny deci
20962096

20972097
#### opaServeResponseWithReqBody
20982098

2099-
If you want to serve requests directly from an Open Policy Agent policy that uses the request body, this can be done by using the `input.parsed_body` attribute the same way that is supported with the [Open Policy Agent Envoy plugin](https://www.openpolicyagent.org/docs/latest/envoy-primer/#example-input).
2099+
If you want to serve requests directly from an Open Policy Agent policy that uses the request body, this can be done by using the `input.parsed_body` attribute the same way that is supported with the [Open Policy Agent Envoy plugin](https://www.openpolicyagent.org/docs/envoy/primer#example-input).
21002100

21012101
This filter has the same parameters that the `opaServeResponse` filter has.
21022102

docs/tutorials/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ The variable `.bundlename` is the first argument in the following filters and ca
448448
449449
### Input Structures
450450
451-
Input structures to policies follow those that are used by the [opa-envoy-plugin](https://github.com/open-policy-agent/opa-envoy-plugin), the existing [examples and documentation](https://www.openpolicyagent.org/docs/latest/envoy-primer/#example-input) apply also to Skipper. Please note that the filters in Skipper always generate v3 input structures.
451+
Input structures to policies follow those that are used by the [opa-envoy-plugin](https://github.com/open-policy-agent/opa-envoy-plugin), the existing [examples and documentation](https://www.openpolicyagent.org/docs/envoy/primer#example-input) apply also to Skipper. Please note that the filters in Skipper always generate v3 input structures.
452452
453453
### Passing context to the policy
454454

0 commit comments

Comments
 (0)