Skip to content

Commit 3f798cb

Browse files
committed
Merge branch 'main' of https://github.com/pomerium/documentation into kralicky/tracing-docs
2 parents 03d24bc + ac0d403 commit 3f798cb

39 files changed

+360
-116
lines changed

content/docs/deploy/clients/clients.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ brew install pomerium-cli
112112
<TabItem value="docker" label="Docker">
113113

114114
```bash
115-
docker run pomerium.com/pomerium/cli:latest --version
115+
docker run pomerium/cli:latest --version
116116
```
117117

118118
</TabItem>

content/docs/deploy/cloud/install.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
aliases:
8383
- verify.<CLUSTER_STARTER_SUBDOMAIN>.pomerium.app
8484
verify:
85-
image: pomerium.com/pomerium/verify:latest
85+
image: pomerium/verify:latest
8686
networks:
8787
main:
8888
aliases:

content/docs/get-started/fundamentals/core/advanced-policies.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,13 @@ Docker Compose:
167167
```yaml
168168
services:
169169
pomerium:
170-
image: pomerium.com/pomerium/pomerium:latest
170+
image: pomerium/pomerium:latest
171171
volumes:
172172
- ./config.yaml:/pomerium/config.yaml:ro
173173
ports:
174174
- 443:443
175175
verify:
176-
image: pomerium.com/pomerium/verify:latest
176+
image: pomerium/verify:latest
177177
expose:
178178
- 8000
179179
environment:

content/docs/get-started/fundamentals/core/advanced-routes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -442,13 +442,13 @@ Docker Compose
442442
```yaml
443443
services:
444444
pomerium:
445-
image: pomerium.com/pomerium/pomerium:latest
445+
image: pomerium/pomerium:latest
446446
volumes:
447447
- ./config.yaml:/pomerium/config.yaml:ro
448448
ports:
449449
- 443:443
450450
verify:
451-
image: pomerium.com/pomerium/verify:latest
451+
image: pomerium/verify:latest
452452
expose:
453453
- 8000
454454
environment:

content/docs/get-started/fundamentals/core/build-policies.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,13 @@ Docker Compose:
246246
```yaml
247247
services:
248248
pomerium:
249-
image: pomerium.com/pomerium/pomerium:latest
249+
image: pomerium/pomerium:latest
250250
volumes:
251251
- ./config.yaml:/pomerium/config.yaml:ro
252252
ports:
253253
- 443:443
254254
verify:
255-
image: pomerium.com/pomerium/verify:latest
255+
image: pomerium/verify:latest
256256
expose:
257257
- 8000
258258
grafana:

content/docs/get-started/fundamentals/core/build-routes.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ In your `docker-compose.yaml` file, add Grafana as a service:
7070
```yaml title="docker-compose.yaml"
7171
services:
7272
pomerium:
73-
image: pomerium.com/pomerium/pomerium:latest
73+
image: pomerium/pomerium:latest
7474
volumes:
7575
- ./config.yaml:/pomerium/config.yaml:ro
7676
ports:
7777
- 443:443
7878
verify:
79-
image: pomerium.com/pomerium/verify:latest
79+
image: pomerium/verify:latest
8080
expose:
8181
- 8000
8282
grafana:
@@ -183,13 +183,13 @@ Docker Compose:
183183
```yaml
184184
services:
185185
pomerium:
186-
image: pomerium.com/pomerium/pomerium:latest
186+
image: pomerium/pomerium:latest
187187
volumes:
188188
- ./config.yaml:/pomerium/config.yaml:ro
189189
ports:
190190
- 443:443
191191
verify:
192-
image: pomerium.com/pomerium/verify:latest
192+
image: pomerium/verify:latest
193193
expose:
194194
- 8000
195195
grafana:

content/docs/get-started/fundamentals/core/get-started.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ Add the following configuration settings to `docker-compose.yaml`:
109109
```yaml title="docker-compose.yaml"
110110
services:
111111
pomerium:
112-
image: pomerium.com/pomerium/pomerium:latest
112+
image: pomerium/pomerium:latest
113113
volumes:
114114
- ./config.yaml:/pomerium/config.yaml:ro
115115
ports:
116116
- 443:443
117117
verify:
118-
image: pomerium.com/pomerium/verify:latest
118+
image: pomerium/verify:latest
119119
expose:
120120
- 8000
121121
```
@@ -182,13 +182,13 @@ Docker Compose:
182182
```yaml
183183
services:
184184
pomerium:
185-
image: pomerium.com/pomerium/pomerium:latest
185+
image: pomerium/pomerium:latest
186186
volumes:
187187
- ./config.yaml:/pomerium/config.yaml:ro
188188
ports:
189189
- 443:443
190190
verify:
191-
image: pomerium.com/pomerium/verify:latest
191+
image: pomerium/verify:latest
192192
expose:
193193
- 8000
194194
```

content/docs/get-started/fundamentals/core/jwt-verification.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ In your Docker Compose file, add the following environment variable to your Veri
208208

209209
```yaml title="docker-compose"
210210
verify:
211-
image: pomerium.com/pomerium/verify:latest
211+
image: pomerium/verify:latest
212212
expose:
213213
- 8000
214214
environment:
@@ -338,13 +338,13 @@ Docker Compose
338338
```yaml
339339
services:
340340
pomerium:
341-
image: pomerium.com/pomerium/pomerium:latest
341+
image: pomerium/pomerium:latest
342342
volumes:
343343
- ./config.yaml:/pomerium/config.yaml:ro
344344
ports:
345345
- 443:443
346346
verify:
347-
image: pomerium.com/pomerium/verify:latest
347+
image: pomerium/verify:latest
348348
expose:
349349
- 8000
350350
environment:

content/docs/get-started/fundamentals/core/tcp-routes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ In your Docker Compose file, bind mount your wildcard certificates as a volume i
116116
```yaml title="docker-compose.yaml"
117117
services:
118118
pomerium:
119-
image: pomerium.com/pomerium/pomerium:latest
119+
image: pomerium/pomerium:latest
120120
volumes:
121121
# Mount your wildcard certificates:
122122
- ./_wildcard.localhost.pomerium.io-key.pem:/pomerium/key.pem:ro

content/docs/get-started/fundamentals/zero/zero-advanced-routes.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ services:
356356
- verify.<CLUSTER_SUBDOMAIN>.pomerium.app
357357
- authenticate.<CLUSTER_SUBDOMAIN>.pomerium.app
358358
verify:
359-
image: pomerium.com/pomerium/verify:latest
359+
image: pomerium/verify:latest
360360
networks:
361361
main:
362362
aliases:

content/docs/get-started/fundamentals/zero/zero-build-routes.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ At this point, your Docker Compose file should look like this:
9898
```yaml title="docker-compose.yaml"
9999
services:
100100
pomerium:
101-
image: pomerium.com/pomerium/pomerium:latest
101+
image: pomerium/pomerium:latest
102102
ports:
103103
- 443:443
104104
restart: always
@@ -112,7 +112,7 @@ services:
112112
aliases:
113113
- verify.<YOUR_CLUSTER_SUBDOMAIN>.pomerium.app
114114
verify:
115-
image: pomerium.com/pomerium/verify:latest
115+
image: pomerium/verify:latest
116116
networks:
117117
main:
118118
aliases:

content/docs/get-started/fundamentals/zero/zero-single-sign-on.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ At this point, your Docker Compose file should look like this:
199199
```yaml title="docker-compose.yaml"
200200
services:
201201
pomerium:
202-
image: pomerium.com/pomerium/pomerium:latest
202+
image: pomerium/pomerium:latest
203203
ports:
204204
- 443:443
205205
restart: always
@@ -214,7 +214,7 @@ services:
214214
- verify.<CLUSTER_SUBDOMAIN>.pomerium.app
215215
- authenticate.<CLUSTER_SUBDOMAIN>.pomerium.app
216216
verify:
217-
image: pomerium.com/pomerium/verify:latest
217+
image: pomerium/verify:latest
218218
networks:
219219
main:
220220
aliases:

content/docs/get-started/quickstart.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
aliases:
6767
- verify.<CLUSTER_STARTER_SUBDOMAIN>.pomerium.app
6868
verify:
69-
image: pomerium.com/pomerium/verify:latest
69+
image: pomerium/verify:latest
7070
networks:
7171
main:
7272
aliases:

content/docs/guides/gitlab.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Integrations that use unique subdomains will require their own certificates and
212212
...
213213
214214
pomerium:
215-
image: pomerium.com/pomerium/pomerium:latest
215+
image: pomerium/pomerium:latest
216216
container_name: pomerium
217217
volumes:
218218
- ./srv/pomerium/config.yaml:/pomerium/config.yaml:ro

content/docs/guides/guacamole.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ In your Docker Compose file, replace `nginx` with Pomerium Core:
122122

123123
```yaml showLineNumbers
124124
pomerium:
125-
image: pomerium.com/pomerium/pomerium:latest
125+
image: pomerium/pomerium:latest
126126
# highlight-start
127127
# Mount your config file
128128
volumes:

content/docs/guides/hedgedoc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ In your `docker-compose.yaml` file, add the following services:
9797
```yaml
9898
services:
9999
pomerium:
100-
image: pomerium.com/pomerium/pomerium:latest
100+
image: pomerium/pomerium:latest
101101
volumes:
102102
# Mount your certificates
103103
- ./_wildcard.localhost.pomerium.io.pem:/pomerium/cert.pem:ro

content/docs/guides/tiddlywiki.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Add the following code in your `docker-compose.yaml` file:
8686
```yaml title="docker-compose.yaml"
8787
services:
8888
pomerium:
89-
image: pomerium.com/pomerium/pomerium:latest
89+
image: pomerium/pomerium:latest
9090
volumes:
9191
- ./config.yaml:/pomerium/config.yaml:ro
9292
ports:

content/docs/integrations/user-identity/keycloak.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ services:
5050
- keycloak.localhost.pomerium.io
5151

5252
pomerium:
53-
image: pomerium.com/pomerium/pomerium:latest
53+
image: pomerium/pomerium:latest
5454
volumes:
5555
- ./config.yaml:/pomerium/config.yaml:ro
5656
ports:
5757
- 443:443
5858

5959
verify:
60-
image: pomerium.com/pomerium/verify:latest
60+
image: pomerium/verify:latest
6161
environment:
6262
JWKS_ENDPOINT: https://pomerium/.well-known/pomerium/jwks.json
6363
```

content/docs/internals/configuration.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ networks:
213213
services:
214214
pomerium-proxy:
215215
hostname: pomerium-proxy
216-
image: pomerium.com/pomerium/pomerium:latest
216+
image: pomerium/pomerium:latest
217217
networks:
218218
main: {}
219219
volumes:
@@ -231,7 +231,7 @@ services:
231231
- CERTIFICATE_AUTHORITY_FILE=/run/secrets/ca.pem
232232
pomerium-authorize:
233233
hostname: pomerium-authorize
234-
image: pomerium.com/pomerium/pomerium:latest
234+
image: pomerium/pomerium:latest
235235
networks:
236236
main: {}
237237
volumes:
@@ -243,7 +243,7 @@ services:
243243
- CERTIFICATE_AUTHORITY_FILE=/run/secrets/ca.pem
244244
pomerium-authenticate:
245245
hostname: pomerium-authenticate
246-
image: pomerium.com/pomerium/pomerium:latest
246+
image: pomerium/pomerium:latest
247247
volumes:
248248
- ./config.yaml:/pomerium/config.yaml
249249
secrets:
@@ -262,7 +262,7 @@ services:
262262
- authenticate.localhost.pomerium.io
263263
pomerium-databroker:
264264
hostname: pomerium-databroker
265-
image: pomerium.com/pomerium/pomerium:latest
265+
image: pomerium/pomerium:latest
266266
networks:
267267
main: {}
268268
volumes:

