You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added support for a collections filter in the configuration and middleware.
- Updated README to clarify content filtering based on request context.
- Refactored middleware to handle both items and collections filters.
- Improved error handling in filter application.
- Updated tests to include scenarios for collections filtering.
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ STAC Auth Proxy is a proxy API that mediates between the client and your interna
10
10
## ✨Features✨
11
11
12
12
-**🔐 Authentication:** Apply [OpenID Connect (OIDC)](https://openid.net/developers/how-connect-works/) token validation and optional scope checks to specified endpoints and methods
13
-
-**🛂 Content Filtering:** Use CQL2 filters via the [Filter Extension](https://github.com/stac-api-extensions/filter?tab=readme-ov-file) to tailor API responses based on user context
13
+
-**🛂 Content Filtering:** Use CQL2 filters via the [Filter Extension](https://github.com/stac-api-extensions/filter?tab=readme-ov-file) to tailor API responses based on request context (e.g. user role)
14
14
-**🤝 External Policy Integration:** Integrate with external systems (e.g. [Open Policy Agent (OPA)](https://www.openpolicyagent.org/)) to generate CQL2 filters dynamically from policy decisions
15
15
-**🧩 Authentication Extension:** Add the [Authentication Extension](https://github.com/stac-extensions/authentication) to API responses to expose auth-related metadata
16
16
-**📘 OpenAPI Augmentation:** Enhance the [OpenAPI spec](https://swagger.io/specification/) with security details to keep auto-generated docs and UIs (e.g., [Swagger UI](https://swagger.io/tools/swagger-ui/)) accurate
@@ -227,7 +227,7 @@ The system supports generating CQL2 filters based on request context to provide
227
227
228
228
#### Filters
229
229
230
-
If enabled, filters are intended to be applied to the following endpoints:
230
+
If enabled, filters are applied to the following endpoints:
231
231
232
232
-`GET /search`
233
233
-**Supported:** ✅
@@ -250,12 +250,12 @@ If enabled, filters are intended to be applied to the following endpoints:
250
250
-**Applied Filter:**`ITEMS_FILTER`
251
251
-**Strategy:** Validate response against CQL2 query.
252
252
-`GET /collections`
253
-
-**Supported:**❌[^23]
253
+
-**Supported:**✅
254
254
-**Action:** Read Collection
255
255
-**Applied Filter:**`COLLECTIONS_FILTER`
256
256
-**Strategy:** Append query params with generated CQL2 query.
257
257
-`GET /collections/{collection_id}`
258
-
-**Supported:**❌[^23]
258
+
-**Supported:**✅
259
259
-**Action:** Read Collection
260
260
-**Applied Filter:**`COLLECTIONS_FILTER`
261
261
-**Strategy:** Validate response against CQL2 query.
@@ -411,6 +411,5 @@ class ApprovedCollectionsFilter:
0 commit comments