From 810e234ef0e247fb6b2c34b0e45415ad41c65c6b Mon Sep 17 00:00:00 2001 From: andres Date: Tue, 8 Sep 2026 20:49:44 +0200 Subject: [PATCH] Updated rules --- CHANGELOG.md | 3 +++ docs/sources/salesforce/salesforce.yaml | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 253d997ee..71591d9dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ in each release's notes. Changes to be including in future/planned release notes will be added here. +## Unreleased +- `salesforce`: forward `Sforce-Limit-Info` and `Sforce-Query-Options` request headers to Salesforce on Task/Event/composite/query endpoints. Lets connections set a smaller `batchSize` via `Sforce-Query-Options` to mitigate `SocketTimeoutException`s on large query responses; previously these headers were silently dropped. + ## [0.7.0](https://github.com/Worklytics/psoxy/releases/tag/v0.7.0) - **Breaking (`gdrive`):** required OAuth scope changes from `drive.metadata.readonly` to `drive.readonly`. Google's Drive API `revisions.list` returns incomplete (often empty) revision histories for Docs/Sheets/Slides under metadata-only scopes; Google has confirmed this is intended, permanent behavior and recommends `drive.readonly` for complete histories. Existing deployments must update both the proxy `OAUTH_SCOPES` (Terraform apply from this release does this) **and** the Domain-wide Delegation grant in the Google Workspace Admin console. See [gdrive README](docs/sources/google-workspace/gdrive/README.md). - `claude`: add support for the Compliance API's local and remote sessions endpoints (`GET /v1/compliance/apps/sessions/local`, `GET /v1/compliance/apps/sessions/remote`, and their `.../messages` endpoints), covering Claude Code and Cowork (local and remote) session/message data alongside existing chat/activity coverage. See [docs/sources/anthropic/claude/README.md](docs/sources/anthropic/claude/README.md). diff --git a/docs/sources/salesforce/salesforce.yaml b/docs/sources/salesforce/salesforce.yaml index 7687f3eca..b2bf08de9 100644 --- a/docs/sources/salesforce/salesforce.yaml +++ b/docs/sources/salesforce/salesforce.yaml @@ -4,6 +4,9 @@ endpoints: allowedMethods: - "POST" allowedQueryParams: [] + allowedRequestHeaders: + - "Sforce-Limit-Info" + - "Sforce-Query-Options" transforms: - ! jsonPaths: @@ -52,6 +55,9 @@ endpoints: $ref: "#/definitions/Account" - pathRegex: "^/services/data/v(\\d*.\\d{1})/query/[^?]+$" allowedQueryParams: [] + allowedRequestHeaders: + - "Sforce-Limit-Info" + - "Sforce-Query-Options" transforms: - ! jsonPaths: @@ -99,6 +105,9 @@ endpoints: +)*.*$" allowedQueryParams: - "q" + allowedRequestHeaders: + - "Sforce-Limit-Info" + - "Sforce-Query-Options" transforms: - ! jsonPaths: @@ -133,6 +142,9 @@ endpoints: +)*.*$" allowedQueryParams: - "q" + allowedRequestHeaders: + - "Sforce-Limit-Info" + - "Sforce-Query-Options" transforms: - ! jsonPaths: @@ -187,6 +199,9 @@ endpoints: +|\\b).*" allowedQueryParams: - "q" + allowedRequestHeaders: + - "Sforce-Limit-Info" + - "Sforce-Query-Options" transforms: - ! jsonPaths: @@ -211,6 +226,9 @@ endpoints: +|\\b).*" allowedQueryParams: - "q" + allowedRequestHeaders: + - "Sforce-Limit-Info" + - "Sforce-Query-Options" transforms: - ! jsonPaths: