@zackbart/connecta 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +393 -0
- package/README.md +62 -105
- package/SECURITY.md +3 -2
- package/bin/connecta.mjs +41 -16
- package/bin/version.mjs +1 -1
- package/dist/access-tokens.d.ts +2 -1
- package/dist/access-tokens.js +66 -30
- package/dist/activity.d.ts +1 -1
- package/dist/activity.js +2 -0
- package/dist/agent-config.d.ts +23 -0
- package/dist/agent-config.js +59 -0
- package/dist/agent-description.js +16 -0
- package/dist/agent-identity.js +4 -4
- package/dist/agent-observation.js +39 -0
- package/dist/auth/clerk-sdk/client.d.ts +2 -0
- package/dist/auth/clerk-sdk/generated.js +554 -563
- package/dist/auth/clerk-transport.js +70 -3
- package/dist/auth/clerk.d.ts +13 -0
- package/dist/auth/clerk.js +653 -246
- package/dist/auth/cloudflare-access.js +46 -42
- package/dist/auth/downstream-client-metadata.js +2 -2
- package/dist/auth/downstream-oauth.js +2051 -1160
- package/dist/auth/downstream-revocation.js +88 -88
- package/dist/auth/native-call.js +20 -0
- package/dist/auth/native.js +184 -0
- package/dist/auth/oauth-start-reset.js +11 -5
- package/dist/auth/oauth-token-response.js +121 -102
- package/dist/auth/oauth-v2-migration.js +97 -78
- package/dist/auth/renewable-grant.js +10 -0
- package/dist/auth/static-oauth.js +663 -271
- package/dist/auth/vercel-agent.js +266 -0
- package/dist/auth-admission.js +204 -0
- package/dist/auth-elicitation.js +350 -241
- package/dist/authorization-handoff.js +164 -90
- package/dist/call-admission-context.js +3 -10
- package/dist/call-admission.js +2 -0
- package/dist/call-classification.js +9 -0
- package/dist/call-recovery.js +32 -13
- package/dist/canonical-json.js +8 -0
- package/dist/catalog-cache.js +369 -213
- package/dist/catalog-service.js +659 -530
- package/dist/catalog.js +5 -1
- package/dist/concurrency.js +0 -25
- package/dist/config-defaults.d.ts +1 -0
- package/dist/config-defaults.js +1 -0
- package/dist/config-schema.d.ts +3 -1
- package/dist/config-schema.js +13 -3
- package/dist/config.d.ts +40 -6
- package/dist/config.js +40 -26
- package/dist/connector-caller.d.ts +4 -0
- package/dist/connector-caller.js +17 -4
- package/dist/connectors/api-connector.d.ts +15 -7
- package/dist/connectors/api-connector.js +147 -57
- package/dist/connectors/guarded-fetch.d.ts +51 -17
- package/dist/connectors/guarded-fetch.js +215 -121
- package/dist/connectors/negotiation-cache.js +20 -10
- package/dist/connectors/option-shapes.js +1 -1
- package/dist/connectors/remote-mcp.d.ts +12 -30
- package/dist/connectors/remote-mcp.js +960 -564
- package/dist/d1.js +10 -243
- package/dist/derived-context.js +5 -0
- package/dist/describe-config.d.ts +5 -1
- package/dist/describe-config.js +3 -0
- package/dist/downstream-input.js +347 -260
- package/dist/errors.d.ts +87 -6
- package/dist/errors.js +114 -4
- package/dist/execute.js +87 -50
- package/dist/executor-admission.js +3 -0
- package/dist/executors/quickjs.js +163 -112
- package/dist/guarded-transport.js +50 -0
- package/dist/guest-runtime.js +1 -1
- package/dist/http/client.js +439 -0
- package/dist/http/errors.js +558 -0
- package/dist/http/fields.js +49 -0
- package/dist/http/hatch-paging.js +318 -0
- package/dist/http/hatch.js +1279 -0
- package/dist/http/json-schema.js +267 -0
- package/dist/http/node-transport.js +241 -0
- package/dist/http/oauth.js +162 -0
- package/dist/http/paging.js +228 -0
- package/dist/http/provider.js +221 -0
- package/dist/http/safety.js +82 -0
- package/dist/http/services.js +79 -0
- package/dist/http/tools.js +383 -0
- package/dist/http/vendor-index.js +138 -0
- package/dist/http/vendor.js +448 -0
- package/dist/http/write-request.js +66 -0
- package/dist/http-policy.d.ts +11 -0
- package/dist/http-policy.js +45 -0
- package/dist/inbound-credential.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/invocation-auth.js +30 -19
- package/dist/invocation.js +221 -87
- package/dist/mcp-result.js +0 -4
- package/dist/membership.d.ts +4 -0
- package/dist/meta-output.js +1 -1
- package/dist/meta-tools.js +534 -408
- package/dist/native-recovery.js +52 -0
- package/dist/native-tools.js +382 -0
- package/dist/node.d.ts +4 -3
- package/dist/node.js +45 -8
- package/dist/oauth-handoff.js +177 -104
- package/dist/oauth-partition.js +6 -20
- package/dist/oauth-sealing.js +6 -7
- package/dist/operation-vocabulary.js +101 -0
- package/dist/operator-record.d.ts +2 -2
- package/dist/operator-record.js +17 -4
- package/dist/operator-ui/agents.d.ts +5 -4
- package/dist/operator-ui/agents.js +17 -7
- package/dist/operator-ui/config-summary.js +8 -4
- package/dist/operator-ui/connection-map.js +9 -6
- package/dist/operator-ui/contract.d.ts +7 -3
- package/dist/operator-ui/endpoints.js +5 -14
- package/dist/operator-ui/fix-prompts.d.ts +1 -1
- package/dist/operator-ui/fix-prompts.js +0 -8
- package/dist/operator-ui/generated.js +3 -3
- package/dist/operator-ui/health.js +52 -0
- package/dist/operator-ui/model.d.ts +2 -3
- package/dist/operator-ui/overview.js +11 -19
- package/dist/operator-ui/setup-commands.js +0 -4
- package/dist/operator-ui/view.d.ts +5 -29
- package/dist/operator-ui/view.js +3 -59
- package/dist/program-writes.js +47 -26
- package/dist/provider-call-facts.d.ts +115 -0
- package/dist/provider-call-facts.js +182 -0
- package/dist/provider-call.d.ts +112 -0
- package/dist/provider-call.js +271 -0
- package/dist/provider.d.ts +71 -32
- package/dist/provider.js +134 -40
- package/dist/providers/_shared/google/hatch.js +91 -0
- package/dist/providers/_shared/google/kit.js +537 -0
- package/dist/providers/_shared/google/result-size.js +15 -2
- package/dist/providers/_shared/google/service-account.d.ts +2 -1
- package/dist/providers/_shared/google/service-account.js +8 -4
- package/dist/providers/_shared/google/workspace.d.ts +8 -209
- package/dist/providers/_shared/google/workspace.js +7 -426
- package/dist/providers/_shared/rest/compact-index.js +86 -0
- package/dist/providers/_shared/rest/dispatch.js +3 -23
- package/dist/providers/_shared/rest/kit.js +546 -0
- package/dist/providers/_shared/rest/operation-index.js +230 -14
- package/dist/providers/_shared/rest/response-media.js +11 -0
- package/dist/providers/_shared/rest/tools.js +101 -78
- package/dist/providers/_shared/rest/value-safety.js +353 -195
- package/dist/providers/_shared/sensitive-fields.js +27 -0
- package/dist/providers/breeze/api.js +584 -0
- package/dist/providers/breeze/index.d.ts +3 -3
- package/dist/providers/breeze/index.js +67 -1420
- package/dist/providers/breeze/openapi.generated.js +60 -0
- package/dist/providers/breeze/skill.generated.js +2 -6
- package/dist/providers/breeze/tools.js +696 -0
- package/dist/providers/ccb/api.js +496 -0
- package/dist/providers/ccb/index.d.ts +17 -37
- package/dist/providers/ccb/index.js +77 -1702
- package/dist/providers/ccb/lib/constants.d.ts +34 -0
- package/dist/providers/ccb/lib/constants.js +74 -0
- package/dist/providers/ccb/lib/guide.js +9 -0
- package/dist/providers/ccb/lib/verdicts.js +387 -0
- package/dist/providers/ccb/openapi.generated.js +397 -0
- package/dist/providers/ccb/safety.js +295 -0
- package/dist/providers/ccb/skill.generated.js +2 -6
- package/dist/providers/ccb/tools.js +853 -0
- package/dist/providers/cloudflare/api.js +1066 -0
- package/dist/providers/cloudflare/index.d.ts +7 -22
- package/dist/providers/cloudflare/index.js +80 -194
- package/dist/providers/cloudflare/lib/config.d.ts +16 -0
- package/dist/providers/cloudflare/lib/config.js +2 -0
- package/dist/providers/cloudflare/lib/discovery.js +29 -0
- package/dist/providers/cloudflare/{graphql.js → lib/graphql.js} +1 -1
- package/dist/providers/cloudflare/lib/hatch.js +103 -0
- package/dist/providers/cloudflare/lib/path-bounds.js +28 -0
- package/dist/providers/cloudflare/lib/response-media.js +75 -0
- package/dist/providers/cloudflare/openapi.generated.js +3299 -3208
- package/dist/providers/cloudflare/{value-safety.js → safety.js} +538 -18
- package/dist/providers/cloudflare/skill.generated.js +2 -10
- package/dist/providers/cloudflare/tools.js +360 -0
- package/dist/providers/docs/api.js +51 -0
- package/dist/providers/docs/index.d.ts +1 -12
- package/dist/providers/docs/index.js +53 -1165
- package/dist/providers/docs/lib/constants.d.ts +18 -0
- package/dist/providers/docs/lib/constants.js +18 -0
- package/dist/providers/docs/lib/discovery.js +26 -0
- package/dist/providers/docs/lib/requests.js +48 -0
- package/dist/providers/docs/lib/schemas.js +168 -0
- package/dist/providers/docs/openapi.generated.js +16 -0
- package/dist/providers/docs/safety.js +54 -0
- package/dist/providers/docs/skill.generated.js +2 -6
- package/dist/providers/docs/tools.js +802 -0
- package/dist/providers/drive/api.js +177 -0
- package/dist/providers/drive/index.d.ts +1 -12
- package/dist/providers/drive/index.js +38 -1448
- package/dist/providers/drive/lib/constants.d.ts +6 -0
- package/dist/providers/drive/lib/constants.js +6 -0
- package/dist/providers/drive/lib/contracts.js +532 -0
- package/dist/providers/drive/lib/hatch.js +197 -0
- package/dist/providers/drive/openapi.generated.js +77 -0
- package/dist/providers/drive/safety.js +90 -0
- package/dist/providers/drive/skill.generated.js +2 -6
- package/dist/providers/drive/tools.js +1290 -0
- package/dist/providers/forms/api.js +71 -0
- package/dist/providers/forms/index.d.ts +1 -12
- package/dist/providers/forms/index.js +49 -1145
- package/dist/providers/forms/lib/constants.d.ts +14 -0
- package/dist/providers/forms/lib/constants.js +19 -0
- package/dist/providers/forms/lib/hatch.js +72 -0
- package/dist/providers/forms/openapi.generated.js +23 -0
- package/dist/providers/forms/safety.js +34 -0
- package/dist/providers/forms/skill.generated.js +2 -8
- package/dist/providers/forms/tools.js +1024 -0
- package/dist/providers/github/api.js +150 -0
- package/dist/providers/github/index.d.ts +4 -5
- package/dist/providers/github/index.js +30 -87
- package/dist/providers/github/{auth.d.ts → lib/auth.d.ts} +5 -3
- package/dist/providers/github/{auth.js → lib/auth.js} +40 -43
- package/dist/providers/github/lib/discovery.js +132 -0
- package/dist/providers/github/lib/operations.js +58 -0
- package/dist/providers/github/{scope.d.ts → lib/scope.d.ts} +2 -0
- package/dist/providers/github/{scope.js → lib/scope.js} +25 -1
- package/dist/providers/github/openapi.generated.js +1216 -0
- package/dist/providers/github/safety.js +216 -0
- package/dist/providers/github/skill.generated.js +2 -5
- package/dist/providers/github/tools.js +506 -0
- package/dist/providers/gmail/api.js +114 -0
- package/dist/providers/gmail/index.d.ts +1 -12
- package/dist/providers/gmail/index.js +73 -1621
- package/dist/providers/gmail/lib/constants.d.ts +13 -0
- package/dist/providers/gmail/lib/constants.js +16 -0
- package/dist/providers/gmail/lib/index.js +173 -0
- package/dist/providers/gmail/lib/schemas.js +176 -0
- package/dist/providers/gmail/lib/threading.js +120 -0
- package/dist/providers/gmail/openapi.generated.js +92 -0
- package/dist/providers/gmail/safety.js +21 -0
- package/dist/providers/gmail/skill.generated.js +2 -6
- package/dist/providers/gmail/tools.js +1435 -0
- package/dist/providers/overflow/api.js +1008 -0
- package/dist/providers/overflow/index.d.ts +3 -17
- package/dist/providers/overflow/index.js +60 -1488
- package/dist/providers/overflow/skill.generated.js +2 -5
- package/dist/providers/overflow/tools.js +873 -0
- package/dist/providers/planning-center/api.js +467 -0
- package/dist/providers/planning-center/index.d.ts +6 -35
- package/dist/providers/planning-center/index.js +69 -2445
- package/dist/providers/planning-center/lib/constants.d.ts +58 -0
- package/dist/providers/planning-center/lib/constants.js +83 -0
- package/dist/providers/planning-center/lib/discovery.js +40 -0
- package/dist/providers/planning-center/lib/guide.js +39 -0
- package/dist/providers/planning-center/lib/json-api.js +83 -0
- package/dist/providers/planning-center/lib/verdicts.js +1758 -0
- package/dist/providers/planning-center/openapi.generated.js +1764 -0
- package/dist/providers/planning-center/safety.js +188 -0
- package/dist/providers/planning-center/skill.generated.js +2 -27
- package/dist/providers/planning-center/tools.js +1010 -0
- package/dist/providers/sheets/api.js +133 -0
- package/dist/providers/sheets/index.d.ts +4 -16
- package/dist/providers/sheets/index.js +61 -1172
- package/dist/providers/sheets/lib/constants.d.ts +14 -0
- package/dist/providers/sheets/lib/constants.js +14 -0
- package/dist/providers/sheets/lib/hatch.js +163 -0
- package/dist/providers/sheets/lib/requests.js +105 -0
- package/dist/providers/sheets/lib/schemas.js +138 -0
- package/dist/providers/sheets/openapi.generated.js +30 -0
- package/dist/providers/sheets/safety.js +27 -0
- package/dist/providers/sheets/skill.generated.js +2 -7
- package/dist/providers/sheets/tools.js +734 -0
- package/dist/providers/slides/api.js +147 -0
- package/dist/providers/slides/index.d.ts +2 -10
- package/dist/providers/slides/index.js +48 -2555
- package/dist/providers/slides/lib/constants.d.ts +11 -0
- package/dist/providers/slides/lib/constants.js +11 -0
- package/dist/providers/slides/lib/requests.js +60 -0
- package/dist/providers/slides/lib/schemas.js +565 -0
- package/dist/providers/slides/openapi.generated.js +18 -0
- package/dist/providers/slides/skill.generated.js +2 -6
- package/dist/providers/slides/tools.js +1968 -0
- package/dist/providers/stripe/api.js +401 -0
- package/dist/providers/stripe/index.d.ts +7 -27
- package/dist/providers/stripe/index.js +75 -191
- package/dist/providers/stripe/lib/config.d.ts +4 -0
- package/dist/providers/stripe/lib/config.js +2 -0
- package/dist/providers/stripe/openapi.generated.js +4 -3
- package/dist/providers/stripe/{value-safety.js → safety.js} +5 -5
- package/dist/providers/stripe/skill.generated.js +2 -10
- package/dist/providers/stripe/tools.js +77 -0
- package/dist/providers/tithely/api.js +531 -0
- package/dist/providers/tithely/index.d.ts +19 -0
- package/dist/providers/tithely/index.js +86 -965
- package/dist/providers/tithely/skill.generated.js +2 -5
- package/dist/providers/tithely/tools.js +426 -0
- package/dist/providers/vercel/api.js +551 -0
- package/dist/providers/vercel/index.d.ts +11 -25
- package/dist/providers/vercel/index.js +67 -261
- package/dist/providers/vercel/lib/config.d.ts +2 -0
- package/dist/providers/vercel/lib/config.js +2 -0
- package/dist/providers/vercel/lib/index.js +117 -0
- package/dist/providers/vercel/lib/logs.js +100 -0
- package/dist/providers/vercel/lib/pin.js +270 -0
- package/dist/providers/vercel/openapi.generated.js +398 -376
- package/dist/providers/vercel/{value-safety.js → safety.js} +261 -42
- package/dist/providers/vercel/skill.generated.js +2 -7
- package/dist/providers/vercel/tools.js +642 -0
- package/dist/redaction-identity.js +47 -0
- package/dist/redaction-marker.js +125 -0
- package/dist/registry.d.ts +30 -28
- package/dist/registry.js +446 -413
- package/dist/routes/access-tokens.js +1 -1
- package/dist/routes/actor-labels.js +1 -1
- package/dist/routes/connect.js +1 -1
- package/dist/routes/dispatch.js +103 -0
- package/dist/routes/mcp.js +170 -79
- package/dist/routes/oauth.js +3 -1
- package/dist/routes/operator.js +2 -2
- package/dist/routes/shared.d.ts +5 -4
- package/dist/routes/shared.js +244 -177
- package/dist/routes/skills.js +10 -8
- package/dist/routes/ui-config.js +27 -3
- package/dist/routes/ui-data.js +29 -22
- package/dist/routes/ui.js +1 -1
- package/dist/runtime/call-admission.js +0 -26
- package/dist/runtime/call-entry.js +30 -0
- package/dist/runtime/call.js +556 -0
- package/dist/runtime/connector-scope.js +7 -0
- package/dist/runtime/credential-probe.js +34 -0
- package/dist/runtime/executor.js +40 -0
- package/dist/runtime/native-storage.js +63 -0
- package/dist/runtime/registry.js +27 -0
- package/dist/runtime/request-scope.js +72 -0
- package/dist/runtime/run.js +15 -7
- package/dist/runtime/shared-read.js +34 -5
- package/dist/runtime/storage.js +34 -21
- package/dist/sent-secrets.d.ts +194 -37
- package/dist/sent-secrets.js +1743 -340
- package/dist/server.js +5 -56
- package/dist/skills.js +330 -224
- package/dist/sqlite.js +15 -14
- package/dist/storage/d1-copy.js +255 -0
- package/dist/storage/d1-driver.js +15 -0
- package/dist/storage/keys.js +28 -0
- package/dist/storage/sql-driver.js +88 -0
- package/dist/storage/sql-native.js +544 -0
- package/dist/storage/sql-schema.d.ts +6 -0
- package/dist/storage/sql-schema.js +15 -0
- package/dist/storage/sql.d.ts +14 -20
- package/dist/storage/sql.js +29 -535
- package/dist/timeout.js +0 -26
- package/dist/tool-safety.js +20 -10
- package/dist/types.d.ts +11 -99
- package/dist/upward.js +3 -0
- package/dist/usage-guide.js +3 -1
- package/dist/validate.d.ts +4 -2
- package/dist/validate.js +86 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker.js +312 -292
- package/dist/workspace-subject.js +5 -1
- package/dist/write-outcome.js +454 -34
- package/documentation/README.md +27 -7
- package/documentation/architecture.md +2550 -186
- package/documentation/auth.md +821 -98
- package/documentation/code-mode.md +56 -21
- package/documentation/deploying.md +164 -20
- package/documentation/hosted-mcp-migration.md +460 -0
- package/documentation/integrating.md +144 -105
- package/documentation/meta-tools.md +411 -34
- package/documentation/operating.md +28 -4
- package/documentation/operator-tests.md +11 -2
- package/documentation/operator-ui.md +103 -33
- package/documentation/provider-auth-migration.md +38 -63
- package/documentation/provider-migration-0.29.md +10 -5
- package/documentation/provider-migration-0.35.md +975 -0
- package/documentation/providers.md +965 -0
- package/examples/worker/AGENTS.md +23 -9
- package/examples/worker/README.md +254 -135
- package/examples/worker/alchemy.run.ts +116 -0
- package/examples/worker/gitignore +10 -0
- package/examples/worker/src/connecta.config.ts +23 -21
- package/examples/worker/wrangler.jsonc +14 -5
- package/guides/connecting-agents.md +157 -0
- package/guides/how-it-works.md +156 -0
- package/guides/safety-and-trust.md +153 -0
- package/package.json +27 -42
- package/templates/node/.env.example +3 -0
- package/templates/node/README.md +22 -2
- package/templates/node/docker-compose.yml +1 -0
- package/templates/node/package.json +3 -2
- package/templates/node/src/connecta.config.ts +8 -0
- package/dist/catalog-drift.d.ts +0 -134
- package/dist/catalog-drift.js +0 -493
- package/dist/providers/_shared/request-token.js +0 -83
- package/dist/providers/_shared/rest/operation-index.d.ts +0 -133
- package/dist/providers/_shared/rest/tools.d.ts +0 -141
- package/dist/providers/_shared/rest/value-safety.d.ts +0 -201
- package/dist/providers/basecamp/index.d.ts +0 -43
- package/dist/providers/basecamp/index.js +0 -997
- package/dist/providers/basecamp/skill.generated.js +0 -9
- package/dist/providers/cloudflare/rest.d.ts +0 -37
- package/dist/providers/cloudflare/rest.js +0 -1078
- package/dist/providers/github/hosted.js +0 -218
- package/dist/providers/github/rest.js +0 -321
- package/dist/providers/infisical/index.d.ts +0 -7
- package/dist/providers/infisical/index.js +0 -713
- package/dist/providers/infisical/skill.generated.js +0 -8
- package/dist/providers/linear/index.d.ts +0 -55
- package/dist/providers/linear/index.js +0 -352
- package/dist/providers/linear/skill.generated.js +0 -8
- package/dist/providers/mixpanel/index.d.ts +0 -57
- package/dist/providers/mixpanel/index.js +0 -468
- package/dist/providers/mixpanel/operations.js +0 -20
- package/dist/providers/mixpanel/rest.js +0 -603
- package/dist/providers/mixpanel/skill.generated.js +0 -10
- package/dist/providers/mixpanel/value-safety.js +0 -16
- package/dist/providers/notion/index.d.ts +0 -65
- package/dist/providers/notion/index.js +0 -368
- package/dist/providers/notion/openapi.generated.js +0 -75
- package/dist/providers/notion/rest.d.ts +0 -24
- package/dist/providers/notion/rest.js +0 -1226
- package/dist/providers/notion/skill.generated.js +0 -11
- package/dist/providers/notion/value-safety.js +0 -56
- package/dist/providers/revenuecat/index.d.ts +0 -49
- package/dist/providers/revenuecat/index.js +0 -557
- package/dist/providers/revenuecat/skill.generated.js +0 -11
- package/dist/providers/stripe/rest.d.ts +0 -14
- package/dist/providers/stripe/rest.js +0 -402
- package/dist/providers/vercel/rest.d.ts +0 -20
- package/dist/providers/vercel/rest.js +0 -1020
- package/dist/providers/wispr-flow/index.d.ts +0 -14
- package/dist/providers/wispr-flow/index.js +0 -117
- package/dist/providers/wispr-flow/skill.generated.js +0 -8
- /package/dist/providers/github/{key.js → lib/key.js} +0 -0
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// `value-safety.node.test.ts` runs the shared harness over it.
|
|
5
5
|
//
|
|
6
6
|
// - `refuse`: the operation exists to mint, rotate, or hand back a credential
|
|
7
|
-
// (or move money through a payment secret)
|
|
7
|
+
// (or move money through a payment secret), or lacks a reviewed response
|
|
8
|
+
// contract; nothing is sent.
|
|
8
9
|
// - `redact`: the operation is useful, and these field paths carry a
|
|
9
10
|
// credential or stored secret; they are replaced before the result is
|
|
10
11
|
// returned, on every method. A path ending in `#url` keeps only the URL's
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
// or the whole body when it is not an envelope); lists are traversed
|
|
17
18
|
// implicitly and `*` matches every key of an object.
|
|
18
19
|
// Embedded URL verdict (#812): reviewed paths + global signing parameters.
|
|
19
|
-
// Evidence: digest-verified schema revision
|
|
20
|
+
// Evidence: digest-verified schema revision 843eae2fbf4fe774ef9c91021dd34017ac9c970a:
|
|
20
21
|
// builds_BuildLogsResponse.lines (timestamp/log-message tuples),
|
|
21
22
|
// pages_deployment_log.data.line and workers-observability_query_results
|
|
22
23
|
// events.events and invocations.* -> telemetry_event.$metadata.message/error
|
|
@@ -30,7 +31,10 @@
|
|
|
30
31
|
// JavaScript served as application/javascript) are not decoded or scanned.
|
|
31
32
|
// Recording/download/upload capabilities retain their structured-field rules.
|
|
32
33
|
// The review found no documented Cloudflare-minted links embedded in other
|
|
33
|
-
// free text
|
|
34
|
+
// free text, including AI Search item/job logs, and justifies no
|
|
35
|
+
// Cloudflare/R2/S3-wide file-host policy. The new Cloudforce match responses
|
|
36
|
+
// omit schemas; both operations are refused until their response contracts
|
|
37
|
+
// can be reviewed, including their error bodies.
|
|
34
38
|
import { redact as reviewed, refuse, safe as reviewedSafe, } from "../_shared/rest/value-safety.js";
|
|
35
39
|
const MINT = "Connecta does not create, rotate, or return credentials; an operator manages this credential in the Cloudflare dashboard.";
|
|
36
40
|
const API_TOKENS = "Connecta does not create, roll, edit, or delete API tokens; an operator manages tokens in the Cloudflare dashboard.";
|
|
@@ -39,6 +43,7 @@ const BEARER = "This returns a URL or upload token that grants access without Cl
|
|
|
39
43
|
const ACTS = "This GET acts rather than reads (it completes a connection or an unsubscribe), so it is not a read.";
|
|
40
44
|
const INTERNAL = "An internal Cloudflare test route; it is not part of the supported API.";
|
|
41
45
|
const CAPTURE = "A URL scan's captured session (cookies, request and response headers, response bodies, DOM) can carry credentials, so Connecta does not return it. Read scan verdicts with GET /accounts/{account_id}/urlscanner/v2/search.";
|
|
46
|
+
const UNREVIEWED_MATCHES = "Cloudforce match responses have no reviewed response schema; Connecta refuses this operation until its success and error values can be reviewed.";
|
|
42
47
|
const METADATA = "Returns names, ids, status, and timestamps; no credential value.";
|
|
43
48
|
const REVOKES = "Revokes or deletes; returns no credential value.";
|
|
44
49
|
const CALLER_SUPPLIED = "The caller supplies the secret; the response returns only its name and metadata.";
|
|
@@ -152,6 +157,33 @@ const DESCRIBED_ONLY = "The spec mentions credentials in this field's descriptio
|
|
|
152
157
|
const A = "/accounts/{account_id}";
|
|
153
158
|
const Z = "/zones/{zone_id}";
|
|
154
159
|
const OPERATIONS = {
|
|
160
|
+
[`POST ${A}/ai-gateway/billing/topup/config`]: refuse("Returns a payment client secret; complete billing setup in the dashboard."),
|
|
161
|
+
...Object.fromEntries([
|
|
162
|
+
`GET ${A}/cws/basic-auth-credentials`,
|
|
163
|
+
`POST ${A}/cws/basic-auth-credentials`,
|
|
164
|
+
`GET ${A}/cws/basic-auth-credentials/{credential_id}`,
|
|
165
|
+
`DELETE ${A}/cws/basic-auth-credentials/{credential_id}`,
|
|
166
|
+
`GET ${A}/cws/basic-auth-credentials/{credential_id}/secrets`,
|
|
167
|
+
`POST ${A}/cws/basic-auth-credentials/{credential_id}/secrets`,
|
|
168
|
+
`GET ${A}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}`,
|
|
169
|
+
`DELETE ${A}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}`,
|
|
170
|
+
].map((key) => [
|
|
171
|
+
key,
|
|
172
|
+
safe("CWS returns only username, ids, and creation/expiry metadata; password input and hashes are never returned."),
|
|
173
|
+
])),
|
|
174
|
+
...Object.fromEntries([
|
|
175
|
+
`GET ${A}/devices/policies`,
|
|
176
|
+
`GET ${A}/devices/policy`,
|
|
177
|
+
`POST ${A}/devices/policy`,
|
|
178
|
+
`PATCH ${A}/devices/policy`,
|
|
179
|
+
`GET ${A}/devices/policy/{policy_id}`,
|
|
180
|
+
`PATCH ${A}/devices/policy/{policy_id}`,
|
|
181
|
+
`DELETE ${A}/devices/policy/{policy_id}`,
|
|
182
|
+
].map((key) => [
|
|
183
|
+
key,
|
|
184
|
+
safe("Device credential authentication is a boolean reauthentication policy, not a credential.", "enable_device_credential_authentication"),
|
|
185
|
+
])),
|
|
186
|
+
"GET /cws/filter-schema": safe("Filter-builder fields and advisory operator labels; no credentials.", "policy_fields.operators", "workload_fields.operators"),
|
|
155
187
|
// Access
|
|
156
188
|
[`GET ${A}/access/apps`]: ACCESS_APP,
|
|
157
189
|
[`POST ${A}/access/apps`]: ACCESS_APP,
|
|
@@ -291,6 +323,8 @@ const OPERATIONS = {
|
|
|
291
323
|
[`GET ${A}/cfd_tunnel/{tunnel_id}/token`]: refuse("A tunnel token lets anyone run this tunnel; Connecta does not return it. Read the tunnel itself instead."),
|
|
292
324
|
[`GET ${A}/warp_connector/{tunnel_id}/token`]: refuse("A Mesh node token lets anyone run this connector; Connecta does not return it."),
|
|
293
325
|
// Cloudforce One
|
|
326
|
+
[`GET ${A}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches`]: refuse(UNREVIEWED_MATCHES),
|
|
327
|
+
[`PATCH ${A}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches`]: refuse(UNREVIEWED_MATCHES),
|
|
294
328
|
[`GET ${A}/cloudforce-one/v2/credential-monitor/domains`]: safe(METADATA),
|
|
295
329
|
[`POST ${A}/cloudforce-one/v2/credential-monitor/domains`]: safe(METADATA),
|
|
296
330
|
[`DELETE ${A}/cloudforce-one/v2/credential-monitor/domains/{id}`]: safe(REVOKES),
|
|
@@ -656,6 +690,18 @@ const OPERATIONS = {
|
|
|
656
690
|
[`GET ${A}/urlscanner/v2/har/{scan_id}`]: refuse(CAPTURE),
|
|
657
691
|
[`GET ${A}/urlscanner/v2/dom/{scan_id}`]: refuse(CAPTURE),
|
|
658
692
|
[`GET ${A}/urlscanner/v2/responses/{response_id}`]: refuse(CAPTURE),
|
|
693
|
+
// Custom crawler headers may authenticate under any name. Withhold every
|
|
694
|
+
// value in stored or echoed instance configuration, preserving header names.
|
|
695
|
+
...Object.fromEntries([
|
|
696
|
+
`GET ${A}/ai-search/namespaces/{namespace}/instances`,
|
|
697
|
+
`POST ${A}/ai-search/namespaces/{namespace}/instances`,
|
|
698
|
+
`GET ${A}/ai-search/namespaces/{namespace}/instances/{id}`,
|
|
699
|
+
`PUT ${A}/ai-search/namespaces/{namespace}/instances/{id}`,
|
|
700
|
+
`DELETE ${A}/ai-search/namespaces/{namespace}/instances/{id}`,
|
|
701
|
+
].map((key) => [
|
|
702
|
+
key,
|
|
703
|
+
reviewed("Crawler include_headers stores custom request header values that can authenticate under arbitrary names.", ["source_params.web_crawler.parse_options.include_headers{}"]),
|
|
704
|
+
])),
|
|
659
705
|
// Reviewed safe: the flagged field is metadata, a header name list, a count, or third-party data the operation exists to return.
|
|
660
706
|
...Object.fromEntries([
|
|
661
707
|
[`GET ${A}/access/ai-controls/mcp/portals`, "servers.auth_config_summary"],
|
|
@@ -668,20 +714,6 @@ const OPERATIONS = {
|
|
|
668
714
|
[`PUT ${A}/access/ai-controls/mcp/servers/{id}`, "auth_config_summary"],
|
|
669
715
|
[`DELETE ${A}/access/ai-controls/mcp/servers/{id}`, "auth_config_summary"],
|
|
670
716
|
[`GET ${A}/access/users/{user_id}/last_seen_identity`, "passkeys"],
|
|
671
|
-
[`GET ${A}/ai-search/namespaces/{name}/instances`, "source_params.web_crawler.parse_options.include_headers"],
|
|
672
|
-
[`POST ${A}/ai-search/namespaces/{name}/instances`, "source_params.web_crawler.parse_options.include_headers"],
|
|
673
|
-
[
|
|
674
|
-
`GET ${A}/ai-search/namespaces/{name}/instances/{id}`,
|
|
675
|
-
"source_params.web_crawler.parse_options.include_headers",
|
|
676
|
-
],
|
|
677
|
-
[
|
|
678
|
-
`PUT ${A}/ai-search/namespaces/{name}/instances/{id}`,
|
|
679
|
-
"source_params.web_crawler.parse_options.include_headers",
|
|
680
|
-
],
|
|
681
|
-
[
|
|
682
|
-
`DELETE ${A}/ai-search/namespaces/{name}/instances/{id}`,
|
|
683
|
-
"source_params.web_crawler.parse_options.include_headers",
|
|
684
|
-
],
|
|
685
717
|
[`POST ${A}/ai/tomarkdown`, "tokens"],
|
|
686
718
|
[`GET ${A}/basin-catalog/{bucket_name}/maintenance-configs`, ""],
|
|
687
719
|
[`GET ${A}/billable/usage/billable-metrics`, "DimensionKeys"],
|
|
@@ -1039,7 +1071,7 @@ const OPERATIONS = {
|
|
|
1039
1071
|
key,
|
|
1040
1072
|
safe("OAuth client registrations: ids, URIs, and whether a secret was rotated; the secret itself is refused at creation."),
|
|
1041
1073
|
])),
|
|
1042
|
-
[`GET ${A}/one/applications/{application_id}/setup-flows`]:
|
|
1074
|
+
[`GET ${A}/one/applications/{application_id}/setup-flows`]: reviewed("Setup form defaults may carry credential values; withhold defaults while retaining field names and input types.", ["steps.form_fields.default_value"], ["steps", "steps.form_fields.name", "steps.form_fields.type"]),
|
|
1043
1075
|
...Object.fromEntries([
|
|
1044
1076
|
`GET ${A}/realtime/kit/{app_id}/meetings`,
|
|
1045
1077
|
`POST ${A}/realtime/kit/{app_id}/meetings`,
|
|
@@ -1168,6 +1200,493 @@ const OPERATIONS = {
|
|
|
1168
1200
|
* are reviewed metadata wherever they appear.
|
|
1169
1201
|
*/
|
|
1170
1202
|
export const CLOUDFLARE_VALUE_SAFETY = {
|
|
1203
|
+
absent: {
|
|
1204
|
+
"reason": "Paths a shared verdict carries (Access rules, Pages projects, Workers Builds, containers, RealtimeKit, Zaraz, certificates) that this operation's pinned response schema does not declare, or fields the schema leaves undeclared (binding payloads under a Worker's env map). They stay applied at runtime, so an undeclared field the vendor returns is still removed; listing them here keeps every other path checked against the schema.",
|
|
1205
|
+
"operations": {
|
|
1206
|
+
"DELETE /accounts/{account_id}/pages/projects/{project_name}/source": ["env_vars.*.value"],
|
|
1207
|
+
"GET /accounts/{account_id}/access/apps/{app_id}/policies": [
|
|
1208
|
+
"is_default.any_valid_service_token",
|
|
1209
|
+
"is_default.linked_app_token",
|
|
1210
|
+
"is_default.service_token",
|
|
1211
|
+
],
|
|
1212
|
+
"GET /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1213
|
+
"is_default.any_valid_service_token",
|
|
1214
|
+
"is_default.linked_app_token",
|
|
1215
|
+
"is_default.service_token",
|
|
1216
|
+
],
|
|
1217
|
+
"GET /accounts/{account_id}/access/policies": [
|
|
1218
|
+
"is_default.any_valid_service_token",
|
|
1219
|
+
"is_default.linked_app_token",
|
|
1220
|
+
"is_default.service_token",
|
|
1221
|
+
],
|
|
1222
|
+
"GET /accounts/{account_id}/access/policies/{policy_id}": [
|
|
1223
|
+
"is_default.any_valid_service_token",
|
|
1224
|
+
"is_default.linked_app_token",
|
|
1225
|
+
"is_default.service_token",
|
|
1226
|
+
],
|
|
1227
|
+
"GET /accounts/{account_id}/builds/builds": [
|
|
1228
|
+
"*.value",
|
|
1229
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1230
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1231
|
+
"previews_base_config.environment_variables.*.value",
|
|
1232
|
+
"production_settings.environment_variables.*.value",
|
|
1233
|
+
"settings.environment_variables.*.value",
|
|
1234
|
+
],
|
|
1235
|
+
"GET /accounts/{account_id}/builds/builds/latest": [
|
|
1236
|
+
"*.value",
|
|
1237
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1238
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1239
|
+
"previews_base_config.environment_variables.*.value",
|
|
1240
|
+
"production_settings.environment_variables.*.value",
|
|
1241
|
+
"settings.environment_variables.*.value",
|
|
1242
|
+
],
|
|
1243
|
+
"GET /accounts/{account_id}/builds/builds/{build_uuid}": [
|
|
1244
|
+
"*.value",
|
|
1245
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1246
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1247
|
+
"previews_base_config.environment_variables.*.value",
|
|
1248
|
+
"production_settings.environment_variables.*.value",
|
|
1249
|
+
"settings.environment_variables.*.value",
|
|
1250
|
+
],
|
|
1251
|
+
"GET /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables": [
|
|
1252
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1253
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1254
|
+
"previews_base_config.environment_variables.*.value",
|
|
1255
|
+
"production_settings.environment_variables.*.value",
|
|
1256
|
+
"settings.environment_variables.*.value",
|
|
1257
|
+
],
|
|
1258
|
+
"GET /accounts/{account_id}/builds/workers/{external_script_id}/builds": [
|
|
1259
|
+
"*.value",
|
|
1260
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1261
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1262
|
+
"previews_base_config.environment_variables.*.value",
|
|
1263
|
+
"production_settings.environment_variables.*.value",
|
|
1264
|
+
"settings.environment_variables.*.value",
|
|
1265
|
+
],
|
|
1266
|
+
"GET /accounts/{account_id}/builds/workers/{script_tag}": [
|
|
1267
|
+
"*.value",
|
|
1268
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1269
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1270
|
+
"settings.environment_variables.*.value",
|
|
1271
|
+
],
|
|
1272
|
+
"GET /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}": [
|
|
1273
|
+
"*.value",
|
|
1274
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1275
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1276
|
+
"previews_base_config.environment_variables.*.value",
|
|
1277
|
+
"production_settings.environment_variables.*.value",
|
|
1278
|
+
],
|
|
1279
|
+
"GET /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}/builds": [
|
|
1280
|
+
"*.value",
|
|
1281
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1282
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1283
|
+
"previews_base_config.environment_variables.*.value",
|
|
1284
|
+
"production_settings.environment_variables.*.value",
|
|
1285
|
+
"settings.environment_variables.*.value",
|
|
1286
|
+
],
|
|
1287
|
+
"GET /accounts/{account_id}/cni/cnis": ["bgp.md5_key"],
|
|
1288
|
+
"GET /accounts/{account_id}/cni/cnis/{cni}": ["items.bgp.md5_key"],
|
|
1289
|
+
"GET /accounts/{account_id}/containers/applications": [
|
|
1290
|
+
"current_configuration.authorized_keys",
|
|
1291
|
+
"current_configuration.environment_variables.value",
|
|
1292
|
+
"next_page_token",
|
|
1293
|
+
"page_token",
|
|
1294
|
+
"target_configuration.authorized_keys",
|
|
1295
|
+
"target_configuration.environment_variables.value",
|
|
1296
|
+
],
|
|
1297
|
+
"GET /accounts/{account_id}/containers/applications/{application_id}": [
|
|
1298
|
+
"current_configuration.authorized_keys",
|
|
1299
|
+
"current_configuration.environment_variables.value",
|
|
1300
|
+
"next_page_token",
|
|
1301
|
+
"page_token",
|
|
1302
|
+
"target_configuration.authorized_keys",
|
|
1303
|
+
"target_configuration.environment_variables.value",
|
|
1304
|
+
],
|
|
1305
|
+
"GET /accounts/{account_id}/containers/applications/{application_id}/instances-v2": [
|
|
1306
|
+
"next_page_token",
|
|
1307
|
+
"page_token",
|
|
1308
|
+
],
|
|
1309
|
+
"GET /accounts/{account_id}/containers/applications/{application_id}/versions": [
|
|
1310
|
+
"current_configuration.authorized_keys",
|
|
1311
|
+
"current_configuration.environment_variables.value",
|
|
1312
|
+
"next_page_token",
|
|
1313
|
+
"page_token",
|
|
1314
|
+
"target_configuration.authorized_keys",
|
|
1315
|
+
"target_configuration.environment_variables.value",
|
|
1316
|
+
],
|
|
1317
|
+
"GET /accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config": ["shared_entries.secret"],
|
|
1318
|
+
"GET /accounts/{account_id}/pages/projects": ["env_vars.*.value"],
|
|
1319
|
+
"GET /accounts/{account_id}/pages/projects/{project_name}": ["env_vars.*.value"],
|
|
1320
|
+
"GET /accounts/{account_id}/pages/projects/{project_name}/deployments": [
|
|
1321
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1322
|
+
"canonical_deployment.env_vars.*.value",
|
|
1323
|
+
"deployment_configs.preview.ai_bindings",
|
|
1324
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1325
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1326
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1327
|
+
"deployment_configs.production.ai_bindings",
|
|
1328
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1329
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1330
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1331
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1332
|
+
"latest_deployment.env_vars.*.value",
|
|
1333
|
+
],
|
|
1334
|
+
"GET /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}": [
|
|
1335
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1336
|
+
"canonical_deployment.env_vars.*.value",
|
|
1337
|
+
"deployment_configs.preview.ai_bindings",
|
|
1338
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1339
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1340
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1341
|
+
"deployment_configs.production.ai_bindings",
|
|
1342
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1343
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1344
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1345
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1346
|
+
"latest_deployment.env_vars.*.value",
|
|
1347
|
+
],
|
|
1348
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/livestreams": [
|
|
1349
|
+
"data.livestream.stream_key",
|
|
1350
|
+
"data.livestreams.stream_key",
|
|
1351
|
+
],
|
|
1352
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/{livestream_id}": [
|
|
1353
|
+
"data.livestreams.stream_key",
|
|
1354
|
+
"data.stream_key",
|
|
1355
|
+
],
|
|
1356
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/{livestream_id}/active-livestream-session": [
|
|
1357
|
+
"data.livestreams.stream_key",
|
|
1358
|
+
"data.stream_key",
|
|
1359
|
+
],
|
|
1360
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-livestream": [
|
|
1361
|
+
"data.livestream.stream_key",
|
|
1362
|
+
"data.livestreams.stream_key",
|
|
1363
|
+
],
|
|
1364
|
+
"GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestream": [
|
|
1365
|
+
"data.livestream.stream_key",
|
|
1366
|
+
"data.stream_key",
|
|
1367
|
+
],
|
|
1368
|
+
"GET /accounts/{account_id}/stream/live_inputs": [
|
|
1369
|
+
"rtmps.streamKey",
|
|
1370
|
+
"rtmps.url",
|
|
1371
|
+
"rtmpsPlayback.streamKey",
|
|
1372
|
+
"rtmpsPlayback.url",
|
|
1373
|
+
"srt.passphrase",
|
|
1374
|
+
"srt.url",
|
|
1375
|
+
"srtPlayback.passphrase",
|
|
1376
|
+
"srtPlayback.url",
|
|
1377
|
+
"webRTC.url#url",
|
|
1378
|
+
"webRTCPlayback.url",
|
|
1379
|
+
],
|
|
1380
|
+
"GET /accounts/{account_id}/workers/workers": [
|
|
1381
|
+
"previews_base_config.env.*.json",
|
|
1382
|
+
"previews_base_config.env.*.text",
|
|
1383
|
+
],
|
|
1384
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}": [
|
|
1385
|
+
"previews_base_config.env.*.json",
|
|
1386
|
+
"previews_base_config.env.*.text",
|
|
1387
|
+
],
|
|
1388
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments": [
|
|
1389
|
+
"env.*.json",
|
|
1390
|
+
"env.*.text",
|
|
1391
|
+
],
|
|
1392
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/{deployment_id}": [
|
|
1393
|
+
"env.*.json",
|
|
1394
|
+
"env.*.text",
|
|
1395
|
+
],
|
|
1396
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/versions": ["env.*.json", "env.*.text"],
|
|
1397
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/versions/latest": ["env.*.json", "env.*.text"],
|
|
1398
|
+
"GET /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}": ["env.*.json", "env.*.text"],
|
|
1399
|
+
"GET /organizations": ["next_page_token"],
|
|
1400
|
+
"GET /organizations/{organization_id}/accounts": ["next_page_token"],
|
|
1401
|
+
"GET /organizations/{organization_id}/members": ["next_page_token"],
|
|
1402
|
+
"GET /zones/{zone_id}/access/apps": [
|
|
1403
|
+
"policies.exclude.any_valid_service_token",
|
|
1404
|
+
"policies.exclude.linked_app_token",
|
|
1405
|
+
"policies.exclude.service_token",
|
|
1406
|
+
"policies.include.any_valid_service_token",
|
|
1407
|
+
"policies.include.linked_app_token",
|
|
1408
|
+
"policies.include.service_token",
|
|
1409
|
+
"policies.require.any_valid_service_token",
|
|
1410
|
+
"policies.require.linked_app_token",
|
|
1411
|
+
"policies.require.service_token",
|
|
1412
|
+
"read_service_tokens_from_header",
|
|
1413
|
+
],
|
|
1414
|
+
"GET /zones/{zone_id}/access/apps/{app_id}": [
|
|
1415
|
+
"policies.exclude.any_valid_service_token",
|
|
1416
|
+
"policies.exclude.linked_app_token",
|
|
1417
|
+
"policies.exclude.service_token",
|
|
1418
|
+
"policies.include.any_valid_service_token",
|
|
1419
|
+
"policies.include.linked_app_token",
|
|
1420
|
+
"policies.include.service_token",
|
|
1421
|
+
"policies.require.any_valid_service_token",
|
|
1422
|
+
"policies.require.linked_app_token",
|
|
1423
|
+
"policies.require.service_token",
|
|
1424
|
+
"read_service_tokens_from_header",
|
|
1425
|
+
],
|
|
1426
|
+
"GET /zones/{zone_id}/access/apps/{app_id}/policies": [
|
|
1427
|
+
"is_default.any_valid_service_token",
|
|
1428
|
+
"is_default.linked_app_token",
|
|
1429
|
+
"is_default.service_token",
|
|
1430
|
+
],
|
|
1431
|
+
"GET /zones/{zone_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1432
|
+
"is_default.any_valid_service_token",
|
|
1433
|
+
"is_default.linked_app_token",
|
|
1434
|
+
"is_default.service_token",
|
|
1435
|
+
],
|
|
1436
|
+
"GET /zones/{zone_id}/access/groups": [
|
|
1437
|
+
"is_default.any_valid_service_token",
|
|
1438
|
+
"is_default.linked_app_token",
|
|
1439
|
+
"is_default.service_token",
|
|
1440
|
+
],
|
|
1441
|
+
"GET /zones/{zone_id}/access/groups/{group_id}": [
|
|
1442
|
+
"is_default.any_valid_service_token",
|
|
1443
|
+
"is_default.linked_app_token",
|
|
1444
|
+
"is_default.service_token",
|
|
1445
|
+
],
|
|
1446
|
+
"GET /zones/{zone_id}/custom_certificates": ["certificates.geo_restrictions"],
|
|
1447
|
+
"GET /zones/{zone_id}/custom_certificates/{custom_certificate_id}": ["certificates.geo_restrictions"],
|
|
1448
|
+
"GET /zones/{zone_id}/settings/zaraz/config": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1449
|
+
"GET /zones/{zone_id}/settings/zaraz/default": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1450
|
+
"GET /zones/{zone_id}/settings/zaraz/export": [
|
|
1451
|
+
"*.config.debugKey",
|
|
1452
|
+
"*.config.variables.*.value",
|
|
1453
|
+
"*.debugKey",
|
|
1454
|
+
"*.variables.*.value",
|
|
1455
|
+
],
|
|
1456
|
+
"GET /zones/{zone_id}/settings/zaraz/history/configs": [
|
|
1457
|
+
"*.debugKey",
|
|
1458
|
+
"*.variables.*.value",
|
|
1459
|
+
"debugKey",
|
|
1460
|
+
"variables.*.value",
|
|
1461
|
+
],
|
|
1462
|
+
"GET /zones/{zone_id}/ssl/certificate_packs": ["geo_restrictions", "policy_restrictions"],
|
|
1463
|
+
"GET /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}": ["geo_restrictions", "policy_restrictions"],
|
|
1464
|
+
"PATCH /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables": [
|
|
1465
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1466
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1467
|
+
"previews_base_config.environment_variables.*.value",
|
|
1468
|
+
"production_settings.environment_variables.*.value",
|
|
1469
|
+
"settings.environment_variables.*.value",
|
|
1470
|
+
],
|
|
1471
|
+
"PATCH /accounts/{account_id}/builds/workers/{script_tag}": [
|
|
1472
|
+
"*.value",
|
|
1473
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1474
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1475
|
+
"settings.environment_variables.*.value",
|
|
1476
|
+
],
|
|
1477
|
+
"PATCH /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}": [
|
|
1478
|
+
"*.value",
|
|
1479
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1480
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1481
|
+
"previews_base_config.environment_variables.*.value",
|
|
1482
|
+
"production_settings.environment_variables.*.value",
|
|
1483
|
+
],
|
|
1484
|
+
"PATCH /accounts/{account_id}/containers/applications/{application_id}": [
|
|
1485
|
+
"current_configuration.authorized_keys",
|
|
1486
|
+
"current_configuration.environment_variables.value",
|
|
1487
|
+
"next_page_token",
|
|
1488
|
+
"page_token",
|
|
1489
|
+
"target_configuration.authorized_keys",
|
|
1490
|
+
"target_configuration.environment_variables.value",
|
|
1491
|
+
],
|
|
1492
|
+
"PATCH /accounts/{account_id}/pages/projects/{project_name}": ["env_vars.*.value"],
|
|
1493
|
+
"PATCH /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets-bulk": ["key_base64", "key_jwk", "text"],
|
|
1494
|
+
"PATCH /accounts/{account_id}/workers/scripts/{script_name}/secrets-bulk": ["key_base64", "key_jwk", "text"],
|
|
1495
|
+
"PATCH /accounts/{account_id}/workers/workers/{worker_id}": [
|
|
1496
|
+
"previews_base_config.env.*.json",
|
|
1497
|
+
"previews_base_config.env.*.text",
|
|
1498
|
+
],
|
|
1499
|
+
"PATCH /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/latest": [
|
|
1500
|
+
"env.*.json",
|
|
1501
|
+
"env.*.text",
|
|
1502
|
+
],
|
|
1503
|
+
"PATCH /accounts/{account_id}/workers/workers/{worker_id}/versions/latest": ["env.*.json", "env.*.text"],
|
|
1504
|
+
"PATCH /zones/{zone_id}/custom_certificates/{custom_certificate_id}": ["certificates.geo_restrictions"],
|
|
1505
|
+
"PATCH /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}": ["geo_restrictions", "policy_restrictions"],
|
|
1506
|
+
"POST /accounts/{account_id}/access/apps/{app_id}/policies": [
|
|
1507
|
+
"is_default.any_valid_service_token",
|
|
1508
|
+
"is_default.linked_app_token",
|
|
1509
|
+
"is_default.service_token",
|
|
1510
|
+
],
|
|
1511
|
+
"POST /accounts/{account_id}/access/policies": [
|
|
1512
|
+
"is_default.any_valid_service_token",
|
|
1513
|
+
"is_default.linked_app_token",
|
|
1514
|
+
"is_default.service_token",
|
|
1515
|
+
],
|
|
1516
|
+
"POST /accounts/{account_id}/builds/triggers/{trigger_uuid}/builds": [
|
|
1517
|
+
"*.value",
|
|
1518
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1519
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1520
|
+
"previews_base_config.environment_variables.*.value",
|
|
1521
|
+
"production_settings.environment_variables.*.value",
|
|
1522
|
+
"settings.environment_variables.*.value",
|
|
1523
|
+
],
|
|
1524
|
+
"POST /accounts/{account_id}/builds/workers": [
|
|
1525
|
+
"*.value",
|
|
1526
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1527
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1528
|
+
"settings.environment_variables.*.value",
|
|
1529
|
+
],
|
|
1530
|
+
"POST /accounts/{account_id}/builds/workers/{script_tag}/migrate_to_previews": [
|
|
1531
|
+
"*.value",
|
|
1532
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1533
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1534
|
+
"settings.environment_variables.*.value",
|
|
1535
|
+
],
|
|
1536
|
+
"POST /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}/builds": [
|
|
1537
|
+
"*.value",
|
|
1538
|
+
"build_trigger_metadata.environment_variables.*.value",
|
|
1539
|
+
"builds.*.build_trigger_metadata.environment_variables.*.value",
|
|
1540
|
+
"previews_base_config.environment_variables.*.value",
|
|
1541
|
+
"production_settings.environment_variables.*.value",
|
|
1542
|
+
"settings.environment_variables.*.value",
|
|
1543
|
+
],
|
|
1544
|
+
"POST /accounts/{account_id}/cni/cnis": ["items.bgp.md5_key"],
|
|
1545
|
+
"POST /accounts/{account_id}/containers/applications": [
|
|
1546
|
+
"current_configuration.authorized_keys",
|
|
1547
|
+
"current_configuration.environment_variables.value",
|
|
1548
|
+
"next_page_token",
|
|
1549
|
+
"page_token",
|
|
1550
|
+
"target_configuration.authorized_keys",
|
|
1551
|
+
"target_configuration.environment_variables.value",
|
|
1552
|
+
],
|
|
1553
|
+
"POST /accounts/{account_id}/containers/applications/{application_id}/rollouts": [
|
|
1554
|
+
"configuration.authorized_keys",
|
|
1555
|
+
"configuration.environment_variables.value",
|
|
1556
|
+
"next_page_token",
|
|
1557
|
+
"page_token",
|
|
1558
|
+
],
|
|
1559
|
+
"POST /accounts/{account_id}/d1/database/{database_id}/export": ["signed_url#url"],
|
|
1560
|
+
"POST /accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config": ["shared_entries.secret"],
|
|
1561
|
+
"POST /accounts/{account_id}/pages/projects": ["env_vars.*.value"],
|
|
1562
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/deployments": [
|
|
1563
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1564
|
+
"canonical_deployment.env_vars.*.value",
|
|
1565
|
+
"deployment_configs.preview.ai_bindings",
|
|
1566
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1567
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1568
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1569
|
+
"deployment_configs.production.ai_bindings",
|
|
1570
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1571
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1572
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1573
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1574
|
+
"latest_deployment.env_vars.*.value",
|
|
1575
|
+
],
|
|
1576
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/retry": [
|
|
1577
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1578
|
+
"canonical_deployment.env_vars.*.value",
|
|
1579
|
+
"deployment_configs.preview.ai_bindings",
|
|
1580
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1581
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1582
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1583
|
+
"deployment_configs.production.ai_bindings",
|
|
1584
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1585
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1586
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1587
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1588
|
+
"latest_deployment.env_vars.*.value",
|
|
1589
|
+
],
|
|
1590
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/rollback": [
|
|
1591
|
+
"canonical_deployment.build_config.web_analytics_token",
|
|
1592
|
+
"canonical_deployment.env_vars.*.value",
|
|
1593
|
+
"deployment_configs.preview.ai_bindings",
|
|
1594
|
+
"deployment_configs.preview.env_vars.*.value",
|
|
1595
|
+
"deployment_configs.preview.hyperdrive_bindings",
|
|
1596
|
+
"deployment_configs.preview.vectorize_bindings",
|
|
1597
|
+
"deployment_configs.production.ai_bindings",
|
|
1598
|
+
"deployment_configs.production.env_vars.*.value",
|
|
1599
|
+
"deployment_configs.production.hyperdrive_bindings",
|
|
1600
|
+
"deployment_configs.production.vectorize_bindings",
|
|
1601
|
+
"latest_deployment.build_config.web_analytics_token",
|
|
1602
|
+
"latest_deployment.env_vars.*.value",
|
|
1603
|
+
],
|
|
1604
|
+
"POST /accounts/{account_id}/pages/projects/{project_name}/source": ["env_vars.*.value"],
|
|
1605
|
+
"POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestreams": [
|
|
1606
|
+
"data.livestream.stream_key",
|
|
1607
|
+
"data.livestreams.stream_key",
|
|
1608
|
+
],
|
|
1609
|
+
"POST /accounts/{account_id}/workers/workers": [
|
|
1610
|
+
"previews_base_config.env.*.json",
|
|
1611
|
+
"previews_base_config.env.*.text",
|
|
1612
|
+
],
|
|
1613
|
+
"POST /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments": [
|
|
1614
|
+
"env.*.json",
|
|
1615
|
+
"env.*.text",
|
|
1616
|
+
],
|
|
1617
|
+
"POST /accounts/{account_id}/workers/workers/{worker_id}/versions": ["env.*.json", "env.*.text"],
|
|
1618
|
+
"POST /zones/{zone_id}/access/apps": [
|
|
1619
|
+
"policies.exclude.any_valid_service_token",
|
|
1620
|
+
"policies.exclude.linked_app_token",
|
|
1621
|
+
"policies.exclude.service_token",
|
|
1622
|
+
"policies.include.any_valid_service_token",
|
|
1623
|
+
"policies.include.linked_app_token",
|
|
1624
|
+
"policies.include.service_token",
|
|
1625
|
+
"policies.require.any_valid_service_token",
|
|
1626
|
+
"policies.require.linked_app_token",
|
|
1627
|
+
"policies.require.service_token",
|
|
1628
|
+
"read_service_tokens_from_header",
|
|
1629
|
+
],
|
|
1630
|
+
"POST /zones/{zone_id}/access/apps/{app_id}/policies": [
|
|
1631
|
+
"is_default.any_valid_service_token",
|
|
1632
|
+
"is_default.linked_app_token",
|
|
1633
|
+
"is_default.service_token",
|
|
1634
|
+
],
|
|
1635
|
+
"POST /zones/{zone_id}/access/groups": [
|
|
1636
|
+
"is_default.any_valid_service_token",
|
|
1637
|
+
"is_default.linked_app_token",
|
|
1638
|
+
"is_default.service_token",
|
|
1639
|
+
],
|
|
1640
|
+
"POST /zones/{zone_id}/custom_certificates": ["certificates.geo_restrictions"],
|
|
1641
|
+
"POST /zones/{zone_id}/ssl/certificate_packs/order": ["geo_restrictions", "policy_restrictions"],
|
|
1642
|
+
"PUT /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1643
|
+
"is_default.any_valid_service_token",
|
|
1644
|
+
"is_default.linked_app_token",
|
|
1645
|
+
"is_default.service_token",
|
|
1646
|
+
],
|
|
1647
|
+
"PUT /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}/make_reusable": [
|
|
1648
|
+
"is_default.any_valid_service_token",
|
|
1649
|
+
"is_default.linked_app_token",
|
|
1650
|
+
"is_default.service_token",
|
|
1651
|
+
],
|
|
1652
|
+
"PUT /accounts/{account_id}/access/policies/{policy_id}": [
|
|
1653
|
+
"is_default.any_valid_service_token",
|
|
1654
|
+
"is_default.linked_app_token",
|
|
1655
|
+
"is_default.service_token",
|
|
1656
|
+
],
|
|
1657
|
+
"PUT /accounts/{account_id}/cni/cnis/{cni}": ["items.bgp.md5_key"],
|
|
1658
|
+
"PUT /accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config": ["shared_entries.secret"],
|
|
1659
|
+
"PUT /accounts/{account_id}/workers/workers/{worker_id}": [
|
|
1660
|
+
"previews_base_config.env.*.json",
|
|
1661
|
+
"previews_base_config.env.*.text",
|
|
1662
|
+
],
|
|
1663
|
+
"PUT /zones/{zone_id}/access/apps/{app_id}": [
|
|
1664
|
+
"policies.exclude.any_valid_service_token",
|
|
1665
|
+
"policies.exclude.linked_app_token",
|
|
1666
|
+
"policies.exclude.service_token",
|
|
1667
|
+
"policies.include.any_valid_service_token",
|
|
1668
|
+
"policies.include.linked_app_token",
|
|
1669
|
+
"policies.include.service_token",
|
|
1670
|
+
"policies.require.any_valid_service_token",
|
|
1671
|
+
"policies.require.linked_app_token",
|
|
1672
|
+
"policies.require.service_token",
|
|
1673
|
+
"read_service_tokens_from_header",
|
|
1674
|
+
],
|
|
1675
|
+
"PUT /zones/{zone_id}/access/apps/{app_id}/policies/{policy_id}": [
|
|
1676
|
+
"is_default.any_valid_service_token",
|
|
1677
|
+
"is_default.linked_app_token",
|
|
1678
|
+
"is_default.service_token",
|
|
1679
|
+
],
|
|
1680
|
+
"PUT /zones/{zone_id}/access/groups/{group_id}": [
|
|
1681
|
+
"is_default.any_valid_service_token",
|
|
1682
|
+
"is_default.linked_app_token",
|
|
1683
|
+
"is_default.service_token",
|
|
1684
|
+
],
|
|
1685
|
+
"PUT /zones/{zone_id}/custom_certificates/prioritize": ["certificates.geo_restrictions"],
|
|
1686
|
+
"PUT /zones/{zone_id}/settings/zaraz/config": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1687
|
+
"PUT /zones/{zone_id}/settings/zaraz/history": ["*.config.debugKey", "*.config.variables.*.value"],
|
|
1688
|
+
},
|
|
1689
|
+
},
|
|
1171
1690
|
embeddedUrls: {
|
|
1172
1691
|
operations: {
|
|
1173
1692
|
"GET /accounts/{account_id}/builds/builds/{build_uuid}/logs": ["lines"],
|
|
@@ -1223,6 +1742,7 @@ export const CLOUDFLARE_VALUE_SAFETY = {
|
|
|
1223
1742
|
["amr_matching_session_duration", "A session duration."],
|
|
1224
1743
|
["doh_jwt_duration", "A token lifetime setting."],
|
|
1225
1744
|
["token_endpoint_auth_method", "An OAuth client authentication method name."],
|
|
1745
|
+
["leak_reporter", "The secret-scanning partner name, not the leaked token."],
|
|
1226
1746
|
["has_rotated_secret", "Whether a client secret was rotated; a flag."],
|
|
1227
1747
|
["secret_preview", "A masked preview of a caller-supplied key."],
|
|
1228
1748
|
["token_pricing", "Per-token model pricing."],
|