Skip to content

Commit 5c95450

Browse files
BACKPORT-CONFLICT
1 parent 6a5827d commit 5c95450

26 files changed

Lines changed: 2420 additions & 386 deletions

docs/Configuring.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,22 @@ Root level key `authorization`
313313

314314
#### Authorization v2 Only
315315

316+
<<<<<<< HEAD
316317
| Field | Description | Default | Environment Variables |
317318
|-----------------------------------------|--------------------------------------------------|---------|----------------------|
318319
| `entitlement_policy_cache.enabled` | Enable the entitlement policy cache | `false` | |
319320
| `entitlement_policy_cache.refresh_interval` | How often to refresh the entitlement policy cache (e.g. `30s`) | | |
321+
=======
322+
| Field | Description | Default | Environment Variables |
323+
| ------------------------------------------- | -------------------------------------------------------------- | ------- | --------------------- |
324+
| `entitlement_policy_cache.enabled` | Enable the entitlement policy cache | `false` | |
325+
| `entitlement_policy_cache.refresh_interval` | How often to refresh the entitlement policy cache (e.g. `30s`) | | |
326+
| `request_limits.resource_attribute_values_fqns_max` | Maximum attribute value FQNs allowed in Decision Requests | `20` | |
327+
| `request_limits.entity_identifier_entity_chain_entities_max` | Maximum entities allowed in Decision Request entity chains | `10` | |
328+
| `request_limits.decision_request_fulfillable_obligation_fqns_max` | Maximum fulfillable obligation FQNs allowed per Decision Request | `50` | |
329+
| `request_limits.get_decision_multi_resource_resources_max` | Maximum resources allowed in `GetDecisionMultiResourceRequest` | `1000` | |
330+
| `request_limits.get_decision_bulk_decision_requests_max` | Maximum decision requests allowed in `GetDecisionBulkRequest` | `200` | |
331+
>>>>>>> 9d16f80 (feat(authz): make v2 request limits configurable (#3508))
320332

321333
#### Example: Authorization v1
322334

@@ -336,6 +348,12 @@ services:
336348
entitlement_policy_cache:
337349
enabled: false
338350
refresh_interval: 30s
351+
request_limits:
352+
resource_attribute_values_fqns_max: 20
353+
entity_identifier_entity_chain_entities_max: 10
354+
decision_request_fulfillable_obligation_fqns_max: 50
355+
get_decision_multi_resource_resources_max: 1000
356+
get_decision_bulk_decision_requests_max: 200
339357
```
340358

341359
### Entity Resolution

docs/grpc/index.html

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/openapi/authorization/authorization.openapi.yaml

Lines changed: 264 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)