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
|
@@ -11,7 +11,7 @@ export class Configurations extends APIResource {
|
|
|
11
11
|
);
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Update the current Zero Trust account configuration.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
@@ -35,11 +35,11 @@ export class Configurations extends APIResource {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* `
|
|
41
|
-
*
|
|
42
|
-
*
|
|
38
|
+
* Update (PATCH) a single subcollection of settings such as `antivirus`,
|
|
39
|
+
* `tls_decrypt`, `activity_log`, `block_page`, `browser_isolation`, `fips`,
|
|
40
|
+
* `body_scanning`, or `certificate` without updating the entire configuration
|
|
41
|
+
* object. This endpoint returns an error if any settings collection lacks proper
|
|
42
|
+
* configuration.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* ```ts
|
|
@@ -63,7 +63,7 @@ export class Configurations extends APIResource {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Retrieve the current Zero Trust account configuration.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* ```ts
|
|
@@ -87,298 +87,301 @@ export class Configurations extends APIResource {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Specify activity log settings.
|
|
91
91
|
*/
|
|
92
92
|
export interface ActivityLogSettings {
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Specify whether to log activity.
|
|
95
95
|
*/
|
|
96
96
|
enabled?: boolean | null;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Specify activity log settings.
|
|
101
101
|
*/
|
|
102
102
|
export interface ActivityLogSettingsParam {
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Specify whether to log activity.
|
|
105
105
|
*/
|
|
106
106
|
enabled?: boolean | null;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* Specify anti-virus settings.
|
|
111
111
|
*/
|
|
112
112
|
export interface AntiVirusSettings {
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Specify whether to enable anti-virus scanning on downloads.
|
|
115
115
|
*/
|
|
116
116
|
enabled_download_phase?: boolean | null;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Specify whether to enable anti-virus scanning on uploads.
|
|
120
120
|
*/
|
|
121
121
|
enabled_upload_phase?: boolean | null;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Specify whether to block requests for unscannable files.
|
|
125
125
|
*/
|
|
126
126
|
fail_closed?: boolean | null;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* Configure
|
|
130
|
-
* performed.
|
|
129
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
131
130
|
*/
|
|
132
131
|
notification_settings?: NotificationSettings | null;
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
/**
|
|
136
|
-
*
|
|
135
|
+
* Specify anti-virus settings.
|
|
137
136
|
*/
|
|
138
137
|
export interface AntiVirusSettingsParam {
|
|
139
138
|
/**
|
|
140
|
-
*
|
|
139
|
+
* Specify whether to enable anti-virus scanning on downloads.
|
|
141
140
|
*/
|
|
142
141
|
enabled_download_phase?: boolean | null;
|
|
143
142
|
|
|
144
143
|
/**
|
|
145
|
-
*
|
|
144
|
+
* Specify whether to enable anti-virus scanning on uploads.
|
|
146
145
|
*/
|
|
147
146
|
enabled_upload_phase?: boolean | null;
|
|
148
147
|
|
|
149
148
|
/**
|
|
150
|
-
*
|
|
149
|
+
* Specify whether to block requests for unscannable files.
|
|
151
150
|
*/
|
|
152
151
|
fail_closed?: boolean | null;
|
|
153
152
|
|
|
154
153
|
/**
|
|
155
|
-
* Configure
|
|
156
|
-
* performed.
|
|
154
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
157
155
|
*/
|
|
158
156
|
notification_settings?: NotificationSettingsParam | null;
|
|
159
157
|
}
|
|
160
158
|
|
|
161
159
|
/**
|
|
162
|
-
*
|
|
160
|
+
* Specify block page layout settings.
|
|
163
161
|
*/
|
|
164
162
|
export interface BlockPageSettings {
|
|
165
163
|
/**
|
|
166
|
-
*
|
|
164
|
+
* Specify the block page background color in `#rrggbb` format when the mode is
|
|
165
|
+
* customized_block_page.
|
|
167
166
|
*/
|
|
168
167
|
background_color?: string;
|
|
169
168
|
|
|
170
169
|
/**
|
|
171
|
-
*
|
|
170
|
+
* Specify whether to enable the custom block page.
|
|
172
171
|
*/
|
|
173
172
|
enabled?: boolean | null;
|
|
174
173
|
|
|
175
174
|
/**
|
|
176
|
-
*
|
|
175
|
+
* Specify the block page footer text when the mode is customized_block_page.
|
|
177
176
|
*/
|
|
178
177
|
footer_text?: string;
|
|
179
178
|
|
|
180
179
|
/**
|
|
181
|
-
*
|
|
180
|
+
* Specify the block page header text when the mode is customized_block_page.
|
|
182
181
|
*/
|
|
183
182
|
header_text?: string;
|
|
184
183
|
|
|
185
184
|
/**
|
|
186
|
-
*
|
|
187
|
-
*
|
|
185
|
+
* Specify whether to append context to target_uri as query parameters. This
|
|
186
|
+
* applies only when the mode is redirect_uri.
|
|
188
187
|
*/
|
|
189
188
|
include_context?: boolean;
|
|
190
189
|
|
|
191
190
|
/**
|
|
192
|
-
*
|
|
191
|
+
* Specify the full URL to the logo file when the mode is customized_block_page.
|
|
193
192
|
*/
|
|
194
193
|
logo_path?: string;
|
|
195
194
|
|
|
196
195
|
/**
|
|
197
|
-
*
|
|
196
|
+
* Specify the admin email for users to contact when the mode is
|
|
197
|
+
* customized_block_page.
|
|
198
198
|
*/
|
|
199
199
|
mailto_address?: string;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
202
|
+
* Specify the subject line for emails created from the block page when the mode is
|
|
203
|
+
* customized_block_page.
|
|
204
204
|
*/
|
|
205
205
|
mailto_subject?: string;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
209
|
-
*
|
|
208
|
+
* Specify whether to redirect users to a Cloudflare-hosted block page or a
|
|
209
|
+
* customer-provided URI.
|
|
210
210
|
*/
|
|
211
211
|
mode?: '' | 'customized_block_page' | 'redirect_uri';
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
214
|
+
* Specify the block page title when the mode is customized_block_page.
|
|
215
215
|
*/
|
|
216
216
|
name?: string;
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
220
|
-
* account.
|
|
219
|
+
* Indicate that this setting was shared via the Orgs API and read only for the
|
|
220
|
+
* current account.
|
|
221
221
|
*/
|
|
222
222
|
read_only?: boolean | null;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Indicate the account tag of the account that shared this setting.
|
|
226
226
|
*/
|
|
227
227
|
source_account?: string | null;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
|
-
*
|
|
231
|
-
*
|
|
230
|
+
* Specify whether to suppress detailed information at the bottom of the block page
|
|
231
|
+
* when the mode is customized_block_page.
|
|
232
232
|
*/
|
|
233
233
|
suppress_footer?: boolean;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
|
-
*
|
|
236
|
+
* Specify the URI to redirect users to when the mode is redirect_uri.
|
|
237
237
|
*/
|
|
238
238
|
target_uri?: string;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* Indicate the version number of the setting.
|
|
242
242
|
*/
|
|
243
243
|
version?: number | null;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* Specify block page layout settings.
|
|
248
248
|
*/
|
|
249
249
|
export interface BlockPageSettingsParam {
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* Specify the block page background color in `#rrggbb` format when the mode is
|
|
252
|
+
* customized_block_page.
|
|
252
253
|
*/
|
|
253
254
|
background_color?: string;
|
|
254
255
|
|
|
255
256
|
/**
|
|
256
|
-
*
|
|
257
|
+
* Specify whether to enable the custom block page.
|
|
257
258
|
*/
|
|
258
259
|
enabled?: boolean | null;
|
|
259
260
|
|
|
260
261
|
/**
|
|
261
|
-
*
|
|
262
|
+
* Specify the block page footer text when the mode is customized_block_page.
|
|
262
263
|
*/
|
|
263
264
|
footer_text?: string;
|
|
264
265
|
|
|
265
266
|
/**
|
|
266
|
-
*
|
|
267
|
+
* Specify the block page header text when the mode is customized_block_page.
|
|
267
268
|
*/
|
|
268
269
|
header_text?: string;
|
|
269
270
|
|
|
270
271
|
/**
|
|
271
|
-
*
|
|
272
|
-
*
|
|
272
|
+
* Specify whether to append context to target_uri as query parameters. This
|
|
273
|
+
* applies only when the mode is redirect_uri.
|
|
273
274
|
*/
|
|
274
275
|
include_context?: boolean;
|
|
275
276
|
|
|
276
277
|
/**
|
|
277
|
-
*
|
|
278
|
+
* Specify the full URL to the logo file when the mode is customized_block_page.
|
|
278
279
|
*/
|
|
279
280
|
logo_path?: string;
|
|
280
281
|
|
|
281
282
|
/**
|
|
282
|
-
*
|
|
283
|
+
* Specify the admin email for users to contact when the mode is
|
|
284
|
+
* customized_block_page.
|
|
283
285
|
*/
|
|
284
286
|
mailto_address?: string;
|
|
285
287
|
|
|
286
288
|
/**
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
+
* Specify the subject line for emails created from the block page when the mode is
|
|
290
|
+
* customized_block_page.
|
|
289
291
|
*/
|
|
290
292
|
mailto_subject?: string;
|
|
291
293
|
|
|
292
294
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
+
* Specify whether to redirect users to a Cloudflare-hosted block page or a
|
|
296
|
+
* customer-provided URI.
|
|
295
297
|
*/
|
|
296
298
|
mode?: '' | 'customized_block_page' | 'redirect_uri';
|
|
297
299
|
|
|
298
300
|
/**
|
|
299
|
-
*
|
|
301
|
+
* Specify the block page title when the mode is customized_block_page.
|
|
300
302
|
*/
|
|
301
303
|
name?: string;
|
|
302
304
|
|
|
303
305
|
/**
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
+
* Specify whether to suppress detailed information at the bottom of the block page
|
|
307
|
+
* when the mode is customized_block_page.
|
|
306
308
|
*/
|
|
307
309
|
suppress_footer?: boolean;
|
|
308
310
|
|
|
309
311
|
/**
|
|
310
|
-
*
|
|
312
|
+
* Specify the URI to redirect users to when the mode is redirect_uri.
|
|
311
313
|
*/
|
|
312
314
|
target_uri?: string;
|
|
313
315
|
}
|
|
314
316
|
|
|
315
317
|
/**
|
|
316
|
-
* DLP
|
|
318
|
+
* Specify the DLP inspection mode.
|
|
317
319
|
*/
|
|
318
320
|
export interface BodyScanningSettings {
|
|
319
321
|
/**
|
|
320
|
-
*
|
|
322
|
+
* Specify the inspection mode as either `deep` or `shallow`.
|
|
321
323
|
*/
|
|
322
324
|
inspection_mode?: 'deep' | 'shallow';
|
|
323
325
|
}
|
|
324
326
|
|
|
325
327
|
/**
|
|
326
|
-
* DLP
|
|
328
|
+
* Specify the DLP inspection mode.
|
|
327
329
|
*/
|
|
328
330
|
export interface BodyScanningSettingsParam {
|
|
329
331
|
/**
|
|
330
|
-
*
|
|
332
|
+
* Specify the inspection mode as either `deep` or `shallow`.
|
|
331
333
|
*/
|
|
332
334
|
inspection_mode?: 'deep' | 'shallow';
|
|
333
335
|
}
|
|
334
336
|
|
|
335
337
|
/**
|
|
336
|
-
* Browser
|
|
338
|
+
* Specify Clientless Browser Isolation settings.
|
|
337
339
|
*/
|
|
338
340
|
export interface BrowserIsolationSettings {
|
|
339
341
|
/**
|
|
340
|
-
*
|
|
342
|
+
* Specify whether to enable non-identity onramp support for Browser Isolation.
|
|
341
343
|
*/
|
|
342
344
|
non_identity_enabled?: boolean;
|
|
343
345
|
|
|
344
346
|
/**
|
|
345
|
-
*
|
|
347
|
+
* Specify whether to enable Clientless Browser Isolation.
|
|
346
348
|
*/
|
|
347
349
|
url_browser_isolation_enabled?: boolean;
|
|
348
350
|
}
|
|
349
351
|
|
|
350
352
|
/**
|
|
351
|
-
* Browser
|
|
353
|
+
* Specify Clientless Browser Isolation settings.
|
|
352
354
|
*/
|
|
353
355
|
export interface BrowserIsolationSettingsParam {
|
|
354
356
|
/**
|
|
355
|
-
*
|
|
357
|
+
* Specify whether to enable non-identity onramp support for Browser Isolation.
|
|
356
358
|
*/
|
|
357
359
|
non_identity_enabled?: boolean;
|
|
358
360
|
|
|
359
361
|
/**
|
|
360
|
-
*
|
|
362
|
+
* Specify whether to enable Clientless Browser Isolation.
|
|
361
363
|
*/
|
|
362
364
|
url_browser_isolation_enabled?: boolean;
|
|
363
365
|
}
|
|
364
366
|
|
|
365
367
|
/**
|
|
366
|
-
* @deprecated
|
|
367
|
-
* `certificate`
|
|
368
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
369
|
+
* deprecated; use `certificate` instead.
|
|
368
370
|
*/
|
|
369
371
|
export interface CustomCertificateSettings {
|
|
370
372
|
/**
|
|
371
|
-
*
|
|
373
|
+
* Specify whether to enable a custom certificate authority for signing Gateway
|
|
374
|
+
* traffic.
|
|
372
375
|
*/
|
|
373
376
|
enabled: boolean | null;
|
|
374
377
|
|
|
375
378
|
/**
|
|
376
|
-
* UUID of certificate (ID from MTLS certificate store).
|
|
379
|
+
* Specify the UUID of the certificate (ID from MTLS certificate store).
|
|
377
380
|
*/
|
|
378
381
|
id?: string;
|
|
379
382
|
|
|
380
383
|
/**
|
|
381
|
-
*
|
|
384
|
+
* Indicate the internal certificate status.
|
|
382
385
|
*/
|
|
383
386
|
binding_status?: string;
|
|
384
387
|
|
|
@@ -386,445 +389,462 @@ export interface CustomCertificateSettings {
|
|
|
386
389
|
}
|
|
387
390
|
|
|
388
391
|
/**
|
|
389
|
-
* @deprecated
|
|
390
|
-
* `certificate`
|
|
392
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
393
|
+
* deprecated; use `certificate` instead.
|
|
391
394
|
*/
|
|
392
395
|
export interface CustomCertificateSettingsParam {
|
|
393
396
|
/**
|
|
394
|
-
*
|
|
397
|
+
* Specify whether to enable a custom certificate authority for signing Gateway
|
|
398
|
+
* traffic.
|
|
395
399
|
*/
|
|
396
400
|
enabled: boolean | null;
|
|
397
401
|
|
|
398
402
|
/**
|
|
399
|
-
* UUID of certificate (ID from MTLS certificate store).
|
|
403
|
+
* Specify the UUID of the certificate (ID from MTLS certificate store).
|
|
400
404
|
*/
|
|
401
405
|
id?: string;
|
|
402
406
|
}
|
|
403
407
|
|
|
404
408
|
/**
|
|
405
|
-
*
|
|
409
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
410
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
411
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
412
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
413
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
414
|
+
* this setting.
|
|
406
415
|
*/
|
|
407
416
|
export interface ExtendedEmailMatching {
|
|
408
417
|
/**
|
|
409
|
-
*
|
|
410
|
-
* criteria in Firewall policies.
|
|
418
|
+
* Specify whether to match all variants of user emails (with + or . modifiers)
|
|
419
|
+
* used as criteria in Firewall policies.
|
|
411
420
|
*/
|
|
412
421
|
enabled?: boolean | null;
|
|
413
422
|
|
|
414
423
|
/**
|
|
415
|
-
*
|
|
416
|
-
* account.
|
|
424
|
+
* Indicate that this setting was shared via the Orgs API and read only for the
|
|
425
|
+
* current account.
|
|
417
426
|
*/
|
|
418
427
|
read_only?: boolean;
|
|
419
428
|
|
|
420
429
|
/**
|
|
421
|
-
*
|
|
430
|
+
* Indicate the account tag of the account that shared this setting.
|
|
422
431
|
*/
|
|
423
432
|
source_account?: string;
|
|
424
433
|
|
|
425
434
|
/**
|
|
426
|
-
*
|
|
435
|
+
* Indicate the version number of the setting.
|
|
427
436
|
*/
|
|
428
437
|
version?: number;
|
|
429
438
|
}
|
|
430
439
|
|
|
431
440
|
/**
|
|
432
|
-
*
|
|
441
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
442
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
443
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
444
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
445
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
446
|
+
* this setting.
|
|
433
447
|
*/
|
|
434
448
|
export interface ExtendedEmailMatchingParam {
|
|
435
449
|
/**
|
|
436
|
-
*
|
|
437
|
-
* criteria in Firewall policies.
|
|
450
|
+
* Specify whether to match all variants of user emails (with + or . modifiers)
|
|
451
|
+
* used as criteria in Firewall policies.
|
|
438
452
|
*/
|
|
439
453
|
enabled?: boolean | null;
|
|
440
454
|
}
|
|
441
455
|
|
|
442
456
|
/**
|
|
443
|
-
* FIPS settings.
|
|
457
|
+
* Specify FIPS settings.
|
|
444
458
|
*/
|
|
445
459
|
export interface FipsSettings {
|
|
446
460
|
/**
|
|
447
|
-
*
|
|
461
|
+
* Enforce cipher suites and TLS versions compliant with FIPS 140-2.
|
|
448
462
|
*/
|
|
449
463
|
tls?: boolean;
|
|
450
464
|
}
|
|
451
465
|
|
|
452
466
|
/**
|
|
453
|
-
* FIPS settings.
|
|
467
|
+
* Specify FIPS settings.
|
|
454
468
|
*/
|
|
455
469
|
export interface FipsSettingsParam {
|
|
456
470
|
/**
|
|
457
|
-
*
|
|
471
|
+
* Enforce cipher suites and TLS versions compliant with FIPS 140-2.
|
|
458
472
|
*/
|
|
459
473
|
tls?: boolean;
|
|
460
474
|
}
|
|
461
475
|
|
|
462
476
|
/**
|
|
463
|
-
*
|
|
477
|
+
* Specify account settings.
|
|
464
478
|
*/
|
|
465
479
|
export interface GatewayConfigurationSettings {
|
|
466
480
|
/**
|
|
467
|
-
*
|
|
481
|
+
* Specify activity log settings.
|
|
468
482
|
*/
|
|
469
483
|
activity_log?: ActivityLogSettings | null;
|
|
470
484
|
|
|
471
485
|
/**
|
|
472
|
-
*
|
|
486
|
+
* Specify anti-virus settings.
|
|
473
487
|
*/
|
|
474
488
|
antivirus?: AntiVirusSettings | null;
|
|
475
489
|
|
|
476
490
|
/**
|
|
477
|
-
*
|
|
491
|
+
* Specify block page layout settings.
|
|
478
492
|
*/
|
|
479
493
|
block_page?: BlockPageSettings | null;
|
|
480
494
|
|
|
481
495
|
/**
|
|
482
|
-
* DLP
|
|
496
|
+
* Specify the DLP inspection mode.
|
|
483
497
|
*/
|
|
484
498
|
body_scanning?: BodyScanningSettings | null;
|
|
485
499
|
|
|
486
500
|
/**
|
|
487
|
-
* Browser
|
|
501
|
+
* Specify Clientless Browser Isolation settings.
|
|
488
502
|
*/
|
|
489
503
|
browser_isolation?: BrowserIsolationSettings | null;
|
|
490
504
|
|
|
491
505
|
/**
|
|
492
|
-
*
|
|
493
|
-
* Cloudflare Root CA
|
|
506
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
507
|
+
* Cloudflare Root CA handles interception.
|
|
494
508
|
*/
|
|
495
509
|
certificate?: GatewayConfigurationSettings.Certificate | null;
|
|
496
510
|
|
|
497
511
|
/**
|
|
498
|
-
* @deprecated
|
|
499
|
-
* `certificate`
|
|
512
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
513
|
+
* deprecated; use `certificate` instead.
|
|
500
514
|
*/
|
|
501
515
|
custom_certificate?: CustomCertificateSettings | null;
|
|
502
516
|
|
|
503
517
|
/**
|
|
504
|
-
*
|
|
518
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
519
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
520
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
521
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
522
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
523
|
+
* this setting.
|
|
505
524
|
*/
|
|
506
525
|
extended_email_matching?: ExtendedEmailMatching | null;
|
|
507
526
|
|
|
508
527
|
/**
|
|
509
|
-
* FIPS settings.
|
|
528
|
+
* Specify FIPS settings.
|
|
510
529
|
*/
|
|
511
530
|
fips?: FipsSettings | null;
|
|
512
531
|
|
|
513
532
|
/**
|
|
514
|
-
*
|
|
533
|
+
* Enable host selection in egress policies.
|
|
515
534
|
*/
|
|
516
535
|
host_selector?: GatewayConfigurationSettings.HostSelector | null;
|
|
517
536
|
|
|
518
537
|
/**
|
|
519
|
-
*
|
|
538
|
+
* Define the proxy inspection mode.
|
|
520
539
|
*/
|
|
521
540
|
inspection?: GatewayConfigurationSettings.Inspection | null;
|
|
522
541
|
|
|
523
542
|
/**
|
|
524
|
-
*
|
|
543
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
525
544
|
*/
|
|
526
545
|
protocol_detection?: ProtocolDetection | null;
|
|
527
546
|
|
|
528
547
|
/**
|
|
529
|
-
*
|
|
548
|
+
* Specify whether to enable the sandbox.
|
|
530
549
|
*/
|
|
531
550
|
sandbox?: GatewayConfigurationSettings.Sandbox | null;
|
|
532
551
|
|
|
533
552
|
/**
|
|
534
|
-
*
|
|
553
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
535
554
|
*/
|
|
536
555
|
tls_decrypt?: TLSSettings | null;
|
|
537
556
|
}
|
|
538
557
|
|
|
539
558
|
export namespace GatewayConfigurationSettings {
|
|
540
559
|
/**
|
|
541
|
-
*
|
|
542
|
-
* Cloudflare Root CA
|
|
560
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
561
|
+
* Cloudflare Root CA handles interception.
|
|
543
562
|
*/
|
|
544
563
|
export interface Certificate {
|
|
545
564
|
/**
|
|
546
|
-
* UUID of certificate
|
|
547
|
-
* (previously called 'active')
|
|
548
|
-
* Cloudflare
|
|
565
|
+
* Specify the UUID of the certificate used for interception. Ensure the
|
|
566
|
+
* certificate is available at the edge(previously called 'active'). A nil UUID
|
|
567
|
+
* directs Cloudflare to use the Root CA.
|
|
549
568
|
*/
|
|
550
569
|
id: string;
|
|
551
570
|
}
|
|
552
571
|
|
|
553
572
|
/**
|
|
554
|
-
*
|
|
573
|
+
* Enable host selection in egress policies.
|
|
555
574
|
*/
|
|
556
575
|
export interface HostSelector {
|
|
557
576
|
/**
|
|
558
|
-
*
|
|
577
|
+
* Specify whether to enable filtering via hosts for egress policies.
|
|
559
578
|
*/
|
|
560
579
|
enabled?: boolean | null;
|
|
561
580
|
}
|
|
562
581
|
|
|
563
582
|
/**
|
|
564
|
-
*
|
|
583
|
+
* Define the proxy inspection mode.
|
|
565
584
|
*/
|
|
566
585
|
export interface Inspection {
|
|
567
586
|
/**
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
* HTTPS traffic on any port. TLS decryption must be on to inspect HTTPS traffic.
|
|
587
|
+
* Define the proxy inspection mode. 1. static: Gateway applies static inspection
|
|
588
|
+
* to HTTP on TCP(80). With TLS decryption on, Gateway inspects HTTPS traffic on
|
|
589
|
+
* TCP(443) and UDP(443). 2. dynamic: Gateway applies protocol detection to inspect
|
|
590
|
+
* HTTP and HTTPS traffic on any port. TLS decryption must remain on to inspect
|
|
591
|
+
* HTTPS traffic.
|
|
574
592
|
*/
|
|
575
593
|
mode?: 'static' | 'dynamic';
|
|
576
594
|
}
|
|
577
595
|
|
|
578
596
|
/**
|
|
579
|
-
*
|
|
597
|
+
* Specify whether to enable the sandbox.
|
|
580
598
|
*/
|
|
581
599
|
export interface Sandbox {
|
|
582
600
|
/**
|
|
583
|
-
*
|
|
601
|
+
* Specify whether to enable the sandbox.
|
|
584
602
|
*/
|
|
585
603
|
enabled?: boolean | null;
|
|
586
604
|
|
|
587
605
|
/**
|
|
588
|
-
*
|
|
606
|
+
* Specify the action to take when the system cannot scan the file.
|
|
589
607
|
*/
|
|
590
608
|
fallback_action?: 'allow' | 'block';
|
|
591
609
|
}
|
|
592
610
|
}
|
|
593
611
|
|
|
594
612
|
/**
|
|
595
|
-
*
|
|
613
|
+
* Specify account settings.
|
|
596
614
|
*/
|
|
597
615
|
export interface GatewayConfigurationSettingsParam {
|
|
598
616
|
/**
|
|
599
|
-
*
|
|
617
|
+
* Specify activity log settings.
|
|
600
618
|
*/
|
|
601
619
|
activity_log?: ActivityLogSettingsParam | null;
|
|
602
620
|
|
|
603
621
|
/**
|
|
604
|
-
*
|
|
622
|
+
* Specify anti-virus settings.
|
|
605
623
|
*/
|
|
606
624
|
antivirus?: AntiVirusSettingsParam | null;
|
|
607
625
|
|
|
608
626
|
/**
|
|
609
|
-
*
|
|
627
|
+
* Specify block page layout settings.
|
|
610
628
|
*/
|
|
611
629
|
block_page?: BlockPageSettingsParam | null;
|
|
612
630
|
|
|
613
631
|
/**
|
|
614
|
-
* DLP
|
|
632
|
+
* Specify the DLP inspection mode.
|
|
615
633
|
*/
|
|
616
634
|
body_scanning?: BodyScanningSettingsParam | null;
|
|
617
635
|
|
|
618
636
|
/**
|
|
619
|
-
* Browser
|
|
637
|
+
* Specify Clientless Browser Isolation settings.
|
|
620
638
|
*/
|
|
621
639
|
browser_isolation?: BrowserIsolationSettingsParam | null;
|
|
622
640
|
|
|
623
641
|
/**
|
|
624
|
-
*
|
|
625
|
-
* Cloudflare Root CA
|
|
642
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
643
|
+
* Cloudflare Root CA handles interception.
|
|
626
644
|
*/
|
|
627
645
|
certificate?: GatewayConfigurationSettingsParam.Certificate | null;
|
|
628
646
|
|
|
629
647
|
/**
|
|
630
|
-
* @deprecated
|
|
631
|
-
* `certificate`
|
|
648
|
+
* @deprecated Specify custom certificate settings for BYO-PKI. This field is
|
|
649
|
+
* deprecated; use `certificate` instead.
|
|
632
650
|
*/
|
|
633
651
|
custom_certificate?: CustomCertificateSettingsParam | null;
|
|
634
652
|
|
|
635
653
|
/**
|
|
636
|
-
*
|
|
654
|
+
* Specify user email settings for the firewall policies. When this is enabled, we
|
|
655
|
+
* standardize the email addresses in the identity part of the rule, so that they
|
|
656
|
+
* match the extended email variants in the firewall policies. When this setting is
|
|
657
|
+
* turned off, the email addresses in the identity part of the rule will be matched
|
|
658
|
+
* exactly as provided. If your email has `.` or `+` modifiers, you should enable
|
|
659
|
+
* this setting.
|
|
637
660
|
*/
|
|
638
661
|
extended_email_matching?: ExtendedEmailMatchingParam | null;
|
|
639
662
|
|
|
640
663
|
/**
|
|
641
|
-
* FIPS settings.
|
|
664
|
+
* Specify FIPS settings.
|
|
642
665
|
*/
|
|
643
666
|
fips?: FipsSettingsParam | null;
|
|
644
667
|
|
|
645
668
|
/**
|
|
646
|
-
*
|
|
669
|
+
* Enable host selection in egress policies.
|
|
647
670
|
*/
|
|
648
671
|
host_selector?: GatewayConfigurationSettingsParam.HostSelector | null;
|
|
649
672
|
|
|
650
673
|
/**
|
|
651
|
-
*
|
|
674
|
+
* Define the proxy inspection mode.
|
|
652
675
|
*/
|
|
653
676
|
inspection?: GatewayConfigurationSettingsParam.Inspection | null;
|
|
654
677
|
|
|
655
678
|
/**
|
|
656
|
-
*
|
|
679
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
657
680
|
*/
|
|
658
681
|
protocol_detection?: ProtocolDetectionParam | null;
|
|
659
682
|
|
|
660
683
|
/**
|
|
661
|
-
*
|
|
684
|
+
* Specify whether to enable the sandbox.
|
|
662
685
|
*/
|
|
663
686
|
sandbox?: GatewayConfigurationSettingsParam.Sandbox | null;
|
|
664
687
|
|
|
665
688
|
/**
|
|
666
|
-
*
|
|
689
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
667
690
|
*/
|
|
668
691
|
tls_decrypt?: TLSSettingsParam | null;
|
|
669
692
|
}
|
|
670
693
|
|
|
671
694
|
export namespace GatewayConfigurationSettingsParam {
|
|
672
695
|
/**
|
|
673
|
-
*
|
|
674
|
-
* Cloudflare Root CA
|
|
696
|
+
* Specify certificate settings for Gateway TLS interception. If unset, the
|
|
697
|
+
* Cloudflare Root CA handles interception.
|
|
675
698
|
*/
|
|
676
699
|
export interface Certificate {
|
|
677
700
|
/**
|
|
678
|
-
* UUID of certificate
|
|
679
|
-
* (previously called 'active')
|
|
680
|
-
* Cloudflare
|
|
701
|
+
* Specify the UUID of the certificate used for interception. Ensure the
|
|
702
|
+
* certificate is available at the edge(previously called 'active'). A nil UUID
|
|
703
|
+
* directs Cloudflare to use the Root CA.
|
|
681
704
|
*/
|
|
682
705
|
id: string;
|
|
683
706
|
}
|
|
684
707
|
|
|
685
708
|
/**
|
|
686
|
-
*
|
|
709
|
+
* Enable host selection in egress policies.
|
|
687
710
|
*/
|
|
688
711
|
export interface HostSelector {
|
|
689
712
|
/**
|
|
690
|
-
*
|
|
713
|
+
* Specify whether to enable filtering via hosts for egress policies.
|
|
691
714
|
*/
|
|
692
715
|
enabled?: boolean | null;
|
|
693
716
|
}
|
|
694
717
|
|
|
695
718
|
/**
|
|
696
|
-
*
|
|
719
|
+
* Define the proxy inspection mode.
|
|
697
720
|
*/
|
|
698
721
|
export interface Inspection {
|
|
699
722
|
/**
|
|
700
|
-
*
|
|
701
|
-
*
|
|
702
|
-
*
|
|
703
|
-
*
|
|
704
|
-
*
|
|
705
|
-
* HTTPS traffic on any port. TLS decryption must be on to inspect HTTPS traffic.
|
|
723
|
+
* Define the proxy inspection mode. 1. static: Gateway applies static inspection
|
|
724
|
+
* to HTTP on TCP(80). With TLS decryption on, Gateway inspects HTTPS traffic on
|
|
725
|
+
* TCP(443) and UDP(443). 2. dynamic: Gateway applies protocol detection to inspect
|
|
726
|
+
* HTTP and HTTPS traffic on any port. TLS decryption must remain on to inspect
|
|
727
|
+
* HTTPS traffic.
|
|
706
728
|
*/
|
|
707
729
|
mode?: 'static' | 'dynamic';
|
|
708
730
|
}
|
|
709
731
|
|
|
710
732
|
/**
|
|
711
|
-
*
|
|
733
|
+
* Specify whether to enable the sandbox.
|
|
712
734
|
*/
|
|
713
735
|
export interface Sandbox {
|
|
714
736
|
/**
|
|
715
|
-
*
|
|
737
|
+
* Specify whether to enable the sandbox.
|
|
716
738
|
*/
|
|
717
739
|
enabled?: boolean | null;
|
|
718
740
|
|
|
719
741
|
/**
|
|
720
|
-
*
|
|
742
|
+
* Specify the action to take when the system cannot scan the file.
|
|
721
743
|
*/
|
|
722
744
|
fallback_action?: 'allow' | 'block';
|
|
723
745
|
}
|
|
724
746
|
}
|
|
725
747
|
|
|
726
748
|
/**
|
|
727
|
-
* Configure
|
|
728
|
-
* performed.
|
|
749
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
729
750
|
*/
|
|
730
751
|
export interface NotificationSettings {
|
|
731
752
|
/**
|
|
732
|
-
*
|
|
753
|
+
* Specify whether to enable notifications.
|
|
733
754
|
*/
|
|
734
755
|
enabled?: boolean;
|
|
735
756
|
|
|
736
757
|
/**
|
|
737
|
-
*
|
|
758
|
+
* Specify whether to include context information as query parameters.
|
|
738
759
|
*/
|
|
739
760
|
include_context?: boolean;
|
|
740
761
|
|
|
741
762
|
/**
|
|
742
|
-
*
|
|
763
|
+
* Specify the message to show in the notification.
|
|
743
764
|
*/
|
|
744
765
|
msg?: string;
|
|
745
766
|
|
|
746
767
|
/**
|
|
747
|
-
*
|
|
748
|
-
*
|
|
768
|
+
* Specify a URL that directs users to more information. If unset, the notification
|
|
769
|
+
* opens a block page.
|
|
749
770
|
*/
|
|
750
771
|
support_url?: string;
|
|
751
772
|
}
|
|
752
773
|
|
|
753
774
|
/**
|
|
754
|
-
* Configure
|
|
755
|
-
* performed.
|
|
775
|
+
* Configure the message the user's device shows during an antivirus scan.
|
|
756
776
|
*/
|
|
757
777
|
export interface NotificationSettingsParam {
|
|
758
778
|
/**
|
|
759
|
-
*
|
|
779
|
+
* Specify whether to enable notifications.
|
|
760
780
|
*/
|
|
761
781
|
enabled?: boolean;
|
|
762
782
|
|
|
763
783
|
/**
|
|
764
|
-
*
|
|
784
|
+
* Specify whether to include context information as query parameters.
|
|
765
785
|
*/
|
|
766
786
|
include_context?: boolean;
|
|
767
787
|
|
|
768
788
|
/**
|
|
769
|
-
*
|
|
789
|
+
* Specify the message to show in the notification.
|
|
770
790
|
*/
|
|
771
791
|
msg?: string;
|
|
772
792
|
|
|
773
793
|
/**
|
|
774
|
-
*
|
|
775
|
-
*
|
|
794
|
+
* Specify a URL that directs users to more information. If unset, the notification
|
|
795
|
+
* opens a block page.
|
|
776
796
|
*/
|
|
777
797
|
support_url?: string;
|
|
778
798
|
}
|
|
779
799
|
|
|
780
800
|
/**
|
|
781
|
-
*
|
|
801
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
782
802
|
*/
|
|
783
803
|
export interface ProtocolDetection {
|
|
784
804
|
/**
|
|
785
|
-
*
|
|
805
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
786
806
|
*/
|
|
787
807
|
enabled?: boolean | null;
|
|
788
808
|
}
|
|
789
809
|
|
|
790
810
|
/**
|
|
791
|
-
*
|
|
811
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
792
812
|
*/
|
|
793
813
|
export interface ProtocolDetectionParam {
|
|
794
814
|
/**
|
|
795
|
-
*
|
|
815
|
+
* Specify whether to detect protocols from the initial bytes of client traffic.
|
|
796
816
|
*/
|
|
797
817
|
enabled?: boolean | null;
|
|
798
818
|
}
|
|
799
819
|
|
|
800
820
|
/**
|
|
801
|
-
*
|
|
821
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
802
822
|
*/
|
|
803
823
|
export interface TLSSettings {
|
|
804
824
|
/**
|
|
805
|
-
*
|
|
825
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
806
826
|
*/
|
|
807
827
|
enabled?: boolean;
|
|
808
828
|
}
|
|
809
829
|
|
|
810
830
|
/**
|
|
811
|
-
*
|
|
831
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
812
832
|
*/
|
|
813
833
|
export interface TLSSettingsParam {
|
|
814
834
|
/**
|
|
815
|
-
*
|
|
835
|
+
* Specify whether to inspect encrypted HTTP traffic.
|
|
816
836
|
*/
|
|
817
837
|
enabled?: boolean;
|
|
818
838
|
}
|
|
819
839
|
|
|
820
840
|
/**
|
|
821
|
-
*
|
|
841
|
+
* Specify account settings.
|
|
822
842
|
*/
|
|
823
843
|
export interface ConfigurationUpdateResponse {
|
|
824
844
|
created_at?: string;
|
|
825
845
|
|
|
826
846
|
/**
|
|
827
|
-
*
|
|
847
|
+
* Specify account settings.
|
|
828
848
|
*/
|
|
829
849
|
settings?: GatewayConfigurationSettings;
|
|
830
850
|
|
|
@@ -832,13 +852,13 @@ export interface ConfigurationUpdateResponse {
|
|
|
832
852
|
}
|
|
833
853
|
|
|
834
854
|
/**
|
|
835
|
-
*
|
|
855
|
+
* Specify account settings.
|
|
836
856
|
*/
|
|
837
857
|
export interface ConfigurationEditResponse {
|
|
838
858
|
created_at?: string;
|
|
839
859
|
|
|
840
860
|
/**
|
|
841
|
-
*
|
|
861
|
+
* Specify account settings.
|
|
842
862
|
*/
|
|
843
863
|
settings?: GatewayConfigurationSettings;
|
|
844
864
|
|
|
@@ -846,13 +866,13 @@ export interface ConfigurationEditResponse {
|
|
|
846
866
|
}
|
|
847
867
|
|
|
848
868
|
/**
|
|
849
|
-
*
|
|
869
|
+
* Specify account settings.
|
|
850
870
|
*/
|
|
851
871
|
export interface ConfigurationGetResponse {
|
|
852
872
|
created_at?: string;
|
|
853
873
|
|
|
854
874
|
/**
|
|
855
|
-
*
|
|
875
|
+
* Specify account settings.
|
|
856
876
|
*/
|
|
857
877
|
settings?: GatewayConfigurationSettings;
|
|
858
878
|
|
|
@@ -866,7 +886,7 @@ export interface ConfigurationUpdateParams {
|
|
|
866
886
|
account_id: string;
|
|
867
887
|
|
|
868
888
|
/**
|
|
869
|
-
* Body param:
|
|
889
|
+
* Body param: Specify account settings.
|
|
870
890
|
*/
|
|
871
891
|
settings?: GatewayConfigurationSettingsParam;
|
|
872
892
|
}
|
|
@@ -878,7 +898,7 @@ export interface ConfigurationEditParams {
|
|
|
878
898
|
account_id: string;
|
|
879
899
|
|
|
880
900
|
/**
|
|
881
|
-
* Body param:
|
|
901
|
+
* Body param: Specify account settings.
|
|
882
902
|
*/
|
|
883
903
|
settings?: GatewayConfigurationSettingsParam;
|
|
884
904
|
}
|