content/docs/reference/authorize-log-fields.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ The table below lists all available authorize log fields:
114114
| `method` | The HTTP request method, such as `GET`, `POST`, or `PUT` | Yes |
115115
| `path` | The HTTP request path (for example, `/some/path`) | Yes |
116116
| `query` | The HTTP request query (for example, `?test=one&other=13`) | No |
117+
| `removed-groups-count` | The number of groups removed during [JWT groups filtering](/docs/reference/jwt-groups-filter) | Yes |
117118
| `request-id` | The request's unique identifier as assigned by Pomerium | Yes |
118119
| `service-account-id` | if using a service account, the service account ID | Yes |
119120
| `session-id` | the session ID | Yes |
47.1 KB
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
id: jwt-groups-filter
3+
title: JWT Groups Filter
4+
description: |
5+
The JWT Groups Filter setting allows you to reduce the size of the groups claim in the Pomerium JWT.
6+
keywords:
7+
- reference
8+
- JWT Groups Filter
9+
pagination_prev: null
10+
pagination_next: null
11+
toc_max_heading_level: 2
12+
---
13+
14+
:::enterprise
15+
16+
This setting is available only in [Pomerium Enterprise](/docs/deploy/enterprise).
17+
18+
:::
19+
20+
## Summary
21+
22+
The **JWT Groups Filter** setting allows you to reduce the size of the groups claim in the [Pomerium JWT](/docs/capabilities/getting-users-identity) when used in combination with [directory sync]. This may be useful for organizations with large numbers of directory groups.
23+
24+
When directory sync is enabled, Pomerium will include directory groups membership information in a `groups` claim in the Pomerium JWT. By default, all of a user's groups are included in this claim. However, if the average number of groups is very large, this may grow unwieldy and potentially lead to HTTP header size issues with some upstream services.
25+
26+
This feature allows you to limit the size of the `groups` claim by specifying a subset of groups that are relevant for your deployment. Only groups belonging to this subset will be included in the `groups` claim in the Pomerium JWT.
27+
28+
The groups eligible for inclusion may be specified explicitly, or inferred automatically from the policies that apply to a given route.
29+
30+
The setting also applies to the `Impersonate-Group` header, for Kubernetes API server authentication.
31+
32+
This setting can also be customized for a particular route, see [**JWT Groups Filter (per route)**](/docs/reference/routes/jwt-groups-filter).
33+
34+
## How to configure
35+
36+
The **JWT Groups Filter** setting is available in the Enterprise Console on the "Settings" page, under the "Proxy" tab.
37+
38+
![screenshot of JWT Groups Filter setting](./img/jwt-groups-filter.png)
39+
40+
Select the "Filter to groups referenced in policies" option if you want to automatically filter based on any group IDs referenced in any policies associated with a specific route. Or you can enter specific groups using the "Filter to specific groups" input field.
41+
42+
If both are specified, a group will be eligible for inclusion in the Pomerium JWT if it is _either_ referenced in an associated policy, or present in the list of specific groups.
43+
44+
:::info
45+
46+
This setting has no effect if [directory sync] is not enabled.
47+
48+
:::
49+
50+
## Logging
51+
52+
When this feature is enabled, a new field `removed-groups-count` will be present in the [authorize logs](/docs/reference/authorize-log-fields). This field will indicate the number of groups that were removed by groups filtering for a specific request.
53+
54+
To verify that groups filtering is working as expected, you can also set the [log level](/docs/reference/log-level) to "debug." At this level, Pomerium will log an additional entry with the message `JWT group filtering removed groups` along with the IDs of all removed and included groups.
55+
56+
[directory sync]: /docs/integrations/user-standing/directory-sync

0 commit comments

Comments
 (0)