diff --git a/doc/reference/authpolicy.md b/doc/reference/authpolicy.md index fb8cbb538..204e73b21 100644 --- a/doc/reference/authpolicy.md +++ b/doc/reference/authpolicy.md @@ -107,10 +107,10 @@ ##### SuccessResponseSpec -| **Field** | **Type** | **Required** | **Description** | -|-------------------|----------------------------------------------------------|:------------:|---------------------------------------------------------------------------------------------------------------------------------------------------| -| `headers` | Map | No | Custom success response items wrapped as HTTP headers to be injected in the request. | -| `dynamicMetadata` | Map | No | Custom success response items wrapped as Envoy Dynamic Metadata. Use it to pass data along to other proxy filters, such as the rate-limit filter. | +| **Field** | **Type** | **Required** | **Description** | +|-----------|----------------------------------------------------------|:------------:|------------------------------------------------------------------------------------------------------| +| `headers` | Map | No | Custom success response items wrapped as HTTP headers to be injected in the request. | +| `filters` | Map | No | Custom success response items made available to other filters managed by Kuadrant (i.e. Rate Limit). | ###### SuccessResponseItem diff --git a/doc/user-guides/authenticated-rl-for-app-developers.md b/doc/user-guides/authenticated-rl-for-app-developers.md index 9f51c9858..7a86e2a78 100644 --- a/doc/user-guides/authenticated-rl-for-app-developers.md +++ b/doc/user-guides/authenticated-rl-for-app-developers.md @@ -140,7 +140,7 @@ spec: prefix: APIKEY response: success: - dynamicMetadata: + filters: "identity": json: properties: diff --git a/doc/user-guides/authenticated-rl-with-jwt-and-k8s-authnz.md b/doc/user-guides/authenticated-rl-with-jwt-and-k8s-authnz.md index fb338c0fd..1d113a21b 100644 --- a/doc/user-guides/authenticated-rl-with-jwt-and-k8s-authnz.md +++ b/doc/user-guides/authenticated-rl-with-jwt-and-k8s-authnz.md @@ -158,7 +158,7 @@ spec: selector: auth.identity.sub response: success: - dynamicMetadata: + filters: "identity": json: properties: diff --git a/doc/user-guides/secure-protect-connect.md b/doc/user-guides/secure-protect-connect.md index cc6219e6e..23ac34006 100644 --- a/doc/user-guides/secure-protect-connect.md +++ b/doc/user-guides/secure-protect-connect.md @@ -433,7 +433,7 @@ spec: prefix: APIKEY response: success: - dynamicMetadata: + filters: "identity": json: properties: diff --git a/examples/toystore/authpolicy.yaml b/examples/toystore/authpolicy.yaml index 8404e4ac4..ef767fdd2 100644 --- a/examples/toystore/authpolicy.yaml +++ b/examples/toystore/authpolicy.yaml @@ -20,7 +20,7 @@ spec: prefix: APIKEY response: success: - dynamicMetadata: + filters: "ext_auth_data": json: properties: