UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

82 lines • 4.04 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../core/resource.mjs"; import * as CategoriesAPI from "./categories.mjs"; import { BaseCategories, Categories } from "./categories.mjs"; import * as IndicatorsAPI from "./indicators.mjs"; import { BaseIndicators, Indicators } from "./indicators.mjs"; import * as SearchAPI from "./search.mjs"; import { BaseSearch, Search } from "./search.mjs"; import * as ArticlesAPI from "./articles/articles.mjs"; import { Articles, BaseArticles, } from "./articles/articles.mjs"; import * as FeedsAPI from "./feeds/feeds.mjs"; import { BaseFeeds, Feeds, } from "./feeds/feeds.mjs"; import * as SkillsAPI from "./skills/skills.mjs"; import { BaseSkills, Skills, } from "./skills/skills.mjs"; /** * Threat Signals API for managing threat intelligence feeds, articles, indicators, and AI skills in Cloudforce One. * * ## Prerequisites * * 1. **API token** — requests must use an API token with Cloudforce One permissions; write operations (creating, editing, or deleting feeds, skills, and tags) require write access. * 2. **Plan limits** — access on the Free plan is limited; feed quotas and managed default skills apply. */ export var BaseThreatSignals = /* @__PURE__ */ (() => { /** * Threat Signals API for managing threat intelligence feeds, articles, indicators, and AI skills in Cloudforce One. * * ## Prerequisites * * 1. **API token** — requests must use an API token with Cloudforce One permissions; write operations (creating, editing, or deleting feeds, skills, and tags) require write access. * 2. **Plan limits** — access on the Free plan is limited; feed quotas and managed default skills apply. */ class BaseThreatSignals extends APIResource { } BaseThreatSignals._key = Object.freeze([ 'cloudforceOne', 'threatSignals', ]); return BaseThreatSignals; })(); /** * Threat Signals API for managing threat intelligence feeds, articles, indicators, and AI skills in Cloudforce One. * * ## Prerequisites * * 1. **API token** — requests must use an API token with Cloudforce One permissions; write operations (creating, editing, or deleting feeds, skills, and tags) require write access. * 2. **Plan limits** — access on the Free plan is limited; feed quotas and managed default skills apply. */ export var ThreatSignals = /* @__PURE__ */ (() => { /** * Threat Signals API for managing threat intelligence feeds, articles, indicators, and AI skills in Cloudforce One. * * ## Prerequisites * * 1. **API token** — requests must use an API token with Cloudforce One permissions; write operations (creating, editing, or deleting feeds, skills, and tags) require write access. * 2. **Plan limits** — access on the Free plan is limited; feed quotas and managed default skills apply. */ class ThreatSignals extends BaseThreatSignals { constructor() { super(...arguments); this.search = new SearchAPI.Search(this._client); this.categories = new CategoriesAPI.Categories(this._client); this.feeds = new FeedsAPI.Feeds(this._client); this.articles = new ArticlesAPI.Articles(this._client); this.indicators = new IndicatorsAPI.Indicators(this._client); this.skills = new SkillsAPI.Skills(this._client); } } ThreatSignals.Search = Search; ThreatSignals.BaseSearch = BaseSearch; ThreatSignals.Categories = Categories; ThreatSignals.BaseCategories = BaseCategories; ThreatSignals.Feeds = Feeds; ThreatSignals.BaseFeeds = BaseFeeds; ThreatSignals.Articles = Articles; ThreatSignals.BaseArticles = BaseArticles; ThreatSignals.Indicators = Indicators; ThreatSignals.BaseIndicators = BaseIndicators; ThreatSignals.Skills = Skills; ThreatSignals.BaseSkills = BaseSkills; return ThreatSignals; })(); //# sourceMappingURL=threat-signals.mjs.map