Skip to content

Commit 440f3d1

Browse files
update JWTV fields
1 parent c4c04e3 commit 440f3d1

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

src/content/docs/api-shield/security/jwt-validation/transform-rules.mdx

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,13 @@ As an example, to send the header `x-send-jwt-claim-user` request header to the
4040

4141
You can create Transform Rules using more claims present in tokens processed by [JWT Validation](/api-shield/security/jwt-validation/).
4242

43-
- `http.request.jwt.claims.aud,`
44-
- `http.request.jwt.claims.aud.names,`
45-
- `http.request.jwt.claims.aud.values,`
46-
- `http.request.jwt.claims.iat.sec,`
47-
- `http.request.jwt.claims.iat.sec.names,`
48-
- `http.request.jwt.claims.iat.sec.values,`
49-
- `http.request.jwt.claims.iss,`
50-
- `http.request.jwt.claims.iss.names,`
51-
- `http.request.jwt.claims.iss.values,`
52-
- `http.request.jwt.claims.jti,`
53-
- `http.request.jwt.claims.jti.names,`
54-
- `http.request.jwt.claims.jti.values,`
55-
- `http.request.jwt.claims.nbf.sec,`
56-
- `http.request.jwt.claims.nbf.sec.names,`
57-
- `http.request.jwt.claims.nbf.sec.values,`
58-
- `http.request.jwt.claims.sub,`
59-
- `http.request.jwt.claims.sub.names,`
60-
- `http.request.jwt.claims.sub.values,`
61-
- `cf.api_gateway.auth_id_present,`
62-
- `cf.api_gateway.request_violates_schema`
43+
| Name | Field |
44+
| --- | --- |
45+
| [JWT Registered Claim - Audience](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3) | `http.request.jwt.claims.aud` <br /> `http.request.jwt.claims.aud.names` <br /> `http.request.jwt.claims.aud.values` |
46+
| [JWT Registered Claim - Issued At](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.6) | `http.request.jwt.claims.iat.sec` <br /> `http.request.jwt.claims.iat.sec.names` <br /> `http.request.jwt.claims.iat.sec.values`|
47+
| [JWT Registered Claim - Issuer](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.1) | `http.request.jwt.claims.iss` <br /> `http.request.jwt.claims.iss.names` <br /> `http.request.jwt.claims.iss.values`|
48+
| [JWT Registered Claim - JWT ID](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.7) | `http.request.jwt.claims.jti` <br /> `http.request.jwt.claims.jti.names` <br /> `http.request.jwt.claims.jti.values`|
49+
| [JWT Registered Claim - Not Before](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.5) | `http.request.jwt.claims.nbf.sec` <br /> `http.request.jwt.claims.nbf.sec.names` <br /> `http.request.jwt.claims.nbf.sec.values`|
50+
| [JWT Registered Claim - Subject](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.2) | `http.request.jwt.claims.sub` <br /> `http.request.jwt.claims.sub.names` <br /> `http.request.jwt.claims.sub.values`|
51+
| [Session identifier](/api-shield/get-started/#session-identifiers) | `cf.api_gateway.auth_id_present`|
52+
| [Schema Validation](/api-shield/security/schema-validation/) | `cf.api_gateway.request_violates_schema`|

0 commit comments

Comments
 (0)