void 1.11.0 → 1.12.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/dist/{account-cmd-Bbr5cHjm.mjs → account-cmd-D_0qJ9fx.mjs} +6 -6
- package/dist/{agents-DRo8gzni.mjs → agents-64FnLwxP.mjs} +6 -5
- package/dist/{application-analysis-XyUuNqYA.mjs → application-analysis-Cx2S63z5.mjs} +48 -22
- package/dist/{application-routing-DATqynKH.mjs → application-routing-BAXpnawu.mjs} +1 -1
- package/dist/{assets-DZBd7yqh.mjs → assets-Br6_BeFJ.mjs} +34 -27
- package/dist/{ast-Cv0JwXqb.mjs → ast-BkPQu7A0.mjs} +5 -1
- package/dist/{auth-BN0NU9dz.mjs → auth-Boz0lrb3.mjs} +1 -1
- package/dist/{auth-CCk9Seol.mjs → auth-DlLDymuc.mjs} +24 -12
- package/dist/{auth-link-CVxoyU81.mjs → auth-link-C97r9p2N.mjs} +6 -6
- package/dist/{auth-router-ChXKduRM.mjs → auth-router-BmzEgzYx.mjs} +5 -5
- package/dist/{better-auth-shared-B8W8tZxP.d.mts → better-auth-shared-BS3pDQbT.d.mts} +6 -6
- package/dist/{better-auth-shared-DRHo5FoG.mjs → better-auth-shared-BcqDt-37.mjs} +7 -2
- package/dist/{build-cmd-C3b13rRf.mjs → build-cmd-BaFsyZrz.mjs} +13 -12
- package/dist/{cache-B1WzZV60.mjs → cache-xO711ATQ.mjs} +6 -6
- package/dist/{cancel-deploy-BggXixU_.mjs → cancel-deploy-Di11ynsr.mjs} +5 -5
- package/dist/{cf-access-pejlJmuy.mjs → cf-access-DmkKPcAI.mjs} +0 -8
- package/dist/{cf-access-Dnyw8KFY.mjs → cf-access-FaIm95jA.mjs} +8 -4
- package/dist/{cf-build-output-bBx1gDll.mjs → cf-build-output-Ca201_n1.mjs} +27 -25
- package/dist/cf-build-output-Dy7N0hQN.mjs +1 -0
- package/dist/{cf-command-values-Ccl-zRhl.mjs → cf-command-values-5BPBRc9Z.mjs} +1 -1
- package/dist/cf-config-migrate-D271BTiw.mjs +1664 -0
- package/dist/{cf-worker-settings-CARs4Wy9.mjs → cf-worker-settings-BBdlhm9U.mjs} +1 -1
- package/dist/cli/cli.mjs +1 -1
- package/dist/cli/cloudflare-operation-process.mjs +17 -14
- package/dist/cli/env-schema-probe.d.mts +3 -1
- package/dist/cli/env-schema-probe.mjs +7 -8
- package/dist/{cli-main-DW09sVsT.mjs → cli-main-DlW6lB8s.mjs} +142 -88
- package/dist/{client-DGfZTE4V.mjs → client-DkYzDEC0.mjs} +1 -1
- package/dist/{client-DF6U7KLP.mjs → client-ImIe7Mjq.mjs} +186 -17
- package/dist/{cloudflare-auth-pNvmT6kL.mjs → cloudflare-auth-eWfhdZCk.mjs} +1 -1
- package/dist/{cloudflare-cmd-BOhToob3.mjs → cloudflare-cmd-SsFlJe2B.mjs} +7 -8
- package/dist/{cloudflare-config-D1dMHbvz.mjs → cloudflare-config-D9UFH_A5.mjs} +2 -2
- package/dist/{cloudflare-connect-DTrsIBAa.mjs → cloudflare-connect-BgpHcSg3.mjs} +3 -3
- package/dist/{cloudflare-operations-DmqtzoX4.mjs → cloudflare-operations-BF0PSErW.mjs} +12 -20
- package/dist/{cloudflare-operations-BditDbcd.mjs → cloudflare-operations-dpRD-2Px.mjs} +1 -1
- package/dist/cloudflare-process-60r4Z2Zf.mjs +671 -0
- package/dist/cloudflare-user-output-CCR99eQY.mjs +19 -0
- package/dist/collect-B6nlSnsb.mjs +1 -0
- package/dist/{collect-C6Blu9yw.mjs → collect-rNLybAnF.mjs} +3 -3
- package/dist/{config-Do7gJI3T.mjs → config-BFX5ZB1J.mjs} +5 -4
- package/dist/{config-CeZd67L0.mjs → config-BSoW3QCB.mjs} +5 -5
- package/dist/{config-DYW2TBgz.d.mts → config-DA6ZbLXO.d.mts} +1 -1
- package/dist/{config-dMSpL-ml.mjs → config-DtjrUtPo.mjs} +1 -1
- package/dist/{config-BmvqLnbi.mjs → config-Dv5jri1-.mjs} +4 -4
- package/dist/config-entry.d.mts +1 -1
- package/dist/{connect-B3bKxRzX.mjs → connect-DDRQGfFE.mjs} +9 -9
- package/dist/{create-project-DLUlxmf5.mjs → create-project-CY7sP8sI.mjs} +7 -6
- package/dist/{create-project-By7ymK7F.mjs → create-project-Dro3K-az.mjs} +1 -1
- package/dist/{db-3qsP21pH.mjs → db-DmlaWVBu.mjs} +120 -103
- package/dist/db-seed-loader-Bcz_SutQ.mjs +253 -0
- package/dist/{db-types-DC7KJLx2.mjs → db-types-B4Cf9dzR.mjs} +1 -1
- package/dist/{delete-HbFqgEFC.mjs → delete-Uuq9ch6o.mjs} +6 -6
- package/dist/{deploy-2QjsBEGw.mjs → deploy-B9E7_rHC.mjs} +218 -553
- package/dist/deploy-BB3rsZbP.mjs +2 -0
- package/dist/{deploy-managed-static-JoNP3cec.mjs → deploy-managed-static-IKZyuc1W.mjs} +115 -194
- package/dist/deploy-security-notice-C3LalelR.mjs +192 -0
- package/dist/{deploy-transport-QAkhJYRI.mjs → deploy-transport-BKP_oV9q.mjs} +4 -4
- package/dist/deploy.mjs +9 -9
- package/dist/{dev-inbox-BiamQEAa.mjs → dev-inbox-ClVjKEHy.mjs} +1 -1
- package/dist/direct-r2-upload-DFXLWfXV.mjs +204 -0
- package/dist/discover-D2KGP3cR.mjs +1 -0
- package/dist/{discover-Vd18lHsj.mjs → discover-IcspacCg.mjs} +1 -1
- package/dist/{dispatch-BlOYh1Vc.mjs → dispatch-DIhDA3NI.mjs} +11 -10
- package/dist/{dist-Cp4b1_T9.mjs → dist-C47zy_kJ.mjs} +1 -1
- package/dist/{dist-STQXl8ck.mjs → dist-Cr_xGE_K.mjs} +73 -38
- package/dist/{domain-COkVSfII.mjs → domain-B_xY1yZ5.mjs} +8 -10
- package/dist/{dotenv-CEI8hapP.mjs → dotenv-BG6RQavH.mjs} +2 -2
- package/dist/{drizzle-BXVOa6Jg.mjs → drizzle-BJDMPrj7.mjs} +3 -4
- package/dist/{drizzle-CvSGrvdl.mjs → drizzle-CQ5jWuDL.mjs} +1 -1
- package/dist/{email-Dj02fLgQ.mjs → email-BIC15L7a.mjs} +33 -30
- package/dist/{email-cloudflare-DDknDAgp.mjs → email-cloudflare-C447nOqq.mjs} +29 -38
- package/dist/{email-pattern-BYr-EFq5.mjs → email-pattern-bRna9MOJ.mjs} +2 -2
- package/dist/{entry-DMgR7XOf.mjs → entry-Bwb9ev8K.mjs} +13 -10
- package/dist/{env-BA7e5yzp.mjs → env-DJPZYHT5.mjs} +8 -8
- package/dist/{env-UqS-21xi.mjs → env-EjHqc7m9.mjs} +1 -1
- package/dist/{env-types-WEZw5D-r.mjs → env-types-D2hBodXP.mjs} +2 -19
- package/dist/{env-validation-DfJ9Fzfa.mjs → env-validation-D-v5_CWL.mjs} +13 -13
- package/dist/{env-validation-ly_Q9Kgd.mjs → env-validation-j9pjCDfA.mjs} +1 -1
- package/dist/{error-pages-QNeBXiRR.mjs → error-pages-GORL6F_e.mjs} +1 -1
- package/dist/{fetch-CbI6lNnk.d.mts → fetch-CczQyIed.d.mts} +1 -1
- package/dist/{fetch-DdK9eGin.mjs → fetch-CiEsvjpP.mjs} +1 -1
- package/dist/{fetch-stream-DQAavFdm.mjs → fetch-stream-BIG5lHW6.mjs} +3 -4
- package/dist/{fetch-stream-DoED9atq.d.mts → fetch-stream-DRX8-83b.d.mts} +2 -2
- package/dist/gen-CQDiPi8m.mjs +1 -0
- package/dist/{gen-EMpnzNGz.mjs → gen-DiTZlDx8.mjs} +21 -18
- package/dist/{generate-BOp1g1H_.mjs → generate-C3ZAqCy-.mjs} +1 -1
- package/dist/{generate-CWb8aOsm.mjs → generate-Dq2Bgw75.mjs} +6 -6
- package/dist/{git-metadata-Cukp5kV5.mjs → git-metadata-BEokJ6US.mjs} +1 -1
- package/dist/{github-cmd-8bXgJNAQ.mjs → github-cmd-DPmby8x-.mjs} +14 -9
- package/dist/{handler-w_FAiIRu.mjs → handler-DCrDLzw2.mjs} +3 -3
- package/dist/has-own-key-D9QEnAkF.mjs +5 -0
- package/dist/{head-0o0QoREY.mjs → head-BwQ5kgqt.mjs} +5 -4
- package/dist/{head-CVO92KEx.d.mts → head-fUp8n_QJ.d.mts} +9 -4
- package/dist/{headers-BjgvlY29.mjs → headers-DqBsjDxg.mjs} +7 -7
- package/dist/{help-DCQKp3Kp.mjs → help-9wfMyXHb.mjs} +130 -60
- package/dist/help-Dy3w4rPq.mjs +1 -0
- package/dist/{inbound-BHt4dIlL.d.mts → inbound-CwgZSqFI.d.mts} +9 -3
- package/dist/{inbound--OF7zkwX.mjs → inbound-feMn1Rxx.mjs} +7 -7
- package/dist/{index-CmqHYj2R.d.mts → index-8cAgNdb6.d.mts} +1 -1
- package/dist/{index-BTmhCDbw.d.mts → index-BQ5qYiAw.d.mts} +2 -2
- package/dist/{index-BESZTC1z.d.mts → index-BYcWajVp.d.mts} +2 -1
- package/dist/{index-BXdP39qx.d.mts → index-Dn2mkPr2.d.mts} +24 -23
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +341 -444
- package/dist/{info--jdAIsJN.mjs → info-BWEWaOBo.mjs} +4 -4
- package/dist/{init-BLZvktk_.mjs → init-BuTPVLPO.mjs} +69 -335
- package/dist/{isr-config-Czzb4mIq.mjs → isr-config-DiTnL9Tb.mjs} +5 -5
- package/dist/{link-DPJ4jN7y.mjs → link-BiesPyT4.mjs} +7 -7
- package/dist/{list-B-au6xJt.mjs → list-CkonftPQ.mjs} +11 -7
- package/dist/{live-DvtxTUhW.mjs → live-dvGThbwy.mjs} +14 -17
- package/dist/{load-user-env-BltIJLtl.mjs → load-user-env-B8qC0Q2Y.mjs} +1 -1
- package/dist/{local-d1-C6xn26Nl.mjs → local-d1-CYOYkVwO.mjs} +3 -3
- package/dist/{login-p1_BMgXg.mjs → login-BSOSah1j.mjs} +8 -6
- package/dist/login-DWCZeCX9.mjs +1 -0
- package/dist/{logs-UNH3vQeX.mjs → logs-HOBUnroa.mjs} +9 -9
- package/dist/{migrate-9dlt6Mxu.mjs → migrate-BNZL1hee.mjs} +9 -10
- package/dist/migrate-C9aoWLvY.mjs +1 -0
- package/dist/{migrations-Cbns2RAm.mjs → migrations-CUHhX65Y.mjs} +5 -5
- package/dist/{mime-BGoZ8ZLL.mjs → mime-Btw9R3CC.mjs} +26 -12
- package/dist/{mysql-sql-SlpS6OMg.mjs → mysql-sql-CB52k8tQ.mjs} +45 -22
- package/dist/nitro.d.mts +3 -0
- package/dist/nitro.mjs +14 -5
- package/dist/{node-DqkiQujF.mjs → node-DVJWfV6s.mjs} +6 -6
- package/dist/{operator-ai-logging-BQ6mOgQs.mjs → operator-ai-logging-ZDqqhnIq.mjs} +11 -10
- package/dist/operator-args-DCkWbgT-.mjs +1499 -0
- package/dist/{operator-auth-CD3pap65.mjs → operator-auth-BjoPLgja.mjs} +2 -2
- package/dist/{operator-client-XvXTkea6.mjs → operator-client-DzebIntv.mjs} +3 -3
- package/dist/{operator-cmd-CKbZbNKn.mjs → operator-cmd-AZoeI9Pl.mjs} +28 -12
- package/dist/operator-cmd-DEnHFmJF.mjs +1 -0
- package/dist/operator-security-Bo26FP01.mjs +263 -0
- package/dist/{output-Bc8ixgPF.mjs → output-BZLnu0z8.mjs} +13 -3
- package/dist/output-D7K9TWIA.mjs +1 -0
- package/dist/{package-json-DvS6IFRv.mjs → package-json-4xUI3xLz.mjs} +1 -1
- package/dist/pages/client.d.mts +53 -30
- package/dist/pages/client.mjs +93 -31
- package/dist/pages/head.d.mts +1 -1
- package/dist/pages/head.mjs +1 -1
- package/dist/pages/index.d.mts +2 -2
- package/dist/pages/index.mjs +7 -7
- package/dist/pages/islands-plugin.d.mts +26 -8
- package/dist/pages/islands-plugin.mjs +61 -22
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +1 -1
- package/dist/pages/serialize.mjs +1 -1
- package/dist/{pgpass-CEtnBOZO.mjs → pgpass-BLPoYN9_.mjs} +3 -2
- package/dist/platform-args-DNbNZ_RR.mjs +1 -0
- package/dist/{platform-args-DQSMW4EP.mjs → platform-args-lwCyQ6Xy.mjs} +37 -9
- package/dist/{platform-auth-config-D80AKe72.mjs → platform-auth-config-DLRMPw1G.mjs} +26 -23
- package/dist/{platform-auth-protection-k1Ox-u9T.mjs → platform-auth-protection-HSmLmD3d.mjs} +10 -10
- package/dist/{platform-auth-recovery-D-hKehPy.mjs → platform-auth-recovery-BXPhTlKa.mjs} +11 -9
- package/dist/{platform-cmd-Dtz5lw7R.mjs → platform-cmd-CqRjxFEU.mjs} +1 -1
- package/dist/{platform-cmd-DQ0Wi61H.mjs → platform-cmd-DJ-fOYhL.mjs} +11 -11
- package/dist/{platform-discovery-B0eZjZ3B.mjs → platform-discovery-CLxtixHJ.mjs} +1 -1
- package/dist/{platform-domain-BMGS4l74.mjs → platform-domain-CRsRJOws.mjs} +14 -10
- package/dist/{platform-lifecycle-y4AfmC7M.mjs → platform-lifecycle-bx_kpqo7.mjs} +1 -1
- package/dist/{platform-lifecycle-BCkNQNsQ.mjs → platform-lifecycle-fau3VKv6.mjs} +755 -207
- package/dist/platform-management-BRGhD-oF.mjs +1 -0
- package/dist/{platform-management-Cj2aXFqD.mjs → platform-management-CnKBdDx5.mjs} +227 -58
- package/dist/{platform-plans-config-CrUUzEl9.mjs → platform-plans-config-2C3_5EDs.mjs} +112 -35
- package/dist/{platform-recovery-DKZnALHI.mjs → platform-recovery-poxgOOAY.mjs} +5 -5
- package/dist/{platform-registry-DZ_2Xuqd.mjs → platform-registry-DHH6fivm.mjs} +6 -5
- package/dist/{platform-setup-CKmSEb1J.mjs → platform-setup-DYylapHD.mjs} +26 -12
- package/dist/{plugin-inference-B_urWd5Z.mjs → plugin-inference-7O11_E4H.mjs} +26 -26
- package/dist/{prepare-vCdm5moJ.mjs → prepare-BbvlKreR.mjs} +12 -12
- package/dist/prepare-BmG2E6TI.mjs +1 -0
- package/dist/{prepare-CU7SZieQ.mjs → prepare-DWjn1Lzd.mjs} +3 -3
- package/dist/{project-cmd-B4cgPSi4.mjs → project-cmd-DyUEFi2b.mjs} +30 -24
- package/dist/{project-CLwxcEdq.mjs → project-dh9431bN.mjs} +2 -2
- package/dist/{project-paths-CUhCPMpK.mjs → project-paths-2ENfCCih.mjs} +4 -3
- package/dist/project-security--tYGFPGo.mjs +1340 -0
- package/dist/project-security-DZEQgnsS.mjs +1 -0
- package/dist/{project-team-BdX6anO3.mjs → project-team-BszTHgzC.mjs} +8 -8
- package/dist/{project-token-C1rcq8Xb.mjs → project-token-DBDy4NdV.mjs} +6 -6
- package/dist/{project-tsconfig-MyRJgufB.mjs → project-tsconfig-BOA4ym99.mjs} +25 -5
- package/dist/{project-DVsTAWFh.mjs → project-uXKua1it.mjs} +1 -1
- package/dist/project-zero-trust-D9sUouij.mjs +210 -0
- package/dist/{protocol-W5EQcIzN.mjs → protocol-CE3wP-H1.mjs} +5 -5
- package/dist/{protocol-BlAiF-hc.d.mts → protocol-ERy-n3jf.d.mts} +7 -4
- package/dist/{provision-DWnnKdT-.mjs → provision-Bh44omGA.mjs} +30 -22
- package/dist/{provision-CGI-T0mq.mjs → provision-DFv7SJDn.mjs} +1 -1
- package/dist/{public-B80SwOFp.d.mts → public-DB9C2Cy_.d.mts} +5 -2
- package/dist/{raw-7pQirZpQ.mjs → raw-5rak34QN.mjs} +2 -1
- package/dist/{redirect-Dqb4fEc5.mjs → redirect-DD825Stf.mjs} +1 -1
- package/dist/{requests-D6MaLS_Y.mjs → requests-CBokjiOi.mjs} +6 -6
- package/dist/{resolve-project-Da3OgCU1.mjs → resolve-project-8WZ3iVmr.mjs} +3 -3
- package/dist/resolve-project-YsTH-U9I.mjs +1 -0
- package/dist/{rollback-Bs8I8PF8.mjs → rollback-CEeHNFUn.mjs} +16 -7
- package/dist/route-types-CSed9-Dp.mjs +435 -0
- package/dist/{route-url-BBdkU7rb.mjs → route-url-B41eQ8QI.mjs} +1 -1
- package/dist/{route-url-Di1kB8D_.d.mts → route-url-Bd6IX-JZ.d.mts} +2 -1
- package/dist/routes-stub.d.mts +1 -1
- package/dist/routes-stub.mjs +1 -1
- package/dist/{runner-CTk21HrO.mjs → runner-Bf94YVJK.mjs} +1 -1
- package/dist/{runner-CMZb7jNU.mjs → runner-CeguHWJx.mjs} +3 -2
- package/dist/{runner-mysql-CJ-HyqxV.mjs → runner-mysql-3XDKrn-g.mjs} +13 -9
- package/dist/{runner-mysql-C_PrAUTm.mjs → runner-mysql-r688x6Y9.mjs} +1 -1
- package/dist/{runner-pg-mYc75KfH.mjs → runner-pg-Buzw17hl.mjs} +1 -1
- package/dist/{runner-pg-2pjltt0t.mjs → runner-pg-DMJquR3d.mjs} +1 -1
- package/dist/runtime/ai/index.mjs +2 -2
- package/dist/runtime/auth/better-auth-d1.d.mts +1 -1
- package/dist/runtime/auth/better-auth-d1.mjs +2 -2
- package/dist/runtime/auth/better-auth-mysql.d.mts +1 -1
- package/dist/runtime/auth/better-auth-mysql.mjs +2 -2
- package/dist/runtime/auth/better-auth-postgres.d.mts +1 -1
- package/dist/runtime/auth/better-auth-postgres.mjs +3 -3
- package/dist/runtime/client/fetch-server.d.mts +1 -1
- package/dist/runtime/client/fetch-server.mjs +2 -2
- package/dist/runtime/client/fetch-stream.d.mts +2 -2
- package/dist/runtime/client/fetch-stream.mjs +1 -1
- package/dist/runtime/client/fetch.d.mts +1 -1
- package/dist/runtime/client/fetch.mjs +1 -1
- package/dist/runtime/client/index.d.mts +2 -2
- package/dist/runtime/client/index.mjs +2 -2
- package/dist/runtime/client/react.d.mts +2 -2
- package/dist/runtime/client/react.mjs +2 -2
- package/dist/runtime/client/solid.d.mts +2 -2
- package/dist/runtime/client/solid.mjs +2 -2
- package/dist/runtime/client/svelte.d.mts +2 -2
- package/dist/runtime/client/svelte.mjs +2 -2
- package/dist/runtime/client/vue.d.mts +2 -2
- package/dist/runtime/client/vue.mjs +2 -2
- package/dist/runtime/db/index.d.mts +1 -1
- package/dist/runtime/db/index.mjs +3 -3
- package/dist/runtime/db/migrations/mysql-handler.mjs +1 -1
- package/dist/runtime/db/migrations/postgres-handler.mjs +1 -1
- package/dist/runtime/db/session.d.mts +1 -1
- package/dist/runtime/db/session.mjs +1 -1
- package/dist/runtime/durable/index.mjs +7 -5
- package/dist/runtime/email/index.d.mts +1 -1
- package/dist/runtime/email/index.mjs +14 -11
- package/dist/runtime/email/testing.d.mts +1 -1
- package/dist/runtime/email/testing.mjs +4 -4
- package/dist/runtime/env/public-client.d.mts +4 -1
- package/dist/runtime/env/public.d.mts +1 -1
- package/dist/runtime/env/public.mjs +2 -2
- package/dist/runtime/env/runtime.mjs +1 -1
- package/dist/runtime/handler/index.d.mts +1 -1
- package/dist/runtime/handler/index.mjs +1 -1
- package/dist/runtime/handler/validator.d.mts +1 -1
- package/dist/runtime/handler/validator.mjs +1 -1
- package/dist/runtime/isr/index.mjs +1 -1
- package/dist/runtime/kv/index.mjs +1 -1
- package/dist/runtime/live/client.d.mts +2 -2
- package/dist/runtime/live/client.mjs +7 -7
- package/dist/runtime/live/index.d.mts +1 -1
- package/dist/runtime/live/index.mjs +1 -1
- package/dist/runtime/live/server.mjs +3 -3
- package/dist/runtime/queues/index.mjs +2 -2
- package/dist/runtime/remote/index.d.mts +5 -1
- package/dist/runtime/remote/index.mjs +10 -9
- package/dist/runtime/routing/index.d.mts +11 -12
- package/dist/runtime/routing/index.mjs +69 -65
- package/dist/runtime/routing/route-url.d.mts +1 -1
- package/dist/runtime/routing/route-url.mjs +1 -1
- package/dist/runtime/sandbox/index.d.mts +1 -1
- package/dist/runtime/sandbox/index.mjs +2 -2
- package/dist/runtime/sse/client.d.mts +1 -1
- package/dist/runtime/sse/index.mjs +1 -1
- package/dist/runtime/storage/index.mjs +1 -1
- package/dist/runtime/ws/index.d.mts +1 -1
- package/dist/runtime/ws/index.mjs +3 -2
- package/dist/runtime/ws/room.d.mts +1 -1
- package/dist/runtime/ws/room.mjs +2 -2
- package/dist/runtime/ws/server.d.mts +2 -2
- package/dist/runtime/ws/server.mjs +1 -1
- package/dist/{runtime-zDDinDI5.mjs → runtime-C_VPIJBF.mjs} +1 -1
- package/dist/{scan-LjuG3vfA.mjs → scan-Ct_SEzH4.mjs} +36 -29
- package/dist/{secret-DdUs8AuR.mjs → secret-Deqo3n_N.mjs} +11 -10
- package/dist/security-api-types-CU7zQtr_.mjs +9 -0
- package/dist/security-sarif-ClyYwtAW.mjs +123 -0
- package/dist/{serialize-Pf-CIQK_.mjs → serialize-BmB4BfKu.mjs} +1 -1
- package/dist/{server-CfUbeOjx.mjs → server-T-4mn8zy.mjs} +5 -4
- package/dist/{session-Cw8-b8Um.mjs → session-BT8XDkvL.mjs} +1 -1
- package/dist/{session-DgNrdNh_.d.mts → session-ouZYD7zb.d.mts} +1 -1
- package/dist/{skills-B40svMBE.mjs → skills-C-csz78e.mjs} +3 -3
- package/dist/{sse-BXnTfcf3.mjs → sse-D3ab0YQT.mjs} +16 -13
- package/dist/{static-exports-DFkzL-NX.mjs → static-exports-s7P86Ngp.mjs} +3 -3
- package/dist/{subcommand-prompt-D-m3Umap.mjs → subcommand-prompt-B4LOLosl.mjs} +31 -21
- package/dist/sveltekit.mjs +1 -1
- package/dist/{terminal-log-text-DNsWJREL.mjs → terminal-log-text-CfS2JKM6.mjs} +1 -1
- package/dist/{url-DaehRGKR.mjs → url-DBQluotE.mjs} +4 -1
- package/dist/validate-CZYUIfR-.mjs +1 -0
- package/dist/{validate-Ddzl-IwT.mjs → validate-CtBWCzez.mjs} +7 -4
- package/dist/{validator-Duafcnh7.mjs → validator-Dfh9kCDm.mjs} +5 -5
- package/dist/{version-metadata-k6KFiyWt.mjs → version-metadata-DqgLa6gc.mjs} +1 -1
- package/dist/{wrangler-v2BmVchV.mjs → wrangler-DVe5KV5G.mjs} +49 -46
- package/dist/wrangler-Dq269bjx.mjs +1 -0
- package/dist/{wrapper-eh6MpBZA.mjs → wrapper-CcMYpOS8.mjs} +45 -171
- package/docs/guide/app-types.md +1 -1
- package/docs/guide/auth.md +2 -16
- package/docs/guide/database.md +2 -0
- package/docs/guide/email/domains.md +1 -1
- package/docs/guide/email/sending.md +18 -1
- package/docs/guide/pages-routing/actions-and-forms.md +4 -4
- package/docs/guide/pages-routing/head.md +20 -2
- package/docs/guide/platform/administration/plans.md +13 -0
- package/docs/guide/platform/administration/security-audits.md +213 -0
- package/docs/guide/platform/administration/zero-trust.md +6 -0
- package/docs/guide/platform/installation/ci.md +1 -1
- package/docs/guide/platform/installation/credentials.md +23 -20
- package/docs/guide/platform/installation/maintenance.md +8 -2
- package/docs/guide/platform/installation/prerequisites.md +1 -1
- package/docs/guide/platform/installation/uninstall.md +2 -0
- package/docs/guide/platform-administration.md +1 -0
- package/docs/guide/self-hosted-platform.md +14 -13
- package/docs/guide/type-safety.md +1 -1
- package/docs/integrations/cloudflare.md +3 -1
- package/docs/reference/api/handlers.md +3 -3
- package/docs/reference/api/types.md +11 -1
- package/docs/reference/cli/deploy.md +5 -1
- package/docs/reference/cli/domains.md +1 -1
- package/docs/reference/cli/platform-config.md +5 -3
- package/docs/reference/cli/platform-installation.md +29 -28
- package/docs/reference/cli/platform-security.md +98 -0
- package/docs/reference/cli/platform-zero-trust.md +2 -0
- package/docs/reference/cli/platform.md +1 -0
- package/docs/reference/cli/project.md +57 -0
- package/docs/reference/cli.md +3 -1
- package/docs/reference/config.md +2 -2
- package/package.json +30 -27
- package/skills/void/SKILL.md +7 -0
- package/dist/cf-build-output-D3_x71H6.mjs +0 -1
- package/dist/cf-config-migrate-CHtnM3_C.mjs +0 -348
- package/dist/cloudflare-process-wcnaQ5JG.mjs +0 -392
- package/dist/cloudflare-user-output-zEwuGrEJ.mjs +0 -19
- package/dist/collect-8i0wU63d.mjs +0 -1
- package/dist/deploy-DiFfBu8g.mjs +0 -2
- package/dist/discover-Diq0l6TZ.mjs +0 -1
- package/dist/gen-CuANrEzy.mjs +0 -1
- package/dist/help-7EzLA1qP.mjs +0 -1
- package/dist/login-apwve7WD.mjs +0 -1
- package/dist/migrate-BzRplq7m.mjs +0 -1
- package/dist/operator-args-BCCohcz3.mjs +0 -722
- package/dist/operator-cmd-D42knxMz.mjs +0 -1
- package/dist/output-D4UOUifX.mjs +0 -1
- package/dist/platform-args-Rgp86xa7.mjs +0 -1
- package/dist/platform-management-CRzeC70H.mjs +0 -1
- package/dist/prepare-C2MTqfFv.mjs +0 -1
- package/dist/project-zero-trust-CS02LrlK.mjs +0 -64
- package/dist/resolve-project-C5wC-Hoi.mjs +0 -1
- package/dist/route-types-CrODgORq.mjs +0 -655
- package/dist/validate-DY1U9rET.mjs +0 -1
- package/dist/wrangler-BPIAJdxA.mjs +0 -1
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 'Run an AI security review of each deploy on your Void platform, choose which projects and models it covers, cap its cost, and hold a project private until a scan passes.'
|
|
3
|
+
outline: deep
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Security Audits
|
|
7
|
+
|
|
8
|
+
Security audits run an AI review of the code that changed in each deploy, and report serious problems to the people who own the project. The scan starts after the deploy is live. A scan or a finding never blocks, delays, or fails a deploy.
|
|
9
|
+
|
|
10
|
+
AI review can be wrong. "No findings" means nothing was found, not that the code is safe. Treat it as a second pair of eyes next to human review.
|
|
11
|
+
|
|
12
|
+
This feature is off until you turn it on. Projects deployed directly to Cloudflare are not affected.
|
|
13
|
+
|
|
14
|
+
## Requirements
|
|
15
|
+
|
|
16
|
+
- A platform installed or upgraded with `--security-audits`. See [Turn security audits on](/reference/cli/platform-security#enable).
|
|
17
|
+
- Workers Paid on the platform's Cloudflare account, with Cloudflare Containers.
|
|
18
|
+
- Workers AI access for the default model: Workers Paid or prepaid AI credits.
|
|
19
|
+
- For the optional scan before a project goes public, [project Zero Trust](./zero-trust.md) must be on and not public-only.
|
|
20
|
+
|
|
21
|
+
The scanner runs in its own container with no internet access and reaches models only through the platform. Uninstalling the platform removes it. See [Disable and Uninstall](/guide/platform/installation/uninstall).
|
|
22
|
+
|
|
23
|
+
::: warning Roll forward after you upgrade
|
|
24
|
+
The upgrade that adds security audits includes a database migration for the scan scheduler. Cloudflare does not roll a Worker back past such a migration, so after you upgrade, fix a bad release by deploying a newer one.
|
|
25
|
+
:::
|
|
26
|
+
|
|
27
|
+
## Turn it on
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
void platform upgrade --security-audits
|
|
31
|
+
void platform security probe
|
|
32
|
+
void platform security budget --platform-usd 500
|
|
33
|
+
void platform security policy public
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The probe checks that the account can run scans and names anything missing. Spending caps are off by default, so set a [platform cap](#spending-caps) before you choose a mode. Turning a scan mode on runs the probe first and refuses when it fails. The probe runs again each day while scans are on; if it starts failing, the policy stays on, new deploys are not scanned, and the admin pages show a banner.
|
|
37
|
+
|
|
38
|
+
| Mode | Scans |
|
|
39
|
+
| -------------------- | --------------------------------------------------------------- |
|
|
40
|
+
| Off (default) | Nothing |
|
|
41
|
+
| Public projects only | Projects that are public, or that have no Zero Trust protection |
|
|
42
|
+
| All projects | Every project |
|
|
43
|
+
|
|
44
|
+
A mode change scans nothing right away. Each project is scanned at its next deploy: the first scan reviews the whole deployment, later scans what changed since the last good scan. Use `--plan` to preview how many projects a change reaches. To scan apps that are already live, see [Scan live apps again](#scan-live-apps).
|
|
45
|
+
|
|
46
|
+
A platform admin can give one project its own rule, from the project's **Security** section in the administrator UI or with `void platform security policy --project <project-id> <inherit|always|never>`:
|
|
47
|
+
|
|
48
|
+
| Rule | Scans |
|
|
49
|
+
| ----------------- | ----------------------------------------------------------------------- |
|
|
50
|
+
| inherit (default) | What the scan mode says |
|
|
51
|
+
| always | Every deploy, also while Zero Trust protects the project |
|
|
52
|
+
| never | Nothing, except the scan before the project goes public when that is on |
|
|
53
|
+
|
|
54
|
+
A project's rule has no effect while the mode is Off. Its project page and `void project security status` say why the project is or is not scanned. Platform administrators can manage all of this from **Security** in the administrator UI.
|
|
55
|
+
|
|
56
|
+
## What is scanned
|
|
57
|
+
|
|
58
|
+
A scan starts when a deploy goes live. Rollbacks, failed deploys, and `preview-*` projects are not scanned. A newer deploy replaces a scan that is still queued. A redeploy with no code change is recorded as "no changes" and costs nothing.
|
|
59
|
+
|
|
60
|
+
Void reviews the source that changed when it can see it, and otherwise the built output mapped back to source. Third-party package code, lockfiles, binaries, and secret-like files are left out, and stored secret values are replaced before any model sees the code. Void tells registry packages from your code by the project's `pnpm-lock.yaml` or `package-lock.json`; without one, package code is reviewed too and the result notes `third-party-unverified`. Each result states what it covered, such as `Changes since dpl_7c20 · source diff · 14 files · complete`. Large changes are scanned in parts, and the page shows the files still waiting.
|
|
61
|
+
|
|
62
|
+
### Check code before you deploy
|
|
63
|
+
|
|
64
|
+
Developers who can deploy a project can scan their code first with `void project security check`. It sends the git-tracked files of the current folder, as they are on disk; untracked files, secret-like files, lockfiles, and binaries stay on the machine. It shows what it sends, which model reviews it, and the most it can cost, then asks before it uploads. It needs the policy to apply to the project (not the `never` rule), waits in the queue like any scan, and counts toward the caps. The result shows in the terminal and is kept for 30 days. It is not saved as project findings, sends no email, and does not affect a request to go public. See [`void project security check`](../../../reference/cli/project.md#void-project-security).
|
|
65
|
+
|
|
66
|
+
## Models and the provider notice
|
|
67
|
+
|
|
68
|
+
| Model | Run by |
|
|
69
|
+
| ---------------------------------------------------- | ---------- |
|
|
70
|
+
| `@cf/deepseek-ai/deepseek-v4.1-flash-1017` (default) | Cloudflare |
|
|
71
|
+
| `@cf/zai-org/glm-5.3` | Cloudflare |
|
|
72
|
+
| `openai/gpt-6.1-terra`, `openai/gpt-6.1-sol` | OpenAI |
|
|
73
|
+
| `anthropic/claude-sonnet-5.5` | Anthropic |
|
|
74
|
+
| `anthropic/claude-opus-5.5` | Anthropic |
|
|
75
|
+
|
|
76
|
+
A model run by a third party sees the project's changed code, the files it uses, and past findings and comments. The provider may keep request data for a limited time and may refuse security-looking code; a refused scan shows as refused, never as passed. So code does not go to a third party until someone accepts the notice: you once for a third-party platform default, and a project owner or administrator once per project. Until then the project uses a Cloudflare model. To keep all code in Cloudflare, block the third-party models.
|
|
77
|
+
|
|
78
|
+
A third-party model also needs an AI permission on the platform's runtime token, unless you [saved your own key](#own-provider-key). See [Permissions to select for each token](/guide/platform/installation/credentials). The probe names a missing permission and lists models that cannot be picked yet. For these models the probe also copies a scanner image into the account's container registry, which can take more than one probe run; a provider whose models are all blocked gets no copy.
|
|
79
|
+
|
|
80
|
+
Project owners and administrators pick their project's model from the same list with `void project security model`.
|
|
81
|
+
|
|
82
|
+
### Use your own provider key {#own-provider-key}
|
|
83
|
+
|
|
84
|
+
By default, OpenAI and Anthropic models are paid from the account's [AI Gateway Unified Billing](https://developers.cloudflare.com/ai-gateway/features/unified-billing/) credits. To bill your own key and agreement with the provider instead:
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
printf "%s" "$ANTHROPIC_API_KEY" | void platform security models --provider anthropic --key-stdin --yes
|
|
88
|
+
void platform security probe
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Void saves the key, encrypted, only if a 1-token test call with it works. Calls still go through AI Gateway, are metered at list price, and count toward the [spending caps](#spending-caps). Run the probe after saving if that provider's models could not be picked before. Saving a new key replaces the old one. `--remove-key` deletes it: scans go back to Unified Billing, and the models cannot be picked until the probe passes again. `void platform security status` shows which keys are saved, never the key.
|
|
92
|
+
|
|
93
|
+
## Findings
|
|
94
|
+
|
|
95
|
+
Only a human closes a finding. A scan can add one, confirm it again, or reopen it, never close it. Resolve a finding as fixed, false positive, or accepted risk, with a comment of up to 4,000 characters. The comment and resolution feed the next scan, so the same false alarm does not come back. Comments never hide anything; only a false-positive resolution does.
|
|
96
|
+
|
|
97
|
+
A finding is **urgent** when it is confirmed, critical or high, and still open. Leads and lower severities are never urgent.
|
|
98
|
+
|
|
99
|
+
A project admin or the owner can change the severity of an open finding, with a comment: `void project security severity F-12 medium --comment "Only reachable by admins"`. The new severity sticks across scans; lowering a critical or high finding takes it out of the urgent count, as a resolve does.
|
|
100
|
+
|
|
101
|
+
When a project secret's value appears, as is or encoded, in the deployed Worker code or a static text file (`.js`, `.html`, `.json`, `.css`, `.txt`, up to 8 MB), the platform reports a `secret-in-output` finding that names the secret but never shows its value, one per secret for static files and one for Worker code. In a static file it is high and urgent, since anyone can download it once the project is public: rotate the secret and keep it on the server. In Worker code it is medium: read it from `env` instead. A value meant to be public, such as a publishable key, can be resolved as accepted risk; it stays resolved when later deploys change the bundle.
|
|
102
|
+
|
|
103
|
+
With a Cloudflare model, a scan can test a possible finding on a throwaway copy of the deployment: the same code with empty databases, fake secrets, and no internet access, reachable only by the scanner and deleted when the scan ends. Such a finding shows as `confirmed (runtime)` in `void project security show`. The copy is part of the scan cost.
|
|
104
|
+
|
|
105
|
+
| Who sees what | Reader | Collaborator and up |
|
|
106
|
+
| ------------------------------- | ------ | ------------------- |
|
|
107
|
+
| Urgent count and finding ids | Yes | Yes |
|
|
108
|
+
| Titles, files, and details | No | Yes |
|
|
109
|
+
| Scans, cost, and bypass reasons | No | Yes |
|
|
110
|
+
|
|
111
|
+
Open urgent findings show:
|
|
112
|
+
|
|
113
|
+
- at the end of each `void deploy` to a Void platform, with titles only for a signed-in user who can deploy (CI runs and readers see counts and ids),
|
|
114
|
+
- in `void project security status`, and as a `Security` line in `void project status`,
|
|
115
|
+
- on the project's security page (`void project security open`), where collaborators and up can comment, and the owner and project admins can also resolve, pick the model, set the budget, and bypass a held public request. A platform with the user dashboard has the same page behind **Security** on its **Projects** list,
|
|
116
|
+
- on GitHub, for deploys built from a [connected repository](#github-checks),
|
|
117
|
+
- in the administrator UI, with an **Urgent** filter.
|
|
118
|
+
|
|
119
|
+
Export findings as SARIF with `void project security list --format sarif` (or `void platform security findings --format sarif` for every project).
|
|
120
|
+
|
|
121
|
+
A scan that does not succeed says what happened, and the next scan covers those changes. A refused, timed-out, or failed scan is never counted as clean.
|
|
122
|
+
|
|
123
|
+
## Scan live apps again {#scan-live-apps}
|
|
124
|
+
|
|
125
|
+
These scans review more than a deploy scan. Each costs money and counts toward the [spending caps](#spending-caps):
|
|
126
|
+
|
|
127
|
+
| To | Run | Who |
|
|
128
|
+
| ------------------------------------------------------- | ----------------------------------------------------------------------------- | --------------------------------------------------- |
|
|
129
|
+
| Scan one project's live deployment in full now | `void project security scan`, or `void platform security rescan <project-id>` | Project owner or admin, or a platform administrator |
|
|
130
|
+
| Scan live apps deployed before security audits were on | `void platform security backfill` | Platform administrators |
|
|
131
|
+
| Review every live app in full on a schedule | `void platform security sweeps on --every-days 30` | Platform administrators |
|
|
132
|
+
| Scan again on Cloudflare when a third-party model fails | `void platform security fallback on` | Platform administrators |
|
|
133
|
+
|
|
134
|
+
A full scan names its model and the most it can cost, then asks first. Add `--client-assets` to also review the client bundles' sources, from the source maps deployed with them. Backfill handles up to 50 projects at a time; run it again for the rest. Only a few sweeps start each hour, so deploy scans keep moving. Fallback scans the same changes once more on the default `@cf` model when a third-party model refuses, times out, or returns unreadable output; it never sends code from a `@cf` scan to a third party. Sweeps and fallback are off by default. A deployment whose code is no longer stored cannot be scanned again until the project deploys. See [Findings and scans](/reference/cli/platform-security#findings-scans).
|
|
135
|
+
|
|
136
|
+
## GitHub checks {#github-checks}
|
|
137
|
+
|
|
138
|
+
Each scan of a deploy built from a repository connected with `void github connect` (either executor) adds a `Void Security Audit` check to the commit. A `void deploy` from a terminal or an unconnected CI job gets none. The check is always **neutral**, so it never blocks a merge, and shows only the urgent count and a link to the project's security page, because anyone who can see the repository can read it. A scan that did not finish says so.
|
|
139
|
+
|
|
140
|
+
While an urgent finding is open, each open pull request for that commit (up to five) gets one comment with the same counts, updated in place by later scans. The comment needs the GitHub App's **Pull requests: Read and write** permission; with read-only access, only the check is posted.
|
|
141
|
+
|
|
142
|
+
**Re-run** on the check starts a full rescan of the live deployment when the person who clicks it signs in to the platform with that GitHub account and is the project's owner or an admin. Otherwise, or on a check of an older deployment, it does nothing. **Re-run all** reruns the build.
|
|
143
|
+
|
|
144
|
+
## Spending caps
|
|
145
|
+
|
|
146
|
+
The platform pays for scans; they do not count against the plan's AI limits. Two monthly caps (calendar month, UTC) are off by default:
|
|
147
|
+
|
|
148
|
+
- A **platform cap** that stops all scans when it is used up.
|
|
149
|
+
- A **project cap**, with a default for every project. A project owner or administrator can set a lower cap for their project, up to the limit you give that project, else the owner's plan cap, else the default when project caps are on.
|
|
150
|
+
|
|
151
|
+
A scan starts only if its worst case fits under both caps. A used-up cap skips scans, never deploys, and the first scan after the reset or a raise covers what was skipped. Rescans and scans before public count too. The Scans page in the administrator UI shows the metered cost next to what AI Gateway reports about an hour later. At 80% and 100% of a cap, the owner and project administrators (project cap) or platform administrators (platform cap) get one email per month.
|
|
152
|
+
|
|
153
|
+
```sh
|
|
154
|
+
void platform security budget --platform-usd 500 --project-default-usd 50
|
|
155
|
+
void platform config plans set pro --security-cap 200
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
A plan cap applies to each project whose owner is on that plan, even with project caps off. `--security-cap none` removes it and `inherit` returns to the default. See [Security scan cap](./plans.md#security-scan-cap).
|
|
159
|
+
|
|
160
|
+
## Emails
|
|
161
|
+
|
|
162
|
+
| Email | Sent to |
|
|
163
|
+
| ---------------------------------------------------------------------- | -------------------------------------------------- |
|
|
164
|
+
| New findings, one per scan | Owner, project admins, and the people who deployed |
|
|
165
|
+
| A human reopens an urgent finding | Owner and project admins |
|
|
166
|
+
| Project cap at 80% and 100% | Owner and project admins |
|
|
167
|
+
| Platform cap at 80% and 100% | Platform administrators |
|
|
168
|
+
| Public request held, now public, or canceled | Who asked, the owner, and project admins |
|
|
169
|
+
| Scan bypassed | Every platform administrator, with the reason |
|
|
170
|
+
| Three scans of a project in a row failed | Owner, project admins, and platform administrators |
|
|
171
|
+
| Many scans failed for a platform reason, at most once a day | Platform administrators |
|
|
172
|
+
| Weekly summary, when turned on with `void platform security digest on` | Platform administrators |
|
|
173
|
+
|
|
174
|
+
Emails carry titles, severity, and file paths, never code. A scan that finishes after the mode was set to Off sends no email. Without an [email domain](./email.md) the same information is in the CLI and on the project page, and bypasses still show in the admin pages. To send these events to your own system, set `void platform security webhook <https-url>`: a signed body with ids and counts only, sent even without an email domain. See [Alerts, summary, and webhook](/reference/cli/platform-security#alerts).
|
|
175
|
+
|
|
176
|
+
## Scan before a project goes public {#scan-before-public}
|
|
177
|
+
|
|
178
|
+
With [project Zero Trust](./zero-trust.md) on, you can hold a project's change from protected to public until a scan of the live deployment finds nothing urgent:
|
|
179
|
+
|
|
180
|
+
```sh
|
|
181
|
+
void platform security public-gate on
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
The gate needs a scan mode of Public or All, a recent probe pass, and platform Zero Trust on and not public-only. While it is on, platform Zero Trust cannot be disabled or switched to public-only. Turning the gate off, or setting the mode to Off, cancels open requests; those projects stay protected.
|
|
185
|
+
|
|
186
|
+
When someone runs `void project zero-trust public`, the project **stays protected** and the request waits for a scan. Deploys keep working.
|
|
187
|
+
|
|
188
|
+
| State | Meaning | What to do |
|
|
189
|
+
| ---------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------- |
|
|
190
|
+
| Waiting | The scan is queued or running | Wait, or bypass |
|
|
191
|
+
| Held by findings | An urgent finding is open | Resolve it. There is no bypass |
|
|
192
|
+
| No result | The scan failed, was refused, timed out, or hit a cap | Run `public` again, deploy again, or bypass |
|
|
193
|
+
| Files not read | The scan could not read some project files (too large, not text, or a path it cannot send) | Fix them and deploy again, or bypass |
|
|
194
|
+
| Needs a deploy | The live code cannot prove it, or a fix needs a newer deploy | Deploy again, or bypass |
|
|
195
|
+
|
|
196
|
+
A finding resolved as false positive or accepted risk lets the request go on at once. One resolved as **fixed** counts only after a clean scan of a newer deploy (an unchanged Worker redeploy is enough; a static site needs a changed deploy). A rescan of the same deployment proves nothing.
|
|
197
|
+
|
|
198
|
+
The gate covers only the change from protected to public for an existing project. Projects that start public, and `preview-*` projects, are not covered. A later finding never makes a public project private again.
|
|
199
|
+
|
|
200
|
+
### Bypass the scan
|
|
201
|
+
|
|
202
|
+
An owner or a project administrator can skip the scan with a reason; platform administrators use the platform command with the project ID:
|
|
203
|
+
|
|
204
|
+
```sh
|
|
205
|
+
void project zero-trust bypass --reason "Scanner down since 09:00; launch today."
|
|
206
|
+
void platform security bypass <project-id> --reason "Scanner down since 09:00; launch today."
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
A bypass never skips an open urgent finding: it is refused and nothing is recorded. Every bypass is recorded with its reason and emailed to every platform administrator; list them with `void platform security bypasses`. Later findings follow the normal flow.
|
|
210
|
+
|
|
211
|
+
## What users see
|
|
212
|
+
|
|
213
|
+
Project members use `void project security status`, `list --urgent`, `check`, and `void project zero-trust status`. See [Projects](/reference/cli/project#void-project-security). A new CLI talking to a platform without security audits says so. Older CLIs print nothing extra after a deploy, and never report a held request as public.
|
|
@@ -70,6 +70,12 @@ Installation administrators can do the same from the project page in the adminis
|
|
|
70
70
|
|
|
71
71
|
Deploys and rollbacks wait until a project's protection change is finished. If one is refused, run `void project zero-trust status` to see why; the owner or a project administrator can run `void project zero-trust reconcile` before you try again. A protected project can have up to 100 custom domains.
|
|
72
72
|
|
|
73
|
+
## Scan Before Public
|
|
74
|
+
|
|
75
|
+
If you turn on [scan before a project goes public](./security-audits.md#scan-before-public), making a protected project public no longer takes effect at once. The project stays protected until a scan of its live deployment finds no urgent finding, or until an allowed person bypasses the scan with a reason. Deploys keep working while the request waits.
|
|
76
|
+
|
|
77
|
+
While it is on, `void platform zero-trust disable` and public-only configuration are refused. Turn the gate off first with `void platform security public-gate off`. In the administrator UI, **Disable** and the public-only option are unavailable, and **Make project public** says that the project stays protected until the scan passes.
|
|
78
|
+
|
|
73
79
|
## Disable Zero Trust
|
|
74
80
|
|
|
75
81
|
```sh
|
|
@@ -21,7 +21,7 @@ Inject the following values from protected CI secrets. Do not commit them in a w
|
|
|
21
21
|
| `VOID_PLATFORM_HYPERDRIVE_ORIGIN_USER` | Hyperdrive runtime database user |
|
|
22
22
|
| `VOID_PLATFORM_HYPERDRIVE_ORIGIN_SERVICE_ID` | Workers VPC service ID, for a private database origin |
|
|
23
23
|
| `VOID_PLATFORM_R2_ACCESS_KEY_ID` | R2 Access Key ID |
|
|
24
|
-
| `VOID_PLATFORM_R2_SECRET_ACCESS_KEY` | R2 Secret Access Key
|
|
24
|
+
| `VOID_PLATFORM_R2_SECRET_ACCESS_KEY` | R2 Secret Access Key (not the token value) |
|
|
25
25
|
| `VOID_PLATFORM_JWT_SECRET` | Original JWT signing secret |
|
|
26
26
|
| `VOID_PLATFORM_EMAIL_SIGNING_SECRET` | Dedicated email signing secret when email is enabled |
|
|
27
27
|
| `VOID_PLATFORM_PROJECT_SECRET_KEY` | Original base64-encoded project-encryption key |
|
|
@@ -42,26 +42,27 @@ Compare each token's form with the permission checklist below. The installer sav
|
|
|
42
42
|
|
|
43
43
|
::: details Permissions to select for each token
|
|
44
44
|
|
|
45
|
-
Use the following permissions for the core platform. Cloudflare may label write access as **Edit** or **Write**, depending on the token screen
|
|
46
|
-
|
|
47
|
-
| Scope | Permission | Management | Runtime
|
|
48
|
-
| ------- | ------------------ | ---------- |
|
|
49
|
-
| Account | Account Settings | Read | Read
|
|
50
|
-
| Account | Workers
|
|
51
|
-
| Account | Workers Tail | Read | Read
|
|
52
|
-
| Account | D1 | Edit | Edit
|
|
53
|
-
| Account | Workers KV Storage | Edit | Edit
|
|
54
|
-
| Account | Workers R2 Storage | Edit | Edit
|
|
55
|
-
| Account | Queues | Edit | Edit
|
|
56
|
-
| Account | Hyperdrive | Write | Write
|
|
57
|
-
| Account | Account Analytics | Read | Read
|
|
58
|
-
| Account | AI Gateway | Edit | Edit when installing with browser login
|
|
59
|
-
| Account | Containers | — | Edit
|
|
60
|
-
| Account | Cloudchamber | — | Edit
|
|
61
|
-
|
|
|
62
|
-
| Zone |
|
|
63
|
-
| Zone |
|
|
64
|
-
| Zone |
|
|
45
|
+
Use the following permissions for the core platform. Confirm **Workers → Admin** for the account on both forms. The installer creates platform Workers, and the runtime token deploys apps into the platform's dispatch namespace. Cloudflare may label write access as **Edit** or **Write**, depending on the token screen. See its [permission reference](https://developers.cloudflare.com/fundamentals/api/reference/permissions/).
|
|
46
|
+
|
|
47
|
+
| Scope | Permission | Management | Runtime |
|
|
48
|
+
| ------- | ------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
49
|
+
| Account | Account Settings | Read | Read |
|
|
50
|
+
| Account | Workers | Admin | Admin |
|
|
51
|
+
| Account | Workers Tail | Read | Read |
|
|
52
|
+
| Account | D1 | Edit | Edit |
|
|
53
|
+
| Account | Workers KV Storage | Edit | Edit |
|
|
54
|
+
| Account | Workers R2 Storage | Edit | Edit |
|
|
55
|
+
| Account | Queues | Edit | Edit |
|
|
56
|
+
| Account | Hyperdrive | Write | Write |
|
|
57
|
+
| Account | Account Analytics | Read | Read |
|
|
58
|
+
| Account | AI Gateway | Edit | Edit when installing with browser login |
|
|
59
|
+
| Account | Containers | — | Edit |
|
|
60
|
+
| Account | Cloudchamber | — | Edit |
|
|
61
|
+
| Account | Workers AI | — | Read, for [security audit](/guide/platform/administration/security-audits#models-and-the-provider-notice) models run by third parties |
|
|
62
|
+
| Zone | Zone | Read | — |
|
|
63
|
+
| Zone | DNS | Edit | — |
|
|
64
|
+
| Zone | Workers Routes | Write | — |
|
|
65
|
+
| Zone | Cache Purge | — | Purge |
|
|
65
66
|
|
|
66
67
|
When Void configures Access in the installation account, the initial management-token link also selects **Account → Access: Apps and Policies → Edit** and **Account → Access: Organizations, Identity Providers, and Groups → Read**. Protection adds **Account → Access: Service Tokens → Edit**. When the authentication configuration or saved setup selects existing applications, the link requests Read access instead of Edit. These permissions belong to the management token; the runtime token does not need them.
|
|
67
68
|
|
|
@@ -113,6 +114,8 @@ The installer configures the email gateway and shared mail route. If setup fails
|
|
|
113
114
|
|
|
114
115
|
The installer opens the **R2 token creation** form with a token name based on your platform's display name, **Object Read & Write**, and **Apply to all buckets in this account (including newly created buckets)** preselected. Review the settings and create an account token, or a user token if your role requires it. Save its **Access Key ID** and **Secret Access Key** in your password manager, then paste both into the installer. These differ from the management and runtime API tokens. See [R2’s token instructions](https://developers.cloudflare.com/r2/api/tokens/).
|
|
115
116
|
|
|
117
|
+
If you create the token with the Cloudflare API instead, the Access Key ID is the token's ID and the Secret Access Key is the SHA-256 hex digest of the token value. Paste the Secret Access Key, not the token value.
|
|
118
|
+
|
|
116
119
|
## Signing and Encryption Keys {#signing-and-encryption-keys}
|
|
117
120
|
|
|
118
121
|
The **JWT signing key** signs platform login tokens. The **Project encryption key** encrypts app secrets stored by your platform. An interactive install generates both and keeps them in this machine's encrypted recovery data. Lifecycle commands on this machine read them from there.
|
|
@@ -116,7 +116,9 @@ An upgrade validates the runtime, applies supported pending migrations, deploys
|
|
|
116
116
|
|
|
117
117
|
Install, upgrade, and repair also publish saved [AI Gateway logging](/reference/cli/platform-users#ai-gateway-logging) settings. Affected projects may show `pending` for about 2 minutes afterward, including projects returning to `inherit`. Check progress with `void platform project show <project-id>`.
|
|
118
118
|
|
|
119
|
-
Before starting, Void checks access to the installation's Cloudflare account, Workers, and existing R2 buckets. If
|
|
119
|
+
Before starting, Void checks access to the installation's Cloudflare account, Workers, and existing R2 buckets. It lists every missing permission at once and names the credential Cloudflare rejected. If the management credential is rejected, set `CLOUDFLARE_API_TOKEN` to a management token scoped to that account and retry. This overrides the installation's saved management token.
|
|
120
|
+
|
|
121
|
+
With browser login, Void uses the runtime token for AI Gateway: `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN`, or the one saved on this machine. If an error names the runtime token, set `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN` to a valid runtime token, or set `CLOUDFLARE_API_TOKEN` to a management token with **Account → AI Gateway → Edit**. Void then uses that token instead of browser login.
|
|
120
122
|
|
|
121
123
|
Some upgrades pause application traffic until the new version passes health checks. If a command fails while traffic is paused:
|
|
122
124
|
|
|
@@ -127,12 +129,16 @@ Some upgrades pause application traffic until the new version passes health chec
|
|
|
127
129
|
::: details Migration safety, credential rotation, and rollback
|
|
128
130
|
|
|
129
131
|
To update the runtime Cloudflare token, GitHub OAuth credentials when GitHub login is enabled, or R2 credentials,
|
|
130
|
-
provide their `VOID_PLATFORM_*` environment variables when running
|
|
132
|
+
provide their `VOID_PLATFORM_*` environment variables when running `upgrade` or `repair`.
|
|
131
133
|
Only the supplied values replace live credentials. Recovery data from an older
|
|
132
134
|
workstation does not overwrite them, and upgrades preserve the live signing keys
|
|
133
135
|
and complete project-encryption keyring. Keep current credentials in your secret
|
|
134
136
|
manager so they can also restore a missing Worker during repair.
|
|
135
137
|
|
|
138
|
+
Set `VOID_PLATFORM_R2_ACCESS_KEY_ID` and `VOID_PLATFORM_R2_SECRET_ACCESS_KEY` together, even if
|
|
139
|
+
only the secret changed. Void checks the R2 pair against the assets bucket before it changes the
|
|
140
|
+
platform.
|
|
141
|
+
|
|
136
142
|
Database migrations only move forward. Void checks compatibility before upgrading and tells you if an intermediate release is needed. If deployment fails, it attempts to restore the previous Workers against the compatible database schema. Retrying does not repeat completed migrations.
|
|
137
143
|
|
|
138
144
|
After a successful upgrade, you can restore a declared-compatible earlier runtime without reversing migrations:
|
|
@@ -86,7 +86,7 @@ Use any PostgreSQL provider that accepts connections from your computer and Clou
|
|
|
86
86
|
| [PlanetScale Postgres](https://planetscale.com/docs/postgres/connecting) | Choose **Postgres**, not Vitess/MySQL. Open **Connect**, create role credentials, and use the direct primary connection on port `5432`, not PgBouncer on `6432`. |
|
|
87
87
|
| [Neon](https://neon.com/docs/get-started-with-neon/connect-neon) | Open **Connect**, select the database and owner role, and turn **connection pooling off**. |
|
|
88
88
|
|
|
89
|
-
When sizing your database, include the connection pools for every platform installation and application sharing that server.
|
|
89
|
+
When sizing your database, include the connection pools for every platform installation and application sharing that server. Install, repair, and upgrade lower the [origin connection limit](https://developers.cloudflare.com/hyperdrive/configuration/tune-connection-pool/) of the Hyperdrive Void creates so it stays five connections below what the server accepts (`max_connections` minus reserved slots), leaving room for migrations and administration. If other installations or applications share the server, or you use a separately managed Hyperdrive, adjust each Hyperdrive's limit yourself to fit the server's capacity, including provider-reserved connections and temporary bursts. Void warns when a separately managed Hyperdrive leaves fewer than five connections free.
|
|
90
90
|
|
|
91
91
|
Once installation claims the database, continue using that same database for resume and maintenance commands. If installation stops because it cannot use the database, for example because the database is not empty, set `VOID_PLATFORM_DATABASE_URL` to another database's URL before you resume. Uninstall never deletes external PostgreSQL.
|
|
92
92
|
|
|
@@ -57,6 +57,8 @@ void platform uninstall [id] --purge-resources
|
|
|
57
57
|
|
|
58
58
|
`--purge-resources` includes `--purge-data`. It also deletes the platform Workers, Queues, the application Workers left in the dispatch namespace, the R2 bucket and its objects, the AI Gateway, the platform DNS record, Worker routes and custom domains, and the Access applications and service tokens the installer created. The plan lists each resource in deletion order, and everything that stays. If Cloudflare shows that the AI Gateway was created after installation, for example because it was deleted and created again under the same name, it is kept and listed.
|
|
59
59
|
|
|
60
|
+
With [security audits](/guide/platform/administration/security-audits) on, uninstall also deletes the scanner Worker, its container applications, the scanner images copied into the account's container registry, the scan copy namespace, its sandbox Worker, and any leftover scan copies before the platform Workers, even without `--purge-resources`. Stored scan data lives under `security-scans/` in the platform's R2 bucket, so it stays with the bucket: `--purge-resources` deletes it, and otherwise empty the bucket yourself. Deleting a project deletes its findings and scan data. A scanner object that another installation owns is kept and named in a warning.
|
|
61
|
+
|
|
60
62
|
If the platform sends email, it first deletes the Email Routing rules in the sender domain's zone that send mail to the platform email gateway Worker, and resets such a catch-all rule to drop mail. It leaves Email Routing enabled and keeps the sender domain's MX, SPF, and DKIM records.
|
|
61
63
|
|
|
62
64
|
It never removes zones, adopted resources, external PostgreSQL, other Email Routing settings, Analytics Engine datasets, Access policies or identity providers you chose, or API tokens. Revoke the API tokens you created for the platform afterward.
|
|
@@ -15,5 +15,6 @@ The operator commands for users, projects, deployments, and system status requir
|
|
|
15
15
|
- [Users and Projects](/guide/platform/administration/projects)
|
|
16
16
|
- [Plans and Limits](/guide/platform/administration/plans)
|
|
17
17
|
- [Project Zero Trust](/guide/platform/administration/zero-trust)
|
|
18
|
+
- [Security Audits](/guide/platform/administration/security-audits)
|
|
18
19
|
- [Email](/guide/platform/administration/email)
|
|
19
20
|
- [Operations](/guide/platform/administration/operations)
|
|
@@ -17,19 +17,20 @@ The core installation also includes managed Sandboxes and an email gateway. Conf
|
|
|
17
17
|
|
|
18
18
|
Both targets use the same application APIs. A core platform adds shared access and retained deployment history:
|
|
19
19
|
|
|
20
|
-
| Feature | Direct Cloudflare | Core self-hosted platform
|
|
21
|
-
| ------------------------------------------------ | -------------------------------- |
|
|
22
|
-
| Static sites, SPAs, and native Pages SSR | Supported | Supported
|
|
23
|
-
| Routing rules, WebSockets, queues, cron, and ISR | Supported | Supported
|
|
24
|
-
| D1, KV, R2, and external SQL through Hyperdrive | Supported | Supported
|
|
25
|
-
| Workers AI and provider requests | Your account and gateway | Installation gateway and proxy
|
|
26
|
-
| Runtime logs | Live Cloudflare tail | Retained platform logs
|
|
27
|
-
| Application rollback | Worker versions | Retained platform deployments
|
|
28
|
-
| Typed Durable State and native Durable Objects | Supported | Supported
|
|
29
|
-
| Sandboxes | Requires Workers Paid and Docker | Requires Workers Paid on the platform account
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
20
|
+
| Feature | Direct Cloudflare | Core self-hosted platform |
|
|
21
|
+
| ------------------------------------------------ | -------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
22
|
+
| Static sites, SPAs, and native Pages SSR | Supported | Supported |
|
|
23
|
+
| Routing rules, WebSockets, queues, cron, and ISR | Supported | Supported |
|
|
24
|
+
| D1, KV, R2, and external SQL through Hyperdrive | Supported | Supported |
|
|
25
|
+
| Workers AI and provider requests | Your account and gateway | Installation gateway and proxy |
|
|
26
|
+
| Runtime logs | Live Cloudflare tail | Retained platform logs |
|
|
27
|
+
| Application rollback | Worker versions | Retained platform deployments |
|
|
28
|
+
| Typed Durable State and native Durable Objects | Supported | Supported |
|
|
29
|
+
| Sandboxes | Requires Workers Paid and Docker | Requires Workers Paid on the platform account |
|
|
30
|
+
| Security audits of each deploy | Not available | Enable with `--security-audits`; needs Workers Paid, Containers, and Workers AI access or credits |
|
|
31
|
+
| Custom application domains | Supported | Enable with `--custom-domains` |
|
|
32
|
+
| Generated GitHub deployment workflow | Supported | Use your CI with a scoped developer token |
|
|
33
|
+
| User dashboard and managed GitHub builds | Not required | Not included in a standard installation |
|
|
33
34
|
|
|
34
35
|
A team platform requires Workers for Platforms and the [documented infrastructure](/guide/platform/installation/domains#cloudflare-footprint). Features depend on the installation's configuration.
|
|
35
36
|
|
|
@@ -335,7 +335,7 @@ import { routeUrl } from 'void/routes';
|
|
|
335
335
|
|
|
336
336
|
:::
|
|
337
337
|
|
|
338
|
-
Links also accept same-page queries and hashes (`?page=2`, `#comments`), and `http://`, `https://`, `mailto:`, and `tel:` URLs. Use absolute paths within your app; relative paths such as `../settings` are rejected. Static path segments accept raw text such as `/café menu` or uppercase percent encoding such as `/caf%C3%A9%20menu`.
|
|
338
|
+
Links also accept same-page queries and hashes (`?page=2`, `#comments`), and `http://`, `https://`, `mailto:`, and `tel:` URLs. A `routeUrl()` result takes the same query or hash suffix, so `` `${routeUrl('/users/[id]', { params: { id } })}?tab=activity` `` is checked too. Use absolute paths within your app; relative paths such as `../settings` are rejected. Static path segments accept raw text such as `/café menu` or uppercase percent encoding such as `/caf%C3%A9%20menu`.
|
|
339
339
|
|
|
340
340
|
With `routing.typedRoutes`, URLs handled only by root dynamic routes (`/[slug]`, `/[...slug]`, or `/[...]`) require `routeUrl()`, for example `routeUrl('/[...slug]', { params: { slug: 'dashboard' } })`. Other declared routes still accept checked URL strings. For a custom 404 page, use [`_not-found`](./pages-routing/errors.md#missing-pages).
|
|
341
341
|
|
|
@@ -136,13 +136,15 @@ Set these CI secrets and variables as needed:
|
|
|
136
136
|
|
|
137
137
|
| Name | When needed |
|
|
138
138
|
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
139
|
-
| `CLOUDFLARE_API_TOKEN` | Required. Workers
|
|
139
|
+
| `CLOUDFLARE_API_TOKEN` | Required. Workers Admin for the first deploy, or Workers Editor to deploy to an existing Worker. |
|
|
140
140
|
| `CLOUDFLARE_ACCOUNT_ID` | When the token can access several accounts. |
|
|
141
141
|
| `DATABASE_URL` | PostgreSQL and MySQL provisioning and migrations. |
|
|
142
142
|
| `CLOUDFLARE_WORKERS_SUBDOMAIN` | When workers.dev is enabled and the version has no preview URL. Use `my-team` or `my-team.workers.dev`. An account subdomain does not create a readiness URL when `workers_dev` is false. |
|
|
143
143
|
| `CF_ACCESS_CLIENT_ID`, `CF_ACCESS_CLIENT_SECRET` | When Cloudflare Access protects the readiness URL. |
|
|
144
144
|
| `CF_ACCESS_READINESS_ORIGIN` | When Access protects a route or Custom Domain and `workers_dev` is `false`. See [Cloudflare Access](#cloudflare-access). |
|
|
145
145
|
|
|
146
|
+
Grant **Workers → Admin** for the account when Void creates the Worker. For subsequent deploys, **Workers → Editor** is enough for the Worker itself. Add **Workers Routes Write** for each zone where the deploy adds, updates, or removes a route or Custom Domain. Grant access to any resources Void reads or provisions, such as D1 or KV. See [Cloudflare Workers roles and permissions](https://developers.cloudflare.com/workers/authorization/workers/).
|
|
147
|
+
|
|
146
148
|
For email, run `void email setup --platform cloudflare` locally, commit `void.lock.json`, and pass `--require-email` in CI. The token also needs Zone Read and Email Sending Edit, plus Email Routing Edit for apps with `email/` handlers.
|
|
147
149
|
|
|
148
150
|
#### Cloudflare Access
|
|
@@ -224,7 +224,7 @@ interface RenderAssetTags {
|
|
|
224
224
|
|
|
225
225
|
## `defineHead<P>(handler)` {#definehead-p-handler}
|
|
226
226
|
|
|
227
|
-
Type-safe wrapper for the page `head()` export in `.server.ts` files. Provides [`CloudContext`](./types.md#cloudcontext) typing for the first argument and generic props typing for the second.
|
|
227
|
+
Type-safe wrapper for the page `head()` export in `.server.ts` files. It returns a [`HeadConfig`](./types.md#headconfig). Provides [`CloudContext`](./types.md#cloudcontext) typing for the first argument and generic props typing for the second.
|
|
228
228
|
|
|
229
229
|
```ts
|
|
230
230
|
import { defineHandler, defineHead } from 'void';
|
|
@@ -254,6 +254,6 @@ export const head = defineHead<Props>((c, props) => {
|
|
|
254
254
|
|
|
255
255
|
```ts
|
|
256
256
|
function defineHead<P = Record<string, unknown>>(
|
|
257
|
-
handler: (c: CloudContext, props: P) =>
|
|
258
|
-
): (c: CloudContext, props: P) =>
|
|
257
|
+
handler: (c: CloudContext, props: P) => HeadConfig | undefined,
|
|
258
|
+
): (c: CloudContext, props: P) => HeadConfig | undefined;
|
|
259
259
|
```
|
|
@@ -72,7 +72,7 @@ interface TypedHandler<V extends ValidatorSlots = {}, R = unknown> {
|
|
|
72
72
|
|
|
73
73
|
## `HeadDescriptor` {#headdescriptor}
|
|
74
74
|
|
|
75
|
-
Shape of page head metadata
|
|
75
|
+
Shape of page head metadata. All fields are optional.
|
|
76
76
|
|
|
77
77
|
```ts
|
|
78
78
|
interface HeadDescriptor {
|
|
@@ -85,6 +85,16 @@ interface HeadDescriptor {
|
|
|
85
85
|
}
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
+
## `HeadConfig` {#headconfig}
|
|
89
|
+
|
|
90
|
+
Head metadata returned by `defineHead`, set as middleware `headDefaults`, or set as `head` in `void.config.ts`. It adds `titleTemplate` to [`HeadDescriptor`](#headdescriptor). `%s` is replaced with the page title. A page's template replaces the middleware's, which replaces the config's. An empty string drops the template.
|
|
91
|
+
|
|
92
|
+
```ts
|
|
93
|
+
type HeadConfig = HeadDescriptor & {
|
|
94
|
+
titleTemplate?: string;
|
|
95
|
+
};
|
|
96
|
+
```
|
|
97
|
+
|
|
88
98
|
## `RouteMap` {#routemap}
|
|
89
99
|
|
|
90
100
|
Generated route types used by the typed `fetch` client. Contains each route’s methods, inputs, and outputs.
|
|
@@ -81,6 +81,10 @@ project is created. The same applies to `VOID_PROJECT` and to another project on
|
|
|
81
81
|
the current platform. A first deployment still links the project when no destination
|
|
82
82
|
is configured. See [Deploy to another Void platform](../../guide/deployment.md#deploy-to-another-void-platform).
|
|
83
83
|
|
|
84
|
+
### Security notice
|
|
85
|
+
|
|
86
|
+
When the platform has [security audits](../../guide/platform/administration/security-audits.md) turned on, `void deploy` prints the scan state and any open urgent findings after the deploy is live. The deploy has already gone out, and the notice never changes the exit code. In a signed-in terminal it lists finding titles and files. In CI, and for readers, it prints counts and finding ids only. Review them with `void project security list --urgent`.
|
|
87
|
+
|
|
84
88
|
## `void deploy --platform cloudflare` {#void-deploy-platform-cloudflare}
|
|
85
89
|
|
|
86
90
|
Build and deploy to your Cloudflare account using `void.config.ts`:
|
|
@@ -106,7 +110,7 @@ Void signs you in through your browser when needed and saves the selected accoun
|
|
|
106
110
|
|
|
107
111
|
After `--skip-migrations`, direct Cloudflare deployment history shows the applied migration state as unknown. Rolling back code doesn't reverse database changes.
|
|
108
112
|
|
|
109
|
-
|
|
113
|
+
When using an API token, grant **Workers Admin** to create the Worker or **Workers Editor** to update it. See [Cloudflare CI credentials](../../integrations/cloudflare.md#deploying-from-ci) for zone and resource permissions. Commit `void.lock.json` after the first deploy before using other machines or CI.
|
|
110
114
|
|
|
111
115
|
Use `void secret put <NAME>` for production server values. Local `.env` values are never deployed. Run `void db generate` and commit schema changes before deploying.
|
|
112
116
|
|
|
@@ -21,7 +21,7 @@ Add a custom domain to the saved target. Hosted Void projects print the DNS reco
|
|
|
21
21
|
void domain delete <hostname> [--project <name>]
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Direct Cloudflare projects apply the change immediately. Deleting the final custom domain uses your browser session from `void cloudflare login` or an API token with Workers
|
|
24
|
+
Direct Cloudflare projects apply the change immediately. Deleting the final custom domain uses your browser session from `void cloudflare login` or an API token with **Workers Editor** and **Workers Routes Write** for the affected zone. If Cloudflare rejects the change, Void attempts to restore the previous domain configuration and reports whether recovery succeeded.
|
|
25
25
|
|
|
26
26
|
## `void domain list` {#void-domain-list}
|
|
27
27
|
|
|
@@ -13,8 +13,8 @@ Use your administrator session for these commands. See [Platform Management](./p
|
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
15
|
void platform config plans show [plan-id]
|
|
16
|
-
void platform config plans add <plan-id> --copy <existing-id> --name "Team"
|
|
17
|
-
void platform config plans set <plan-id> [--name "Team"] [--file plan.json]
|
|
16
|
+
void platform config plans add <plan-id> --copy <existing-id> --name "Team" [--security-cap <usd|none|inherit>]
|
|
17
|
+
void platform config plans set <plan-id> [--name "Team"] [--file plan.json] [--security-cap <usd|none|inherit>]
|
|
18
18
|
void platform config plans reset <builtin-plan-id>
|
|
19
19
|
void platform config plans archive <plan-id>
|
|
20
20
|
void platform config plans restore <plan-id>
|
|
@@ -27,7 +27,8 @@ Use `--plan` to preview changes and affected accounts, then `--yes` to apply the
|
|
|
27
27
|
|
|
28
28
|
### Inspect and Manage Plans
|
|
29
29
|
|
|
30
|
-
- `show` reports limits, the signup default, assignments, and pending updates. `show <plan-id>` includes the plan's AI logging default.
|
|
30
|
+
- `show` reports limits, the signup default, assignments, and pending updates. `show <plan-id>` includes the plan's AI logging default and security scan cap.
|
|
31
|
+
- `--security-cap` on `add` or `set` sets the most each project on the plan may spend on [security scans](./platform-security.md#models-limits-budget) in a month: a USD amount, `none` for no cap, or `inherit` for the default project cap. A limit set for one project comes first. `add` copies the source plan's cap.
|
|
31
32
|
- `reset` restores a built-in plan's original limits and build size.
|
|
32
33
|
- `archive` stops new assignments while keeping existing accounts. Choose another signup default before archiving the current one.
|
|
33
34
|
- `remove` requires a replacement if the plan has accounts or is the signup default.
|
|
@@ -44,6 +45,7 @@ For `add` and `set`, `--file` reads a JSON object. All fields are optional; omit
|
|
|
44
45
|
| `buildInstanceType` | `standard-3` or `standard-4` |
|
|
45
46
|
| `allowShortSlugs` | `true` permits future project slugs of five characters or fewer; `false` requires longer names |
|
|
46
47
|
| `aiLogging` | `off`, `metadata`, or `full`; `inherit` clears the plan's override |
|
|
48
|
+
| `securityCap` | Monthly security scan cap per project: a USD amount, `"none"`, or `"inherit"` |
|
|
47
49
|
|
|
48
50
|
Build timeouts have a platform maximum of 60 minutes; `0` uses that maximum. Storage quotas are not editable. Changing `allowShortSlugs` preserves existing URLs. See [Plans and Limits](../../guide/platform/administration/plans.md) for the supported limits and file examples, and [AI Gateway logging](./platform-users.md#ai-gateway-logging) for logging modes.
|
|
49
51
|
|