cloudflare 6.0.0 → 6.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 +293 -0
- package/index.d.mts +6 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/index.mjs +6 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/acm/custom-trust-store.d.ts +9 -6
- package/resources/acm/custom-trust-store.d.ts.map +1 -1
- package/resources/acm/custom-trust-store.js +5 -4
- package/resources/acm/custom-trust-store.js.map +1 -1
- package/resources/acm/custom-trust-store.mjs +5 -4
- package/resources/acm/custom-trust-store.mjs.map +1 -1
- package/resources/ai-gateway/ai-gateway.d.ts +241 -0
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
- package/resources/ai-gateway/ai-gateway.js +4 -0
- package/resources/ai-gateway/ai-gateway.js.map +1 -1
- package/resources/ai-gateway/ai-gateway.mjs +4 -0
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
- package/resources/ai-gateway/billing/billing.d.ts +202 -0
- package/resources/ai-gateway/billing/billing.d.ts.map +1 -0
- package/resources/ai-gateway/billing/billing.js +111 -0
- package/resources/ai-gateway/billing/billing.js.map +1 -0
- package/resources/ai-gateway/billing/billing.mjs +84 -0
- package/resources/ai-gateway/billing/billing.mjs.map +1 -0
- package/resources/ai-gateway/billing/index.d.ts +4 -0
- package/resources/ai-gateway/billing/index.d.ts.map +1 -0
- package/resources/ai-gateway/billing/index.js +11 -0
- package/resources/ai-gateway/billing/index.js.map +1 -0
- package/resources/ai-gateway/billing/index.mjs +5 -0
- package/resources/ai-gateway/billing/index.mjs.map +1 -0
- package/resources/ai-gateway/billing/spending-limit.d.ts +90 -0
- package/resources/ai-gateway/billing/spending-limit.d.ts.map +1 -0
- package/resources/ai-gateway/billing/spending-limit.js +60 -0
- package/resources/ai-gateway/billing/spending-limit.js.map +1 -0
- package/resources/ai-gateway/billing/spending-limit.mjs +56 -0
- package/resources/ai-gateway/billing/spending-limit.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup/config.d.ts +84 -0
- package/resources/ai-gateway/billing/topup/config.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup/config.js +59 -0
- package/resources/ai-gateway/billing/topup/config.js.map +1 -0
- package/resources/ai-gateway/billing/topup/config.mjs +55 -0
- package/resources/ai-gateway/billing/topup/config.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup/index.d.ts +3 -0
- package/resources/ai-gateway/billing/topup/index.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup/index.js +9 -0
- package/resources/ai-gateway/billing/topup/index.js.map +1 -0
- package/resources/ai-gateway/billing/topup/index.mjs +4 -0
- package/resources/ai-gateway/billing/topup/index.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup/topup.d.ts +83 -0
- package/resources/ai-gateway/billing/topup/topup.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup/topup.js +76 -0
- package/resources/ai-gateway/billing/topup/topup.js.map +1 -0
- package/resources/ai-gateway/billing/topup/topup.mjs +49 -0
- package/resources/ai-gateway/billing/topup/topup.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup.d.ts +2 -0
- package/resources/ai-gateway/billing/topup.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup.js +19 -0
- package/resources/ai-gateway/billing/topup.js.map +1 -0
- package/resources/ai-gateway/billing/topup.mjs +3 -0
- package/resources/ai-gateway/billing/topup.mjs.map +1 -0
- package/resources/ai-gateway/billing.d.ts +2 -0
- package/resources/ai-gateway/billing.d.ts.map +1 -0
- package/resources/ai-gateway/billing.js +19 -0
- package/resources/ai-gateway/billing.js.map +1 -0
- package/resources/ai-gateway/billing.mjs +3 -0
- package/resources/ai-gateway/billing.mjs.map +1 -0
- package/resources/ai-gateway/dynamic-routing.d.ts +17 -0
- package/resources/ai-gateway/dynamic-routing.d.ts.map +1 -1
- package/resources/ai-gateway/dynamic-routing.js +5 -2
- package/resources/ai-gateway/dynamic-routing.js.map +1 -1
- package/resources/ai-gateway/dynamic-routing.mjs +5 -2
- package/resources/ai-gateway/dynamic-routing.mjs.map +1 -1
- package/resources/ai-gateway/index.d.ts +1 -0
- package/resources/ai-gateway/index.d.ts.map +1 -1
- package/resources/ai-gateway/index.js +3 -1
- package/resources/ai-gateway/index.js.map +1 -1
- package/resources/ai-gateway/index.mjs +1 -0
- package/resources/ai-gateway/index.mjs.map +1 -1
- package/resources/ai-security/ai-security.d.ts +70 -0
- package/resources/ai-security/ai-security.d.ts.map +1 -0
- package/resources/ai-security/ai-security.js +69 -0
- package/resources/ai-security/ai-security.js.map +1 -0
- package/resources/ai-security/ai-security.mjs +42 -0
- package/resources/ai-security/ai-security.mjs.map +1 -0
- package/resources/ai-security/custom-topics.d.ts +105 -0
- package/resources/ai-security/custom-topics.d.ts.map +1 -0
- package/resources/ai-security/custom-topics.js +48 -0
- package/resources/ai-security/custom-topics.js.map +1 -0
- package/resources/ai-security/custom-topics.mjs +44 -0
- package/resources/ai-security/custom-topics.mjs.map +1 -0
- package/resources/ai-security/index.d.ts +3 -0
- package/resources/ai-security/index.d.ts.map +1 -0
- package/resources/ai-security/index.js +9 -0
- package/resources/ai-security/index.js.map +1 -0
- package/resources/ai-security/index.mjs +4 -0
- package/resources/ai-security/index.mjs.map +1 -0
- package/resources/ai-security.d.ts +2 -0
- package/resources/ai-security.d.ts.map +1 -0
- package/resources/ai-security.js +19 -0
- package/resources/ai-security.js.map +1 -0
- package/resources/ai-security.mjs +3 -0
- package/resources/ai-security.mjs.map +1 -0
- package/resources/aisearch/instances/instances.d.ts +112 -21
- package/resources/aisearch/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/instances/instances.js.map +1 -1
- package/resources/aisearch/instances/instances.mjs.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.d.ts +112 -21
- package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
- package/resources/billing/usage.d.ts +3 -1
- package/resources/billing/usage.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
- package/resources/d1/d1.d.ts +3 -3
- package/resources/d1/database/database.d.ts +17 -0
- package/resources/d1/database/database.d.ts.map +1 -1
- package/resources/d1/database/database.js.map +1 -1
- package/resources/d1/database/database.mjs.map +1 -1
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts +26 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js +59 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs +32 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts +180 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js +99 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs +71 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts +157 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.d.ts +7 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.js +20 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.mjs +8 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js +11 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts +157 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts +257 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js +129 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs +100 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.d.ts +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.js +42 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.mjs +38 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts +174 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js +96 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs +68 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts +150 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js +13 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs +5 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts +203 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts +234 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js +98 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs +70 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts +14 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js +45 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs +18 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts +174 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js +96 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs +68 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts +150 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js +13 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs +5 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts +190 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts +220 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js +98 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs +70 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts +14 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js +45 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs +18 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection.mjs.map +1 -0
- package/resources/ddos-protection/ddos-protection.d.ts +10 -0
- package/resources/ddos-protection/ddos-protection.d.ts.map +1 -0
- package/resources/ddos-protection/ddos-protection.js +39 -0
- package/resources/ddos-protection/ddos-protection.js.map +1 -0
- package/resources/ddos-protection/ddos-protection.mjs +12 -0
- package/resources/ddos-protection/ddos-protection.mjs.map +1 -0
- package/resources/ddos-protection/index.d.ts +3 -0
- package/resources/ddos-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/index.js +9 -0
- package/resources/ddos-protection/index.js.map +1 -0
- package/resources/ddos-protection/index.mjs +4 -0
- package/resources/ddos-protection/index.mjs.map +1 -0
- package/resources/ddos-protection.d.ts +2 -0
- package/resources/ddos-protection.d.ts.map +1 -0
- package/resources/ddos-protection.js +19 -0
- package/resources/ddos-protection.js.map +1 -0
- package/resources/ddos-protection.mjs +3 -0
- package/resources/ddos-protection.mjs.map +1 -0
- package/resources/email-security/investigate/investigate.d.ts +10 -0
- package/resources/email-security/investigate/investigate.d.ts.map +1 -1
- package/resources/email-security/investigate/investigate.js.map +1 -1
- package/resources/email-security/investigate/investigate.mjs.map +1 -1
- package/resources/email-security/submissions.d.ts +6 -0
- package/resources/email-security/submissions.d.ts.map +1 -1
- package/resources/email-security/submissions.js.map +1 -1
- package/resources/email-security/submissions.mjs.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +101 -1
- 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/intel/miscategorizations.d.ts +5 -0
- package/resources/intel/miscategorizations.d.ts.map +1 -1
- package/resources/intel/miscategorizations.js +5 -0
- package/resources/intel/miscategorizations.js.map +1 -1
- package/resources/intel/miscategorizations.mjs +5 -0
- package/resources/intel/miscategorizations.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +1 -1
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +9 -9
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +1 -1
- package/resources/load-balancers/load-balancers.d.ts +2 -2
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +2 -2
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +2 -2
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitor-groups/index.d.ts +3 -0
- package/resources/load-balancers/monitor-groups/index.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups/index.js +11 -0
- package/resources/load-balancers/monitor-groups/index.js.map +1 -0
- package/resources/load-balancers/monitor-groups/index.mjs +4 -0
- package/resources/load-balancers/monitor-groups/index.mjs.map +1 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.d.ts +299 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.js +181 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.js.map +1 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.mjs +153 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.mjs.map +1 -0
- package/resources/load-balancers/monitor-groups/references.d.ts +38 -0
- package/resources/load-balancers/monitor-groups/references.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups/references.js +32 -0
- package/resources/load-balancers/monitor-groups/references.js.map +1 -0
- package/resources/load-balancers/monitor-groups/references.mjs +27 -0
- package/resources/load-balancers/monitor-groups/references.mjs.map +1 -0
- package/resources/load-balancers/monitor-groups.d.ts +1 -312
- package/resources/load-balancers/monitor-groups.d.ts.map +1 -1
- package/resources/load-balancers/monitor-groups.js +15 -149
- package/resources/load-balancers/monitor-groups.js.map +1 -1
- package/resources/load-balancers/monitor-groups.mjs +1 -146
- package/resources/load-balancers/monitor-groups.mjs.map +1 -1
- package/resources/radar/bgp/bgp.d.ts +2 -2
- package/resources/radar/bgp/bgp.d.ts.map +1 -1
- package/resources/radar/bgp/bgp.js +2 -2
- package/resources/radar/bgp/bgp.js.map +1 -1
- package/resources/radar/bgp/bgp.mjs +2 -2
- package/resources/radar/bgp/bgp.mjs.map +1 -1
- package/resources/radar/bgp/index.d.ts +1 -1
- package/resources/radar/bgp/index.d.ts.map +1 -1
- package/resources/radar/bgp/index.js +8 -8
- package/resources/radar/bgp/index.js.map +1 -1
- package/resources/radar/bgp/index.mjs +1 -1
- package/resources/radar/bgp/ips/index.d.ts +3 -0
- package/resources/radar/bgp/ips/index.d.ts.map +1 -0
- package/resources/radar/bgp/ips/index.js +9 -0
- package/resources/radar/bgp/ips/index.js.map +1 -0
- package/resources/radar/bgp/ips/index.mjs +4 -0
- package/resources/radar/bgp/ips/index.mjs.map +1 -0
- package/resources/radar/bgp/ips/ips.d.ts +187 -0
- package/resources/radar/bgp/ips/ips.d.ts.map +1 -0
- package/resources/radar/bgp/ips/ips.js +46 -0
- package/resources/radar/bgp/ips/ips.js.map +1 -0
- package/resources/radar/bgp/ips/ips.mjs +19 -0
- package/resources/radar/bgp/ips/ips.mjs.map +1 -0
- package/resources/radar/bgp/ips/top.d.ts +55 -0
- package/resources/radar/bgp/ips/top.d.ts.map +1 -0
- package/resources/radar/bgp/ips/top.js +16 -0
- package/resources/radar/bgp/ips/top.js.map +1 -0
- package/resources/radar/bgp/ips/top.mjs +12 -0
- package/resources/radar/bgp/ips/top.mjs.map +1 -0
- package/resources/radar/bgp/ips.d.ts +1 -182
- package/resources/radar/bgp/ips.d.ts.map +1 -1
- package/resources/radar/bgp/ips.js +15 -12
- package/resources/radar/bgp/ips.js.map +1 -1
- package/resources/radar/bgp/ips.mjs +1 -10
- package/resources/radar/bgp/ips.mjs.map +1 -1
- package/resources/radar/bgp/rpki/index.d.ts +1 -0
- package/resources/radar/bgp/rpki/index.d.ts.map +1 -1
- package/resources/radar/bgp/rpki/index.js +3 -1
- package/resources/radar/bgp/rpki/index.js.map +1 -1
- package/resources/radar/bgp/rpki/index.mjs +1 -0
- package/resources/radar/bgp/rpki/index.mjs.map +1 -1
- package/resources/radar/bgp/rpki/roas.d.ts +78 -0
- package/resources/radar/bgp/rpki/roas.d.ts.map +1 -0
- package/resources/radar/bgp/rpki/roas.js +16 -0
- package/resources/radar/bgp/rpki/roas.js.map +1 -0
- package/resources/radar/bgp/rpki/roas.mjs +12 -0
- package/resources/radar/bgp/rpki/roas.mjs.map +1 -0
- package/resources/radar/bgp/rpki/rpki.d.ts +4 -0
- package/resources/radar/bgp/rpki/rpki.d.ts.map +1 -1
- package/resources/radar/bgp/rpki/rpki.js +4 -0
- package/resources/radar/bgp/rpki/rpki.js.map +1 -1
- package/resources/radar/bgp/rpki/rpki.mjs +4 -0
- package/resources/radar/bgp/rpki/rpki.mjs.map +1 -1
- package/resources/radar/dns/dns.d.ts +3 -3
- package/resources/radar/dns/dns.d.ts.map +1 -1
- package/resources/radar/dns/dns.js.map +1 -1
- package/resources/radar/dns/dns.mjs.map +1 -1
- package/resources/radar/http/http.d.ts +19 -4
- 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/post-quantum/tls.d.ts +28 -3
- package/resources/radar/post-quantum/tls.d.ts.map +1 -1
- package/resources/radar/post-quantum/tls.js +3 -2
- package/resources/radar/post-quantum/tls.js.map +1 -1
- package/resources/radar/post-quantum/tls.mjs +3 -2
- package/resources/radar/post-quantum/tls.mjs.map +1 -1
- package/resources/radar/quality/iqi.d.ts +1 -3
- package/resources/radar/quality/iqi.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.d.ts +14 -7
- package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.js.map +1 -1
- 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/secrets-store/stores/stores.d.ts +11 -2
- package/resources/secrets-store/stores/stores.d.ts.map +1 -1
- package/resources/secrets-store/stores/stores.js +9 -3
- package/resources/secrets-store/stores/stores.js.map +1 -1
- package/resources/secrets-store/stores/stores.mjs +9 -3
- package/resources/secrets-store/stores/stores.mjs.map +1 -1
- package/resources/security-center/insights/audit-logs.d.ts +192 -0
- package/resources/security-center/insights/audit-logs.d.ts.map +1 -0
- package/resources/security-center/insights/audit-logs.js +64 -0
- package/resources/security-center/insights/audit-logs.js.map +1 -0
- package/resources/security-center/insights/audit-logs.mjs +58 -0
- package/resources/security-center/insights/audit-logs.mjs.map +1 -0
- package/resources/security-center/insights/class.d.ts +8 -0
- package/resources/security-center/insights/class.d.ts.map +1 -1
- package/resources/security-center/insights/class.js.map +1 -1
- package/resources/security-center/insights/class.mjs.map +1 -1
- package/resources/security-center/insights/classification.d.ts +77 -0
- package/resources/security-center/insights/classification.d.ts.map +1 -0
- package/resources/security-center/insights/classification.js +43 -0
- package/resources/security-center/insights/classification.js.map +1 -0
- package/resources/security-center/insights/classification.mjs +39 -0
- package/resources/security-center/insights/classification.mjs.map +1 -0
- package/resources/security-center/insights/context.d.ts +31 -0
- package/resources/security-center/insights/context.d.ts.map +1 -0
- package/resources/security-center/insights/context.js +26 -0
- package/resources/security-center/insights/context.js.map +1 -0
- package/resources/security-center/insights/context.mjs +22 -0
- package/resources/security-center/insights/context.mjs.map +1 -0
- package/resources/security-center/insights/index.d.ts +3 -0
- package/resources/security-center/insights/index.d.ts.map +1 -1
- package/resources/security-center/insights/index.js +9 -1
- package/resources/security-center/insights/index.js.map +1 -1
- package/resources/security-center/insights/index.mjs +3 -0
- package/resources/security-center/insights/index.mjs.map +1 -1
- package/resources/security-center/insights/insights.d.ts +30 -0
- package/resources/security-center/insights/insights.d.ts.map +1 -1
- package/resources/security-center/insights/insights.js +22 -0
- package/resources/security-center/insights/insights.js.map +1 -1
- package/resources/security-center/insights/insights.mjs +22 -0
- package/resources/security-center/insights/insights.mjs.map +1 -1
- package/resources/security-center/insights/severity.d.ts +8 -0
- package/resources/security-center/insights/severity.d.ts.map +1 -1
- package/resources/security-center/insights/severity.js.map +1 -1
- package/resources/security-center/insights/severity.mjs.map +1 -1
- package/resources/security-center/insights/type.d.ts +7 -0
- package/resources/security-center/insights/type.d.ts.map +1 -1
- package/resources/security-center/insights/type.js.map +1 -1
- package/resources/security-center/insights/type.mjs.map +1 -1
- package/resources/url-scanner/scans.d.ts +36 -0
- package/resources/url-scanner/scans.d.ts.map +1 -1
- package/resources/user/user.d.ts +10 -2
- package/resources/user/user.d.ts.map +1 -1
- package/resources/user/user.js.map +1 -1
- package/resources/user/user.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/logs/access-requests.d.ts +19 -8
- package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.d.ts +20 -8
- package/resources/zero-trust/access/logs/scim/updates.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.js.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.mjs.map +1 -1
- package/resources/zero-trust/devices/deployment-groups.d.ts +203 -0
- package/resources/zero-trust/devices/deployment-groups.d.ts.map +1 -0
- package/resources/zero-trust/devices/deployment-groups.js +111 -0
- package/resources/zero-trust/devices/deployment-groups.js.map +1 -0
- package/resources/zero-trust/devices/deployment-groups.mjs +106 -0
- package/resources/zero-trust/devices/deployment-groups.mjs.map +1 -0
- package/resources/zero-trust/devices/devices.d.ts +4 -0
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.js +5 -0
- package/resources/zero-trust/devices/devices.js.map +1 -1
- package/resources/zero-trust/devices/devices.mjs +5 -0
- package/resources/zero-trust/devices/devices.mjs.map +1 -1
- package/resources/zero-trust/devices/fleet-status.d.ts +4 -0
- package/resources/zero-trust/devices/fleet-status.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.d.ts +1 -0
- package/resources/zero-trust/devices/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.js +4 -1
- package/resources/zero-trust/devices/index.js.map +1 -1
- package/resources/zero-trust/devices/index.mjs +1 -0
- package/resources/zero-trust/devices/index.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.d.ts +4 -0
- package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.d.ts +59 -25
- package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.js.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/entries.d.ts +71 -26
- package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/entries.js.map +1 -1
- package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/integration.d.ts +59 -25
- package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/integration.js.map +1 -1
- package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/predefined.d.ts +59 -25
- package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/predefined.js.map +1 -1
- package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +24 -2
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +12 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -5
- package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.d.ts +10 -4
- package/resources/zero-trust/identity-providers/scim/groups.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.js.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.d.ts +10 -4
- package/resources/zero-trust/identity-providers/scim/users.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.js.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.mjs.map +1 -1
- package/resources/zero-trust/index.d.ts +1 -0
- package/resources/zero-trust/index.d.ts.map +1 -1
- package/resources/zero-trust/index.js +8 -6
- package/resources/zero-trust/index.js.map +1 -1
- package/resources/zero-trust/index.mjs +1 -0
- package/resources/zero-trust/index.mjs.map +1 -1
- package/resources/zero-trust/resource-library/applications.d.ts +238 -0
- package/resources/zero-trust/resource-library/applications.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/applications.js +47 -0
- package/resources/zero-trust/resource-library/applications.js.map +1 -0
- package/resources/zero-trust/resource-library/applications.mjs +42 -0
- package/resources/zero-trust/resource-library/applications.mjs.map +1 -0
- package/resources/zero-trust/resource-library/categories.d.ts +94 -0
- package/resources/zero-trust/resource-library/categories.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/categories.js +47 -0
- package/resources/zero-trust/resource-library/categories.js.map +1 -0
- package/resources/zero-trust/resource-library/categories.mjs +42 -0
- package/resources/zero-trust/resource-library/categories.mjs.map +1 -0
- package/resources/zero-trust/resource-library/index.d.ts +4 -0
- package/resources/zero-trust/resource-library/index.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/index.js +13 -0
- package/resources/zero-trust/resource-library/index.js.map +1 -0
- package/resources/zero-trust/resource-library/index.mjs +5 -0
- package/resources/zero-trust/resource-library/index.mjs.map +1 -0
- package/resources/zero-trust/resource-library/resource-library.d.ts +14 -0
- package/resources/zero-trust/resource-library/resource-library.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/resource-library.js +45 -0
- package/resources/zero-trust/resource-library/resource-library.js.map +1 -0
- package/resources/zero-trust/resource-library/resource-library.mjs +18 -0
- package/resources/zero-trust/resource-library/resource-library.mjs.map +1 -0
- package/resources/zero-trust/resource-library.d.ts +2 -0
- package/resources/zero-trust/resource-library.d.ts.map +1 -0
- package/resources/zero-trust/resource-library.js +19 -0
- package/resources/zero-trust/resource-library.js.map +1 -0
- package/resources/zero-trust/resource-library.mjs +3 -0
- package/resources/zero-trust/resource-library.mjs.map +1 -0
- package/resources/zero-trust/zero-trust.d.ts +4 -0
- package/resources/zero-trust/zero-trust.d.ts.map +1 -1
- package/resources/zero-trust/zero-trust.js +4 -0
- package/resources/zero-trust/zero-trust.js.map +1 -1
- package/resources/zero-trust/zero-trust.mjs +4 -0
- package/resources/zero-trust/zero-trust.mjs.map +1 -1
- package/resources/zones/custom-nameservers.d.ts +4 -0
- package/resources/zones/custom-nameservers.d.ts.map +1 -1
- package/resources/zones/custom-nameservers.js.map +1 -1
- package/resources/zones/custom-nameservers.mjs.map +1 -1
- package/resources/zones/settings.d.ts +52 -2
- package/resources/zones/settings.d.ts.map +1 -1
- package/resources/zones/zones.d.ts +6 -0
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs.map +1 -1
- package/src/index.ts +10 -0
- package/src/resources/acm/custom-trust-store.ts +9 -6
- package/src/resources/ai-gateway/ai-gateway.ts +449 -0
- package/src/resources/ai-gateway/api.md +56 -0
- package/src/resources/ai-gateway/billing/billing.ts +363 -0
- package/src/resources/ai-gateway/billing/index.ts +29 -0
- package/src/resources/ai-gateway/billing/spending-limit.ts +148 -0
- package/src/resources/ai-gateway/billing/topup/config.ts +133 -0
- package/src/resources/ai-gateway/billing/topup/index.ts +18 -0
- package/src/resources/ai-gateway/billing/topup/topup.ts +139 -0
- package/src/resources/ai-gateway/billing/topup.ts +3 -0
- package/src/resources/ai-gateway/billing.ts +3 -0
- package/src/resources/ai-gateway/dynamic-routing.ts +30 -2
- package/src/resources/ai-gateway/index.ts +11 -0
- package/src/resources/ai-security/ai-security.ts +117 -0
- package/src/resources/ai-security/api.md +23 -0
- package/src/resources/ai-security/custom-topics.ts +143 -0
- package/src/resources/ai-security/index.ts +10 -0
- package/src/resources/ai-security.ts +3 -0
- package/src/resources/aisearch/instances/instances.ts +119 -21
- package/src/resources/aisearch/namespaces/instances/instances.ts +119 -21
- package/src/resources/billing/usage.ts +3 -1
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
- package/src/resources/d1/d1.ts +3 -3
- package/src/resources/d1/database/database.ts +19 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts +93 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts +277 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts +233 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/index.ts +35 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/index.ts +24 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/items.ts +233 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts +377 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/status.ts +87 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.ts +266 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.ts +224 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.ts +23 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.ts +287 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.ts +337 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.ts +59 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.ts +266 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.ts +224 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.ts +23 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.ts +271 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.ts +320 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.ts +59 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection.ts +3 -0
- package/src/resources/ddos-protection/api.md +189 -0
- package/src/resources/ddos-protection/ddos-protection.ts +16 -0
- package/src/resources/ddos-protection/index.ts +4 -0
- package/src/resources/ddos-protection.ts +3 -0
- package/src/resources/email-security/investigate/investigate.ts +17 -0
- package/src/resources/email-security/submissions.ts +7 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +118 -1
- package/src/resources/intel/miscategorizations.ts +5 -0
- package/src/resources/load-balancers/api.md +17 -7
- package/src/resources/load-balancers/index.ts +1 -1
- package/src/resources/load-balancers/load-balancers.ts +12 -12
- package/src/resources/load-balancers/monitor-groups/index.ts +19 -0
- package/src/resources/load-balancers/monitor-groups/monitor-groups.ts +433 -0
- package/src/resources/load-balancers/monitor-groups/references.ts +63 -0
- package/src/resources/load-balancers/monitor-groups.ts +1 -434
- package/src/resources/radar/api.md +22 -2
- package/src/resources/radar/bgp/bgp.ts +2 -2
- package/src/resources/radar/bgp/index.ts +1 -1
- package/src/resources/radar/bgp/ips/index.ts +4 -0
- package/src/resources/radar/bgp/ips/ips.ts +295 -0
- package/src/resources/radar/bgp/ips/top.ts +84 -0
- package/src/resources/radar/bgp/ips.ts +1 -285
- package/src/resources/radar/bgp/rpki/index.ts +1 -0
- package/src/resources/radar/bgp/rpki/roas.ts +120 -0
- package/src/resources/radar/bgp/rpki/rpki.ts +10 -0
- package/src/resources/radar/dns/dns.ts +7 -4
- package/src/resources/radar/http/http.ts +24 -0
- package/src/resources/radar/post-quantum/tls.ts +32 -3
- package/src/resources/radar/quality/iqi.ts +2 -6
- package/src/resources/resource-sharing/resource-sharing.ts +21 -6
- package/src/resources/resource-sharing/resources.ts +14 -7
- package/src/resources/secrets-store/stores/stores.ts +17 -7
- package/src/resources/security-center/api.md +32 -0
- package/src/resources/security-center/insights/audit-logs.ts +313 -0
- package/src/resources/security-center/insights/class.ts +8 -0
- package/src/resources/security-center/insights/classification.ts +127 -0
- package/src/resources/security-center/insights/context.ts +46 -0
- package/src/resources/security-center/insights/index.ts +15 -0
- package/src/resources/security-center/insights/insights.ts +62 -0
- package/src/resources/security-center/insights/severity.ts +8 -0
- package/src/resources/security-center/insights/type.ts +7 -0
- package/src/resources/url-scanner/scans.ts +58 -0
- package/src/resources/user/user.ts +12 -2
- package/src/resources/workflows/instances/instances.ts +6 -0
- package/src/resources/zero-trust/access/logs/access-requests.ts +19 -8
- package/src/resources/zero-trust/access/logs/scim/updates.ts +20 -8
- package/src/resources/zero-trust/api.md +41 -0
- package/src/resources/zero-trust/devices/deployment-groups.ts +302 -0
- package/src/resources/zero-trust/devices/devices.ts +29 -0
- package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
- package/src/resources/zero-trust/devices/index.ts +11 -0
- package/src/resources/zero-trust/dex/fleet-status/devices.ts +5 -0
- package/src/resources/zero-trust/dlp/entries/custom.ts +78 -25
- package/src/resources/zero-trust/dlp/entries/entries.ts +96 -25
- package/src/resources/zero-trust/dlp/entries/integration.ts +78 -25
- package/src/resources/zero-trust/dlp/entries/predefined.ts +78 -25
- package/src/resources/zero-trust/dlp/profiles/custom.ts +36 -0
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +18 -0
- package/src/resources/zero-trust/dlp/profiles/profiles.ts +90 -0
- package/src/resources/zero-trust/identity-providers/scim/groups.ts +10 -4
- package/src/resources/zero-trust/identity-providers/scim/users.ts +10 -4
- package/src/resources/zero-trust/index.ts +1 -0
- package/src/resources/zero-trust/resource-library/applications.ts +315 -0
- package/src/resources/zero-trust/resource-library/categories.ts +140 -0
- package/src/resources/zero-trust/resource-library/index.ts +19 -0
- package/src/resources/zero-trust/resource-library/resource-library.ts +51 -0
- package/src/resources/zero-trust/resource-library.ts +3 -0
- package/src/resources/zero-trust/zero-trust.ts +6 -0
- package/src/resources/zones/custom-nameservers.ts +5 -0
- package/src/resources/zones/settings.ts +60 -0
- package/src/resources/zones/zones.ts +7 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../resource';
|
|
4
|
+
import { isRequestOptions } from '../../../core';
|
|
5
|
+
import * as Core from '../../../core';
|
|
6
|
+
import { CloudflareError } from '../../../error';
|
|
7
|
+
import { CursorPagination, type CursorPaginationParams } from '../../../pagination';
|
|
8
|
+
|
|
9
|
+
export class AuditLogs extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Lists audit log entries for all Security Center insights in the account or zone,
|
|
12
|
+
* showing changes to insight status and classification.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* // Automatically fetches more pages as needed.
|
|
17
|
+
* for await (const auditLogListResponse of client.securityCenter.insights.auditLogs.list(
|
|
18
|
+
* { account_id: 'account_id' },
|
|
19
|
+
* )) {
|
|
20
|
+
* // ...
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
list(
|
|
25
|
+
params?: AuditLogListParams,
|
|
26
|
+
options?: Core.RequestOptions,
|
|
27
|
+
): Core.PagePromise<AuditLogListResponsesCursorPagination, AuditLogListResponse>;
|
|
28
|
+
list(
|
|
29
|
+
options?: Core.RequestOptions,
|
|
30
|
+
): Core.PagePromise<AuditLogListResponsesCursorPagination, AuditLogListResponse>;
|
|
31
|
+
list(
|
|
32
|
+
params: AuditLogListParams | Core.RequestOptions = {},
|
|
33
|
+
options?: Core.RequestOptions,
|
|
34
|
+
): Core.PagePromise<AuditLogListResponsesCursorPagination, AuditLogListResponse> {
|
|
35
|
+
if (isRequestOptions(params)) {
|
|
36
|
+
return this.list({}, params);
|
|
37
|
+
}
|
|
38
|
+
const { account_id, zone_id, ...query } = params;
|
|
39
|
+
if (!account_id && !zone_id) {
|
|
40
|
+
throw new CloudflareError('You must provide either account_id or zone_id.');
|
|
41
|
+
}
|
|
42
|
+
if (account_id && zone_id) {
|
|
43
|
+
throw new CloudflareError('You cannot provide both account_id and zone_id.');
|
|
44
|
+
}
|
|
45
|
+
const { accountOrZone, accountOrZoneId } =
|
|
46
|
+
account_id ?
|
|
47
|
+
{
|
|
48
|
+
accountOrZone: 'accounts',
|
|
49
|
+
accountOrZoneId: account_id,
|
|
50
|
+
}
|
|
51
|
+
: {
|
|
52
|
+
accountOrZone: 'zones',
|
|
53
|
+
accountOrZoneId: zone_id,
|
|
54
|
+
};
|
|
55
|
+
return this._client.getAPIList(
|
|
56
|
+
`/${accountOrZone}/${accountOrZoneId}/security-center/insights/audit-log`,
|
|
57
|
+
AuditLogListResponsesCursorPagination,
|
|
58
|
+
{ query, ...options },
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Lists audit log entries for a specific Security Center insight, showing changes
|
|
64
|
+
* to its status and classification over time.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* // Automatically fetches more pages as needed.
|
|
69
|
+
* for await (const auditLogListByInsightResponse of client.securityCenter.insights.auditLogs.listByInsight(
|
|
70
|
+
* 'issue_id',
|
|
71
|
+
* { account_id: 'account_id' },
|
|
72
|
+
* )) {
|
|
73
|
+
* // ...
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
listByInsight(
|
|
78
|
+
issueId: string,
|
|
79
|
+
params?: AuditLogListByInsightParams,
|
|
80
|
+
options?: Core.RequestOptions,
|
|
81
|
+
): Core.PagePromise<AuditLogListByInsightResponsesCursorPagination, AuditLogListByInsightResponse>;
|
|
82
|
+
listByInsight(
|
|
83
|
+
issueId: string,
|
|
84
|
+
options?: Core.RequestOptions,
|
|
85
|
+
): Core.PagePromise<AuditLogListByInsightResponsesCursorPagination, AuditLogListByInsightResponse>;
|
|
86
|
+
listByInsight(
|
|
87
|
+
issueId: string,
|
|
88
|
+
params: AuditLogListByInsightParams | Core.RequestOptions = {},
|
|
89
|
+
options?: Core.RequestOptions,
|
|
90
|
+
): Core.PagePromise<AuditLogListByInsightResponsesCursorPagination, AuditLogListByInsightResponse> {
|
|
91
|
+
if (isRequestOptions(params)) {
|
|
92
|
+
return this.listByInsight(issueId, {}, params);
|
|
93
|
+
}
|
|
94
|
+
const { account_id, zone_id, ...query } = params;
|
|
95
|
+
if (!account_id && !zone_id) {
|
|
96
|
+
throw new CloudflareError('You must provide either account_id or zone_id.');
|
|
97
|
+
}
|
|
98
|
+
if (account_id && zone_id) {
|
|
99
|
+
throw new CloudflareError('You cannot provide both account_id and zone_id.');
|
|
100
|
+
}
|
|
101
|
+
const { accountOrZone, accountOrZoneId } =
|
|
102
|
+
account_id ?
|
|
103
|
+
{
|
|
104
|
+
accountOrZone: 'accounts',
|
|
105
|
+
accountOrZoneId: account_id,
|
|
106
|
+
}
|
|
107
|
+
: {
|
|
108
|
+
accountOrZone: 'zones',
|
|
109
|
+
accountOrZoneId: zone_id,
|
|
110
|
+
};
|
|
111
|
+
return this._client.getAPIList(
|
|
112
|
+
`/${accountOrZone}/${accountOrZoneId}/security-center/insights/${issueId}/audit-log`,
|
|
113
|
+
AuditLogListByInsightResponsesCursorPagination,
|
|
114
|
+
{ query, ...options },
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export class AuditLogListResponsesCursorPagination extends CursorPagination<AuditLogListResponse> {}
|
|
120
|
+
|
|
121
|
+
export class AuditLogListByInsightResponsesCursorPagination extends CursorPagination<AuditLogListByInsightResponse> {}
|
|
122
|
+
|
|
123
|
+
export interface AuditLogListResponse {
|
|
124
|
+
/**
|
|
125
|
+
* UUIDv7 identifier for the audit log entry, time-ordered.
|
|
126
|
+
*/
|
|
127
|
+
id?: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The timestamp when the change occurred.
|
|
131
|
+
*/
|
|
132
|
+
changed_at?: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The actor that made the change. 'system' for automated changes, or a user
|
|
136
|
+
* identifier.
|
|
137
|
+
*/
|
|
138
|
+
changed_by?: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The value of the field after the change. Null if the field was cleared.
|
|
142
|
+
*/
|
|
143
|
+
current_value?: string | null;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* The field that was changed.
|
|
147
|
+
*/
|
|
148
|
+
field_changed?: 'status' | 'user_classification';
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The ID of the insight this audit log entry relates to.
|
|
152
|
+
*/
|
|
153
|
+
issue_id?: string;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The value of the field before the change. Null if the field was not previously
|
|
157
|
+
* set.
|
|
158
|
+
*/
|
|
159
|
+
previous_value?: string | null;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Optional rationale provided for the change.
|
|
163
|
+
*/
|
|
164
|
+
rationale?: string | null;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* The zone ID associated with the insight. Only present for zone-level insights.
|
|
168
|
+
*/
|
|
169
|
+
zone_id?: number;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface AuditLogListByInsightResponse {
|
|
173
|
+
/**
|
|
174
|
+
* UUIDv7 identifier for the audit log entry, time-ordered.
|
|
175
|
+
*/
|
|
176
|
+
id?: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The timestamp when the change occurred.
|
|
180
|
+
*/
|
|
181
|
+
changed_at?: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The actor that made the change. 'system' for automated changes, or a user
|
|
185
|
+
* identifier.
|
|
186
|
+
*/
|
|
187
|
+
changed_by?: string;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* The value of the field after the change. Null if the field was cleared.
|
|
191
|
+
*/
|
|
192
|
+
current_value?: string | null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* The field that was changed.
|
|
196
|
+
*/
|
|
197
|
+
field_changed?: 'status' | 'user_classification';
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The ID of the insight this audit log entry relates to.
|
|
201
|
+
*/
|
|
202
|
+
issue_id?: string;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* The value of the field before the change. Null if the field was not previously
|
|
206
|
+
* set.
|
|
207
|
+
*/
|
|
208
|
+
previous_value?: string | null;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Optional rationale provided for the change.
|
|
212
|
+
*/
|
|
213
|
+
rationale?: string | null;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The zone ID associated with the insight. Only present for zone-level insights.
|
|
217
|
+
*/
|
|
218
|
+
zone_id?: number;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export interface AuditLogListParams extends CursorPaginationParams {
|
|
222
|
+
/**
|
|
223
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
224
|
+
* Zone ID.
|
|
225
|
+
*/
|
|
226
|
+
account_id?: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
230
|
+
* Account ID.
|
|
231
|
+
*/
|
|
232
|
+
zone_id?: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Query param: Filter entries changed before this timestamp (RFC 3339).
|
|
236
|
+
*/
|
|
237
|
+
before?: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Query param: Filter by the actor that made the change.
|
|
241
|
+
*/
|
|
242
|
+
changed_by?: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Query param: Filter by the field that was changed.
|
|
246
|
+
*/
|
|
247
|
+
field_changed?: 'status' | 'user_classification';
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Query param: Sort order for results. Use 'asc' for oldest first or 'desc' for
|
|
251
|
+
* newest first.
|
|
252
|
+
*/
|
|
253
|
+
order?: 'asc' | 'desc';
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Query param: Filter entries changed at or after this timestamp (RFC 3339).
|
|
257
|
+
*/
|
|
258
|
+
since?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface AuditLogListByInsightParams extends CursorPaginationParams {
|
|
262
|
+
/**
|
|
263
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
264
|
+
* Zone ID.
|
|
265
|
+
*/
|
|
266
|
+
account_id?: string;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
270
|
+
* Account ID.
|
|
271
|
+
*/
|
|
272
|
+
zone_id?: string;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Query param: Filter entries changed before this timestamp (RFC 3339).
|
|
276
|
+
*/
|
|
277
|
+
before?: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Query param: Filter by the actor that made the change.
|
|
281
|
+
*/
|
|
282
|
+
changed_by?: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Query param: Filter by the field that was changed.
|
|
286
|
+
*/
|
|
287
|
+
field_changed?: 'status' | 'user_classification';
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Query param: Sort order for results. Use 'asc' for oldest first or 'desc' for
|
|
291
|
+
* newest first.
|
|
292
|
+
*/
|
|
293
|
+
order?: 'asc' | 'desc';
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Query param: Filter entries changed at or after this timestamp (RFC 3339).
|
|
297
|
+
*/
|
|
298
|
+
since?: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
AuditLogs.AuditLogListResponsesCursorPagination = AuditLogListResponsesCursorPagination;
|
|
302
|
+
AuditLogs.AuditLogListByInsightResponsesCursorPagination = AuditLogListByInsightResponsesCursorPagination;
|
|
303
|
+
|
|
304
|
+
export declare namespace AuditLogs {
|
|
305
|
+
export {
|
|
306
|
+
type AuditLogListResponse as AuditLogListResponse,
|
|
307
|
+
type AuditLogListByInsightResponse as AuditLogListByInsightResponse,
|
|
308
|
+
AuditLogListResponsesCursorPagination as AuditLogListResponsesCursorPagination,
|
|
309
|
+
AuditLogListByInsightResponsesCursorPagination as AuditLogListByInsightResponsesCursorPagination,
|
|
310
|
+
type AuditLogListParams as AuditLogListParams,
|
|
311
|
+
type AuditLogListByInsightParams as AuditLogListByInsightParams,
|
|
312
|
+
};
|
|
313
|
+
}
|
|
@@ -9,6 +9,14 @@ import { CloudflareError } from '../../../error';
|
|
|
9
9
|
export class Class extends APIResource {
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves Security Center insight counts aggregated by classification class.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const classes =
|
|
16
|
+
* await client.securityCenter.insights.class.get({
|
|
17
|
+
* account_id: 'account_id',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
12
20
|
*/
|
|
13
21
|
get(params?: ClassGetParams, options?: Core.RequestOptions): Core.APIPromise<ClassGetResponse>;
|
|
14
22
|
get(options?: Core.RequestOptions): Core.APIPromise<ClassGetResponse>;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../resource';
|
|
4
|
+
import * as Core from '../../../core';
|
|
5
|
+
import { CloudflareError } from '../../../error';
|
|
6
|
+
|
|
7
|
+
export class Classification extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Updates the user classification for a Security Center insight. Valid values are
|
|
10
|
+
* 'false_positive' or 'accept_risk'. To reset, set classification to null. Cannot
|
|
11
|
+
* change directly between classification values - must reset to null first.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const classification =
|
|
16
|
+
* await client.securityCenter.insights.classification.update(
|
|
17
|
+
* 'issue_id',
|
|
18
|
+
* { account_id: 'account_id' },
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
update(
|
|
23
|
+
issueId: string,
|
|
24
|
+
params: ClassificationUpdateParams,
|
|
25
|
+
options?: Core.RequestOptions,
|
|
26
|
+
): Core.APIPromise<ClassificationUpdateResponse> {
|
|
27
|
+
const { account_id, zone_id, ...body } = params;
|
|
28
|
+
if (!account_id && !zone_id) {
|
|
29
|
+
throw new CloudflareError('You must provide either account_id or zone_id.');
|
|
30
|
+
}
|
|
31
|
+
if (account_id && zone_id) {
|
|
32
|
+
throw new CloudflareError('You cannot provide both account_id and zone_id.');
|
|
33
|
+
}
|
|
34
|
+
const { accountOrZone, accountOrZoneId } =
|
|
35
|
+
account_id ?
|
|
36
|
+
{
|
|
37
|
+
accountOrZone: 'accounts',
|
|
38
|
+
accountOrZoneId: account_id,
|
|
39
|
+
}
|
|
40
|
+
: {
|
|
41
|
+
accountOrZone: 'zones',
|
|
42
|
+
accountOrZoneId: zone_id,
|
|
43
|
+
};
|
|
44
|
+
return this._client.patch(
|
|
45
|
+
`/${accountOrZone}/${accountOrZoneId}/security-center/insights/${issueId}/classification`,
|
|
46
|
+
{ body, ...options },
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface ClassificationUpdateResponse {
|
|
52
|
+
errors: Array<ClassificationUpdateResponse.Error>;
|
|
53
|
+
|
|
54
|
+
messages: Array<ClassificationUpdateResponse.Message>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Whether the API call was successful.
|
|
58
|
+
*/
|
|
59
|
+
success: true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export namespace ClassificationUpdateResponse {
|
|
63
|
+
export interface Error {
|
|
64
|
+
code: number;
|
|
65
|
+
|
|
66
|
+
message: string;
|
|
67
|
+
|
|
68
|
+
documentation_url?: string;
|
|
69
|
+
|
|
70
|
+
source?: Error.Source;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export namespace Error {
|
|
74
|
+
export interface Source {
|
|
75
|
+
pointer?: string;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface Message {
|
|
80
|
+
code: number;
|
|
81
|
+
|
|
82
|
+
message: string;
|
|
83
|
+
|
|
84
|
+
documentation_url?: string;
|
|
85
|
+
|
|
86
|
+
source?: Message.Source;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export namespace Message {
|
|
90
|
+
export interface Source {
|
|
91
|
+
pointer?: string;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface ClassificationUpdateParams {
|
|
97
|
+
/**
|
|
98
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
99
|
+
* Zone ID.
|
|
100
|
+
*/
|
|
101
|
+
account_id?: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
105
|
+
* Account ID.
|
|
106
|
+
*/
|
|
107
|
+
zone_id?: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Body param: User-defined classification for the insight. Can be
|
|
111
|
+
* 'false_positive', 'accept_risk', 'other', or null.
|
|
112
|
+
*/
|
|
113
|
+
classification?: 'false_positive' | 'accept_risk' | 'other' | null;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Body param: Rationale for the classification change. Required when
|
|
117
|
+
* classification is 'accept_risk' or 'other'.
|
|
118
|
+
*/
|
|
119
|
+
rationale?: string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export declare namespace Classification {
|
|
123
|
+
export {
|
|
124
|
+
type ClassificationUpdateResponse as ClassificationUpdateResponse,
|
|
125
|
+
type ClassificationUpdateParams as ClassificationUpdateParams,
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../resource';
|
|
4
|
+
import * as Core from '../../../core';
|
|
5
|
+
|
|
6
|
+
export class Context extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Returns the full context payload for an insight. This endpoint is used for
|
|
9
|
+
* insights with large payloads that are not included inline in the list response.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const context =
|
|
14
|
+
* await client.securityCenter.insights.context.get(
|
|
15
|
+
* 'issue_id',
|
|
16
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
get(
|
|
21
|
+
issueId: string,
|
|
22
|
+
params: ContextGetParams,
|
|
23
|
+
options?: Core.RequestOptions,
|
|
24
|
+
): Core.APIPromise<ContextGetResponse> {
|
|
25
|
+
const { account_id } = params;
|
|
26
|
+
return (
|
|
27
|
+
this._client.get(
|
|
28
|
+
`/accounts/${account_id}/security-center/insights/${issueId}/context`,
|
|
29
|
+
options,
|
|
30
|
+
) as Core.APIPromise<{ result: ContextGetResponse }>
|
|
31
|
+
)._thenUnwrap((obj) => obj.result);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type ContextGetResponse = { [key: string]: unknown };
|
|
36
|
+
|
|
37
|
+
export interface ContextGetParams {
|
|
38
|
+
/**
|
|
39
|
+
* Identifier.
|
|
40
|
+
*/
|
|
41
|
+
account_id: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export declare namespace Context {
|
|
45
|
+
export { type ContextGetResponse as ContextGetResponse, type ContextGetParams as ContextGetParams };
|
|
46
|
+
}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
export {
|
|
4
|
+
AuditLogListResponsesCursorPagination,
|
|
5
|
+
AuditLogListByInsightResponsesCursorPagination,
|
|
6
|
+
AuditLogs,
|
|
7
|
+
type AuditLogListResponse,
|
|
8
|
+
type AuditLogListByInsightResponse,
|
|
9
|
+
type AuditLogListParams,
|
|
10
|
+
type AuditLogListByInsightParams,
|
|
11
|
+
} from './audit-logs';
|
|
3
12
|
export { Class, type ClassGetResponse, type ClassGetParams } from './class';
|
|
13
|
+
export {
|
|
14
|
+
Classification,
|
|
15
|
+
type ClassificationUpdateResponse,
|
|
16
|
+
type ClassificationUpdateParams,
|
|
17
|
+
} from './classification';
|
|
18
|
+
export { Context, type ContextGetResponse, type ContextGetParams } from './context';
|
|
4
19
|
export {
|
|
5
20
|
InsightListResponsesV4PagePagination,
|
|
6
21
|
Insights,
|
|
@@ -4,8 +4,22 @@ import { APIResource } from '../../../resource';
|
|
|
4
4
|
import { isRequestOptions } from '../../../core';
|
|
5
5
|
import * as Core from '../../../core';
|
|
6
6
|
import * as IssuesAPI from '../../intel/attack-surface-report/issues';
|
|
7
|
+
import * as AuditLogsAPI from './audit-logs';
|
|
8
|
+
import {
|
|
9
|
+
AuditLogListByInsightParams,
|
|
10
|
+
AuditLogListByInsightResponse,
|
|
11
|
+
AuditLogListByInsightResponsesCursorPagination,
|
|
12
|
+
AuditLogListParams,
|
|
13
|
+
AuditLogListResponse,
|
|
14
|
+
AuditLogListResponsesCursorPagination,
|
|
15
|
+
AuditLogs,
|
|
16
|
+
} from './audit-logs';
|
|
7
17
|
import * as ClassAPI from './class';
|
|
8
18
|
import { Class, ClassGetParams, ClassGetResponse } from './class';
|
|
19
|
+
import * as ClassificationAPI from './classification';
|
|
20
|
+
import { Classification, ClassificationUpdateParams, ClassificationUpdateResponse } from './classification';
|
|
21
|
+
import * as ContextAPI from './context';
|
|
22
|
+
import { Context, ContextGetParams, ContextGetResponse } from './context';
|
|
9
23
|
import * as SeverityAPI from './severity';
|
|
10
24
|
import { Severity, SeverityGetParams, SeverityGetResponse } from './severity';
|
|
11
25
|
import * as TypeAPI from './type';
|
|
@@ -17,10 +31,23 @@ export class Insights extends APIResource {
|
|
|
17
31
|
class: ClassAPI.Class = new ClassAPI.Class(this._client);
|
|
18
32
|
severity: SeverityAPI.Severity = new SeverityAPI.Severity(this._client);
|
|
19
33
|
type: TypeAPI.Type = new TypeAPI.Type(this._client);
|
|
34
|
+
auditLogs: AuditLogsAPI.AuditLogs = new AuditLogsAPI.AuditLogs(this._client);
|
|
35
|
+
classification: ClassificationAPI.Classification = new ClassificationAPI.Classification(this._client);
|
|
36
|
+
context: ContextAPI.Context = new ContextAPI.Context(this._client);
|
|
20
37
|
|
|
21
38
|
/**
|
|
22
39
|
* Lists all Security Center insights for the account or zone, showing security
|
|
23
40
|
* findings and recommendations.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* // Automatically fetches more pages as needed.
|
|
45
|
+
* for await (const insightListResponse of client.securityCenter.insights.list(
|
|
46
|
+
* { account_id: 'account_id' },
|
|
47
|
+
* )) {
|
|
48
|
+
* // ...
|
|
49
|
+
* }
|
|
50
|
+
* ```
|
|
24
51
|
*/
|
|
25
52
|
list(
|
|
26
53
|
params?: InsightListParams,
|
|
@@ -63,6 +90,14 @@ export class Insights extends APIResource {
|
|
|
63
90
|
/**
|
|
64
91
|
* Archives a Security Center insight for an account or zone, removing it from the
|
|
65
92
|
* active insights list while preserving historical data.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```ts
|
|
96
|
+
* const response =
|
|
97
|
+
* await client.securityCenter.insights.dismiss('issue_id', {
|
|
98
|
+
* account_id: 'account_id',
|
|
99
|
+
* });
|
|
100
|
+
* ```
|
|
66
101
|
*/
|
|
67
102
|
dismiss(
|
|
68
103
|
issueId: string,
|
|
@@ -305,6 +340,11 @@ Insights.InsightListResponsesV4PagePagination = InsightListResponsesV4PagePagina
|
|
|
305
340
|
Insights.Class = Class;
|
|
306
341
|
Insights.Severity = Severity;
|
|
307
342
|
Insights.Type = Type;
|
|
343
|
+
Insights.AuditLogs = AuditLogs;
|
|
344
|
+
Insights.AuditLogListResponsesCursorPagination = AuditLogListResponsesCursorPagination;
|
|
345
|
+
Insights.AuditLogListByInsightResponsesCursorPagination = AuditLogListByInsightResponsesCursorPagination;
|
|
346
|
+
Insights.Classification = Classification;
|
|
347
|
+
Insights.Context = Context;
|
|
308
348
|
|
|
309
349
|
export declare namespace Insights {
|
|
310
350
|
export {
|
|
@@ -324,4 +364,26 @@ export declare namespace Insights {
|
|
|
324
364
|
};
|
|
325
365
|
|
|
326
366
|
export { Type as Type, type TypeGetResponse as TypeGetResponse, type TypeGetParams as TypeGetParams };
|
|
367
|
+
|
|
368
|
+
export {
|
|
369
|
+
AuditLogs as AuditLogs,
|
|
370
|
+
type AuditLogListResponse as AuditLogListResponse,
|
|
371
|
+
type AuditLogListByInsightResponse as AuditLogListByInsightResponse,
|
|
372
|
+
AuditLogListResponsesCursorPagination as AuditLogListResponsesCursorPagination,
|
|
373
|
+
AuditLogListByInsightResponsesCursorPagination as AuditLogListByInsightResponsesCursorPagination,
|
|
374
|
+
type AuditLogListParams as AuditLogListParams,
|
|
375
|
+
type AuditLogListByInsightParams as AuditLogListByInsightParams,
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
export {
|
|
379
|
+
Classification as Classification,
|
|
380
|
+
type ClassificationUpdateResponse as ClassificationUpdateResponse,
|
|
381
|
+
type ClassificationUpdateParams as ClassificationUpdateParams,
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
export {
|
|
385
|
+
Context as Context,
|
|
386
|
+
type ContextGetResponse as ContextGetResponse,
|
|
387
|
+
type ContextGetParams as ContextGetParams,
|
|
388
|
+
};
|
|
327
389
|
}
|
|
@@ -10,6 +10,14 @@ export class Severity extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves Security Center insight counts aggregated by severity level (critical,
|
|
12
12
|
* high, medium, low).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const severities =
|
|
17
|
+
* await client.securityCenter.insights.severity.get({
|
|
18
|
+
* account_id: 'account_id',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
13
21
|
*/
|
|
14
22
|
get(params?: SeverityGetParams, options?: Core.RequestOptions): Core.APIPromise<SeverityGetResponse>;
|
|
15
23
|
get(options?: Core.RequestOptions): Core.APIPromise<SeverityGetResponse>;
|
|
@@ -9,6 +9,13 @@ import { CloudflareError } from '../../../error';
|
|
|
9
9
|
export class Type extends APIResource {
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves Security Center insight counts aggregated by insight type.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const types = await client.securityCenter.insights.type.get(
|
|
16
|
+
* { account_id: 'account_id' },
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
12
19
|
*/
|
|
13
20
|
get(params?: TypeGetParams, options?: Core.RequestOptions): Core.APIPromise<TypeGetResponse>;
|
|
14
21
|
get(options?: Core.RequestOptions): Core.APIPromise<TypeGetResponse>;
|