cf 1.0.0-beta.12 → 1.0.0-beta.13
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/_meta/commands.json +3119 -2067
- package/dist/_meta/hand-written-commands.json +14 -1
- package/dist/_meta/schemas.json +1856 -1132
- package/dist/{abuse-reports-Cy9RcWPu.mjs → abuse-reports-BjU1s8cf.mjs} +10 -10
- package/dist/{access-DwJm1qet.mjs → access-C_G2MZnA.mjs} +1 -1
- package/dist/account-tags-CaXDDeZ4.mjs +15 -0
- package/dist/{accounts-BSd4b-1j.mjs → accounts-BALwxDQY.mjs} +70 -77
- package/dist/{acm-BfI0p2sX.mjs → acm-CP9EaXQN.mjs} +1 -1
- package/dist/{addressing-lfeJf7YB.mjs → addressing-DRlaxqrI.mjs} +1 -1
- package/dist/{agent-memory-CP1qpn-y.mjs → agent-memory-vGhlfZBx.mjs} +1 -1
- package/dist/{ai-jFzFBANM.mjs → ai-CJtbWfB9.mjs} +18 -16
- package/dist/{ai-audit-B_tSl78A.mjs → ai-audit-C0BJNqZZ.mjs} +1 -1
- package/dist/ai-gateway-BQtv3U3x.mjs +80 -0
- package/dist/ai-search-DGU1Y5By.mjs +79 -0
- package/dist/{ai-security-CKGE547U.mjs → ai-security-CFTaYk_X.mjs} +1 -1
- package/dist/{alerting-CuxoqG3S.mjs → alerting-1hun27JC.mjs} +3 -3
- package/dist/analytics-DXUSjvzT.mjs +17 -0
- package/dist/{analytics_engine-BoapM9wd.mjs → analytics_engine-CQsnL09C.mjs} +1 -1
- package/dist/{api-security-Nk_bg-Kg.mjs → api-security-BXhrfR6-.mjs} +4 -4
- package/dist/argo-LPUCTnee.mjs +14 -0
- package/dist/{artifacts-BS6cEqCB.mjs → artifacts-Dt6easua.mjs} +1 -1
- package/dist/{audit-logs-x5tLqeX2.mjs → audit-logs-CVznAM2Z.mjs} +1 -1
- package/dist/{auth-AobvBmz4.mjs → auth-CGLsxbc6.mjs} +1 -1
- package/dist/auth-CrmVwfpJ.mjs +2 -0
- package/dist/{auth-CKotxfap.mjs → auth-eQr-kQCH.mjs} +1 -1
- package/dist/{auth-token-CtguMdmF.mjs → auth-token-pNQrX_9O.mjs} +1 -1
- package/dist/{autoconfig-PfnbLuEO.mjs → autoconfig-sD7Frryg.mjs} +151 -151
- package/dist/{basin-catalog-Ddi-t3q9.mjs → basin-catalog-ZQICw-zF.mjs} +1 -1
- package/dist/{billing-CDMc4tvX.mjs → billing-Dy1-dV_B.mjs} +2 -2
- package/dist/{bot-management-UrCM3P8K.mjs → bot-management-DTgPwL7O.mjs} +1 -1
- package/dist/{botnet-feed-CVwRm42k.mjs → botnet-feed-xb98Cj3Y.mjs} +1 -1
- package/dist/{brand-protection-DfNf5REj.mjs → brand-protection-Ck3okE2k.mjs} +1 -1
- package/dist/browser-run-DJGJSzFX.mjs +42 -0
- package/dist/build-B1L6xrgC.mjs +2 -0
- package/dist/{build-BKPVP5ip.mjs → build-HmSXqjGn.mjs} +1 -1
- package/dist/{builds-BG5DHqU3.mjs → builds-CYxcZtkG.mjs} +3 -3
- package/dist/{cache-C05hHXUp.mjs → cache-D9tSfovH.mjs} +1 -1
- package/dist/{certificate-authorities-DyCFmZwR.mjs → certificate-authorities-CpiveTFC.mjs} +1 -1
- package/dist/cf-BxsXrVeh.mjs +18 -0
- package/dist/chunk-DSGVRFIS-C1_SEtRK.mjs +2 -0
- package/dist/{chunk-FT2NMTJB-DQ7s3x7Q.mjs → chunk-NDZDTP46-Bjx_wtJe.mjs} +3 -3
- package/dist/{chunk-AUSY7DKT-BJX6Fdc4.mjs → chunk-TAK63GWY-DdMktrgc.mjs} +9 -2
- package/dist/{cli-D9qlPB-6.mjs → cli-DeJc9U8z.mjs} +1 -1
- package/dist/{client-certificates-B-m8rfM9.mjs → client-certificates-CF6YZyvP.mjs} +1 -1
- package/dist/{client-side-security-M4oIUqID.mjs → client-side-security-BLoe9kS5.mjs} +1 -1
- package/dist/{cloud-connector-B63Dwn6n.mjs → cloud-connector-DXRUHsjt.mjs} +1 -1
- package/dist/cloudflared--1Ws1RJy.mjs +2 -0
- package/dist/{cloudforce-one-Dlc1GNFy.mjs → cloudforce-one-CBLxXi6v.mjs} +162 -162
- package/dist/{command-BQpXcGKV.mjs → command-83uVfXh9.mjs} +1 -1
- package/dist/{command-BWlpCtHe.mjs → command-BDe67N_n.mjs} +1 -1
- package/dist/{command-CXxh5Hce.mjs → command-BlIb6RR2.mjs} +1 -1
- package/dist/{command-ZBQ1WITj.mjs → command-Bpzp8Mz2.mjs} +1 -1
- package/dist/{command-CKQlxypn.mjs → command-BvfKhMl7.mjs} +1 -1
- package/dist/command-CG6RvZs0.mjs +2 -0
- package/dist/{command-CRl00uA2.mjs → command-CcuLC6CJ.mjs} +1 -1
- package/dist/{command-CUkXxZsc.mjs → command-Cu7dcaHT.mjs} +1 -1
- package/dist/{command-SS1z_t68.mjs → command-D3fyhdy-.mjs} +1 -1
- package/dist/{command-DyE8v4sd.mjs → command-DUhX8Dcr.mjs} +1 -1
- package/dist/{command-VuxpEvmH.mjs → command-Dh7RmjFu.mjs} +1 -1
- package/dist/{command-DEQSv-S1.mjs → command-DwXiDOeH.mjs} +1 -1
- package/dist/{command-BlGILcTA.mjs → command-UiHLJ8Ji.mjs} +1 -1
- package/dist/{command-Rv2MR-eh.mjs → command-_rqD0hXF.mjs} +1 -1
- package/dist/{command-DBaNgfA4.mjs → command-oNVwyjGB.mjs} +1 -1
- package/dist/{completions-lf50FBGm.mjs → completions-D06AO7A8.mjs} +11 -11
- package/dist/{connector-interrupts-DHN1KtUE.mjs → connector-interrupts-DelTmNyw.mjs} +1 -1
- package/dist/{connector-telemetry-events-CHg7FmXh.mjs → connector-telemetry-events-BwxR3G8d.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-CSifYi9r.mjs → connector-telemetry-snapshots-Bqq-hrpJ.mjs} +1 -1
- package/dist/{connectors-0UwPUav-.mjs → connectors-D-m3rEpk.mjs} +1 -1
- package/dist/{containers-DuIsM7lM.mjs → containers-CVNfEjJs.mjs} +3 -3
- package/dist/{containers-DRzgE46U.mjs → containers-DeoZyeQe.mjs} +25 -25
- package/dist/{content-scan-COyTz0Wb.mjs → content-scan-W0BNzbQp.mjs} +1 -1
- package/dist/{context-Bwkz4Lm_.mjs → context-q7UaYK69.mjs} +2 -2
- package/dist/{cps-B7_BJaAU.mjs → cps-BZ6hqRb5.mjs} +1 -1
- package/dist/{csamScanner-jez2EYXC.mjs → csamScanner-Bo1t3CLh.mjs} +1 -1
- package/dist/{ct-alerting-CACDrY0E.mjs → ct-alerting-E03faC7p.mjs} +1 -1
- package/dist/{custom-certificates-BBd92YlF.mjs → custom-certificates-CUySSPzi.mjs} +3 -3
- package/dist/{custom-csrs-DTwBiNMX.mjs → custom-csrs-gNpWkJPQ.mjs} +1 -1
- package/dist/{custom-hostnames-DIWlqvN9.mjs → custom-hostnames-abGBAbx7.mjs} +4 -4
- package/dist/{custom-nameservers-DISy8v8u.mjs → custom-nameservers-BgNXol1P.mjs} +1 -1
- package/dist/{custom-pages-BHXO_NFv.mjs → custom-pages-DMKX3aoD.mjs} +1 -1
- package/dist/{d1-MvAQMvvo.mjs → d1-CE08YqYk.mjs} +26 -22
- package/dist/{dcv-delegation-Buq0hcm_.mjs → dcv-delegation-B5YUEWu0.mjs} +1 -1
- package/dist/deploy-CWNm1-5v.mjs +2 -0
- package/dist/deploy-context-Dr6bxNcB.mjs +56 -0
- package/dist/deploy-input-Cc0_2QlW.mjs +2 -0
- package/dist/{dev-D8FGPKRt.mjs → dev-ZA8itQE7.mjs} +1 -1
- package/dist/{diagnostics-ChDfJ-Gv.mjs → diagnostics-UMbG6m4n.mjs} +1 -1
- package/dist/dialog-D4Y9ocuF.mjs +2 -0
- package/dist/{dist-CYFkGHYv.mjs → dist-BHEmAAHr.mjs} +4 -4
- package/dist/dist-uRuGmkMB.mjs +60 -0
- package/dist/{dls-8D00tqvC.mjs → dls-DIl16mLp.mjs} +1 -1
- package/dist/{dns-C-A5pwf3.mjs → dns-QUpgljRG.mjs} +5 -5
- package/dist/{dns-firewall-DIiF4pro.mjs → dns-firewall-BZwJXHLj.mjs} +1 -1
- package/dist/dry-run-DRj2_uV3.mjs +2 -0
- package/dist/{durable-objects-CnIqbj84.mjs → durable-objects-BCj4ykpU.mjs} +1 -1
- package/dist/{email-auth-v97Md32E.mjs → email-auth-DlHIYhCk.mjs} +1 -1
- package/dist/{email-routing-I29RG4hb.mjs → email-routing-UKVS4DYy.mjs} +1 -1
- package/dist/{email-security-BCarmbky.mjs → email-security-CZjfRIg0.mjs} +8 -8
- package/dist/{email-sending-CsHk2HAJ.mjs → email-sending-Dquc880C.mjs} +1 -1
- package/dist/{error-sanitization-BWnGnB73.mjs → error-sanitization-DE_zSrXw.mjs} +1 -1
- package/dist/error-sanitization-DOCQ9Ykh.mjs +2 -0
- package/dist/{fieldExtractors-GIVe9jZa.mjs → fieldExtractors-BbwDRquU.mjs} +1 -1
- package/dist/{firewall-DpgFqJr3.mjs → firewall--mTfDnCJ.mjs} +3 -3
- package/dist/{flagship-BVaXXlsX.mjs → flagship-cfoSwwM9.mjs} +1 -1
- package/dist/{fraud-B5GQdEF2.mjs → fraud-Dcsq3EYK.mjs} +1 -1
- package/dist/{google-tag-gateway-C4O61lp-.mjs → google-tag-gateway-DPKSkZQi.mjs} +1 -1
- package/dist/{healthchecks-BwYMnKSF.mjs → healthchecks-D78hIIBC.mjs} +1 -1
- package/dist/{hostnames-DhrGRFeI.mjs → hostnames-sF999-6H.mjs} +1 -1
- package/dist/{hyperdrive-DAA8Fazg.mjs → hyperdrive-qWACKfA4.mjs} +2 -2
- package/dist/{iam-sRKDU2Z3.mjs → iam-Bvg_PayW.mjs} +1 -1
- package/dist/{images-DXdekLVs.mjs → images-DI_lEZ4L.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/init-1w_mcgk3.mjs +43 -0
- package/dist/{intel-CnVeSjIS.mjs → intel-BxElBUMP.mjs} +1 -1
- package/dist/interactive-BW9T1D1q.mjs +48 -0
- package/dist/interactive-DGUWZ2Gk.mjs +2 -0
- package/dist/{ips-COCUG8mk.mjs → ips-DWoaKxi7.mjs} +1 -1
- package/dist/k2-tFjaftl-.mjs +11 -0
- package/dist/{keyless-certificates-l2_S__h3.mjs → keyless-certificates-BrvxHU4J.mjs} +1 -1
- package/dist/{keys-CDZreums.mjs → keys-DcwTYKRf.mjs} +1 -1
- package/dist/{kv-DkpKVimq.mjs → kv-htXS-7uP.mjs} +2 -2
- package/dist/{lazy-command-_vZGz6mv.mjs → lazy-command-BDiIwpss.mjs} +1 -1
- package/dist/{leaked-credential-checks-edbapECI.mjs → leaked-credential-checks-bvGrLOmQ.mjs} +1 -1
- package/dist/{load-balancers-C5YMvhXD.mjs → load-balancers-BNTUt4yG.mjs} +1 -1
- package/dist/local-DlDumOSC.mjs +2 -0
- package/dist/{local-C0lQ9sTg.mjs → local-DlT72Xpn.mjs} +1 -1
- package/dist/{local-runtime-DtnWXN0a.mjs → local-runtime-CokO6qaX.mjs} +1 -1
- package/dist/{login-BrjOuHKu.mjs → login-BGF_I_LT.mjs} +1 -1
- package/dist/{login-DeOM4v0L.mjs → login-Ccw-mYwT.mjs} +1 -1
- package/dist/{logo-matches-CF8321pb.mjs → logo-matches-tE8LTKgg.mjs} +1 -1
- package/dist/{logos-Bd8xNRKW.mjs → logos-Bj845Mcw.mjs} +1 -1
- package/dist/{logpush-BYk3qqwY.mjs → logpush-Cs8JdvKi.mjs} +7 -7
- package/dist/{logs-Jcj2NN8H.mjs → logs-C92XZvNu.mjs} +1 -1
- package/dist/{magic-cloud-networking-Dgdb9H0f.mjs → magic-cloud-networking-hNp5MMw-.mjs} +1 -1
- package/dist/{magic-network-monitoring-CxVU4MZB.mjs → magic-network-monitoring-68GuWAnv.mjs} +1 -1
- package/dist/{magic-transit-KDyfUgTv.mjs → magic-transit-DNd7gu4j.mjs} +6 -6
- package/dist/{managed-defense-CxaDeNUd.mjs → managed-defense-B_wCAuFD.mjs} +1 -1
- package/dist/{managed-transforms-C7rT5E-x.mjs → managed-transforms-DZdxHPOh.mjs} +1 -1
- package/dist/{matches-BtKqG8T9.mjs → matches-B65CkflD.mjs} +1 -1
- package/dist/{mcp-QDd1Iyc0.mjs → mcp-DrJW5ayK.mjs} +4 -4
- package/dist/mesh-DfVzYTn1.mjs +26 -0
- package/dist/{migrate-DHlfR_gZ.mjs → migrate-CZNq63Uj.mjs} +1 -1
- package/dist/{monetization-pLalYYMI.mjs → monetization-BGaI8CMO.mjs} +1 -1
- package/dist/{mtls-certificates-DYA9Wu-c.mjs → mtls-certificates-BsU2emDD.mjs} +2 -2
- package/dist/{network-DrJxPWXQ.mjs → network-BEMD8P0U.mjs} +1 -1
- package/dist/{network-interconnects-D73MlYG8.mjs → network-interconnects-DMu_fcbo.mjs} +2 -7
- package/dist/o11y-C1a4gDGF.mjs +93 -0
- package/dist/{oauth-B08YQ4xq.mjs → oauth-Bj5Ne1o8.mjs} +1 -1
- package/dist/{oauth-clients-CkPDLFd-.mjs → oauth-clients-p4Etdqy_.mjs} +1 -1
- package/dist/{oauth-TGbM1Q0V.mjs → oauth-mspHHU5U.mjs} +1 -1
- package/dist/{oauth-scopes-VgliqcQe.mjs → oauth-scopes-B2IabFza.mjs} +1 -1
- package/dist/{organization-DIwqRBBV.mjs → organization-CdXt7AVZ.mjs} +1 -1
- package/dist/{organizations-Dk0D9ukm.mjs → organizations-5S6xEp7T.mjs} +1 -1
- package/dist/{origin-ca-certificates-BSFqMTn-.mjs → origin-ca-certificates-_VJAoK1D.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-BOKWKDTY.mjs → origin-post-quantum-encryption-GcldDsT2.mjs} +1 -1
- package/dist/{origin-tls-client-auth-BzE3WpcN.mjs → origin-tls-client-auth-DZHld9fA.mjs} +3 -3
- package/dist/{output-BGqhvqe2.mjs → output-BOe-3AQG.mjs} +1 -1
- package/dist/{page-rules-BKaU37cM.mjs → page-rules-o1tAMMsD.mjs} +1 -1
- package/dist/{pages-2Xg-lrMf.mjs → pages-CmiOhjSl.mjs} +4 -4
- package/dist/pay-per-crawl-BsnOxGYU.mjs +38 -0
- package/dist/pay-per-use-BXWMCSyE.mjs +33 -0
- package/dist/{pipelines-BM-T7mMK.mjs → pipelines-DWLQC0F6.mjs} +2 -2
- package/dist/{precursor-DmQ32-Sp.mjs → precursor-B6DjBib6.mjs} +1 -1
- package/dist/{previews-DDQ9ACDJ.mjs → previews-dUKEBGSM.mjs} +1 -1
- package/dist/process-2wmDCy17.mjs +2 -0
- package/dist/{progress-BYVZuEcG.mjs → progress-BtkTVcHI.mjs} +1 -1
- package/dist/prompt-RlgRrmbm.mjs +3 -0
- package/dist/{queries-DPBkVynK.mjs → queries-yLwoJRHV.mjs} +1 -1
- package/dist/{queues-CCXRs98q.mjs → queues-CnJRaE1o.mjs} +1 -1
- package/dist/{r2-BKuBSW8h.mjs → r2-CuC6-zQX.mjs} +48 -45
- package/dist/{radar-Gv1yFoRX.mjs → radar-DrQLcbkq.mjs} +1 -1
- package/dist/{raw-fetch-DyYWa923.mjs → raw-fetch-B4NvWuZD.mjs} +1 -1
- package/dist/{realtime-CVl-rvgx.mjs → realtime-CjsnzHxD.mjs} +1 -1
- package/dist/{registrar-swlnh22i.mjs → registrar-BgOsxTnX.mjs} +1 -1
- package/dist/{registrar-sandbox-cmOYDnkp.mjs → registrar-sandbox-3ikBD9fB.mjs} +1 -1
- package/dist/{registry-C20J1MW0.mjs → registry-CHowrQsZ.mjs} +1 -1
- package/dist/{reporting-Bgwsvol1.mjs → reporting-hE127s5r.mjs} +1 -1
- package/dist/{request-headers-CUee83pa.mjs → request-headers-DiJeDAn1.mjs} +1 -1
- package/dist/{request-tracers-BBiJvVDz.mjs → request-tracers-BCwLxmPN.mjs} +1 -1
- package/dist/{resolve-DvxgnWjL.mjs → resolve-CaTBV-c6.mjs} +1 -1
- package/dist/resolve-DCGSzUDQ.mjs +2 -0
- package/dist/{resource-sharing-C1JiYLbl.mjs → resource-sharing-2qvWUuMa.mjs} +11 -11
- package/dist/{resource-tagging-C9VOSlDR.mjs → resource-tagging-Dwx7iL3v.mjs} +1 -1
- package/dist/{rules-BDunCGMj.mjs → rules-DxVQ6jIg.mjs} +1 -1
- package/dist/rulesets-Cdh8YjI9.mjs +37 -0
- package/dist/{rum-B7XiECe9.mjs → rum-a4CMq4Qu.mjs} +1 -1
- package/dist/{run-CrZgB8L_.mjs → run-BvHwWWUX.mjs} +1 -1
- package/dist/run-CkbrPJPx.mjs +2 -0
- package/dist/{schema-DC0kdqgV.mjs → schema-elj12WOx.mjs} +1 -1
- package/dist/{schema-flags-BUZR9SLd.mjs → schema-flags-BzoBGPWk.mjs} +1 -1
- package/dist/{scim-CORcs2wK.mjs → scim-B8XlXl8v.mjs} +1 -1
- package/dist/{secrets-store-BoZQaFey.mjs → secrets-store-Cqhedh_i.mjs} +2 -2
- package/dist/{security-insights-DblK_6sg.mjs → security-insights-le2-DteL.mjs} +1 -1
- package/dist/{security-txt-Dl7RPnRb.mjs → security-txt-cCArWXur.mjs} +1 -1
- package/dist/{session-BWe9et4K.mjs → session-C1BhT1ZJ.mjs} +1 -1
- package/dist/shared-BPjcpXuA.mjs +2 -0
- package/dist/{smart-shield-DX0-8ruu.mjs → smart-shield-Csyh8hwB.mjs} +1 -1
- package/dist/{snippets-BFN-Lg3K.mjs → snippets-DUWx25q6.mjs} +1 -1
- package/dist/spawn-IysxuTNW.mjs +10 -0
- package/dist/{spectrum-HYWLWB0X.mjs → spectrum-Da3UYSOR.mjs} +1 -1
- package/dist/{speed-Dj0YhfRe.mjs → speed-NxlMnB2e.mjs} +1 -1
- package/dist/sql-CNdHAlQ8.mjs +4 -0
- package/dist/src-JfLDUxFr.mjs +125 -0
- package/dist/{ssl-BQL1fNtD.mjs → ssl-BtaX2WEJ.mjs} +1 -1
- package/dist/startup-profile-B2l0ChVu.mjs +2 -0
- package/dist/{startup-profile-0X5ebbng.mjs → startup-profile-CdJWgNjd.mjs} +1 -1
- package/dist/{state-Dy6-rKNd.mjs → state-BDSvdSdP.mjs} +1 -1
- package/dist/state-JB4_BU1o.mjs +2 -0
- package/dist/{stream-DKv2TtZN.mjs → stream-C1Ijjzn4.mjs} +3 -3
- package/dist/{submit-Byt2KBGI.mjs → submit-MdkuU_Pt.mjs} +1 -1
- package/dist/{tags-BIBsdG68.mjs → tags-CA1xMM96.mjs} +1 -1
- package/dist/telemetry-BsYO3nxG.mjs +2 -0
- package/dist/{telemetry-bu3txnIR.mjs → telemetry-Cm39QJ-M.mjs} +1 -1
- package/dist/{tenant-Bs4Ac4n3.mjs → tenant-BB6Oszcl.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-DcaELeCE.mjs → tenant-custom-nameservers-BsbgYAEo.mjs} +1 -1
- package/dist/{tools-BbTX7rlM.mjs → tools-CSc5DmFi.mjs} +1 -1
- package/dist/{tunnels-DWcrz9Sf.mjs → tunnels-CRFtyHWz.mjs} +4 -4
- package/dist/{turnstile-2MIGp2ce.mjs → turnstile-DBXWo_Xe.mjs} +1 -1
- package/dist/update-check-C2oVEbXx.mjs +2 -0
- package/dist/{update-check-CfB0PNTY.mjs → update-check-CMXSdres.mjs} +1 -1
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-info-B8udoxlx.mjs → url-info-t-XAs0Mk.mjs} +1 -1
- package/dist/{url-normalization-C6AdWtaE.mjs → url-normalization-Cs4F8e0a.mjs} +1 -1
- package/dist/{url-scanner-Dg0c_yVb.mjs → url-scanner-CBIoDbTx.mjs} +1 -1
- package/dist/{user-BLZ-0Bgv.mjs → user-CevdOMoa.mjs} +3 -3
- package/dist/values-CjNlkbIh.mjs +4 -0
- package/dist/{vectorize-DEUSEQXY.mjs → vectorize-9d9tPmg5.mjs} +1 -1
- package/dist/version-BdVUXLnK.mjs +2 -0
- package/dist/{waiting-rooms-BycGk2Y0.mjs → waiting-rooms--5WmrWb3.mjs} +1 -1
- package/dist/{web-assets-CLZdWOmN.mjs → web-assets-BHot_MU8.mjs} +1 -1
- package/dist/{web3-DjeavuLg.mjs → web3-CYfWAF6b.mjs} +1 -1
- package/dist/{workers-C_SfyU-v.mjs → workers-S17M0n3h.mjs} +23 -21
- package/dist/{workers-builds-COn5Ne5G.mjs → workers-builds-Dw7ho3So.mjs} +2 -2
- package/dist/{workers-for-platforms-tchCXwNF.mjs → workers-for-platforms-A3yjyLh3.mjs} +4 -6
- package/dist/{workers-vpc-CKts8Av0.mjs → workers-vpc-BZ2xXtC3.mjs} +1 -1
- package/dist/{workflows-BibtWuOx.mjs → workflows-BgGrVpSR.mjs} +1 -1
- package/dist/{wrangler-migration-BpJqCFAa.mjs → wrangler-migration-C6FKHER1.mjs} +1 -1
- package/dist/{zaraz-BvQZB0YY.mjs → zaraz-BsD2dMI3.mjs} +1 -1
- package/dist/{zero-trust-FStq4uhn.mjs → zero-trust-CA3iGQbG.mjs} +413 -397
- package/dist/{zone-tymlghWb.mjs → zone-D2M4EZD0.mjs} +1 -1
- package/dist/{zones-Bz6dgT9_.mjs → zones-BoOC_JzC.mjs} +1 -1
- package/package.json +25 -26
- package/dist/account-tags-d0RkEw6s.mjs +0 -15
- package/dist/ai-gateway-CJaUlfGc.mjs +0 -82
- package/dist/ai-search-PTlpY1T9.mjs +0 -79
- package/dist/analytics-NPND7aHB.mjs +0 -20
- package/dist/argo-DYfLQhd2.mjs +0 -10
- package/dist/auth-CBtzZ3Sw.mjs +0 -2
- package/dist/browser-run-DVaiBLYX.mjs +0 -46
- package/dist/build-C4giET85.mjs +0 -2
- package/dist/cf-B9aqZZKD.mjs +0 -18
- package/dist/chunk-KKDV4JPS-D3kwd1Nq.mjs +0 -2
- package/dist/cloudflared-B48cfu95.mjs +0 -2
- package/dist/command-CzvlHvov.mjs +0 -2
- package/dist/deploy-BS47vZvJ.mjs +0 -2
- package/dist/deploy-context-Cfushp8j.mjs +0 -56
- package/dist/deploy-input-BAhS5LYx.mjs +0 -2
- package/dist/dialog-CL1Zy4pn.mjs +0 -2
- package/dist/dist-8rP3V95o.mjs +0 -57
- package/dist/dry-run-DmsbOMF1.mjs +0 -2
- package/dist/error-sanitization-C_a2LxOK.mjs +0 -2
- package/dist/init-j47MT4Qe.mjs +0 -39
- package/dist/interactive-Dqv0RWVU.mjs +0 -42
- package/dist/interactive-Wpd3FcDc.mjs +0 -2
- package/dist/k2-CmHkArHL.mjs +0 -13
- package/dist/local-D5L5Bwju.mjs +0 -2
- package/dist/mesh-DtrIzl5z.mjs +0 -26
- package/dist/observability-CvN9oxAo.mjs +0 -80
- package/dist/pay-per-crawl-5-KTQXRr.mjs +0 -65
- package/dist/pay-per-use-sGebKzNK.mjs +0 -6
- package/dist/prompt-F5wxc8zq.mjs +0 -3
- package/dist/resolve-qwL1LmKN.mjs +0 -2
- package/dist/rulesets-BMGxrnv9.mjs +0 -37
- package/dist/run-nNxXb_Cv.mjs +0 -2
- package/dist/shared-0N31BXkY.mjs +0 -2
- package/dist/spawn-DZ9A-xXb.mjs +0 -10
- package/dist/src-CAiZlihY.mjs +0 -117
- package/dist/startup-profile-CXnsF4c7.mjs +0 -2
- package/dist/state-BA2CanJ_.mjs +0 -2
- package/dist/telemetry-DBXOMuLh.mjs +0 -2
- package/dist/update-check-B-CvDAUz.mjs +0 -2
- package/dist/values-BUK-m0Jg.mjs +0 -4
- package/dist/version-BZNc7Y3t.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-DlT72Xpn.mjs";import{i as t,n}from"./auth-CGLsxbc6.mjs";import{a as r,i,t as a}from"./context-q7UaYK69.mjs";import{t as o}from"./output-BOe-3AQG.mjs";import{t as s}from"./dry-run-DRj2_uV3.mjs";import{t as c}from"./progress-BtkTVcHI.mjs";import{t as l}from"./run-BvHwWWUX.mjs";import"./telemetry-BsYO3nxG.mjs";import{n as u,r as d,t as f}from"./body-parser-DkHKPkJ7.mjs";import{n as p}from"./input-validation-D7z60HJH.mjs";import{a as m,i as h,n as g}from"./prompt-RlgRrmbm.mjs";import{t as _}from"./cli-types-9oYmRTHJ.mjs";function ee(e){return e.usage(`$0 api-security schema-validation schemas create
|
|
3
3
|
|
|
4
4
|
Uploads an OpenAPI schema that defines expected request formats for API operations.`).option(`kind`,{type:`string`,description:`The kind of the schema`,choices:[`openapi_v3`]}).option(`name`,{type:`string`,description:`A human-readable name for the schema`}).option(`source`,{type:`string`,description:`The raw schema, e.g., the OpenAPI schema, either as JSON or YAML`}).option(`validation-enabled`,{type:`boolean`,description:`An indicator if this schema is enabled`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const te={command:`create`,describe:`Upload a schema`,builder:ee,handler:async e=>l({command:`api-security schema-validation schemas create`,classification:{safeFlags:[`kind`,`validation-enabled`,`dry-run`]}},e,async()=>{if(e.dryRun){s({command:`cf api-security schema-validation schemas create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/schema_validation/schemas`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?f({kind:p(e.kind,`kind`,`text`),name:p(e.name,`name`,`text`),source:p(e.source,`source`,`text`),validation_enabled:e[`validation-enabled`]}):u(e.body)});return}let t=await n(e),r=await i({zone:e.zone},t,{quiet:e.quiet});if(e.zoneId=r,e.body){let n=u(e.body),i=await c(`Creating`,async()=>t.apiSecurity.schemaValidation.schemas.create({...n,zone_id:r}));o(i,{successLabel:`Created`});return}if(e.kind===void 0&&(e.kind=await h(`kind`,`The kind of the schema`,[`openapi_v3`])),e.name===void 0&&(e.name=await m(`name`,`A human-readable name for the schema`)),e.source===void 0&&(e.source=await m(`source`,`The raw schema, e.g., the OpenAPI schema, either as JSON or YAML`)),e[`validation-enabled`]===void 0)throw Error(`--validation-enabled is required (or pass --body with this field set).`);let a=f({kind:p(e.kind,`kind`,`text`),name:p(e.name,`name`,`text`),source:p(e.source,`source`,`text`),validation_enabled:e[`validation-enabled`]}),l=await c(`Creating`,async()=>t.apiSecurity.schemaValidation.schemas.create({...a,zone_id:r}));o(l,{successLabel:`Created`})})};function v(e){return e.usage(`$0 api-security schema-validation schemas delete <schema-id>
|
|
5
5
|
|
|
@@ -98,14 +98,14 @@ Creates a new credential set.`).option(`name`,{type:`string`,description:`Human-
|
|
|
98
98
|
Creates a new credential within a credential set.`).positional(`credential-set-id`,{type:`string`,description:`Credential set identifier.`,demandOption:!0}).option(`location`,{type:`string`,description:`Where the credential is attached in outgoing requests.`,choices:[`header`,`cookie`]}).option(`location-name`,{type:`string`,description:`Name of the header or cookie where the credential is attached.
|
|
99
99
|
`}).option(`name`,{type:`string`,description:`Human-readable name.`}).option(`value`,{type:`string`,description:`The credential value (e.g. API key, session token). Write-only.
|
|
100
100
|
Never returned in responses.
|
|
101
|
-
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ve={command:`create <credential-set-id>`,describe:`Create credential`,builder:Be,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials create`,classification:{safeFlags:[`location`,`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``)},bodyKind:`json`,body:t.body===void 0?f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}):u(t.body)});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,t.body){let e=u(t.body),n=await c(`Creating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.create({...e,account_id:l,credential_set_id:t[`credential-set-id`]}));o(n,{successLabel:`Created`});return}t.location===void 0&&(t.location=await h(`location`,`Where the credential is attached in outgoing requests.`,[`header`,`cookie`])),t[`location-name`]===void 0&&(t[`location-name`]=await m(`location-name`,`Name of the header or cookie where the credential is attached. `)),t.name===void 0&&(t.name=await m(`name`,`Human-readable name.`)),t.value===void 0&&(t.value=await m(`value`,`The credential value (e.g. API key, session token). Write-only. Never returned in responses. `,{kind:`secret`}));let d=f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}),g=await c(`Creating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.create({...d,account_id:l,credential_set_id:t[`credential-set-id`]}));o(g,{successLabel:`Created`})})};function He(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets credentials delete <credential-id>
|
|
101
|
+
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ve={command:`create <credential-set-id>`,describe:`Create credential`,builder:Be,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials create`,classification:{safeFlags:[`location`,`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``)},bodyKind:`json`,body:t.body===void 0?f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}):u(t.body),sensitiveBodyPaths:[[`value`]]});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,t.body){let e=u(t.body),n=await c(`Creating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.create({...e,account_id:l,credential_set_id:t[`credential-set-id`]}));o(n,{successLabel:`Created`});return}t.location===void 0&&(t.location=await h(`location`,`Where the credential is attached in outgoing requests.`,[`header`,`cookie`])),t[`location-name`]===void 0&&(t[`location-name`]=await m(`location-name`,`Name of the header or cookie where the credential is attached. `)),t.name===void 0&&(t.name=await m(`name`,`Human-readable name.`)),t.value===void 0&&(t.value=await m(`value`,`The credential value (e.g. API key, session token). Write-only. Never returned in responses. `,{kind:`secret`}));let d=f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}),g=await c(`Creating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.create({...d,account_id:l,credential_set_id:t[`credential-set-id`]}));o(g,{successLabel:`Created`})})};function He(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets credentials delete <credential-id>
|
|
102
102
|
|
|
103
103
|
Deletes a credential.`).positional(`credential-id`,{type:`string`,description:`Credential identifier.`,demandOption:!0}).option(`credential-set-id`,{type:`string`,description:`Credential set identifier.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const Ue={command:`delete <credential-id>`,describe:`Delete credential`,builder:He,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials/${t[`credential-id`]==null?`<credential-id>`:encodeURIComponent(String(t[`credential-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``),"credential-id":String(t[`credential-id`]??``)},bodyKind:`none`});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,!await g({force:!!t.force,message:`This operation permanently deletes the credential from the credential set.`})){process.stderr.write(`Aborted.
|
|
104
104
|
`);return}let u=await c(`Deleting`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.delete({account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(u,{successLabel:`Deleted`})})};function We(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets credentials edit <credential-id>
|
|
105
105
|
|
|
106
106
|
Updates a credential with only the provided fields; omitted fields remain unchanged.`).positional(`credential-id`,{type:`string`,description:`Credential identifier.`,demandOption:!0}).option(`credential-set-id`,{type:`string`,description:`Credential set identifier.`,demandOption:!0}).option(`location`,{type:`string`,description:`Where the credential is attached in outgoing requests.`,choices:[`header`,`cookie`]}).option(`location-name`,{type:`string`,description:`Name of the header or cookie where the credential is attached.
|
|
107
107
|
`}).option(`name`,{type:`string`,description:`Human-readable name.`}).option(`value`,{type:`string`,description:`The credential value. Write-only. Never returned in responses.
|
|
108
|
-
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Applies a partial update. Only the provided fields change; omitted fields remain unchanged.`})}const Ge={command:`edit <credential-id>`,describe:`Edit credential`,builder:We,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials edit`,classification:{safeFlags:[`location`,`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials/${t[`credential-id`]==null?`<credential-id>`:encodeURIComponent(String(t[`credential-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``),"credential-id":String(t[`credential-id`]??``)},bodyKind:`json`,body:t.body===void 0?f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}):u(t.body)});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,t.body){let e=u(t.body),n=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.edit({...e,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(n,{successLabel:`Updated`});return}let d=f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}),m=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.edit({...d,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(m,{successLabel:`Updated`})})};function Ke(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets credentials get <credential-id>
|
|
108
|
+
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Applies a partial update. Only the provided fields change; omitted fields remain unchanged.`})}const Ge={command:`edit <credential-id>`,describe:`Edit credential`,builder:We,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials edit`,classification:{safeFlags:[`location`,`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials/${t[`credential-id`]==null?`<credential-id>`:encodeURIComponent(String(t[`credential-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``),"credential-id":String(t[`credential-id`]??``)},bodyKind:`json`,body:t.body===void 0?f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}):u(t.body),sensitiveBodyPaths:[[`value`]]});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,t.body){let e=u(t.body),n=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.edit({...e,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(n,{successLabel:`Updated`});return}let d=f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}),m=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.edit({...d,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(m,{successLabel:`Updated`})})};function Ke(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets credentials get <credential-id>
|
|
109
109
|
|
|
110
110
|
Returns a single credential by ID.`).positional(`credential-id`,{type:`string`,description:`Credential identifier.`,demandOption:!0}).option(`credential-set-id`,{type:`string`,description:`Credential set identifier.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const qe={command:`get <credential-id>`,describe:`Get credential`,builder:Ke,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials get`,classification:{safeFlags:[`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials/${t[`credential-id`]==null?`<credential-id>`:encodeURIComponent(String(t[`credential-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``),"credential-id":String(t[`credential-id`]??``)},bodyKind:`none`});return}let i=await n(t),l=t.local?e:await a();t.accountId=l;let u=await c(`Loading`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.get({account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(u,{successLabel:`Loaded`})})};function Je(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets credentials list
|
|
111
111
|
|
|
@@ -113,7 +113,7 @@ Returns all credentials within a credential set.`).option(`credential-set-id`,{t
|
|
|
113
113
|
|
|
114
114
|
Replaces a credential. All fields must be provided.`).positional(`credential-id`,{type:`string`,description:`Credential identifier.`,demandOption:!0}).option(`credential-set-id`,{type:`string`,description:`Credential set identifier.`,demandOption:!0}).option(`location`,{type:`string`,description:`Where the credential is attached in outgoing requests.`,choices:[`header`,`cookie`]}).option(`location-name`,{type:`string`,description:`Name of the header or cookie where the credential is attached.
|
|
115
115
|
`}).option(`name`,{type:`string`,description:`Human-readable name.`}).option(`value`,{type:`string`,description:`The credential value. Write-only. Never returned in responses.
|
|
116
|
-
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Full replacement. Provide all fields.`})}const Ze={command:`update <credential-id>`,describe:`Update credential`,builder:Xe,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials update`,classification:{safeFlags:[`location`,`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials/${t[`credential-id`]==null?`<credential-id>`:encodeURIComponent(String(t[`credential-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``),"credential-id":String(t[`credential-id`]??``)},bodyKind:`json`,body:t.body===void 0?f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}):u(t.body)});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,t.body){let e=u(t.body),n=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.update({...e,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(n,{successLabel:`Updated`});return}t.location===void 0&&(t.location=await h(`location`,`Where the credential is attached in outgoing requests.`,[`header`,`cookie`])),t[`location-name`]===void 0&&(t[`location-name`]=await m(`location-name`,`Name of the header or cookie where the credential is attached. `)),t.name===void 0&&(t.name=await m(`name`,`Human-readable name.`)),t.value===void 0&&(t.value=await m(`value`,`The credential value. Write-only. Never returned in responses. `,{kind:`secret`}));let d=f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}),g=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.update({...d,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(g,{successLabel:`Updated`})})},Qe={command:`credentials`,describe:`Operations for vulnerability-scanner.credential-sets.credentials`,builder:e=>e.command(Ve).command(Ue).command(Ge).command(qe).command(Ye).command(Ze).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function $e(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets delete <credential-set-id>
|
|
116
|
+
`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Full replacement. Provide all fields.`})}const Ze={command:`update <credential-id>`,describe:`Update credential`,builder:Xe,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets credentials update`,classification:{safeFlags:[`location`,`dry-run`]}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets credentials update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}/credentials/${t[`credential-id`]==null?`<credential-id>`:encodeURIComponent(String(t[`credential-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``),"credential-id":String(t[`credential-id`]??``)},bodyKind:`json`,body:t.body===void 0?f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}):u(t.body),sensitiveBodyPaths:[[`value`]]});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,t.body){let e=u(t.body),n=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.update({...e,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(n,{successLabel:`Updated`});return}t.location===void 0&&(t.location=await h(`location`,`Where the credential is attached in outgoing requests.`,[`header`,`cookie`])),t[`location-name`]===void 0&&(t[`location-name`]=await m(`location-name`,`Name of the header or cookie where the credential is attached. `)),t.name===void 0&&(t.name=await m(`name`,`Human-readable name.`)),t.value===void 0&&(t.value=await m(`value`,`The credential value. Write-only. Never returned in responses. `,{kind:`secret`}));let d=f({location:p(t.location,`location`,`text`),location_name:p(t[`location-name`],`location-name`,`text`),name:p(t.name,`name`,`text`),value:p(t.value,`value`,`text`)}),g=await c(`Updating`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.credentials.update({...d,account_id:l,credential_set_id:t[`credential-set-id`],credential_id:t[`credential-id`]}));o(g,{successLabel:`Updated`})})},Qe={command:`credentials`,describe:`Operations for vulnerability-scanner.credential-sets.credentials`,builder:e=>e.command(Ve).command(Ue).command(Ge).command(qe).command(Ye).command(Ze).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function $e(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets delete <credential-set-id>
|
|
117
117
|
|
|
118
118
|
Deletes a credential set and all of its credentials.`).positional(`credential-set-id`,{type:`string`,description:`Credential set identifier.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const et={command:`delete <credential-set-id>`,describe:`Delete credential set`,builder:$e,handler:async t=>l({command:`api-security vulnerability-scanner credential-sets delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},t,async()=>{if(t.dryRun){let e=await r();s({command:`cf api-security vulnerability-scanner credential-sets delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/vuln_scanner/credential_sets/${t[`credential-set-id`]==null?`<credential-set-id>`:encodeURIComponent(String(t[`credential-set-id`]))}`,pathParams:{"credential-set-id":String(t[`credential-set-id`]??``)},bodyKind:`none`});return}let i=await n(t),l=t.local?e:await a();if(t.accountId=l,!await g({force:!!t.force,message:`This operation permanently deletes the credential set and every credential it contains.`})){process.stderr.write(`Aborted.
|
|
119
119
|
`);return}let u=await c(`Deleting`,async()=>i.apiSecurity.vulnerabilityScanner.credentialSets.delete({account_id:l,credential_set_id:t[`credential-set-id`]}));o(u,{successLabel:`Deleted`})})};function tt(e){return e.usage(`$0 api-security vulnerability-scanner credential-sets edit <credential-set-id>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{t as e}from"./local-DlT72Xpn.mjs";import{n as t}from"./auth-CGLsxbc6.mjs";import{a as n,i as r,t as i}from"./context-q7UaYK69.mjs";import{t as a}from"./output-BOe-3AQG.mjs";import{t as o}from"./dry-run-DRj2_uV3.mjs";import{t as s}from"./progress-BtkTVcHI.mjs";import{t as c}from"./run-BvHwWWUX.mjs";import"./telemetry-BsYO3nxG.mjs";import{n as l,t as u}from"./body-parser-DkHKPkJ7.mjs";import{n as d}from"./input-validation-D7z60HJH.mjs";import{i as f}from"./prompt-RlgRrmbm.mjs";function p(e){return e.usage(`$0 argo smart-routing count-zones-enabled-for-account
|
|
3
|
+
|
|
4
|
+
Returns the number of zones that have Argo Smart Routing enabled for the specified account.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const m={command:`count-zones-enabled-for-account`,describe:`Get count of zones with Argo Smart Routing enabled for account`,builder:p,handler:async r=>c({command:`argo smart-routing count-zones-enabled-for-account`,classification:{safeFlags:[`dry-run`]}},r,async()=>{if(r.dryRun){let e=await n();o({command:`cf argo smart-routing count-zones-enabled-for-account`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/argo/count_zones_enabled`,pathParams:{},bodyKind:`none`});return}let c=await t(r),l=r.local?e:await i();r.accountId=l;let u=await s(`Loading`,async()=>c.argo.smartRouting.countZonesEnabledForAccount({account_id:l}));a(u,{successLabel:`Loaded`})})};function h(e){return e.usage(`$0 argo smart-routing count-zones-enabled-for-user
|
|
5
|
+
|
|
6
|
+
Returns the number of zones that have Argo Smart Routing enabled for the authenticated user.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const g={command:`count-zones-enabled-for-user`,describe:`Get count of zones with Argo Smart Routing enabled for user`,builder:h,handler:async e=>c({command:`argo smart-routing count-zones-enabled-for-user`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){o({command:`cf argo smart-routing count-zones-enabled-for-user`,method:`GET`,url:`https://api.cloudflare.com/client/v4/user/argo/count_zones_enabled`,pathParams:{},bodyKind:`none`});return}let n=await t(e),r=await s(`Loading`,async()=>n.argo.smartRouting.countZonesEnabledForUser());a(r,{successLabel:`Loaded`})})};function _(e){return e.usage(`$0 argo smart-routing edit
|
|
7
|
+
|
|
8
|
+
Configures the value of the Argo Smart Routing enablement setting.`).option(`value`,{type:`string`,description:`Specifies the enablement value of Argo Smart Routing.`,choices:[`on`,`off`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Configures the enablement of Argo Smart Routing.`})}const v={command:`edit`,describe:`Patch Argo Smart Routing setting`,builder:_,handler:async e=>c({command:`argo smart-routing edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){o({command:`cf argo smart-routing edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/argo/smart_routing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):l(e.body)});return}let n=await t(e),i=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=i,e.body){let t=l(e.body),r=await s(`Updating`,async()=>n.argo.smartRouting.edit({...t,zone_id:i}));a(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await f(`value`,`Specifies the enablement value of Argo Smart Routing.`,[`on`,`off`]));let c=u({value:d(e.value,`value`,`text`)}),p=await s(`Updating`,async()=>n.argo.smartRouting.edit({...c,zone_id:i}));a(p,{successLabel:`Updated`})})};function y(e){return e.usage(`$0 argo smart-routing get
|
|
9
|
+
|
|
10
|
+
Retrieves the value of Argo Smart Routing enablement setting.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const b={command:`get`,describe:`Get Argo Smart Routing setting`,builder:y,handler:async e=>c({command:`argo smart-routing get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){o({command:`cf argo smart-routing get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/argo/smart_routing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),i=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=i;let c=await s(`Loading`,async()=>n.argo.smartRouting.get({zone_id:i}));a(c,{successLabel:`Loaded`})})},x={command:`smart-routing`,describe:`Route traffic through the fastest network paths to your origin using real-time latency data`,builder:e=>e.command(m).command(g).command(v).command(b).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function S(e){return e.usage(`$0 argo tiered-caching edit
|
|
11
|
+
|
|
12
|
+
Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.`).option(`value`,{type:`string`,description:`Enables Tiered Caching.`,choices:[`on`,`off`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Update enablement of Tiered Caching.`})}const C={command:`edit`,describe:`Patch Tiered Caching setting`,builder:S,handler:async e=>c({command:`argo tiered-caching edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){o({command:`cf argo tiered-caching edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/argo/tiered_caching`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):l(e.body)});return}let n=await t(e),i=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=i,e.body){let t=l(e.body),r=await s(`Updating`,async()=>n.argo.tieredCaching.edit({...t,zone_id:i}));a(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await f(`value`,`Enables Tiered Caching.`,[`on`,`off`]));let c=u({value:d(e.value,`value`,`text`)}),p=await s(`Updating`,async()=>n.argo.tieredCaching.edit({...c,zone_id:i}));a(p,{successLabel:`Updated`})})};function w(e){return e.usage(`$0 argo tiered-caching get
|
|
13
|
+
|
|
14
|
+
Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const T={command:`get`,describe:`Get Tiered Caching setting`,builder:w,handler:async e=>c({command:`argo tiered-caching get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){o({command:`cf argo tiered-caching get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/argo/tiered_caching`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),i=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=i;let c=await s(`Loading`,async()=>n.argo.tieredCaching.get({zone_id:i}));a(c,{successLabel:`Loaded`})})},E={command:`tiered-caching`,describe:`Reduce origin load by having upper-tier data centers serve cache misses before reaching your origin`,builder:e=>e.command(C).command(T).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},D={command:`argo`,describe:`Network optimization features that speed up and improve reliability of traffic to your origins`,builder:e=>e.command(x).command(E).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{D as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-DlT72Xpn.mjs";import{n as t}from"./auth-CGLsxbc6.mjs";import{a as n,t as r}from"./context-q7UaYK69.mjs";import{t as i}from"./output-BOe-3AQG.mjs";import{t as a}from"./dry-run-DRj2_uV3.mjs";import{t as o}from"./progress-BtkTVcHI.mjs";import{t as s}from"./run-BvHwWWUX.mjs";import"./telemetry-BsYO3nxG.mjs";import{n as c,t as l}from"./body-parser-DkHKPkJ7.mjs";import{n as u}from"./input-validation-D7z60HJH.mjs";import{a as d,n as f}from"./prompt-RlgRrmbm.mjs";import{t as p}from"./cli-types-9oYmRTHJ.mjs";import{n as m,t as h}from"./raw-fetch-B4NvWuZD.mjs";function ee(e){return e.usage(`$0 artifacts namespaces create
|
|
3
3
|
|
|
4
4
|
Creates an empty Artifacts namespace for an account.`).option(`jurisdiction`,{type:`string`,description:`The jurisdiction field`,choices:[`unrestricted`,`us`,`eu`,`fedramp`],default:`unrestricted`}).option(`namespace`,{type:`string`,description:`The namespace field`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const g={command:`create`,describe:`Create a namespace`,builder:ee,handler:async f=>s({command:`artifacts namespaces create`,classification:{safeFlags:[`jurisdiction`,`dry-run`]}},f,async()=>{if(f.dryRun){let e=await n();a({command:`cf artifacts namespaces create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/artifacts/namespaces`,pathParams:{},bodyKind:`json`,body:f.body===void 0?l({jurisdiction:u(f.jurisdiction,`jurisdiction`,`text`),namespace:u(f.namespace,`namespace`,`text`)}):c(f.body)});return}let s=await t(f),p=f.local?e:await r();if(f.accountId=p,f.body){let e=c(f.body),t=await o(`Creating`,async()=>s.artifacts.namespaces.create({...e,account_id:p}));i(t,{successLabel:`Created`});return}f.namespace===void 0&&(f.namespace=await d(`namespace`,`The namespace field`));let m=l({jurisdiction:u(f.jurisdiction,`jurisdiction`,`text`),namespace:u(f.namespace,`namespace`,`text`)}),h=await o(`Creating`,async()=>s.artifacts.namespaces.create({...m,account_id:p}));i(h,{successLabel:`Created`})})};function _(e){return e.usage(`$0 artifacts namespaces delete <namespace>
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-DlT72Xpn.mjs";import{n as t}from"./auth-CGLsxbc6.mjs";import{a as n,t as r}from"./context-q7UaYK69.mjs";import{t as i}from"./output-BOe-3AQG.mjs";import{t as a}from"./dry-run-DRj2_uV3.mjs";import{t as o}from"./progress-BtkTVcHI.mjs";import{t as s}from"./run-BvHwWWUX.mjs";import"./telemetry-BsYO3nxG.mjs";import{t as c}from"./cli-types-9oYmRTHJ.mjs";function l(e){return e.usage(`$0 audit-logs list
|
|
3
3
|
|
|
4
4
|
Gets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change.`).option(`id`,{type:`string`,description:`Finds a specific log by its ID.`}).option(`export`,{type:`boolean`,description:`Indicates that this request is an export of logs in CSV format.`}).option(`action-type`,{type:`string`,description:`Filters by the action type.`}).option(`actor-ip`,{type:`string`,description:`Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range.`}).option(`actor-email`,{type:`string`,description:`Filters by the email address of the actor that made the change.`}).option(`since`,{type:`string`,description:"Limits the returned results to logs newer than the specified date. A `full-date` that conforms to RFC3339."}).option(`before`,{type:`string`,description:"Limits the returned results to logs older than the specified date. A `full-date` that conforms to RFC3339."}).option(`zone-name`,{type:`string`,description:`Filters by the name of the zone associated to the change.`}).option(`direction`,{type:`string`,description:`Changes the direction of the chronological sorting.`,choices:[`desc`,`asc`]}).option(`per-page`,{type:`number`,description:`Sets the number of results to return per page.`}).option(`page`,{type:`number`,description:`Defines which page of results to return.`}).option(`hide-user-logs`,{type:`boolean`,description:`Indicates whether or not to hide user level audit logs.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const u={command:`list`,describe:`Get account audit logs`,builder:c(l),handler:async c=>s({command:`audit-logs list`,classification:{safeFlags:[`export`,`direction`,`hide-user-logs`,`dry-run`]}},c,async()=>{let s={id:c.id,export:c.export,"action.type":c[`action-type`],"actor.ip":c[`actor-ip`],"actor.email":c[`actor-email`],since:c.since,before:c.before,"zone.name":c[`zone-name`],direction:c.direction,per_page:c[`per-page`],page:c.page,hide_user_logs:c[`hide-user-logs`]};if(c.dryRun){let e=await n();a({command:`cf audit-logs list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/audit_logs`,pathParams:{},query:s,bodyKind:`none`});return}let l=await t(c),u=c.local?e:await r();c.accountId=u;let d=await o(`Loading`,async()=>l.auditLogs.list({account_id:u,...s}));i(d,{successLabel:`Loaded`})})},d={command:`audit-logs`,describe:`audit-logs`,builder:e=>e.command(u).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{d as default};
|