cloudflare 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +69 -0
- package/package.json +1 -1
- package/resources/addressing/prefixes/prefixes.d.ts +16 -8
- package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
- package/resources/ai/ai.d.ts +4 -0
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +5 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +5 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/index.d.ts +1 -0
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +4 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/to-markdown.d.ts +29 -0
- package/resources/ai/to-markdown.d.ts.map +1 -0
- package/resources/ai/to-markdown.js +27 -0
- package/resources/ai/to-markdown.js.map +1 -0
- package/resources/ai/to-markdown.mjs +22 -0
- package/resources/ai/to-markdown.mjs.map +1 -0
- package/resources/ai-gateway/ai-gateway.d.ts +204 -12
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
- package/resources/ai-gateway/ai-gateway.js.map +1 -1
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
- package/resources/ai-gateway/logs.d.ts +2 -2
- package/resources/ai-gateway/logs.d.ts.map +1 -1
- package/resources/ai-gateway/logs.js.map +1 -1
- package/resources/ai-gateway/logs.mjs.map +1 -1
- package/resources/alerting/destinations/pagerduty.d.ts +9 -21
- package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
- package/resources/alerting/destinations/pagerduty.js.map +1 -1
- package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
- package/resources/alerting/destinations/webhooks.d.ts +9 -21
- package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
- package/resources/alerting/destinations/webhooks.js.map +1 -1
- package/resources/alerting/destinations/webhooks.mjs.map +1 -1
- package/resources/alerting/policies.d.ts +10 -3
- package/resources/alerting/policies.d.ts.map +1 -1
- package/resources/alerting/policies.js.map +1 -1
- package/resources/alerting/policies.mjs.map +1 -1
- package/resources/bot-management.d.ts +49 -0
- package/resources/bot-management.d.ts.map +1 -1
- package/resources/bot-management.js +1 -0
- package/resources/bot-management.js.map +1 -1
- package/resources/bot-management.mjs +1 -0
- package/resources/bot-management.mjs.map +1 -1
- package/resources/browser-rendering/json.d.ts +3 -3
- package/resources/browser-rendering/json.d.ts.map +1 -1
- package/resources/browser-rendering/links.d.ts +4 -0
- package/resources/browser-rendering/links.d.ts.map +1 -1
- package/resources/calls/turn.d.ts.map +1 -1
- package/resources/calls/turn.js +1 -1
- package/resources/calls/turn.js.map +1 -1
- package/resources/calls/turn.mjs +1 -1
- package/resources/calls/turn.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.d.ts +0 -47
- package/resources/cloudforce-one/threat-events/crons.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.js +0 -30
- package/resources/cloudforce-one/threat-events/crons.js.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.mjs +0 -30
- package/resources/cloudforce-one/threat-events/crons.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts +2 -2
- package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.d.ts +0 -120
- package/resources/cloudforce-one/threat-events/datasets/health.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.js +0 -16
- package/resources/cloudforce-one/threat-events/datasets/health.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.mjs +0 -16
- package/resources/cloudforce-one/threat-events/datasets/health.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/index.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/index.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/index.js.map +1 -1
- package/resources/cloudforce-one/threat-events/index.mjs +1 -1
- package/resources/cloudforce-one/threat-events/index.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/tags.d.ts +79 -4
- package/resources/cloudforce-one/threat-events/tags.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/tags.js +2 -2
- package/resources/cloudforce-one/threat-events/tags.mjs +2 -2
- package/resources/cloudforce-one/threat-events/threat-events.d.ts +27 -4
- package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.js +2 -0
- package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.mjs +2 -0
- package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
- package/resources/dns/dns.d.ts +4 -4
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js +1 -0
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs +2 -1
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/index.d.ts +2 -2
- package/resources/dns/index.d.ts.map +1 -1
- package/resources/dns/index.js +2 -1
- package/resources/dns/index.js.map +1 -1
- package/resources/dns/index.mjs +1 -1
- package/resources/dns/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +174 -5
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +60 -6
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +59 -6
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dns/settings/account/account.d.ts +48 -45
- package/resources/dns/settings/account/account.d.ts.map +1 -1
- package/resources/dns/settings/account/account.js.map +1 -1
- package/resources/dns/settings/account/account.mjs.map +1 -1
- package/resources/dns/settings/index.d.ts +1 -1
- package/resources/dns/settings/index.d.ts.map +1 -1
- package/resources/dns/settings/index.js.map +1 -1
- package/resources/dns/settings/index.mjs.map +1 -1
- package/resources/dns/settings/settings.d.ts +0 -87
- package/resources/dns/settings/settings.d.ts.map +1 -1
- package/resources/dns/settings/settings.js.map +1 -1
- package/resources/dns/settings/settings.mjs.map +1 -1
- package/resources/dns/settings/zone.d.ts +49 -46
- package/resources/dns/settings/zone.d.ts.map +1 -1
- package/resources/dns-firewall/dns-firewall.d.ts +156 -48
- package/resources/dns-firewall/dns-firewall.d.ts.map +1 -1
- package/resources/dns-firewall/dns-firewall.js.map +1 -1
- package/resources/dns-firewall/dns-firewall.mjs.map +1 -1
- package/resources/email-routing/dns.d.ts +2 -4
- package/resources/email-routing/dns.d.ts.map +1 -1
- package/resources/email-routing/dns.js +0 -2
- package/resources/email-routing/dns.js.map +1 -1
- package/resources/email-routing/dns.mjs +0 -2
- package/resources/email-routing/dns.mjs.map +1 -1
- package/resources/email-security/settings/domains.d.ts +6 -0
- package/resources/email-security/settings/domains.d.ts.map +1 -1
- package/resources/email-security/settings/domains.js.map +1 -1
- package/resources/email-security/settings/domains.mjs.map +1 -1
- package/resources/images/v1/stats.d.ts +3 -1
- package/resources/images/v1/stats.d.ts.map +1 -1
- package/resources/images/v1/stats.js +3 -1
- package/resources/images/v1/stats.js.map +1 -1
- package/resources/images/v1/stats.mjs +3 -1
- package/resources/images/v1/stats.mjs.map +1 -1
- package/resources/intel/indicator-feeds/downloads.d.ts +0 -36
- package/resources/intel/indicator-feeds/downloads.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/downloads.js +0 -15
- package/resources/intel/indicator-feeds/downloads.js.map +1 -1
- package/resources/intel/indicator-feeds/downloads.mjs +0 -15
- package/resources/intel/indicator-feeds/downloads.mjs.map +1 -1
- package/resources/intel/indicator-feeds/index.d.ts +1 -1
- package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/index.js.map +1 -1
- package/resources/intel/indicator-feeds/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +2 -2
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +1 -0
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +4 -1
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +1 -0
- package/resources/load-balancers/index.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +4 -0
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +5 -0
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +5 -0
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitor-groups.d.ts +313 -0
- package/resources/load-balancers/monitor-groups.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups.js +153 -0
- package/resources/load-balancers/monitor-groups.js.map +1 -0
- package/resources/load-balancers/monitor-groups.mjs +148 -0
- package/resources/load-balancers/monitor-groups.mjs.map +1 -0
- package/resources/load-balancers/pools/pools.d.ts +20 -0
- package/resources/load-balancers/pools/pools.d.ts.map +1 -1
- package/resources/load-balancers/pools/pools.js.map +1 -1
- package/resources/load-balancers/pools/pools.mjs.map +1 -1
- package/resources/logs/rayid.d.ts +1 -1
- package/resources/logs/received/fields.d.ts +1 -1
- package/resources/logs/received/received.d.ts +1 -1
- package/resources/magic-transit/cf-interconnects.d.ts +25 -0
- package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.d.ts +40 -0
- package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.d.ts +124 -0
- package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/pcaps/download.d.ts +1 -1
- package/resources/magic-transit/pcaps/ownership.d.ts +4 -4
- package/resources/magic-transit/pcaps/pcaps.d.ts +6 -6
- package/resources/magic-transit/pcaps/pcaps.js +1 -1
- package/resources/magic-transit/pcaps/pcaps.mjs +1 -1
- package/resources/page-rules.d.ts +20 -4
- package/resources/page-rules.d.ts.map +1 -1
- package/resources/page-rules.js +20 -4
- package/resources/page-rules.js.map +1 -1
- package/resources/page-rules.mjs +20 -4
- package/resources/page-rules.mjs.map +1 -1
- package/resources/page-shield/connections.d.ts +1 -1
- package/resources/page-shield/cookies.d.ts +1 -1
- package/resources/page-shield/scripts.d.ts +1 -1
- package/resources/radar/ai/inference/summary.d.ts +2 -10
- package/resources/radar/ai/inference/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/summary.js.map +1 -1
- package/resources/radar/ai/inference/summary.mjs.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.d.ts +2 -10
- package/resources/radar/ai/inference/timeseries-groups/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.js.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.mjs.map +1 -1
- package/resources/radar/entities/asns.d.ts +56 -1
- package/resources/radar/entities/asns.d.ts.map +1 -1
- package/resources/radar/entities/asns.js +6 -0
- package/resources/radar/entities/asns.js.map +1 -1
- package/resources/radar/entities/asns.mjs +6 -0
- package/resources/radar/entities/asns.mjs.map +1 -1
- package/resources/radar/entities/entities.d.ts +2 -2
- package/resources/radar/entities/entities.d.ts.map +1 -1
- package/resources/radar/entities/entities.js.map +1 -1
- package/resources/radar/entities/entities.mjs.map +1 -1
- package/resources/radar/entities/index.d.ts +1 -1
- package/resources/radar/entities/index.d.ts.map +1 -1
- package/resources/radar/entities/index.js.map +1 -1
- package/resources/radar/entities/index.mjs.map +1 -1
- package/resources/radar/http/ases/ases.d.ts +7 -0
- package/resources/radar/http/ases/ases.d.ts.map +1 -1
- package/resources/radar/http/ases/ases.js.map +1 -1
- package/resources/radar/http/ases/ases.mjs.map +1 -1
- package/resources/radar/http/ases/bot-class.d.ts +7 -0
- package/resources/radar/http/ases/bot-class.d.ts.map +1 -1
- package/resources/radar/http/ases/browser-family.d.ts +7 -0
- package/resources/radar/http/ases/browser-family.d.ts.map +1 -1
- package/resources/radar/http/ases/device-type.d.ts +7 -0
- package/resources/radar/http/ases/device-type.d.ts.map +1 -1
- package/resources/radar/http/ases/http-method.d.ts +7 -0
- package/resources/radar/http/ases/http-method.d.ts.map +1 -1
- package/resources/radar/http/ases/http-protocol.d.ts +7 -0
- package/resources/radar/http/ases/http-protocol.d.ts.map +1 -1
- package/resources/radar/http/ases/ip-version.d.ts +7 -0
- package/resources/radar/http/ases/ip-version.d.ts.map +1 -1
- package/resources/radar/http/ases/os.d.ts +7 -0
- package/resources/radar/http/ases/os.d.ts.map +1 -1
- package/resources/radar/http/ases/tls-version.d.ts +7 -0
- package/resources/radar/http/ases/tls-version.d.ts.map +1 -1
- package/resources/radar/http/http.d.ts +7 -0
- package/resources/radar/http/http.d.ts.map +1 -1
- package/resources/radar/http/http.js.map +1 -1
- package/resources/radar/http/http.mjs.map +1 -1
- package/resources/radar/http/locations/bot-class.d.ts +7 -0
- package/resources/radar/http/locations/bot-class.d.ts.map +1 -1
- package/resources/radar/http/locations/browser-family.d.ts +7 -0
- package/resources/radar/http/locations/browser-family.d.ts.map +1 -1
- package/resources/radar/http/locations/device-type.d.ts +7 -0
- package/resources/radar/http/locations/device-type.d.ts.map +1 -1
- package/resources/radar/http/locations/http-method.d.ts +7 -0
- package/resources/radar/http/locations/http-method.d.ts.map +1 -1
- package/resources/radar/http/locations/http-protocol.d.ts +7 -0
- package/resources/radar/http/locations/http-protocol.d.ts.map +1 -1
- package/resources/radar/http/locations/ip-version.d.ts +7 -0
- package/resources/radar/http/locations/ip-version.d.ts.map +1 -1
- package/resources/radar/http/locations/locations.d.ts +7 -0
- package/resources/radar/http/locations/locations.d.ts.map +1 -1
- package/resources/radar/http/locations/locations.js.map +1 -1
- package/resources/radar/http/locations/locations.mjs.map +1 -1
- package/resources/radar/http/locations/os.d.ts +7 -0
- package/resources/radar/http/locations/os.d.ts.map +1 -1
- package/resources/radar/http/locations/tls-version.d.ts +7 -0
- package/resources/radar/http/locations/tls-version.d.ts.map +1 -1
- package/resources/radar/http/summary.d.ts +64 -38
- package/resources/radar/http/summary.d.ts.map +1 -1
- package/resources/radar/http/summary.js.map +1 -1
- package/resources/radar/http/summary.mjs.map +1 -1
- package/resources/radar/http/timeseries-groups.d.ts +80 -50
- package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/http/timeseries-groups.js.map +1 -1
- package/resources/radar/http/timeseries-groups.mjs.map +1 -1
- package/resources/radar/http/top.d.ts +14 -0
- package/resources/radar/http/top.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/summary.d.ts +2 -10
- package/resources/radar/leaked-credentials/summary.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/summary.js.map +1 -1
- package/resources/radar/leaked-credentials/summary.mjs.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.d.ts +2 -10
- package/resources/radar/leaked-credentials/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.js.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.mjs.map +1 -1
- package/resources/radar/netflows/netflows.d.ts +15 -4
- package/resources/radar/netflows/netflows.d.ts.map +1 -1
- package/resources/radar/netflows/netflows.js.map +1 -1
- package/resources/radar/netflows/netflows.mjs.map +1 -1
- package/resources/radar/netflows/top.d.ts +14 -0
- package/resources/radar/netflows/top.d.ts.map +1 -1
- package/resources/radar/search.d.ts +2 -2
- package/resources/radar/search.d.ts.map +1 -1
- package/resources/request-tracers/traces.d.ts +1 -1
- package/resources/resource-sharing/recipients.d.ts +77 -1
- package/resources/resource-sharing/recipients.d.ts.map +1 -1
- package/resources/resource-sharing/recipients.js +5 -2
- package/resources/resource-sharing/recipients.js.map +1 -1
- package/resources/resource-sharing/recipients.mjs +5 -2
- package/resources/resource-sharing/recipients.mjs.map +1 -1
- package/resources/resource-sharing/resource-sharing.d.ts +347 -2
- package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.js +5 -2
- package/resources/resource-sharing/resource-sharing.js.map +1 -1
- package/resources/resource-sharing/resource-sharing.mjs +5 -2
- package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
- package/resources/resource-sharing/resources.d.ts +7 -7
- package/resources/resource-sharing/resources.d.ts.map +1 -1
- package/resources/resource-sharing/resources.js.map +1 -1
- package/resources/resource-sharing/resources.mjs.map +1 -1
- package/resources/rules/lists/items.d.ts +9 -0
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js +9 -0
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs +9 -0
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/snippets/snippets.d.ts +1 -4
- package/resources/snippets/snippets.d.ts.map +1 -1
- package/resources/snippets/snippets.js.map +1 -1
- package/resources/snippets/snippets.mjs.map +1 -1
- package/resources/stream/downloads.d.ts +4 -2
- package/resources/stream/downloads.d.ts.map +1 -1
- package/resources/stream/downloads.js +4 -2
- package/resources/stream/downloads.js.map +1 -1
- package/resources/stream/downloads.mjs +4 -2
- package/resources/stream/downloads.mjs.map +1 -1
- package/resources/workers/beta/beta.d.ts +2 -2
- package/resources/workers/beta/beta.d.ts.map +1 -1
- package/resources/workers/beta/beta.js.map +1 -1
- package/resources/workers/beta/beta.mjs.map +1 -1
- package/resources/workers/beta/index.d.ts +1 -1
- package/resources/workers/beta/index.d.ts.map +1 -1
- package/resources/workers/beta/index.js.map +1 -1
- package/resources/workers/beta/index.mjs.map +1 -1
- package/resources/workers/beta/workers/index.d.ts +1 -1
- package/resources/workers/beta/workers/index.d.ts.map +1 -1
- package/resources/workers/beta/workers/index.js.map +1 -1
- package/resources/workers/beta/workers/index.mjs.map +1 -1
- package/resources/workers/beta/workers/versions.d.ts +276 -17
- package/resources/workers/beta/workers/versions.d.ts.map +1 -1
- package/resources/workers/beta/workers/versions.js +8 -7
- package/resources/workers/beta/workers/versions.js.map +1 -1
- package/resources/workers/beta/workers/versions.mjs +8 -7
- package/resources/workers/beta/workers/versions.mjs.map +1 -1
- package/resources/workers/beta/workers/workers.d.ts +133 -18
- package/resources/workers/beta/workers/workers.d.ts.map +1 -1
- package/resources/workers/beta/workers/workers.js +35 -4
- package/resources/workers/beta/workers/workers.js.map +1 -1
- package/resources/workers/beta/workers/workers.mjs +35 -4
- package/resources/workers/beta/workers/workers.mjs.map +1 -1
- package/resources/workers/index.d.ts +1 -1
- package/resources/workers/index.d.ts.map +1 -1
- package/resources/workers/index.js.map +1 -1
- package/resources/workers/index.mjs.map +1 -1
- package/resources/workers/scripts/index.d.ts +1 -1
- package/resources/workers/scripts/index.d.ts.map +1 -1
- package/resources/workers/scripts/index.js.map +1 -1
- package/resources/workers/scripts/index.mjs.map +1 -1
- package/resources/workers/scripts/script-and-version-settings.d.ts +354 -15
- package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +206 -10
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js +17 -0
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs +17 -0
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/secrets.d.ts +10 -2
- package/resources/workers/scripts/secrets.d.ts.map +1 -1
- package/resources/workers/scripts/secrets.js +10 -4
- package/resources/workers/scripts/secrets.js.map +1 -1
- package/resources/workers/scripts/secrets.mjs +10 -4
- package/resources/workers/scripts/secrets.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +12 -0
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers/scripts/versions.d.ts +327 -12
- package/resources/workers/scripts/versions.d.ts.map +1 -1
- package/resources/workers/scripts/versions.js.map +1 -1
- package/resources/workers/scripts/versions.mjs.map +1 -1
- package/resources/workers/workers.d.ts +2 -2
- package/resources/workers/workers.d.ts.map +1 -1
- package/resources/workers/workers.js.map +1 -1
- package/resources/workers/workers.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +109 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +121 -9
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +10 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +354 -15
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +2 -8
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs.map +1 -1
- package/resources/workflows/instances/instances.d.ts +5 -0
- package/resources/workflows/instances/instances.d.ts.map +1 -1
- package/resources/workflows/instances/instances.js.map +1 -1
- package/resources/workflows/instances/instances.mjs.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +0 -84
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.js.map +1 -1
- package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
- package/resources/zero-trust/access/bookmarks.d.ts +0 -2
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.d.ts +0 -2
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
- package/resources/zero-trust/access/custom-pages.d.ts +0 -20
- package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
- package/resources/zero-trust/access/custom-pages.js.map +1 -1
- package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
- package/resources/zero-trust/access/groups.d.ts +0 -8
- package/resources/zero-trust/access/groups.d.ts.map +1 -1
- package/resources/zero-trust/access/groups.js.map +1 -1
- package/resources/zero-trust/access/groups.mjs.map +1 -1
- package/resources/zero-trust/access/service-tokens.d.ts +37 -8
- package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
- package/resources/zero-trust/access/service-tokens.js +5 -2
- package/resources/zero-trust/access/service-tokens.js.map +1 -1
- package/resources/zero-trust/access/service-tokens.mjs +5 -2
- package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
- package/resources/zero-trust/access/tags.d.ts +0 -6
- package/resources/zero-trust/access/tags.d.ts.map +1 -1
- package/resources/zero-trust/access/tags.js.map +1 -1
- package/resources/zero-trust/access/tags.mjs.map +1 -1
- package/resources/zero-trust/devices/devices_.d.ts +94 -1
- package/resources/zero-trust/devices/devices_.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices_.js +5 -2
- package/resources/zero-trust/devices/devices_.js.map +1 -1
- package/resources/zero-trust/devices/devices_.mjs +5 -2
- package/resources/zero-trust/devices/devices_.mjs.map +1 -1
- package/resources/zero-trust/devices/registrations.d.ts +70 -1
- package/resources/zero-trust/devices/registrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/registrations.js +5 -2
- package/resources/zero-trust/devices/registrations.js.map +1 -1
- package/resources/zero-trust/devices/registrations.mjs +5 -2
- package/resources/zero-trust/devices/registrations.mjs.map +1 -1
- package/resources/zero-trust/gateway/app-types.d.ts +10 -10
- package/resources/zero-trust/gateway/app-types.js +1 -1
- package/resources/zero-trust/gateway/app-types.mjs +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +11 -11
- package/resources/zero-trust/gateway/audit-ssh-settings.js +5 -5
- package/resources/zero-trust/gateway/audit-ssh-settings.mjs +5 -5
- package/resources/zero-trust/gateway/categories.d.ts +17 -19
- package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
- package/resources/zero-trust/gateway/categories.js +1 -1
- package/resources/zero-trust/gateway/categories.js.map +1 -1
- package/resources/zero-trust/gateway/categories.mjs +1 -1
- package/resources/zero-trust/gateway/categories.mjs.map +1 -1
- package/resources/zero-trust/gateway/certificates.d.ts +84 -83
- package/resources/zero-trust/gateway/certificates.d.ts.map +1 -1
- package/resources/zero-trust/gateway/certificates.js +7 -7
- package/resources/zero-trust/gateway/certificates.js.map +1 -1
- package/resources/zero-trust/gateway/certificates.mjs +7 -7
- package/resources/zero-trust/gateway/certificates.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.d.ts +212 -192
- package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.js +7 -7
- package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.mjs +7 -7
- package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.d.ts +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.js +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.mjs +1 -1
- package/resources/zero-trust/gateway/gateway.d.ts +8 -8
- package/resources/zero-trust/gateway/gateway.js +2 -2
- package/resources/zero-trust/gateway/gateway.mjs +2 -2
- package/resources/zero-trust/gateway/lists/items.d.ts +2 -2
- package/resources/zero-trust/gateway/lists/items.js +1 -1
- package/resources/zero-trust/gateway/lists/items.mjs +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +32 -32
- package/resources/zero-trust/gateway/lists/lists.js +3 -3
- package/resources/zero-trust/gateway/lists/lists.mjs +3 -3
- package/resources/zero-trust/gateway/locations.d.ts +84 -98
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js +5 -5
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs +5 -5
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/logging.d.ts +60 -23
- package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
- package/resources/zero-trust/gateway/logging.js +2 -2
- package/resources/zero-trust/gateway/logging.mjs +2 -2
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +16 -16
- package/resources/zero-trust/gateway/proxy-endpoints.js +5 -5
- package/resources/zero-trust/gateway/proxy-endpoints.mjs +5 -5
- package/resources/zero-trust/gateway/rules.d.ts +514 -439
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/gateway/rules.js +8 -10
- package/resources/zero-trust/gateway/rules.js.map +1 -1
- package/resources/zero-trust/gateway/rules.mjs +8 -10
- package/resources/zero-trust/gateway/rules.mjs.map +1 -1
- package/resources/zero-trust/networks/hostname-routes.d.ts +188 -0
- package/resources/zero-trust/networks/hostname-routes.d.ts.map +1 -0
- package/resources/zero-trust/networks/hostname-routes.js +100 -0
- package/resources/zero-trust/networks/hostname-routes.js.map +1 -0
- package/resources/zero-trust/networks/hostname-routes.mjs +95 -0
- package/resources/zero-trust/networks/hostname-routes.mjs.map +1 -0
- package/resources/zero-trust/networks/index.d.ts +1 -0
- package/resources/zero-trust/networks/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/index.js +4 -1
- package/resources/zero-trust/networks/index.js.map +1 -1
- package/resources/zero-trust/networks/index.mjs +1 -0
- package/resources/zero-trust/networks/index.mjs.map +1 -1
- package/resources/zero-trust/networks/networks.d.ts +4 -0
- package/resources/zero-trust/networks/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/networks.js +5 -0
- package/resources/zero-trust/networks/networks.js.map +1 -1
- package/resources/zero-trust/networks/networks.mjs +5 -0
- package/resources/zero-trust/networks/networks.mjs.map +1 -1
- package/resources/zero-trust/organizations/doh.d.ts +0 -6
- package/resources/zero-trust/organizations/doh.d.ts.map +1 -1
- package/resources/zero-trust/organizations/organizations.d.ts +0 -2
- package/resources/zero-trust/organizations/organizations.d.ts.map +1 -1
- package/resources/zero-trust/organizations/organizations.js.map +1 -1
- package/resources/zero-trust/organizations/organizations.mjs.map +1 -1
- package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts +0 -24
- package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts.map +1 -1
- package/src/resources/addressing/prefixes/prefixes.ts +16 -8
- package/src/resources/ai/ai.ts +17 -0
- package/src/resources/ai/index.ts +6 -0
- package/src/resources/ai/to-markdown.ts +61 -0
- package/src/resources/ai-gateway/ai-gateway.ts +282 -12
- package/src/resources/ai-gateway/logs.ts +4 -2
- package/src/resources/alerting/destinations/pagerduty.ts +12 -25
- package/src/resources/alerting/destinations/webhooks.ts +12 -25
- package/src/resources/alerting/policies.ts +14 -3
- package/src/resources/bot-management.ts +61 -0
- package/src/resources/browser-rendering/json.ts +1 -1
- package/src/resources/browser-rendering/links.ts +5 -0
- package/src/resources/calls/turn.ts +5 -1
- package/src/resources/cloudforce-one/threat-events/crons.ts +1 -67
- package/src/resources/cloudforce-one/threat-events/datasets/datasets.ts +2 -6
- package/src/resources/cloudforce-one/threat-events/datasets/health.ts +1 -175
- package/src/resources/cloudforce-one/threat-events/datasets/index.ts +1 -1
- package/src/resources/cloudforce-one/threat-events/index.ts +1 -7
- package/src/resources/cloudforce-one/threat-events/tags.ts +110 -5
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +45 -10
- package/src/resources/dns/dns.ts +15 -2
- package/src/resources/dns/index.ts +7 -1
- package/src/resources/dns/records.ts +267 -8
- package/src/resources/dns/settings/account/account.ts +48 -45
- package/src/resources/dns/settings/index.ts +1 -1
- package/src/resources/dns/settings/settings.ts +0 -104
- package/src/resources/dns/settings/zone.ts +49 -46
- package/src/resources/dns-firewall/dns-firewall.ts +156 -48
- package/src/resources/email-routing/dns.ts +2 -4
- package/src/resources/email-security/settings/domains.ts +12 -0
- package/src/resources/images/v1/stats.ts +3 -1
- package/src/resources/intel/indicator-feeds/downloads.ts +1 -55
- package/src/resources/intel/indicator-feeds/index.ts +1 -1
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +2 -6
- package/src/resources/load-balancers/index.ts +11 -0
- package/src/resources/load-balancers/load-balancers.ts +27 -0
- package/src/resources/load-balancers/monitor-groups.ts +436 -0
- package/src/resources/load-balancers/pools/pools.ts +24 -0
- package/src/resources/logs/rayid.ts +1 -1
- package/src/resources/logs/received/fields.ts +1 -1
- package/src/resources/logs/received/received.ts +1 -1
- package/src/resources/magic-transit/cf-interconnects.ts +30 -0
- package/src/resources/magic-transit/gre-tunnels.ts +48 -0
- package/src/resources/magic-transit/ipsec-tunnels.ts +144 -0
- package/src/resources/magic-transit/pcaps/download.ts +1 -1
- package/src/resources/magic-transit/pcaps/ownership.ts +4 -4
- package/src/resources/magic-transit/pcaps/pcaps.ts +6 -6
- package/src/resources/page-rules.ts +20 -4
- package/src/resources/page-shield/connections.ts +1 -1
- package/src/resources/page-shield/cookies.ts +1 -1
- package/src/resources/page-shield/scripts.ts +1 -1
- package/src/resources/radar/ai/inference/summary.ts +2 -10
- package/src/resources/radar/ai/inference/timeseries-groups/summary.ts +2 -10
- package/src/resources/radar/entities/asns.ts +86 -0
- package/src/resources/radar/entities/entities.ts +4 -0
- package/src/resources/radar/entities/index.ts +2 -0
- package/src/resources/radar/http/ases/ases.ts +8 -0
- package/src/resources/radar/http/ases/bot-class.ts +8 -0
- package/src/resources/radar/http/ases/browser-family.ts +8 -0
- package/src/resources/radar/http/ases/device-type.ts +8 -0
- package/src/resources/radar/http/ases/http-method.ts +8 -0
- package/src/resources/radar/http/ases/http-protocol.ts +8 -0
- package/src/resources/radar/http/ases/ip-version.ts +8 -0
- package/src/resources/radar/http/ases/os.ts +8 -0
- package/src/resources/radar/http/ases/tls-version.ts +8 -0
- package/src/resources/radar/http/http.ts +8 -0
- package/src/resources/radar/http/locations/bot-class.ts +8 -0
- package/src/resources/radar/http/locations/browser-family.ts +8 -0
- package/src/resources/radar/http/locations/device-type.ts +8 -0
- package/src/resources/radar/http/locations/http-method.ts +8 -0
- package/src/resources/radar/http/locations/http-protocol.ts +8 -0
- package/src/resources/radar/http/locations/ip-version.ts +8 -0
- package/src/resources/radar/http/locations/locations.ts +8 -0
- package/src/resources/radar/http/locations/os.ts +8 -0
- package/src/resources/radar/http/locations/tls-version.ts +8 -0
- package/src/resources/radar/http/summary.ts +72 -38
- package/src/resources/radar/http/timeseries-groups.ts +90 -50
- package/src/resources/radar/http/top.ts +16 -0
- package/src/resources/radar/leaked-credentials/summary.ts +2 -10
- package/src/resources/radar/leaked-credentials/timeseries-groups.ts +2 -10
- package/src/resources/radar/netflows/netflows.ts +17 -4
- package/src/resources/radar/netflows/top.ts +16 -0
- package/src/resources/radar/search.ts +2 -0
- package/src/resources/request-tracers/traces.ts +1 -1
- package/src/resources/resource-sharing/recipients.ts +100 -6
- package/src/resources/resource-sharing/resource-sharing.ts +470 -6
- package/src/resources/resource-sharing/resources.ts +49 -7
- package/src/resources/rules/lists/items.ts +9 -0
- package/src/resources/snippets/snippets.ts +2 -5
- package/src/resources/stream/downloads.ts +4 -2
- package/src/resources/workers/beta/beta.ts +2 -0
- package/src/resources/workers/beta/index.ts +1 -0
- package/src/resources/workers/beta/workers/index.ts +1 -0
- package/src/resources/workers/beta/workers/versions.ts +331 -16
- package/src/resources/workers/beta/workers/workers.ts +160 -18
- package/src/resources/workers/index.ts +2 -0
- package/src/resources/workers/scripts/index.ts +2 -0
- package/src/resources/workers/scripts/script-and-version-settings.ts +438 -12
- package/src/resources/workers/scripts/scripts.ts +261 -8
- package/src/resources/workers/scripts/secrets.ts +22 -12
- package/src/resources/workers/scripts/settings.ts +15 -0
- package/src/resources/workers/scripts/versions.ts +405 -9
- package/src/resources/workers/workers.ts +4 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +136 -4
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +149 -8
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +16 -6
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +438 -12
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +2 -8
- package/src/resources/workflows/instances/instances.ts +6 -0
- package/src/resources/zero-trust/access/applications/applications.ts +0 -168
- package/src/resources/zero-trust/access/bookmarks.ts +0 -4
- package/src/resources/zero-trust/access/certificates/certificates.ts +0 -4
- package/src/resources/zero-trust/access/custom-pages.ts +0 -28
- package/src/resources/zero-trust/access/groups.ts +0 -16
- package/src/resources/zero-trust/access/service-tokens.ts +47 -20
- package/src/resources/zero-trust/access/tags.ts +0 -9
- package/src/resources/zero-trust/devices/devices_.ts +114 -6
- package/src/resources/zero-trust/devices/registrations.ts +88 -6
- package/src/resources/zero-trust/gateway/app-types.ts +10 -10
- package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +11 -11
- package/src/resources/zero-trust/gateway/categories.ts +17 -19
- package/src/resources/zero-trust/gateway/certificates.ts +84 -83
- package/src/resources/zero-trust/gateway/configurations/configurations.ts +212 -192
- package/src/resources/zero-trust/gateway/configurations/custom-certificate.ts +1 -1
- package/src/resources/zero-trust/gateway/gateway.ts +8 -8
- package/src/resources/zero-trust/gateway/lists/items.ts +2 -2
- package/src/resources/zero-trust/gateway/lists/lists.ts +32 -32
- package/src/resources/zero-trust/gateway/locations.ts +84 -98
- package/src/resources/zero-trust/gateway/logging.ts +60 -23
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +16 -16
- package/src/resources/zero-trust/gateway/rules.ts +515 -440
- package/src/resources/zero-trust/networks/hostname-routes.ts +283 -0
- package/src/resources/zero-trust/networks/index.ts +10 -0
- package/src/resources/zero-trust/networks/networks.ts +25 -0
- package/src/resources/zero-trust/organizations/doh.ts +0 -12
- package/src/resources/zero-trust/organizations/organizations.ts +0 -4
- package/src/resources/zero-trust/tunnels/cloudflared/configurations.ts +0 -28
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -5,7 +5,7 @@ import { CustomCertificate, CustomCertificateGetParams } from "./custom-certific
|
|
|
5
5
|
export declare class Configurations extends APIResource {
|
|
6
6
|
customCertificate: CustomCertificateAPI.CustomCertificate;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Update the current Zero Trust account configuration.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
@@ -17,11 +17,11 @@ export declare class Configurations extends APIResource {
|
|
|
17
17
|
*/
|
|
18
18
|
update(params: ConfigurationUpdateParams, options?: Core.RequestOptions): Core.APIPromise<ConfigurationUpdateResponse>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* `
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* Update (PATCH) a single subcollection of settings such as `antivirus`,
|
|
21
|
+
* `tls_decrypt`, `activity_log`, `block_page`, `browser_isolation`, `fips`,
|
|
22
|
+
* `body_scanning`, or `certificate` without updating the entire configuration
|
|
23
|
+
* object. This endpoint returns an error if any settings collection lacks proper
|
|
24
|
+
* configuration.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* ```ts
|
|
@@ -33,7 +33,7 @@ export declare class Configurations extends APIResource {
|
|
|
33
33
|
*/
|
|
34
34
|
edit(params: ConfigurationEditParams, options?: Core.RequestOptions): Core.APIPromise<ConfigurationEditResponse>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Retrieve the current Zero Trust account configuration.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* ```ts
|
|
@@ -46,659 +46,679 @@ export declare class Configurations extends APIResource {
|
|
|
46
46
|
get(params: ConfigurationGetParams, options?: Core.RequestOptions): Core.APIPromise<ConfigurationGetResponse>;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Specify activity log settings.
|
|
50
50
|
*/
|
|
51
51
|
export interface ActivityLogSettings {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Specify whether to log activity.
|
|
54
54
|
*/
|
|
55
55
|
enabled?: boolean | null;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Specify activity log settings.
|
|
59
59
|
*/
|
|
60
60
|
export interface ActivityLogSettingsParam {
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Specify whether to log activity.
|
|
63
63
|
*/
|
|
64
64
|
enabled?: boolean | null;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Specify anti-virus settings.
|
|
68
68
|
*/
|
|
69
69
|
export interface AntiVirusSettings {
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Specify whether to enable anti-virus scanning on downloads.
|
|
72
72
|
*/
|
|
73
73
|
enabled_download_phase?: boolean | null;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Specify whether to enable anti-virus scanning on uploads.
|
|
76
76
|
*/
|
|
77
77
|
enabled_upload_phase?: boolean | null;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Specify whether to block requests for unscannable files.
|
|
80
80
|
*/
|
|
81
81
|
fail_closed?: boolean | null;
|
|
82
82
|
/**
|
|
83
|
-
* Configure
|
|
84
|
-
* performed.
|
|
83
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
85
84
|
*/
|
|
86
85
|
notification_settings?: NotificationSettings | null;
|
|
87
86
|
}
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
88
|
+
* Specify anti-virus settings.
|
|
90
89
|
*/
|
|
91
90
|
export interface AntiVirusSettingsParam {
|
|
92
91
|
/**
|
|
93
|
-
*
|
|
92
|
+
* Specify whether to enable anti-virus scanning on downloads.
|
|
94
93
|
*/
|
|
95
94
|
enabled_download_phase?: boolean | null;
|
|
96
95
|
/**
|
|
97
|
-
*
|
|
96
|
+
* Specify whether to enable anti-virus scanning on uploads.
|
|
98
97
|
*/
|
|
99
98
|
enabled_upload_phase?: boolean | null;
|
|
100
99
|
/**
|
|
101
|
-
*
|
|
100
|
+
* Specify whether to block requests for unscannable files.
|
|
102
101
|
*/
|
|
103
102
|
fail_closed?: boolean | null;
|
|
104
103
|
/**
|
|
105
|
-
* Configure
|
|
106
|
-
* performed.
|
|
104
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
107
105
|
*/
|
|
108
106
|
notification_settings?: NotificationSettingsParam | null;
|
|
109
107
|
}
|
|
110
108
|
/**
|
|
111
|
-
*
|
|
109
|
+
* Specify block page layout settings.
|
|
112
110
|
*/
|
|
113
111
|
export interface BlockPageSettings {
|
|
114
112
|
/**
|
|
115
|
-
*
|
|
113
|
+
* Specify the block page background color in `#rrggbb` format when the mode is
|
|
114
|
+
* customized_block_page.
|
|
116
115
|
*/
|
|
117
116
|
background_color?: string;
|
|
118
117
|
/**
|
|
119
|
-
*
|
|
118
|
+
* Specify whether to enable the custom block page.
|
|
120
119
|
*/
|
|
121
120
|
enabled?: boolean | null;
|
|
122
121
|
/**
|
|
123
|
-
*
|
|
122
|
+
* Specify the block page footer text when the mode is customized_block_page.
|
|
124
123
|
*/
|
|
125
124
|
footer_text?: string;
|
|
126
125
|
/**
|
|
127
|
-
*
|
|
126
|
+
* Specify the block page header text when the mode is customized_block_page.
|
|
128
127
|
*/
|
|
129
128
|
header_text?: string;
|
|
130
129
|
/**
|
|
131
|
-
*
|
|
132
|
-
*
|
|
130
|
+
* Specify whether to append context to target_uri as query parameters. This
|
|
131
|
+
* applies only when the mode is redirect_uri.
|
|
133
132
|
*/
|
|
134
133
|
include_context?: boolean;
|
|
135
134
|
/**
|
|
136
|
-
*
|
|
135
|
+
* Specify the full URL to the logo file when the mode is customized_block_page.
|
|
137
136
|
*/
|
|
138
137
|
logo_path?: string;
|
|
139
138
|
/**
|
|
140
|
-
*
|
|
139
|
+
* Specify the admin email for users to contact when the mode is
|
|
140
|
+
* customized_block_page.
|
|
141
141
|
*/
|
|
142
142
|
mailto_address?: string;
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
145
|
-
*
|
|
144
|
+
* Specify the subject line for emails created from the block page when the mode is
|
|
145
|
+
* customized_block_page.
|
|
146
146
|
*/
|
|
147
147
|
mailto_subject?: string;
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
149
|
+
* Specify whether to redirect users to a Cloudflare-hosted block page or a
|
|
150
|
+
* customer-provided URI.
|
|
151
151
|
*/
|
|
152
152
|
mode?: '' | 'customized_block_page' | 'redirect_uri';
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* Specify the block page title when the mode is customized_block_page.
|
|
155
155
|
*/
|
|
156
156
|
name?: string;
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
159
|
-
* account.
|
|
158
|
+
* Indicate that this setting was shared via the Orgs API and read only for the
|
|
159
|
+
* current account.
|
|
160
160
|
*/
|
|
161
161
|
read_only?: boolean | null;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* Indicate the account tag of the account that shared this setting.
|
|
164
164
|
*/
|
|
165
165
|
source_account?: string | null;
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
167
|
+
* Specify whether to suppress detailed information at the bottom of the block page
|
|
168
|
+
* when the mode is customized_block_page.
|
|
169
169
|
*/
|
|
170
170
|
suppress_footer?: boolean;
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
172
|
+
* Specify the URI to redirect users to when the mode is redirect_uri.
|
|
173
173
|
*/
|
|
174
174
|
target_uri?: string;
|
|
175
175
|
/**
|
|
176
|
-
*
|
|
176
|
+
* Indicate the version number of the setting.
|
|
177
177
|
*/
|
|
178
178
|
version?: number | null;
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* Specify block page layout settings.
|
|
182
182
|
*/
|
|
183
183
|
export interface BlockPageSettingsParam {
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* Specify the block page background color in `#rrggbb` format when the mode is
|
|
186
|
+
* customized_block_page.
|
|
186
187
|
*/
|
|
187
188
|
background_color?: string;
|
|
188
189
|
/**
|
|
189
|
-
*
|
|
190
|
+
* Specify whether to enable the custom block page.
|
|
190
191
|
*/
|
|
191
192
|
enabled?: boolean | null;
|
|
192
193
|
/**
|
|
193
|
-
*
|
|
194
|
+
* Specify the block page footer text when the mode is customized_block_page.
|
|
194
195
|
*/
|
|
195
196
|
footer_text?: string;
|
|
196
197
|
/**
|
|
197
|
-
*
|
|
198
|
+
* Specify the block page header text when the mode is customized_block_page.
|
|
198
199
|
*/
|
|
199
200
|
header_text?: string;
|
|
200
201
|
/**
|
|
201
|
-
*
|
|
202
|
-
*
|
|
202
|
+
* Specify whether to append context to target_uri as query parameters. This
|
|
203
|
+
* applies only when the mode is redirect_uri.
|
|
203
204
|
*/
|
|
204
205
|
include_context?: boolean;
|
|
205
206
|
/**
|
|
206
|
-
*
|
|
207
|
+
* Specify the full URL to the logo file when the mode is customized_block_page.
|
|
207
208
|
*/
|
|
208
209
|
logo_path?: string;
|
|
209
210
|
/**
|
|
210
|
-
*
|
|
211
|
+
* Specify the admin email for users to contact when the mode is
|
|
212
|
+
* customized_block_page.
|
|
211
213
|
*/
|
|
212
214
|
mailto_address?: string;
|
|
213
215
|
/**
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
+
* Specify the subject line for emails created from the block page when the mode is
|
|
217
|
+
* customized_block_page.
|
|
216
218
|
*/
|
|
217
219
|
mailto_subject?: string;
|
|
218
220
|
/**
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
+
* Specify whether to redirect users to a Cloudflare-hosted block page or a
|
|
222
|
+
* customer-provided URI.
|
|
221
223
|
*/
|
|
222
224
|
mode?: '' | 'customized_block_page' | 'redirect_uri';
|
|
223
225
|
/**
|
|
224
|
-
*
|
|
226
|
+
* Specify the block page title when the mode is customized_block_page.
|
|
225
227
|
*/
|
|
226
228
|
name?: string;
|
|
227
229
|
/**
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
+
* Specify whether to suppress detailed information at the bottom of the block page
|
|
231
|
+
* when the mode is customized_block_page.
|
|
230
232
|
*/
|
|
231
233
|
suppress_footer?: boolean;
|
|
232
234
|
/**
|
|
233
|
-
*
|
|
235
|
+
* Specify the URI to redirect users to when the mode is redirect_uri.
|
|
234
236
|
*/
|
|
235
237
|
target_uri?: string;
|
|
236
238
|
}
|
|
237
239
|
/**
|
|
238
|
-
* DLP
|
|
240
|
+
* Specify the DLP inspection mode.
|
|
239
241
|
*/
|
|
240
242
|
export interface BodyScanningSettings {
|
|
241
243
|
/**
|
|
242
|
-
*
|
|
244
|
+
* Specify the inspection mode as either `deep` or `shallow`.
|
|
243
245
|
*/
|
|
244
246
|
inspection_mode?: 'deep' | 'shallow';
|
|
245
247
|
}
|
|
246
248
|
/**
|
|
247
|
-
* DLP
|
|
249
|
+
* Specify the DLP inspection mode.
|
|
248
250
|
*/
|
|
249
251
|
export interface BodyScanningSettingsParam {
|
|
250
252
|
/**
|
|
251
|
-
*
|
|
253
|
+
* Specify the inspection mode as either `deep` or `shallow`.
|
|
252
254
|
*/
|
|
253
255
|
inspection_mode?: 'deep' | 'shallow';
|
|
254
256
|
}
|
|
255
257
|
/**
|
|
256
|
-
* Browser
|
|
258
|
+
* Specify Clientless Browser Isolation settings.
|
|
257
259
|
*/
|
|
258
260
|
export interface BrowserIsolationSettings {
|
|
259
261
|
/**
|
|
260
|
-
*
|
|
262
|
+
* Specify whether to enable non-identity onramp support for Browser Isolation.
|
|
261
263
|
*/
|
|
262
264
|
non_identity_enabled?: boolean;
|
|
263
265
|
/**
|
|
264
|
-
*
|
|
266
|
+
* Specify whether to enable Clientless Browser Isolation.
|
|
265
267
|
*/
|
|
266
268
|
url_browser_isolation_enabled?: boolean;
|
|
267
269
|
}
|
|
268
270
|
/**
|
|
269
|
-
* Browser
|
|
271
|
+
* Specify Clientless Browser Isolation settings.
|
|
270
272
|
*/
|
|
271
273
|
export interface BrowserIsolationSettingsParam {
|
|
272
274
|
/**
|
|
273
|
-
*
|
|
275
|
+
* Specify whether to enable non-identity onramp support for Browser Isolation.
|
|
274
276
|
*/
|
|
275
277
|
non_identity_enabled?: boolean;
|
|
276
278
|
/**
|
|
277
|
-
*
|
|
279
|
+
* Specify whether to enable Clientless Browser Isolation.
|
|
278
280
|
*/
|
|
279
281
|
url_browser_isolation_enabled?: boolean;
|
|
280
282
|
}
|
|
281
283
|
/**
|
|
282
|
-
* @deprecated
|
|
283
|
-
* `certificate`
|
|
284
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
285
|
+
* deprecated; use `certificate` instead.
|
|
284
286
|
*/
|
|
285
287
|
export interface CustomCertificateSettings {
|
|
286
288
|
/**
|
|
287
|
-
*
|
|
289
|
+
* Specify whether to enable a custom certificate authority for signing Gateway
|
|
290
|
+
* traffic.
|
|
288
291
|
*/
|
|
289
292
|
enabled: boolean | null;
|
|
290
293
|
/**
|
|
291
|
-
* UUID of certificate (ID from MTLS certificate store).
|
|
294
|
+
* Specify the UUID of the certificate (ID from MTLS certificate store).
|
|
292
295
|
*/
|
|
293
296
|
id?: string;
|
|
294
297
|
/**
|
|
295
|
-
*
|
|
298
|
+
* Indicate the internal certificate status.
|
|
296
299
|
*/
|
|
297
300
|
binding_status?: string;
|
|
298
301
|
updated_at?: string;
|
|
299
302
|
}
|
|
300
303
|
/**
|
|
301
|
-
* @deprecated
|
|
302
|
-
* `certificate`
|
|
304
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
305
|
+
* deprecated; use `certificate` instead.
|
|
303
306
|
*/
|
|
304
307
|
export interface CustomCertificateSettingsParam {
|
|
305
308
|
/**
|
|
306
|
-
*
|
|
309
|
+
* Specify whether to enable a custom certificate authority for signing Gateway
|
|
310
|
+
* traffic.
|
|
307
311
|
*/
|
|
308
312
|
enabled: boolean | null;
|
|
309
313
|
/**
|
|
310
|
-
* UUID of certificate (ID from MTLS certificate store).
|
|
314
|
+
* Specify the UUID of the certificate (ID from MTLS certificate store).
|
|
311
315
|
*/
|
|
312
316
|
id?: string;
|
|
313
317
|
}
|
|
314
318
|
/**
|
|
315
|
-
*
|
|
319
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
320
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
321
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
322
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
323
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
324
|
+
* this setting.
|
|
316
325
|
*/
|
|
317
326
|
export interface ExtendedEmailMatching {
|
|
318
327
|
/**
|
|
319
|
-
*
|
|
320
|
-
* criteria in Firewall policies.
|
|
328
|
+
* Specify whether to match all variants of user emails (with + or . modifiers)
|
|
329
|
+
* used as criteria in Firewall policies.
|
|
321
330
|
*/
|
|
322
331
|
enabled?: boolean | null;
|
|
323
332
|
/**
|
|
324
|
-
*
|
|
325
|
-
* account.
|
|
333
|
+
* Indicate that this setting was shared via the Orgs API and read only for the
|
|
334
|
+
* current account.
|
|
326
335
|
*/
|
|
327
336
|
read_only?: boolean;
|
|
328
337
|
/**
|
|
329
|
-
*
|
|
338
|
+
* Indicate the account tag of the account that shared this setting.
|
|
330
339
|
*/
|
|
331
340
|
source_account?: string;
|
|
332
341
|
/**
|
|
333
|
-
*
|
|
342
|
+
* Indicate the version number of the setting.
|
|
334
343
|
*/
|
|
335
344
|
version?: number;
|
|
336
345
|
}
|
|
337
346
|
/**
|
|
338
|
-
*
|
|
347
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
348
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
349
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
350
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
351
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
352
|
+
* this setting.
|
|
339
353
|
*/
|
|
340
354
|
export interface ExtendedEmailMatchingParam {
|
|
341
355
|
/**
|
|
342
|
-
*
|
|
343
|
-
* criteria in Firewall policies.
|
|
356
|
+
* Specify whether to match all variants of user emails (with + or . modifiers)
|
|
357
|
+
* used as criteria in Firewall policies.
|
|
344
358
|
*/
|
|
345
359
|
enabled?: boolean | null;
|
|
346
360
|
}
|
|
347
361
|
/**
|
|
348
|
-
* FIPS settings.
|
|
362
|
+
* Specify FIPS settings.
|
|
349
363
|
*/
|
|
350
364
|
export interface FipsSettings {
|
|
351
365
|
/**
|
|
352
|
-
*
|
|
366
|
+
* Enforce cipher suites and TLS versions compliant with FIPS 140-2.
|
|
353
367
|
*/
|
|
354
368
|
tls?: boolean;
|
|
355
369
|
}
|
|
356
370
|
/**
|
|
357
|
-
* FIPS settings.
|
|
371
|
+
* Specify FIPS settings.
|
|
358
372
|
*/
|
|
359
373
|
export interface FipsSettingsParam {
|
|
360
374
|
/**
|
|
361
|
-
*
|
|
375
|
+
* Enforce cipher suites and TLS versions compliant with FIPS 140-2.
|
|
362
376
|
*/
|
|
363
377
|
tls?: boolean;
|
|
364
378
|
}
|
|
365
379
|
/**
|
|
366
|
-
*
|
|
380
|
+
* Specify account settings.
|
|
367
381
|
*/
|
|
368
382
|
export interface GatewayConfigurationSettings {
|
|
369
383
|
/**
|
|
370
|
-
*
|
|
384
|
+
* Specify activity log settings.
|
|
371
385
|
*/
|
|
372
386
|
activity_log?: ActivityLogSettings | null;
|
|
373
387
|
/**
|
|
374
|
-
*
|
|
388
|
+
* Specify anti-virus settings.
|
|
375
389
|
*/
|
|
376
390
|
antivirus?: AntiVirusSettings | null;
|
|
377
391
|
/**
|
|
378
|
-
*
|
|
392
|
+
* Specify block page layout settings.
|
|
379
393
|
*/
|
|
380
394
|
block_page?: BlockPageSettings | null;
|
|
381
395
|
/**
|
|
382
|
-
* DLP
|
|
396
|
+
* Specify the DLP inspection mode.
|
|
383
397
|
*/
|
|
384
398
|
body_scanning?: BodyScanningSettings | null;
|
|
385
399
|
/**
|
|
386
|
-
* Browser
|
|
400
|
+
* Specify Clientless Browser Isolation settings.
|
|
387
401
|
*/
|
|
388
402
|
browser_isolation?: BrowserIsolationSettings | null;
|
|
389
403
|
/**
|
|
390
|
-
*
|
|
391
|
-
* Cloudflare Root CA
|
|
404
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
405
|
+
* Cloudflare Root CA handles interception.
|
|
392
406
|
*/
|
|
393
407
|
certificate?: GatewayConfigurationSettings.Certificate | null;
|
|
394
408
|
/**
|
|
395
|
-
* @deprecated
|
|
396
|
-
* `certificate`
|
|
409
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
410
|
+
* deprecated; use `certificate` instead.
|
|
397
411
|
*/
|
|
398
412
|
custom_certificate?: CustomCertificateSettings | null;
|
|
399
413
|
/**
|
|
400
|
-
*
|
|
414
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
415
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
416
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
417
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
418
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
419
|
+
* this setting.
|
|
401
420
|
*/
|
|
402
421
|
extended_email_matching?: ExtendedEmailMatching | null;
|
|
403
422
|
/**
|
|
404
|
-
* FIPS settings.
|
|
423
|
+
* Specify FIPS settings.
|
|
405
424
|
*/
|
|
406
425
|
fips?: FipsSettings | null;
|
|
407
426
|
/**
|
|
408
|
-
*
|
|
427
|
+
* Enable host selection in egress policies.
|
|
409
428
|
*/
|
|
410
429
|
host_selector?: GatewayConfigurationSettings.HostSelector | null;
|
|
411
430
|
/**
|
|
412
|
-
*
|
|
431
|
+
* Define the proxy inspection mode.
|
|
413
432
|
*/
|
|
414
433
|
inspection?: GatewayConfigurationSettings.Inspection | null;
|
|
415
434
|
/**
|
|
416
|
-
*
|
|
435
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
417
436
|
*/
|
|
418
437
|
protocol_detection?: ProtocolDetection | null;
|
|
419
438
|
/**
|
|
420
|
-
*
|
|
439
|
+
* Specify whether to enable the sandbox.
|
|
421
440
|
*/
|
|
422
441
|
sandbox?: GatewayConfigurationSettings.Sandbox | null;
|
|
423
442
|
/**
|
|
424
|
-
*
|
|
443
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
425
444
|
*/
|
|
426
445
|
tls_decrypt?: TLSSettings | null;
|
|
427
446
|
}
|
|
428
447
|
export declare namespace GatewayConfigurationSettings {
|
|
429
448
|
/**
|
|
430
|
-
*
|
|
431
|
-
* Cloudflare Root CA
|
|
449
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
450
|
+
* Cloudflare Root CA handles interception.
|
|
432
451
|
*/
|
|
433
452
|
interface Certificate {
|
|
434
453
|
/**
|
|
435
|
-
* UUID of certificate
|
|
436
|
-
* (previously called 'active')
|
|
437
|
-
* Cloudflare
|
|
454
|
+
* Specify the UUID of the certificate used for interception. Ensure the
|
|
455
|
+
* certificate is available at the edge(previously called 'active'). A nil UUID
|
|
456
|
+
* directs Cloudflare to use the Root CA.
|
|
438
457
|
*/
|
|
439
458
|
id: string;
|
|
440
459
|
}
|
|
441
460
|
/**
|
|
442
|
-
*
|
|
461
|
+
* Enable host selection in egress policies.
|
|
443
462
|
*/
|
|
444
463
|
interface HostSelector {
|
|
445
464
|
/**
|
|
446
|
-
*
|
|
465
|
+
* Specify whether to enable filtering via hosts for egress policies.
|
|
447
466
|
*/
|
|
448
467
|
enabled?: boolean | null;
|
|
449
468
|
}
|
|
450
469
|
/**
|
|
451
|
-
*
|
|
470
|
+
* Define the proxy inspection mode.
|
|
452
471
|
*/
|
|
453
472
|
interface Inspection {
|
|
454
473
|
/**
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
* HTTPS traffic on any port. TLS decryption must be on to inspect HTTPS traffic.
|
|
474
|
+
* Define the proxy inspection mode. 1. static: Gateway applies static inspection
|
|
475
|
+
* to HTTP on TCP(80). With TLS decryption on, Gateway inspects HTTPS traffic on
|
|
476
|
+
* TCP(443) and UDP(443). 2. dynamic: Gateway applies protocol detection to inspect
|
|
477
|
+
* HTTP and HTTPS traffic on any port. TLS decryption must remain on to inspect
|
|
478
|
+
* HTTPS traffic.
|
|
461
479
|
*/
|
|
462
480
|
mode?: 'static' | 'dynamic';
|
|
463
481
|
}
|
|
464
482
|
/**
|
|
465
|
-
*
|
|
483
|
+
* Specify whether to enable the sandbox.
|
|
466
484
|
*/
|
|
467
485
|
interface Sandbox {
|
|
468
486
|
/**
|
|
469
|
-
*
|
|
487
|
+
* Specify whether to enable the sandbox.
|
|
470
488
|
*/
|
|
471
489
|
enabled?: boolean | null;
|
|
472
490
|
/**
|
|
473
|
-
*
|
|
491
|
+
* Specify the action to take when the system cannot scan the file.
|
|
474
492
|
*/
|
|
475
493
|
fallback_action?: 'allow' | 'block';
|
|
476
494
|
}
|
|
477
495
|
}
|
|
478
496
|
/**
|
|
479
|
-
*
|
|
497
|
+
* Specify account settings.
|
|
480
498
|
*/
|
|
481
499
|
export interface GatewayConfigurationSettingsParam {
|
|
482
500
|
/**
|
|
483
|
-
*
|
|
501
|
+
* Specify activity log settings.
|
|
484
502
|
*/
|
|
485
503
|
activity_log?: ActivityLogSettingsParam | null;
|
|
486
504
|
/**
|
|
487
|
-
*
|
|
505
|
+
* Specify anti-virus settings.
|
|
488
506
|
*/
|
|
489
507
|
antivirus?: AntiVirusSettingsParam | null;
|
|
490
508
|
/**
|
|
491
|
-
*
|
|
509
|
+
* Specify block page layout settings.
|
|
492
510
|
*/
|
|
493
511
|
block_page?: BlockPageSettingsParam | null;
|
|
494
512
|
/**
|
|
495
|
-
* DLP
|
|
513
|
+
* Specify the DLP inspection mode.
|
|
496
514
|
*/
|
|
497
515
|
body_scanning?: BodyScanningSettingsParam | null;
|
|
498
516
|
/**
|
|
499
|
-
* Browser
|
|
517
|
+
* Specify Clientless Browser Isolation settings.
|
|
500
518
|
*/
|
|
501
519
|
browser_isolation?: BrowserIsolationSettingsParam | null;
|
|
502
520
|
/**
|
|
503
|
-
*
|
|
504
|
-
* Cloudflare Root CA
|
|
521
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
522
|
+
* Cloudflare Root CA handles interception.
|
|
505
523
|
*/
|
|
506
524
|
certificate?: GatewayConfigurationSettingsParam.Certificate | null;
|
|
507
525
|
/**
|
|
508
|
-
* @deprecated
|
|
509
|
-
* `certificate`
|
|
526
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
527
|
+
* deprecated; use `certificate` instead.
|
|
510
528
|
*/
|
|
511
529
|
custom_certificate?: CustomCertificateSettingsParam | null;
|
|
512
530
|
/**
|
|
513
|
-
*
|
|
531
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
532
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
533
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
534
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
535
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
536
|
+
* this setting.
|
|
514
537
|
*/
|
|
515
538
|
extended_email_matching?: ExtendedEmailMatchingParam | null;
|
|
516
539
|
/**
|
|
517
|
-
* FIPS settings.
|
|
540
|
+
* Specify FIPS settings.
|
|
518
541
|
*/
|
|
519
542
|
fips?: FipsSettingsParam | null;
|
|
520
543
|
/**
|
|
521
|
-
*
|
|
544
|
+
* Enable host selection in egress policies.
|
|
522
545
|
*/
|
|
523
546
|
host_selector?: GatewayConfigurationSettingsParam.HostSelector | null;
|
|
524
547
|
/**
|
|
525
|
-
*
|
|
548
|
+
* Define the proxy inspection mode.
|
|
526
549
|
*/
|
|
527
550
|
inspection?: GatewayConfigurationSettingsParam.Inspection | null;
|
|
528
551
|
/**
|
|
529
|
-
*
|
|
552
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
530
553
|
*/
|
|
531
554
|
protocol_detection?: ProtocolDetectionParam | null;
|
|
532
555
|
/**
|
|
533
|
-
*
|
|
556
|
+
* Specify whether to enable the sandbox.
|
|
534
557
|
*/
|
|
535
558
|
sandbox?: GatewayConfigurationSettingsParam.Sandbox | null;
|
|
536
559
|
/**
|
|
537
|
-
*
|
|
560
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
538
561
|
*/
|
|
539
562
|
tls_decrypt?: TLSSettingsParam | null;
|
|
540
563
|
}
|
|
541
564
|
export declare namespace GatewayConfigurationSettingsParam {
|
|
542
565
|
/**
|
|
543
|
-
*
|
|
544
|
-
* Cloudflare Root CA
|
|
566
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
567
|
+
* Cloudflare Root CA handles interception.
|
|
545
568
|
*/
|
|
546
569
|
interface Certificate {
|
|
547
570
|
/**
|
|
548
|
-
* UUID of certificate
|
|
549
|
-
* (previously called 'active')
|
|
550
|
-
* Cloudflare
|
|
571
|
+
* Specify the UUID of the certificate used for interception. Ensure the
|
|
572
|
+
* certificate is available at the edge(previously called 'active'). A nil UUID
|
|
573
|
+
* directs Cloudflare to use the Root CA.
|
|
551
574
|
*/
|
|
552
575
|
id: string;
|
|
553
576
|
}
|
|
554
577
|
/**
|
|
555
|
-
*
|
|
578
|
+
* Enable host selection in egress policies.
|
|
556
579
|
*/
|
|
557
580
|
interface HostSelector {
|
|
558
581
|
/**
|
|
559
|
-
*
|
|
582
|
+
* Specify whether to enable filtering via hosts for egress policies.
|
|
560
583
|
*/
|
|
561
584
|
enabled?: boolean | null;
|
|
562
585
|
}
|
|
563
586
|
/**
|
|
564
|
-
*
|
|
587
|
+
* Define the proxy inspection mode.
|
|
565
588
|
*/
|
|
566
589
|
interface Inspection {
|
|
567
590
|
/**
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
* HTTPS traffic on any port. TLS decryption must be on to inspect HTTPS traffic.
|
|
591
|
+
* Define the proxy inspection mode. 1. static: Gateway applies static inspection
|
|
592
|
+
* to HTTP on TCP(80). With TLS decryption on, Gateway inspects HTTPS traffic on
|
|
593
|
+
* TCP(443) and UDP(443). 2. dynamic: Gateway applies protocol detection to inspect
|
|
594
|
+
* HTTP and HTTPS traffic on any port. TLS decryption must remain on to inspect
|
|
595
|
+
* HTTPS traffic.
|
|
574
596
|
*/
|
|
575
597
|
mode?: 'static' | 'dynamic';
|
|
576
598
|
}
|
|
577
599
|
/**
|
|
578
|
-
*
|
|
600
|
+
* Specify whether to enable the sandbox.
|
|
579
601
|
*/
|
|
580
602
|
interface Sandbox {
|
|
581
603
|
/**
|
|
582
|
-
*
|
|
604
|
+
* Specify whether to enable the sandbox.
|
|
583
605
|
*/
|
|
584
606
|
enabled?: boolean | null;
|
|
585
607
|
/**
|
|
586
|
-
*
|
|
608
|
+
* Specify the action to take when the system cannot scan the file.
|
|
587
609
|
*/
|
|
588
610
|
fallback_action?: 'allow' | 'block';
|
|
589
611
|
}
|
|
590
612
|
}
|
|
591
613
|
/**
|
|
592
|
-
* Configure
|
|
593
|
-
* performed.
|
|
614
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
594
615
|
*/
|
|
595
616
|
export interface NotificationSettings {
|
|
596
617
|
/**
|
|
597
|
-
*
|
|
618
|
+
* Specify whether to enable notifications.
|
|
598
619
|
*/
|
|
599
620
|
enabled?: boolean;
|
|
600
621
|
/**
|
|
601
|
-
*
|
|
622
|
+
* Specify whether to include context information as query parameters.
|
|
602
623
|
*/
|
|
603
624
|
include_context?: boolean;
|
|
604
625
|
/**
|
|
605
|
-
*
|
|
626
|
+
* Specify the message to show in the notification.
|
|
606
627
|
*/
|
|
607
628
|
msg?: string;
|
|
608
629
|
/**
|
|
609
|
-
*
|
|
610
|
-
*
|
|
630
|
+
* Specify a URL that directs users to more information. If unset, the notification
|
|
631
|
+
* opens a block page.
|
|
611
632
|
*/
|
|
612
633
|
support_url?: string;
|
|
613
634
|
}
|
|
614
635
|
/**
|
|
615
|
-
* Configure
|
|
616
|
-
* performed.
|
|
636
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
617
637
|
*/
|
|
618
638
|
export interface NotificationSettingsParam {
|
|
619
639
|
/**
|
|
620
|
-
*
|
|
640
|
+
* Specify whether to enable notifications.
|
|
621
641
|
*/
|
|
622
642
|
enabled?: boolean;
|
|
623
643
|
/**
|
|
624
|
-
*
|
|
644
|
+
* Specify whether to include context information as query parameters.
|
|
625
645
|
*/
|
|
626
646
|
include_context?: boolean;
|
|
627
647
|
/**
|
|
628
|
-
*
|
|
648
|
+
* Specify the message to show in the notification.
|
|
629
649
|
*/
|
|
630
650
|
msg?: string;
|
|
631
651
|
/**
|
|
632
|
-
*
|
|
633
|
-
*
|
|
652
|
+
* Specify a URL that directs users to more information. If unset, the notification
|
|
653
|
+
* opens a block page.
|
|
634
654
|
*/
|
|
635
655
|
support_url?: string;
|
|
636
656
|
}
|
|
637
657
|
/**
|
|
638
|
-
*
|
|
658
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
639
659
|
*/
|
|
640
660
|
export interface ProtocolDetection {
|
|
641
661
|
/**
|
|
642
|
-
*
|
|
662
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
643
663
|
*/
|
|
644
664
|
enabled?: boolean | null;
|
|
645
665
|
}
|
|
646
666
|
/**
|
|
647
|
-
*
|
|
667
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
648
668
|
*/
|
|
649
669
|
export interface ProtocolDetectionParam {
|
|
650
670
|
/**
|
|
651
|
-
*
|
|
671
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
652
672
|
*/
|
|
653
673
|
enabled?: boolean | null;
|
|
654
674
|
}
|
|
655
675
|
/**
|
|
656
|
-
*
|
|
676
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
657
677
|
*/
|
|
658
678
|
export interface TLSSettings {
|
|
659
679
|
/**
|
|
660
|
-
*
|
|
680
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
661
681
|
*/
|
|
662
682
|
enabled?: boolean;
|
|
663
683
|
}
|
|
664
684
|
/**
|
|
665
|
-
*
|
|
685
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
666
686
|
*/
|
|
667
687
|
export interface TLSSettingsParam {
|
|
668
688
|
/**
|
|
669
|
-
*
|
|
689
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
670
690
|
*/
|
|
671
691
|
enabled?: boolean;
|
|
672
692
|
}
|
|
673
693
|
/**
|
|
674
|
-
*
|
|
694
|
+
* Specify account settings.
|
|
675
695
|
*/
|
|
676
696
|
export interface ConfigurationUpdateResponse {
|
|
677
697
|
created_at?: string;
|
|
678
698
|
/**
|
|
679
|
-
*
|
|
699
|
+
* Specify account settings.
|
|
680
700
|
*/
|
|
681
701
|
settings?: GatewayConfigurationSettings;
|
|
682
702
|
updated_at?: string;
|
|
683
703
|
}
|
|
684
704
|
/**
|
|
685
|
-
*
|
|
705
|
+
* Specify account settings.
|
|
686
706
|
*/
|
|
687
707
|
export interface ConfigurationEditResponse {
|
|
688
708
|
created_at?: string;
|
|
689
709
|
/**
|
|
690
|
-
*
|
|
710
|
+
* Specify account settings.
|
|
691
711
|
*/
|
|
692
712
|
settings?: GatewayConfigurationSettings;
|
|
693
713
|
updated_at?: string;
|
|
694
714
|
}
|
|
695
715
|
/**
|
|
696
|
-
*
|
|
716
|
+
* Specify account settings.
|
|
697
717
|
*/
|
|
698
718
|
export interface ConfigurationGetResponse {
|
|
699
719
|
created_at?: string;
|
|
700
720
|
/**
|
|
701
|
-
*
|
|
721
|
+
* Specify account settings.
|
|
702
722
|
*/
|
|
703
723
|
settings?: GatewayConfigurationSettings;
|
|
704
724
|
updated_at?: string;
|
|
@@ -709,7 +729,7 @@ export interface ConfigurationUpdateParams {
|
|
|
709
729
|
*/
|
|
710
730
|
account_id: string;
|
|
711
731
|
/**
|
|
712
|
-
* Body param:
|
|
732
|
+
* Body param: Specify account settings.
|
|
713
733
|
*/
|
|
714
734
|
settings?: GatewayConfigurationSettingsParam;
|
|
715
735
|
}
|
|
@@ -719,7 +739,7 @@ export interface ConfigurationEditParams {
|
|
|
719
739
|
*/
|
|
720
740
|
account_id: string;
|
|
721
741
|
/**
|
|
722
|
-
* Body param:
|
|
742
|
+
* Body param: Specify account settings.
|
|
723
743
|
*/
|
|
724
744
|
settings?: GatewayConfigurationSettingsParam;
|
|
725
745
|
}
|