@crimson-crawler/crimson-crawler-client 4.1.1
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/LICENSE +202 -0
- package/NOTICE +14 -0
- package/README.md +940 -0
- package/dist/.package-build.json +29 -0
- package/dist/_generated/client.gen.cjs +11 -0
- package/dist/_generated/client.gen.d.cts +15 -0
- package/dist/_generated/client.gen.d.ts +15 -0
- package/dist/_generated/client.gen.js +2 -0
- package/dist/_generated/index.cjs +140 -0
- package/dist/_generated/index.d.cts +3 -0
- package/dist/_generated/index.d.ts +3 -0
- package/dist/_generated/index.js +3 -0
- package/dist/_generated/sdk.gen.cjs +140 -0
- package/dist/_generated/sdk.gen.d.cts +946 -0
- package/dist/_generated/sdk.gen.d.ts +946 -0
- package/dist/_generated/sdk.gen.js +3 -0
- package/dist/_generated/types.gen.cjs +2 -0
- package/dist/_generated/types.gen.d.cts +9950 -0
- package/dist/_generated/types.gen.d.ts +9950 -0
- package/dist/_generated/types.gen.js +1 -0
- package/dist/chunk-2X3CCE46.js +294 -0
- package/dist/chunk-4CXMKUDH.cjs +783 -0
- package/dist/chunk-4HSWOQA6.cjs +328 -0
- package/dist/chunk-4PCL3ANB.cjs +190 -0
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-C53EHGN4.js +170 -0
- package/dist/chunk-MLKGABMK.js +7 -0
- package/dist/chunk-QU4MM663.js +780 -0
- package/dist/index.cjs +2507 -0
- package/dist/index.d.cts +1283 -0
- package/dist/index.d.ts +1283 -0
- package/dist/index.js +2487 -0
- package/dist/presets-BMN8jy08.d.cts +110 -0
- package/dist/presets-BMN8jy08.d.ts +110 -0
- package/dist/presets.cjs +79 -0
- package/dist/presets.d.cts +1 -0
- package/dist/presets.d.ts +1 -0
- package/dist/presets.js +2 -0
- package/dist/types.gen-ObPczyUH.d.cts +327 -0
- package/dist/types.gen-ObPczyUH.d.ts +327 -0
- package/package.json +131 -0
|
@@ -0,0 +1,946 @@
|
|
|
1
|
+
import { T as TDataShape, O as Options$1, b as Client, c as ClientMeta, R as RequestResult } from '../types.gen-ObPczyUH.js';
|
|
2
|
+
import { ArtifactEnrichData, ArtifactEnrichResponses, ArtifactEnrichErrors, ArtifactEnrichStatusData, ArtifactEnrichStatusResponses, ArtifactEnrichStatusErrors, AssessGroupExposureData, AssessGroupExposureResponses, AssessGroupExposureErrors, AssessIocPortfolioData, AssessIocPortfolioResponses, AssessIocPortfolioErrors, AssessTechniqueCoverageData, AssessTechniqueCoverageResponses, AssessTechniqueCoverageErrors, AssessVulnerabilityExposureData, AssessVulnerabilityExposureResponses, AssessVulnerabilityExposureErrors, EnrichAtlasData, EnrichAtlasResponses, EnrichAtlasErrors, EnrichBatchData, EnrichBatchResponses, EnrichBatchErrors, EnrichCampaignData, EnrichCampaignResponses, EnrichCampaignErrors, EnrichCapecData, EnrichCapecResponses, EnrichCapecErrors, EnrichCveData, EnrichCveResponses, EnrichCveErrors, EnrichCweData, EnrichCweResponses, EnrichCweErrors, EnrichDefendData, EnrichDefendResponses, EnrichDefendErrors, EnrichDisarmData, EnrichDisarmResponses, EnrichDisarmErrors, EnrichGroupData, EnrichGroupResponses, EnrichGroupErrors, EnrichIocData, EnrichIocResponses, EnrichIocErrors, EnrichLocationData, EnrichLocationResponses, EnrichLocationErrors, EnrichPackageData, EnrichPackageResponses, EnrichPackageErrors, EnrichPocSourceData, EnrichPocSourceResponses, EnrichPocSourceErrors, EnrichProductData, EnrichProductResponses, EnrichProductErrors, EnrichSectorData, EnrichSectorResponses, EnrichSectorErrors, EnrichSoftwareData, EnrichSoftwareResponses, EnrichSoftwareErrors, EnrichTechniqueData, EnrichTechniqueResponses, EnrichTechniqueErrors, InventoryEnrichData, InventoryEnrichResponses, InventoryEnrichErrors, InventoryEnrichStatusData, InventoryEnrichStatusResponses, InventoryEnrichStatusErrors, SearchCtiData, SearchCtiResponses, SearchCtiErrors, SearchCveData, SearchCveResponses, SearchCveErrors, SearchD3FendData, SearchD3FendResponses, SearchD3FendErrors, SearchKevData, SearchKevResponses, SearchKevErrors, SearchKnowledgebaseData, SearchKnowledgebaseResponses, SearchKnowledgebaseErrors, SearchMispData, SearchMispResponses, SearchMispErrors, SearchPocData, SearchPocResponses, SearchPocErrors, SearchVendorData, SearchVendorResponses, SearchVendorErrors } from './types.gen.js';
|
|
3
|
+
|
|
4
|
+
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
5
|
+
/**
|
|
6
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
7
|
+
* individual options. This might be also useful if you want to implement a
|
|
8
|
+
* custom client.
|
|
9
|
+
*/
|
|
10
|
+
client?: Client;
|
|
11
|
+
/**
|
|
12
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
13
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
14
|
+
*/
|
|
15
|
+
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Submit Artifact Enrichment
|
|
19
|
+
*
|
|
20
|
+
* Submit security text or files for asynchronous Artifact Enrichment.
|
|
21
|
+
*
|
|
22
|
+
* Returns an `enrichment_id` with HTTP 202. Poll
|
|
23
|
+
* `/v1/artifact-enrich/{enrichment_id}` for stage progress and the finished report.
|
|
24
|
+
*
|
|
25
|
+
* Supply up to 1,000,000 characters in `text`, up to 20 base64-encoded files, or both. Supported
|
|
26
|
+
* inputs include scan exports, vulnerability reports, advisories, email, spreadsheets, and plain
|
|
27
|
+
* text. The report resolves detected CVEs, products, packages, weaknesses, techniques, and
|
|
28
|
+
* indicators into evidence, SSVC decisions, PATCH/BLOCK/WATCH/INFO actions, prioritized work,
|
|
29
|
+
* attack paths, defensive guidance, citations, and requested machine-readable exports.
|
|
30
|
+
*
|
|
31
|
+
* `include` selects report sections; it does not reduce the evidence used for core decisions.
|
|
32
|
+
* Decisions, scores, grades, references, and prioritized actions are always returned. The allowed
|
|
33
|
+
* section names and export formats are defined in the request schema.
|
|
34
|
+
*
|
|
35
|
+
* Submission consumes one request unit. Polling consumes none. Each API key can run 3 Artifact or
|
|
36
|
+
* Inventory Enrichments at once and can hold 20 running or queued jobs across both engines. Jobs
|
|
37
|
+
* beyond the running limit remain `queued`; a full queue returns 429. If queue state cannot be
|
|
38
|
+
* verified, the request returns 503 and no job is created.
|
|
39
|
+
*/
|
|
40
|
+
declare const artifactEnrich: <ThrowOnError extends boolean = false>(options: Options<ArtifactEnrichData, ThrowOnError>) => RequestResult<ArtifactEnrichResponses, ArtifactEnrichErrors, ThrowOnError>;
|
|
41
|
+
/**
|
|
42
|
+
* Get Artifact Enrichment Status
|
|
43
|
+
*
|
|
44
|
+
* Poll an Artifact Enrichment until it finishes.
|
|
45
|
+
*
|
|
46
|
+
* Returns overall `progress`, ordered stage and substage progress, a rolling event feed, and one
|
|
47
|
+
* of these states:
|
|
48
|
+
*
|
|
49
|
+
* - `queued`: waiting for a slot; `queue_position` is the number of jobs ahead
|
|
50
|
+
* - `running`: enrichment is in progress
|
|
51
|
+
* - `done`: `result` contains the completed `ArtifactEnrichmentReport`
|
|
52
|
+
* - `error`: `error` contains the terminal failure
|
|
53
|
+
*
|
|
54
|
+
* Polling consumes no request units. Authenticated jobs are owner-gated: only the API-key owner
|
|
55
|
+
* that submitted the job can read it, and a different key receives 404. Anonymous, keyless, and
|
|
56
|
+
* direct MCP submissions use a capability URL, so possession of the job UUID is sufficient to
|
|
57
|
+
* read the result. A missing, expired, malformed, or owner-hidden identifier returns 404 or 422.
|
|
58
|
+
*/
|
|
59
|
+
declare const artifactEnrichStatus: <ThrowOnError extends boolean = false>(options: Options<ArtifactEnrichStatusData, ThrowOnError>) => RequestResult<ArtifactEnrichStatusResponses, ArtifactEnrichStatusErrors, ThrowOnError>;
|
|
60
|
+
/**
|
|
61
|
+
* Assess Threat Group Exposure
|
|
62
|
+
*
|
|
63
|
+
* Assess the combined technique surface across multiple threat groups.
|
|
64
|
+
*
|
|
65
|
+
* Takes a list of group IDs and/or group names, deduplicates their combined ATT&CK technique
|
|
66
|
+
* footprint, and returns the unified result with predictions.
|
|
67
|
+
*
|
|
68
|
+
* **Include options**
|
|
69
|
+
*
|
|
70
|
+
* - `details` — resolved threat-actor group profiles (aliases, first/last seen, software)
|
|
71
|
+
* - `techniques` — deduplicated technique surface across the group set
|
|
72
|
+
* - `tie` — per-technique likelihood predictions
|
|
73
|
+
* - `cves` — CVEs known to map to any technique in the combined set
|
|
74
|
+
* - `sectors` — sector context aggregated across the groups
|
|
75
|
+
* - `locations` — geographic context aggregated across the groups
|
|
76
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
77
|
+
* - `navigator` — ATT&CK Navigator layer JSON
|
|
78
|
+
* - `summary` — AI-generated narrative covering shared techniques and coverage gaps
|
|
79
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the combined
|
|
80
|
+
* technique surface, based on MITRE Center for Threat-Informed Defense mappings
|
|
81
|
+
*/
|
|
82
|
+
declare const assessGroupExposure: <ThrowOnError extends boolean = false>(options: Options<AssessGroupExposureData, ThrowOnError>) => RequestResult<AssessGroupExposureResponses, AssessGroupExposureErrors, ThrowOnError>;
|
|
83
|
+
/**
|
|
84
|
+
* Assess IOC Portfolio
|
|
85
|
+
*
|
|
86
|
+
* Assess the combined threat picture across multiple indicators of compromise.
|
|
87
|
+
*
|
|
88
|
+
* Takes up to 50 IOCs (IPs, hashes, domains), correlates each through your threat intelligence
|
|
89
|
+
* feed, deduplicates events and techniques across all indicators, and returns a unified threat
|
|
90
|
+
* assessment with predictions and defensive context.
|
|
91
|
+
*
|
|
92
|
+
* **Include options**
|
|
93
|
+
*
|
|
94
|
+
* - `misp_attributes` — per-IOC matching threat-event attributes
|
|
95
|
+
* - `techniques` — ATT&CK techniques surfaced from any IOC's events / galaxies
|
|
96
|
+
* - `tie` — per-technique likelihood predictions
|
|
97
|
+
* - `groups` — threat-actor groups linked to the surfaced techniques
|
|
98
|
+
* - `software` — malware / tools linked to the surfaced techniques
|
|
99
|
+
* - `campaigns` — campaigns linked to the surfaced techniques
|
|
100
|
+
* - `mitigations` — ATT&CK course-of-action items for the surfaced techniques
|
|
101
|
+
* - `detections` — data sources and components for the surfaced techniques
|
|
102
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
103
|
+
* - `galaxies` — resolve referenced MISP Galaxy clusters into full actor / malware / tool profiles
|
|
104
|
+
* (synonyms, source, relations); the multi-IOC sibling of enrich/ioc's galaxies include
|
|
105
|
+
* - `warninglist` — flag portfolio IOCs that match a MISP warninglist (likely false positives or
|
|
106
|
+
* known-benign values)
|
|
107
|
+
* - `sightings` — aggregate MISP sighting counts (`total_sightings`) across the matched attributes
|
|
108
|
+
* - `summary` — AI-generated portfolio threat narrative
|
|
109
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the surfaced
|
|
110
|
+
* techniques, based on MITRE Center for Threat-Informed Defense mappings
|
|
111
|
+
*
|
|
112
|
+
* The response also carries `misp_feed_hits` from supplemental threat feeds automatically; no
|
|
113
|
+
* `include` value is needed.
|
|
114
|
+
*/
|
|
115
|
+
declare const assessIocPortfolio: <ThrowOnError extends boolean = false>(options: Options<AssessIocPortfolioData, ThrowOnError>) => RequestResult<AssessIocPortfolioResponses, AssessIocPortfolioErrors, ThrowOnError>;
|
|
116
|
+
/**
|
|
117
|
+
* Assess ATT&CK Technique Coverage
|
|
118
|
+
*
|
|
119
|
+
* Batch-assess ATT&CK techniques for mitigations, detections, and threat predictions in one call.
|
|
120
|
+
*
|
|
121
|
+
* More efficient than individual technique lookups. Returns aggregated mitigations and detection
|
|
122
|
+
* methods across all assessed techniques, plus per-technique threat predictions.
|
|
123
|
+
*
|
|
124
|
+
* **Include options**
|
|
125
|
+
*
|
|
126
|
+
* - `mitigations` — ATT&CK course-of-action items for each technique
|
|
127
|
+
* - `detections` — data sources and components per technique
|
|
128
|
+
* - `tie` — technique likelihood predictions
|
|
129
|
+
* - `navigator` — ATT&CK Navigator layer JSON across the assessed technique surface
|
|
130
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
131
|
+
* - `cves` — CVEs known to map to any of the assessed techniques (reverse lookup, capped)
|
|
132
|
+
* - `coverage_score` — mitigation/detection coverage percentages plus uncovered technique list
|
|
133
|
+
* - `summary` — AI-generated coverage-gap brief covering mitigations and high-priority gaps
|
|
134
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the assessed
|
|
135
|
+
* techniques, based on MITRE Center for Threat-Informed Defense mappings
|
|
136
|
+
*/
|
|
137
|
+
declare const assessTechniqueCoverage: <ThrowOnError extends boolean = false>(options: Options<AssessTechniqueCoverageData, ThrowOnError>) => RequestResult<AssessTechniqueCoverageResponses, AssessTechniqueCoverageErrors, ThrowOnError>;
|
|
138
|
+
/**
|
|
139
|
+
* Assess Vulnerability Exposure
|
|
140
|
+
*
|
|
141
|
+
* Analyze the aggregate technique surface across multiple CVEs.
|
|
142
|
+
*
|
|
143
|
+
* Returns the combined, deduplicated ATT&CK technique surface with threat predictions. More
|
|
144
|
+
* efficient than enriching CVEs individually when you need the aggregate picture.
|
|
145
|
+
*
|
|
146
|
+
* **Include options**
|
|
147
|
+
*
|
|
148
|
+
* - `techniques` *(default-on)* — deduplicated ATT&CK technique surface across the CVE set
|
|
149
|
+
* - `tie` *(default-on)* — technique likelihood predictions
|
|
150
|
+
* - `navigator` — ATT&CK Navigator layer JSON
|
|
151
|
+
* - `defend` — D3FEND defensive techniques for the aggregate technique surface
|
|
152
|
+
* - `exploit_chain` — CVEs grouped by ATT&CK kill-chain phase
|
|
153
|
+
* - `prioritized_remediation` — CVEs in priority order with active-exploitation multipliers
|
|
154
|
+
* and compensating-controls downrank
|
|
155
|
+
* - `remediation_plan` — deduplicated mitigations sorted by technique coverage
|
|
156
|
+
* - `exploits` — confirmed exploit records from the KEV exploit feed across the assessed CVE set
|
|
157
|
+
* - `osv` — OSV.dev advisories aliased to the assessed CVEs (GHSA/PYSEC/RUSTSEC records with
|
|
158
|
+
* per-ecosystem fixed versions), aggregated and deduplicated
|
|
159
|
+
* - `summary` — AI-generated narrative of the aggregate attack-surface shape
|
|
160
|
+
* - `nist_controls` *(default-on)* — NIST SP 800-53 rev 5 controls that mitigate the aggregate
|
|
161
|
+
* technique surface, based on MITRE Center for Threat-Informed Defense mappings
|
|
162
|
+
* - `ssvc` — per-CVE SSVC decisions across the set (CERT/CC Deployer or CISA Coordinator);
|
|
163
|
+
* stakeholder context comes from the optional `stakeholder` request field, defaults apply when
|
|
164
|
+
* omitted (deployer / `exposure=open` / `human_impact=medium`)
|
|
165
|
+
*
|
|
166
|
+
* Several extra fields always populate: `weaponization_scores` (per-CVE), `max_/avg_` rollups,
|
|
167
|
+
* `chained_cve_pairs` (kill-chain adjacency plus vendor overlap), `likely_tactics` (union of
|
|
168
|
+
* vendor tactic-class hints across the CVE set's affected products), and `kev_entries` (full CISA
|
|
169
|
+
* KEV catalog rows — vendor_project/vulnerability_name/short_description/required_action — for any
|
|
170
|
+
* KEV-listed CVE in the set, for KEV-worksheet export).
|
|
171
|
+
*/
|
|
172
|
+
declare const assessVulnerabilityExposure: <ThrowOnError extends boolean = false>(options: Options<AssessVulnerabilityExposureData, ThrowOnError>) => RequestResult<AssessVulnerabilityExposureResponses, AssessVulnerabilityExposureErrors, ThrowOnError>;
|
|
173
|
+
/**
|
|
174
|
+
* Enrich ATLAS Technique
|
|
175
|
+
*
|
|
176
|
+
* Look up or search adversarial machine learning techniques from the ATLAS knowledge base.
|
|
177
|
+
*
|
|
178
|
+
* Covers AI/ML-specific attack techniques including model evasion, data poisoning, and model theft.
|
|
179
|
+
* Provide `technique_id` for a direct lookup (e.g. AML.T0043) or `search` for discovery. Returns
|
|
180
|
+
* Enterprise technique mappings even when the ATLAS technique has sparse data.
|
|
181
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected technique.
|
|
182
|
+
*
|
|
183
|
+
* **Include options**
|
|
184
|
+
*
|
|
185
|
+
* - `details` — full ATLAS technique object with description and procedure examples
|
|
186
|
+
* - `techniques` — linked ATT&CK Enterprise techniques that enable or support this AI/ML attack,
|
|
187
|
+
* resolved into full objects with mitigations and detection guidance
|
|
188
|
+
* - `tie` — technique likelihood predictions for linked Enterprise techniques
|
|
189
|
+
* - `navigator` — ATT&CK Navigator layer JSON for linked Enterprise techniques
|
|
190
|
+
* - `groups` — threat actor groups using the linked Enterprise techniques
|
|
191
|
+
* - `software` — malware and tools using the linked Enterprise techniques
|
|
192
|
+
* - `campaigns` — threat campaigns using the linked Enterprise techniques
|
|
193
|
+
* - `mitigations` — defensive courses of action per linked technique
|
|
194
|
+
* - `detections` — detection data sources per linked technique
|
|
195
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
196
|
+
* - `cves` — CVEs mapped to the linked Enterprise techniques
|
|
197
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
198
|
+
* - `web` — live web search for AI/ML attack research
|
|
199
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
200
|
+
* - `summary` — AI-generated executive brief covering the AI/ML attack and its relationship to
|
|
201
|
+
* Enterprise ATT&CK techniques
|
|
202
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques,
|
|
203
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
204
|
+
*/
|
|
205
|
+
declare const enrichAtlas: <ThrowOnError extends boolean = false>(options: Options<EnrichAtlasData, ThrowOnError>) => RequestResult<EnrichAtlasResponses, EnrichAtlasErrors, ThrowOnError>;
|
|
206
|
+
/**
|
|
207
|
+
* Enrich Mixed Batch
|
|
208
|
+
*
|
|
209
|
+
* Batch-run multiple enrich* lookups in one request, preserving input order.
|
|
210
|
+
*
|
|
211
|
+
* Accepts 1-50 items; the 51st is rejected with HTTP 422. Each item carries a `type` discriminator
|
|
212
|
+
* naming the enrichment type, that type's identifier fields, and its own per-type `include` list.
|
|
213
|
+
* Each result follows the same response contract as its dedicated single-entity endpoint.
|
|
214
|
+
*
|
|
215
|
+
* There is no batch-level `include` — each item drives its own enrichment depth via the include list
|
|
216
|
+
* of the single-entity type it names. See that type's `/v1/enrich*` endpoint for its include options.
|
|
217
|
+
*
|
|
218
|
+
* **Supported types**
|
|
219
|
+
*
|
|
220
|
+
* Each of the 16 maps 1:1 to a `/v1/enrich*` endpoint:
|
|
221
|
+
*
|
|
222
|
+
* - `cve`, `product`, `package`, `cwe`, `capec`, `technique`, `ioc`, `group`
|
|
223
|
+
* - `software`, `campaign`, `atlas`, `disarm`, `location`, `sector`, `defend`, `poc_source`
|
|
224
|
+
*
|
|
225
|
+
* Partial failure is isolated: one item failing does not fail the batch. Each result reports
|
|
226
|
+
* `status="ok"` (the enrichment ran — per-layer partial failures stay inside `data.errors`) or
|
|
227
|
+
* `status="error"` (the item dispatch itself raised, with details in the item's `errors`). Results
|
|
228
|
+
* preserve input order.
|
|
229
|
+
*
|
|
230
|
+
* A batch consumes one request unit.
|
|
231
|
+
*/
|
|
232
|
+
declare const enrichBatch: <ThrowOnError extends boolean = false>(options: Options<EnrichBatchData, ThrowOnError>) => RequestResult<EnrichBatchResponses, EnrichBatchErrors, ThrowOnError>;
|
|
233
|
+
/**
|
|
234
|
+
* Enrich Campaign
|
|
235
|
+
*
|
|
236
|
+
* Look up or search threat campaigns with linked groups and techniques.
|
|
237
|
+
*
|
|
238
|
+
* Provide `campaign_id` for a direct lookup (e.g. C0028) or `search` for text-based discovery by name
|
|
239
|
+
* or description, across the `enterprise`, `ics`, or `mobile` framework (default `enterprise`).
|
|
240
|
+
* Returns the campaign profile with attributed groups and ATT&CK techniques.
|
|
241
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected campaign.
|
|
242
|
+
*
|
|
243
|
+
* **Include options**
|
|
244
|
+
*
|
|
245
|
+
* - `details` — full campaign profile (description, timeline, attributed groups, techniques)
|
|
246
|
+
* - `techniques` — resolved ATT&CK technique objects with mitigations and detection guidance
|
|
247
|
+
* - `groups` — threat actor groups that ran this campaign
|
|
248
|
+
* - `software` — malware and tools used in this campaign
|
|
249
|
+
* - `tie` — technique likelihood predictions for the campaign's known techniques
|
|
250
|
+
* - `navigator` — ATT&CK Navigator layer JSON for the campaign's technique coverage
|
|
251
|
+
* - `mitigations` — defensive courses of action per technique
|
|
252
|
+
* - `detections` — detection data sources per technique
|
|
253
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
254
|
+
* - `cves` — CVEs mapped to the campaign's techniques
|
|
255
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
256
|
+
* - `web` — live web search for campaign analysis and reports
|
|
257
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
258
|
+
* - `summary` — AI-generated executive brief covering the campaign's scope and attributed techniques
|
|
259
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the campaign's techniques,
|
|
260
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
261
|
+
*/
|
|
262
|
+
declare const enrichCampaign: <ThrowOnError extends boolean = false>(options: Options<EnrichCampaignData, ThrowOnError>) => RequestResult<EnrichCampaignResponses, EnrichCampaignErrors, ThrowOnError>;
|
|
263
|
+
/**
|
|
264
|
+
* Enrich CAPEC
|
|
265
|
+
*
|
|
266
|
+
* Look up or search attack patterns and resolve linked adversary techniques.
|
|
267
|
+
*
|
|
268
|
+
* Provide `capec_id` for a direct lookup or `search` for text-based discovery. Linked ATT&CK
|
|
269
|
+
* techniques are resolved into full objects with mitigations and detection guidance, returned even
|
|
270
|
+
* when the attack pattern has sparse data.
|
|
271
|
+
* If both fields are omitted, the endpoint returns HTTP 200 with no selected pattern and empty search results.
|
|
272
|
+
*
|
|
273
|
+
* **Include options**
|
|
274
|
+
*
|
|
275
|
+
* - `details` — full CAPEC object with description, prerequisites, and related weaknesses
|
|
276
|
+
* - `techniques` — ATT&CK techniques linked to this attack pattern
|
|
277
|
+
* - `tie` — technique likelihood predictions for linked techniques
|
|
278
|
+
* - `navigator` — ATT&CK Navigator layer JSON for linked techniques
|
|
279
|
+
* - `groups` — threat actor groups using the linked techniques
|
|
280
|
+
* - `software` — malware and tools using the linked techniques
|
|
281
|
+
* - `campaigns` — threat campaigns using the linked techniques
|
|
282
|
+
* - `mitigations` — defensive courses of action per technique
|
|
283
|
+
* - `detections` — detection data sources per technique
|
|
284
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
285
|
+
* - `cves` — CVEs mapped to the linked techniques
|
|
286
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
287
|
+
* - `web` — live web search for attack pattern research
|
|
288
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
289
|
+
* - `summary` — AI-generated summary of the attack pattern
|
|
290
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques,
|
|
291
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
292
|
+
*/
|
|
293
|
+
declare const enrichCapec: <ThrowOnError extends boolean = false>(options: Options<EnrichCapecData, ThrowOnError>) => RequestResult<EnrichCapecResponses, EnrichCapecErrors, ThrowOnError>;
|
|
294
|
+
/**
|
|
295
|
+
* Enrich CVE
|
|
296
|
+
*
|
|
297
|
+
* Enrich a CVE into a full attack narrative.
|
|
298
|
+
*
|
|
299
|
+
* Returns severity scoring, exploit intelligence, weakness analysis, adversary techniques,
|
|
300
|
+
* threat predictions, and an AI-generated executive summary. Control depth with `include`.
|
|
301
|
+
*
|
|
302
|
+
* ATT&CK mappings follow published CVE, CWE, and CAPEC relationships. If those relationships yield
|
|
303
|
+
* no techniques, `techniques[]` stays empty rather than returning an unsupported match.
|
|
304
|
+
*
|
|
305
|
+
* **Include options**
|
|
306
|
+
*
|
|
307
|
+
* - `details` — core CVE data including CVSS, severity, description, dates, and references
|
|
308
|
+
* - `epss` — EPSS exploit probability score and percentile ranking
|
|
309
|
+
* - `kev` — Known Exploited Vulnerabilities catalog status
|
|
310
|
+
* - `cwe` — root cause weakness classification with descriptions
|
|
311
|
+
* - `capec` — attack patterns describing how the weakness is exploited
|
|
312
|
+
* - `techniques` — ATT&CK techniques linked through published vulnerability relationships
|
|
313
|
+
* - `tie` — technique likelihood predictions (probability per technique)
|
|
314
|
+
* - `misp` — matching threat intelligence events from your threat feed
|
|
315
|
+
* - `knowledgebase` — related context from the intelligence knowledge base
|
|
316
|
+
* - `web` — live web search for exploit PoCs, advisories, and security research
|
|
317
|
+
* - `web_scrape` — scraped article text added to the top web results (requires `web`)
|
|
318
|
+
* - `affected_products` — confirmed vulnerable software with vendor, product, version, and CPE string
|
|
319
|
+
* - `poc` — proof-of-concept exploits from GitHub (count + repo metadata)
|
|
320
|
+
* - `poc_source` — AI-assisted analysis of selected PoC repositories (trigger, affected path,
|
|
321
|
+
* preconditions, and mitigation); raw source code is never returned
|
|
322
|
+
* - `exploits` — confirmed exploit records from the KEV exploit feed (real evidence, not the
|
|
323
|
+
* heuristic `has_public_exploit` boolean)
|
|
324
|
+
* - `osv` — OSV.dev advisories aliased to this CVE (GHSA/PYSEC/RUSTSEC records plus per-ecosystem
|
|
325
|
+
* fixed versions; the same advisory source used by `/v1/enrich/package`)
|
|
326
|
+
* - `groups` — threat actor groups known to use the linked ATT&CK techniques
|
|
327
|
+
* - `software` — malware and tools that employ the linked techniques
|
|
328
|
+
* - `campaigns` — threat campaigns that used the linked techniques
|
|
329
|
+
* - `mitigations` — defensive courses of action for each linked technique
|
|
330
|
+
* - `detections` — data sources and components for detecting each linked technique
|
|
331
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
332
|
+
* - `similar_cves` — up to 15 CVEs with overlapping weakness/technique fingerprint, ranked by
|
|
333
|
+
* weighted Jaccard similarity (signal-by-signal breakdown included)
|
|
334
|
+
* - `sector_context` — evidence-based industry sector detection from threat group targeting patterns
|
|
335
|
+
* - `timeline` — EPSS score history for trend visualisation (pair with `epss_velocity`)
|
|
336
|
+
* - `navigator` — ATT&CK Navigator layer JSON for MITRE's Navigator tool
|
|
337
|
+
* - `summary` — AI-generated 3-5 sentence executive brief covering severity, exploitation
|
|
338
|
+
* status, and key attack techniques
|
|
339
|
+
* - `inferred_chain` — quarantined AI-assisted technique candidates, returned only when published
|
|
340
|
+
* mappings yield no techniques. These low-confidence analyst hints are never treated as authoritative.
|
|
341
|
+
* - `nist_controls` *(default-on)* — NIST SP 800-53 rev 5 controls that mitigate the CVE's mapped
|
|
342
|
+
* techniques, based on MITRE Center for Threat-Informed Defense mappings
|
|
343
|
+
* - `ssvc` — SSVC vulnerability-prioritisation decision (CERT/CC Deployer tree by default, or CISA
|
|
344
|
+
* Coordinator tree). Stakeholder context comes from the optional `stakeholder` request field;
|
|
345
|
+
* defaults to the worst-reasonable case for an unknown environment.
|
|
346
|
+
*
|
|
347
|
+
* Several extra fields always populate regardless of `include`: `techniques_provenance` (precision
|
|
348
|
+
* class of `techniques[]`), `likely_tactics` (vendor tactic-class hints when the chain walk is
|
|
349
|
+
* empty), `confidence` (importance-weighted completeness indicator), `weaponization_score` (0-100
|
|
350
|
+
* composite).
|
|
351
|
+
*
|
|
352
|
+
* Omitted include values return as `null` or empty arrays. The `errors` array reports any partial
|
|
353
|
+
* failures.
|
|
354
|
+
*/
|
|
355
|
+
declare const enrichCve: <ThrowOnError extends boolean = false>(options: Options<EnrichCveData, ThrowOnError>) => RequestResult<EnrichCveResponses, EnrichCveErrors, ThrowOnError>;
|
|
356
|
+
/**
|
|
357
|
+
* Enrich CWE
|
|
358
|
+
*
|
|
359
|
+
* Enrich a weakness classification with linked attack patterns and adversary techniques.
|
|
360
|
+
*
|
|
361
|
+
* Returns the weakness with associated attack patterns and ATT&CK techniques, connecting root cause
|
|
362
|
+
* to adversary behavior. Technique mappings come with full mitigations and detection guidance even
|
|
363
|
+
* when the weakness has sparse data.
|
|
364
|
+
*
|
|
365
|
+
* **Include options**
|
|
366
|
+
*
|
|
367
|
+
* - `details` — CWE object with name, description, and severity
|
|
368
|
+
* - `capecs` — attack patterns linked to this weakness class
|
|
369
|
+
* - `techniques` — ATT&CK techniques linked to this weakness class
|
|
370
|
+
* - `tie` — technique likelihood predictions for resolved techniques
|
|
371
|
+
* - `navigator` — ATT&CK Navigator layer JSON for resolved techniques
|
|
372
|
+
* - `groups` — threat actor groups using the linked techniques
|
|
373
|
+
* - `software` — malware and tools using the linked techniques
|
|
374
|
+
* - `campaigns` — threat campaigns using the linked techniques
|
|
375
|
+
* - `mitigations` — defensive courses of action per technique
|
|
376
|
+
* - `detections` — detection data sources per technique
|
|
377
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
378
|
+
* - `cves` — CVEs mapped to the linked techniques
|
|
379
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
380
|
+
* - `web` — live web search for weakness-related research and advisories
|
|
381
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
382
|
+
* - `summary` — AI-generated summary of the weakness and its attack implications
|
|
383
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques,
|
|
384
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
385
|
+
*/
|
|
386
|
+
declare const enrichCwe: <ThrowOnError extends boolean = false>(options: Options<EnrichCweData, ThrowOnError>) => RequestResult<EnrichCweResponses, EnrichCweErrors, ThrowOnError>;
|
|
387
|
+
/**
|
|
388
|
+
* Enrich D3FEND Technique
|
|
389
|
+
*
|
|
390
|
+
* Look up or search D3FEND defensive techniques and countermeasures.
|
|
391
|
+
*
|
|
392
|
+
* Provide `d3fend_id` for a direct lookup (e.g. D3-AL) or `search` for text-based discovery. Returns
|
|
393
|
+
* the D3FEND object with linked ATT&CK techniques and optional intelligence context.
|
|
394
|
+
*
|
|
395
|
+
* **Include options**
|
|
396
|
+
*
|
|
397
|
+
* - `details` — full D3FEND object with description and defensive form
|
|
398
|
+
* - `techniques` — ATT&CK techniques this defensive technique mitigates or detects
|
|
399
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
400
|
+
* - `web` — live web search for defensive technique research
|
|
401
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
402
|
+
* - `summary` — AI-generated summary of the defensive technique
|
|
403
|
+
*/
|
|
404
|
+
declare const enrichDefend: <ThrowOnError extends boolean = false>(options: Options<EnrichDefendData, ThrowOnError>) => RequestResult<EnrichDefendResponses, EnrichDefendErrors, ThrowOnError>;
|
|
405
|
+
/**
|
|
406
|
+
* Enrich DISARM Technique
|
|
407
|
+
*
|
|
408
|
+
* Look up or search disinformation techniques from the DISARM framework.
|
|
409
|
+
*
|
|
410
|
+
* Covers influence operation tactics and techniques. Provide `technique_id` for a direct lookup
|
|
411
|
+
* (e.g. T0001) or `search` for discovery. Returns ATT&CK technique mappings even when the DISARM
|
|
412
|
+
* technique has sparse data.
|
|
413
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected technique.
|
|
414
|
+
*
|
|
415
|
+
* **Include options**
|
|
416
|
+
*
|
|
417
|
+
* - `details` — full DISARM technique object with description and tactic context
|
|
418
|
+
* - `countermeasures` — courses of action from the DISARM framework
|
|
419
|
+
* - `techniques` — linked ATT&CK techniques (infrastructure, social engineering) that support or
|
|
420
|
+
* enable this influence operation, resolved into full objects
|
|
421
|
+
* - `tie` — technique likelihood predictions for linked ATT&CK techniques
|
|
422
|
+
* - `navigator` — ATT&CK Navigator layer JSON for linked techniques
|
|
423
|
+
* - `groups` — threat actor groups using the linked techniques
|
|
424
|
+
* - `software` — malware and tools using the linked techniques
|
|
425
|
+
* - `campaigns` — threat campaigns using the linked techniques
|
|
426
|
+
* - `mitigations` — defensive courses of action per linked technique
|
|
427
|
+
* - `detections` — detection data sources per linked technique
|
|
428
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
429
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
430
|
+
* - `web` — live web search for disinformation analysis
|
|
431
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
432
|
+
* - `summary` — AI-generated executive brief covering the disinformation technique and its countermeasures
|
|
433
|
+
*/
|
|
434
|
+
declare const enrichDisarm: <ThrowOnError extends boolean = false>(options: Options<EnrichDisarmData, ThrowOnError>) => RequestResult<EnrichDisarmResponses, EnrichDisarmErrors, ThrowOnError>;
|
|
435
|
+
/**
|
|
436
|
+
* Enrich Threat Group
|
|
437
|
+
*
|
|
438
|
+
* Look up or search threat actor groups with their techniques and tooling.
|
|
439
|
+
*
|
|
440
|
+
* Provide `group_id` for a direct lookup (e.g. G0016 for APT28) or `search` for text-based discovery
|
|
441
|
+
* by name or alias, across the `enterprise`, `ics`, or `mobile` framework (default `enterprise`).
|
|
442
|
+
* Returns the group profile with associated ATT&CK techniques and software.
|
|
443
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected group.
|
|
444
|
+
*
|
|
445
|
+
* **Include options**
|
|
446
|
+
*
|
|
447
|
+
* - `details` — full group profile (aliases, description, references, attributed techniques)
|
|
448
|
+
* - `techniques` — resolved ATT&CK technique objects with mitigations and detection guidance
|
|
449
|
+
* - `software` — malware and tools used by this group
|
|
450
|
+
* - `campaigns` — threat campaigns attributed to this group
|
|
451
|
+
* - `tie` — technique likelihood predictions for the group's known techniques
|
|
452
|
+
* - `navigator` — ATT&CK Navigator layer JSON for the group's technique coverage
|
|
453
|
+
* - `mitigations` — defensive courses of action per technique
|
|
454
|
+
* - `detections` — detection data sources per technique
|
|
455
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
456
|
+
* - `cves` — CVEs mapped to the group's techniques
|
|
457
|
+
* - `misp` — matching threat intelligence events
|
|
458
|
+
* - `sectors` — industry sectors this group is known to target
|
|
459
|
+
* - `locations` — geographic regions this group is known to target
|
|
460
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
461
|
+
* - `web` — live web search for threat group analysis and reports
|
|
462
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
463
|
+
* - `summary` — AI-generated executive brief covering the group's profile and technique priorities
|
|
464
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the group's techniques,
|
|
465
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
466
|
+
*/
|
|
467
|
+
declare const enrichGroup: <ThrowOnError extends boolean = false>(options: Options<EnrichGroupData, ThrowOnError>) => RequestResult<EnrichGroupResponses, EnrichGroupErrors, ThrowOnError>;
|
|
468
|
+
/**
|
|
469
|
+
* Enrich IOC
|
|
470
|
+
*
|
|
471
|
+
* Enrich an indicator of compromise with linked threat events, techniques, and predictions.
|
|
472
|
+
*
|
|
473
|
+
* Searches threat intelligence feeds for the indicator (by `value` + `type` — e.g. `ip-dst`, `domain`,
|
|
474
|
+
* `sha256`, `url`, `email-src`), extracts linked threat actors and malware, maps to ATT&CK techniques,
|
|
475
|
+
* and generates threat predictions. Technique mappings return even when the indicator has sparse data.
|
|
476
|
+
*
|
|
477
|
+
* **Include options**
|
|
478
|
+
*
|
|
479
|
+
* - `misp_attributes` — matching threat event attributes with event metadata
|
|
480
|
+
* - `galaxies` — linked threat actor and malware context, resolved into full Galaxy cluster profiles
|
|
481
|
+
* - `techniques` — ATT&CK techniques linked to this indicator
|
|
482
|
+
* - `tie` — technique likelihood predictions for resolved techniques
|
|
483
|
+
* - `warninglist` — false-positive check against known safe-list entries
|
|
484
|
+
* - `sightings` — sighting count across linked events
|
|
485
|
+
* - `navigator` — ATT&CK Navigator layer JSON for resolved techniques
|
|
486
|
+
* - `groups` — threat actor groups using the linked techniques
|
|
487
|
+
* - `software` — malware and tools using the linked techniques
|
|
488
|
+
* - `campaigns` — threat campaigns using the linked techniques
|
|
489
|
+
* - `mitigations` — defensive courses of action per linked technique
|
|
490
|
+
* - `detections` — detection data sources per linked technique
|
|
491
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
492
|
+
* - `cves` — CVEs mapped to the linked techniques
|
|
493
|
+
* - `poc` — proof-of-concept exploits from GitHub for any linked CVEs
|
|
494
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
495
|
+
* - `web` — live web search for threat indicator analysis
|
|
496
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
497
|
+
* - `summary` — AI-generated executive brief covering the indicator's threat context
|
|
498
|
+
* - `inferred_chain` — quarantined AI-assisted technique candidates, returned only when published
|
|
499
|
+
* IOC relationships yield no techniques. These low-confidence analyst hints are never authoritative.
|
|
500
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques,
|
|
501
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
502
|
+
*/
|
|
503
|
+
declare const enrichIoc: <ThrowOnError extends boolean = false>(options: Options<EnrichIocData, ThrowOnError>) => RequestResult<EnrichIocResponses, EnrichIocErrors, ThrowOnError>;
|
|
504
|
+
/**
|
|
505
|
+
* Enrich Location
|
|
506
|
+
*
|
|
507
|
+
* Get the threat landscape for a geographic region.
|
|
508
|
+
*
|
|
509
|
+
* Returns active threat groups and ATT&CK techniques associated with a country or region. Provide
|
|
510
|
+
* `location_id` for a direct lookup (e.g. L0001) or `search` by country or region name.
|
|
511
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected location.
|
|
512
|
+
*
|
|
513
|
+
* **Include options**
|
|
514
|
+
*
|
|
515
|
+
* - `details` — location metadata and associated object counts
|
|
516
|
+
* - `groups` — resolved threat group objects active in this region
|
|
517
|
+
* - `techniques` — resolved ATT&CK technique objects used by groups in this region
|
|
518
|
+
* - `software` — malware and tools used by groups in this region
|
|
519
|
+
* - `campaigns` — threat campaigns active in this region
|
|
520
|
+
* - `tie` — technique likelihood predictions for regional techniques
|
|
521
|
+
* - `navigator` — ATT&CK Navigator layer JSON for regional technique coverage
|
|
522
|
+
* - `mitigations` — defensive courses of action per technique
|
|
523
|
+
* - `detections` — detection data sources per technique
|
|
524
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
525
|
+
* - `cves` — CVEs mapped to the region's techniques
|
|
526
|
+
* - `sectors` — industry sectors targeted in this region
|
|
527
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
528
|
+
* - `web` — live web search for regional cyber threat landscape analysis
|
|
529
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
530
|
+
* - `summary` — AI-generated executive brief covering the region's threat landscape and active groups
|
|
531
|
+
*/
|
|
532
|
+
declare const enrichLocation: <ThrowOnError extends boolean = false>(options: Options<EnrichLocationData, ThrowOnError>) => RequestResult<EnrichLocationResponses, EnrichLocationErrors, ThrowOnError>;
|
|
533
|
+
/**
|
|
534
|
+
* Enrich Package
|
|
535
|
+
*
|
|
536
|
+
* Enrich an open-source package — OSV.dev advisories plus full multi-source CVE enrichment.
|
|
537
|
+
*
|
|
538
|
+
* The package-ecosystem sibling of `/v1/enrich/product`. Keyed by **ecosystem + name (+ optional
|
|
539
|
+
* version)**, it covers the dependency-vulnerability surface (npm, PyPI, Go, Maven, crates.io,
|
|
540
|
+
* NuGet, RubyGems, …) that the CPE-keyed product endpoint cannot reach.
|
|
541
|
+
*
|
|
542
|
+
* OSV.dev supplies the advisories (id, cross-database aliases CVE/GHSA, fixed versions, severity,
|
|
543
|
+
* affected ranges, references — CVE-aliased first). The CVEs those advisories alias are then
|
|
544
|
+
* enriched through the **same multi-source enrichment chain** (CWE → CAPEC → ATT&CK techniques, EPSS,
|
|
545
|
+
* KEV, mitigations, …) as `enrich/product`'s nested CVEs, returned under `cves[]`. Supplying a
|
|
546
|
+
* `version` filters advisories to that version.
|
|
547
|
+
*
|
|
548
|
+
* **Include options**
|
|
549
|
+
*
|
|
550
|
+
* OSV-advisory verbosity:
|
|
551
|
+
*
|
|
552
|
+
* - `details` — full advisory description and metadata
|
|
553
|
+
* - `severity` — CVSS vectors and labels
|
|
554
|
+
* - `affected` — affected/fixed version ranges
|
|
555
|
+
* - `references` — advisory reference URLs
|
|
556
|
+
*
|
|
557
|
+
* Nested CVE enrichment accepts every CVE layer listed in the request schema, including exploit
|
|
558
|
+
* probability and exploitation evidence, weakness and ATT&CK mappings, related groups and software,
|
|
559
|
+
* defensive guidance, source research, SSVC decisions, NIST controls, timeline and similarity context,
|
|
560
|
+
* and AI-assisted summaries.
|
|
561
|
+
*
|
|
562
|
+
* The advisory core is always returned. `cves[]` populates only when at least one CVE-chain option
|
|
563
|
+
* is requested (the fan-out is bounded and deduped per request).
|
|
564
|
+
*/
|
|
565
|
+
declare const enrichPackage: <ThrowOnError extends boolean = false>(options: Options<EnrichPackageData, ThrowOnError>) => RequestResult<EnrichPackageResponses, EnrichPackageErrors, ThrowOnError>;
|
|
566
|
+
/**
|
|
567
|
+
* Analyze PoC Source
|
|
568
|
+
*
|
|
569
|
+
* Analyze a public PoC repository without returning its source code.
|
|
570
|
+
*
|
|
571
|
+
* AI-assisted analysis returns `trigger`, `affected_path`, `preconditions`, and `mitigation`.
|
|
572
|
+
* The repository must be a public GitHub URL matching the request schema. Source is fetched for
|
|
573
|
+
* analysis and discarded; only the structured summary and partial-failure details are returned.
|
|
574
|
+
*/
|
|
575
|
+
declare const enrichPocSource: <ThrowOnError extends boolean = false>(options: Options<EnrichPocSourceData, ThrowOnError>) => RequestResult<EnrichPocSourceResponses, EnrichPocSourceErrors, ThrowOnError>;
|
|
576
|
+
/**
|
|
577
|
+
* Enrich Product
|
|
578
|
+
*
|
|
579
|
+
* Find vulnerabilities affecting a product and enrich each matched CVE.
|
|
580
|
+
*
|
|
581
|
+
* Searches by product name, version, and vendor using CPE matching, then runs every matched CVE
|
|
582
|
+
* through the same multi-source chain as `/v1/enrich/cve`. Supply `vendor` to narrow CPE matches
|
|
583
|
+
* and `version` to hard-filter discovered CVEs to those affecting that release.
|
|
584
|
+
*
|
|
585
|
+
* The include options drive the per-CVE enrichment depth (each value behaves exactly as it does on
|
|
586
|
+
* `/v1/enrich/cve`); the product-level extras roll those results up across the matched set.
|
|
587
|
+
*
|
|
588
|
+
* **Include options**
|
|
589
|
+
*
|
|
590
|
+
* Per-CVE enrichment (applied to each matched CVE):
|
|
591
|
+
*
|
|
592
|
+
* - `details` — core CVE data (CVSS, severity, description, references)
|
|
593
|
+
* - `epss` — EPSS exploit probability score and percentile
|
|
594
|
+
* - `kev` — Known Exploited Vulnerabilities catalog status
|
|
595
|
+
* - `cwe` — root cause weakness classification
|
|
596
|
+
* - `capec` — attack patterns for the weakness
|
|
597
|
+
* - `techniques` — linked ATT&CK techniques
|
|
598
|
+
* - `tie` — technique likelihood predictions
|
|
599
|
+
* - `navigator` — ATT&CK Navigator layer JSON
|
|
600
|
+
* - `misp` — matching threat intelligence events
|
|
601
|
+
* - `knowledgebase` — related knowledge-base context
|
|
602
|
+
* - `web` — live web search for exploits and advisories
|
|
603
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
604
|
+
* - `affected_products` — confirmed vulnerable software with CPE strings
|
|
605
|
+
* - `poc` — proof-of-concept exploits from GitHub
|
|
606
|
+
* - `groups` — threat actor groups using the linked techniques
|
|
607
|
+
* - `software` — malware and tools using the linked techniques
|
|
608
|
+
* - `campaigns` — threat campaigns using the linked techniques
|
|
609
|
+
* - `mitigations` — defensive courses of action per technique
|
|
610
|
+
* - `detections` — detection data sources per technique
|
|
611
|
+
* - `defend` — D3FEND defensive techniques
|
|
612
|
+
* - `exploits` — authoritative exploit objects per CVE (real evidence, not the heuristic
|
|
613
|
+
* `has_public_exploit` boolean)
|
|
614
|
+
* - `ssvc` — SSVC vulnerability-prioritisation decision per CVE (CERT/CC Deployer tree,
|
|
615
|
+
* worst-reasonable-case defaults)
|
|
616
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques
|
|
617
|
+
* (MITRE CTID mapping)
|
|
618
|
+
* - `osv` — OSV.dev advisories and fixed versions aliased to each matched CVE
|
|
619
|
+
*
|
|
620
|
+
* Product-level rollup:
|
|
621
|
+
*
|
|
622
|
+
* - `summary` — AI-generated product-level brief over the matched CVE set
|
|
623
|
+
* - `risk_summary` — aggregate risk statistics across the matched CVEs
|
|
624
|
+
*
|
|
625
|
+
* The response also carries `likely_tactics`, an always-on set of ATT&CK tactic-class hints based on
|
|
626
|
+
* the requested vendor. These hints are useful when matched CVEs have sparse technique coverage.
|
|
627
|
+
* Returns up to 20 enriched CVEs per request.
|
|
628
|
+
*/
|
|
629
|
+
declare const enrichProduct: <ThrowOnError extends boolean = false>(options: Options<EnrichProductData, ThrowOnError>) => RequestResult<EnrichProductResponses, EnrichProductErrors, ThrowOnError>;
|
|
630
|
+
/**
|
|
631
|
+
* Enrich Sector
|
|
632
|
+
*
|
|
633
|
+
* Enrich the threat landscape for an industry sector.
|
|
634
|
+
*
|
|
635
|
+
* Returns threat groups known to target this sector and the ATT&CK techniques they employ, with full
|
|
636
|
+
* defensive context. Provide `sector_id` for a direct lookup (e.g. "financial-services") or `search`
|
|
637
|
+
* by name.
|
|
638
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected sector.
|
|
639
|
+
*
|
|
640
|
+
* **Include options**
|
|
641
|
+
*
|
|
642
|
+
* - `details` — sector metadata with associated groups and techniques
|
|
643
|
+
* - `groups` — resolved threat group profiles targeting this sector
|
|
644
|
+
* - `techniques` — resolved ATT&CK technique objects used against this sector
|
|
645
|
+
* - `software` — malware and tools that employ the linked techniques
|
|
646
|
+
* - `campaigns` — threat campaigns that used the linked techniques
|
|
647
|
+
* - `tie` — technique likelihood predictions for sector-relevant techniques
|
|
648
|
+
* - `navigator` — ATT&CK Navigator layer JSON for technique coverage
|
|
649
|
+
* - `mitigations` — defensive courses of action for each linked technique
|
|
650
|
+
* - `detections` — data sources and components for detecting each linked technique
|
|
651
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
652
|
+
* - `cves` — CVEs mapped to the sector's techniques
|
|
653
|
+
* - `locations` — geographic regions where this sector is targeted
|
|
654
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
655
|
+
* - `web` — live web search for sector-specific threat landscape analysis
|
|
656
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
657
|
+
* - `summary` — AI-generated executive brief covering the sector's threat landscape
|
|
658
|
+
*/
|
|
659
|
+
declare const enrichSector: <ThrowOnError extends boolean = false>(options: Options<EnrichSectorData, ThrowOnError>) => RequestResult<EnrichSectorResponses, EnrichSectorErrors, ThrowOnError>;
|
|
660
|
+
/**
|
|
661
|
+
* Enrich Malware or Tool
|
|
662
|
+
*
|
|
663
|
+
* Look up or search malware and tools with their techniques and associated groups.
|
|
664
|
+
*
|
|
665
|
+
* Provide `software_id` for a direct lookup (e.g. S0154 for Cobalt Strike) or `search` for text-based
|
|
666
|
+
* discovery by name or alias, across the `enterprise`, `ics`, or `mobile` framework (default
|
|
667
|
+
* `enterprise`). Returns the software profile with ATT&CK techniques and known user groups.
|
|
668
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected software.
|
|
669
|
+
*
|
|
670
|
+
* **Include options**
|
|
671
|
+
*
|
|
672
|
+
* - `details` — full software profile (type, description, associated groups, techniques)
|
|
673
|
+
* - `techniques` — resolved ATT&CK technique objects with mitigations and detection guidance
|
|
674
|
+
* - `groups` — threat actor groups that use this software
|
|
675
|
+
* - `campaigns` — threat campaigns that used this software
|
|
676
|
+
* - `tie` — technique likelihood predictions for this software's known techniques
|
|
677
|
+
* - `navigator` — ATT&CK Navigator layer JSON for the software's technique coverage
|
|
678
|
+
* - `mitigations` — defensive courses of action per technique
|
|
679
|
+
* - `detections` — detection data sources per technique
|
|
680
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
681
|
+
* - `cves` — CVEs mapped to the software's techniques
|
|
682
|
+
* - `misp` — matching threat intelligence events
|
|
683
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
684
|
+
* - `web` — live web search for malware analysis reports
|
|
685
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
686
|
+
* - `summary` — AI-generated executive brief covering the software's capabilities and detection priorities
|
|
687
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the software's techniques,
|
|
688
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
689
|
+
*/
|
|
690
|
+
declare const enrichSoftware: <ThrowOnError extends boolean = false>(options: Options<EnrichSoftwareData, ThrowOnError>) => RequestResult<EnrichSoftwareResponses, EnrichSoftwareErrors, ThrowOnError>;
|
|
691
|
+
/**
|
|
692
|
+
* Enrich ATT&CK Technique
|
|
693
|
+
*
|
|
694
|
+
* Retrieve ATT&CK technique details with threat predictions and related intelligence.
|
|
695
|
+
*
|
|
696
|
+
* Supports a single ID (`technique_id`), batch IDs (`technique_ids`), or text search (`search`),
|
|
697
|
+
* across the `enterprise`, `ics`, or `mobile` framework (default `enterprise`). Each technique is
|
|
698
|
+
* enriched with threat predictions (TIE) and optionally related intelligence from the knowledge base.
|
|
699
|
+
* If all three lookup fields are omitted, the endpoint returns HTTP 200 with an empty technique list.
|
|
700
|
+
*
|
|
701
|
+
* **Include options**
|
|
702
|
+
*
|
|
703
|
+
* - `details` — full technique object with tactics, mitigations, and detection guidance
|
|
704
|
+
* - `tie` — technique likelihood predictions
|
|
705
|
+
* - `navigator` — ATT&CK Navigator layer JSON for visualization
|
|
706
|
+
* - `groups` — threat actor groups using the technique
|
|
707
|
+
* - `software` — malware and tools using the technique
|
|
708
|
+
* - `campaigns` — threat campaigns using the technique
|
|
709
|
+
* - `mitigations` — defensive courses of action for the technique
|
|
710
|
+
* - `detections` — detection data sources for the technique
|
|
711
|
+
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
712
|
+
* - `cves` — CVEs mapped to the technique
|
|
713
|
+
* - `misp` — matching threat intelligence events
|
|
714
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
715
|
+
* - `web` — live web search for technique-related research and analysis
|
|
716
|
+
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
717
|
+
* - `summary` — AI-generated executive brief covering the technique's usage and detection priorities
|
|
718
|
+
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the technique,
|
|
719
|
+
* based on MITRE Center for Threat-Informed Defense mappings
|
|
720
|
+
*/
|
|
721
|
+
declare const enrichTechnique: <ThrowOnError extends boolean = false>(options: Options<EnrichTechniqueData, ThrowOnError>) => RequestResult<EnrichTechniqueResponses, EnrichTechniqueErrors, ThrowOnError>;
|
|
722
|
+
/**
|
|
723
|
+
* Submit Inventory Enrichment
|
|
724
|
+
*
|
|
725
|
+
* Submit an asset inventory for asynchronous Inventory Enrichment.
|
|
726
|
+
*
|
|
727
|
+
* Returns an `enrichment_id` with HTTP 202. Poll
|
|
728
|
+
* `/v1/inventory-enrich/{enrichment_id}` for stage progress and the finished findings.
|
|
729
|
+
*
|
|
730
|
+
* Submit 1-200 assets. Product assets use product, vendor, and up to five versions for CPE-based
|
|
731
|
+
* vulnerability matching. Package assets add `ecosystem` and use package-advisory matching.
|
|
732
|
+
* Asset category, criticality, deployment context, owner, tags, and group metadata are preserved
|
|
733
|
+
* in the result. Optional `attachments_text` and `attachments_files` run Artifact Enrichment over
|
|
734
|
+
* reports, IOC lists, scans, email, and other evidence attached to the inventory.
|
|
735
|
+
*
|
|
736
|
+
* `include` selects the per-CVE evidence retained for each asset and replaces the default list.
|
|
737
|
+
* `summary`, `web`, `web_scrape`, and `navigator` are accepted for product-schema compatibility
|
|
738
|
+
* but intentionally omitted from this deterministic background workflow.
|
|
739
|
+
*
|
|
740
|
+
* Submission consumes one request unit. Polling consumes none. Each API key can run 3 Artifact or
|
|
741
|
+
* Inventory Enrichments at once and can hold 20 running or queued jobs across both engines. Jobs
|
|
742
|
+
* beyond the running limit remain `queued`; a full queue returns 429. If queue state cannot be
|
|
743
|
+
* verified, the request returns 503 and no job is created.
|
|
744
|
+
*/
|
|
745
|
+
declare const inventoryEnrich: <ThrowOnError extends boolean = false>(options: Options<InventoryEnrichData, ThrowOnError>) => RequestResult<InventoryEnrichResponses, InventoryEnrichErrors, ThrowOnError>;
|
|
746
|
+
/**
|
|
747
|
+
* Get Inventory Enrichment Status
|
|
748
|
+
*
|
|
749
|
+
* Poll an Inventory Enrichment until it finishes.
|
|
750
|
+
*
|
|
751
|
+
* Returns overall `progress`, ordered stage and substage progress, a rolling event feed, and one
|
|
752
|
+
* of these states:
|
|
753
|
+
*
|
|
754
|
+
* - `queued`: waiting for a slot; `queue_position` is the number of jobs ahead
|
|
755
|
+
* - `running`: enrichment is in progress
|
|
756
|
+
* - `done`: `result` contains per-asset findings, remediation data, and the portfolio rollup
|
|
757
|
+
* - `error`: `error` contains the terminal failure
|
|
758
|
+
*
|
|
759
|
+
* Polling consumes no request units. Authenticated jobs are owner-gated: only the API-key owner
|
|
760
|
+
* that submitted the job can read it, and a different key receives 404. Anonymous, keyless, and
|
|
761
|
+
* direct MCP submissions use a capability URL, so possession of the job UUID is sufficient to
|
|
762
|
+
* read the result. A missing, expired, malformed, or owner-hidden identifier returns 404 or 422.
|
|
763
|
+
*/
|
|
764
|
+
declare const inventoryEnrichStatus: <ThrowOnError extends boolean = false>(options: Options<InventoryEnrichStatusData, ThrowOnError>) => RequestResult<InventoryEnrichStatusResponses, InventoryEnrichStatusErrors, ThrowOnError>;
|
|
765
|
+
/**
|
|
766
|
+
* Search Threat Intelligence
|
|
767
|
+
*
|
|
768
|
+
* Search across multiple threat intelligence knowledge bases simultaneously.
|
|
769
|
+
*
|
|
770
|
+
* Searches the knowledge bases selected in `sources`, including ATT&CK, CWE, CAPEC, ATLAS,
|
|
771
|
+
* DISARM, location, and sector records. Each result has a canonical `_source` label. Use
|
|
772
|
+
* `types` to restrict compatible object types within the selected sources.
|
|
773
|
+
*
|
|
774
|
+
* **Sources**
|
|
775
|
+
*
|
|
776
|
+
* - `attack` — ATT&CK Enterprise techniques
|
|
777
|
+
* - `attack-enterprise` — ATT&CK Enterprise techniques
|
|
778
|
+
* - `attack-ics` — ATT&CK ICS techniques
|
|
779
|
+
* - `attack-mobile` — ATT&CK Mobile techniques
|
|
780
|
+
* - `cwe` — CWE weaknesses
|
|
781
|
+
* - `capec` — CAPEC attack patterns
|
|
782
|
+
* - `atlas` — MITRE ATLAS adversarial ML techniques
|
|
783
|
+
* - `disarm` — DISARM influence-operation techniques
|
|
784
|
+
* - `location` — geographic threat-landscape entries
|
|
785
|
+
* - `sector` — industry-sector threat profiles
|
|
786
|
+
*
|
|
787
|
+
* **Type filters**
|
|
788
|
+
*
|
|
789
|
+
* - `attack-pattern` — ATT&CK techniques and CAPEC patterns
|
|
790
|
+
* - `intrusion-set` — threat actor groups
|
|
791
|
+
* - `malware` — malware families
|
|
792
|
+
* - `tool` — adversary tooling
|
|
793
|
+
* - `campaign` — threat campaigns
|
|
794
|
+
* - `weakness` — CWE weaknesses
|
|
795
|
+
* - `course-of-action` — mitigations and countermeasures
|
|
796
|
+
*
|
|
797
|
+
* Each result carries a relevance score. The `errors` array reports any partial failures.
|
|
798
|
+
*/
|
|
799
|
+
declare const searchCti: <ThrowOnError extends boolean = false>(options: Options<SearchCtiData, ThrowOnError>) => RequestResult<SearchCtiResponses, SearchCtiErrors, ThrowOnError>;
|
|
800
|
+
/**
|
|
801
|
+
* Search CVEs
|
|
802
|
+
*
|
|
803
|
+
* Search vulnerabilities by ID, weakness, product, severity, exploit status, technique, and date range.
|
|
804
|
+
*
|
|
805
|
+
* Combine any of the filters below to scope the result set. Each result carries severity, a public-exploit
|
|
806
|
+
* count, and a weaponization score. Provide at least one search parameter.
|
|
807
|
+
*
|
|
808
|
+
* **Filters**
|
|
809
|
+
*
|
|
810
|
+
* - `cve_id` — direct CVE lookup (e.g. `CVE-2026-26929`)
|
|
811
|
+
* - `query` — compatibility field; free-text matching is not currently supported and this value
|
|
812
|
+
* does not filter results
|
|
813
|
+
* - `cwe_id` — filter by weakness type (e.g. `CWE-79`)
|
|
814
|
+
* - `cpe` — filter by affected product (CPE string)
|
|
815
|
+
* - `attack_id` — filter CVEs linked to an ATT&CK technique (e.g. `T1190`)
|
|
816
|
+
* - `capec_id` — filter CVEs linked to a CAPEC attack pattern (e.g. `CAPEC-665`)
|
|
817
|
+
* - `cvss_min` — minimum CVSS v3.1 base score (`0.0`-`10.0`)
|
|
818
|
+
* - `cvss_v2_min` — minimum CVSS v2 base score (`0.0`-`10.0`)
|
|
819
|
+
* - `cvss_v4_min` — minimum CVSS v4 base score (`0.0`-`10.0`)
|
|
820
|
+
* - `epss_min` — minimum EPSS score (`0.0`-`1.0`)
|
|
821
|
+
* - `epss_percentile_min` — minimum EPSS percentile (`0.0`-`1.0`), rank against all CVEs rather than the raw score
|
|
822
|
+
* - `kev_only` — only return CVEs in the Known Exploited Vulnerabilities catalog
|
|
823
|
+
* - `cpes_not_vulnerable` — exclude CVEs requiring (but not vulnerable in) this CPE 2.3 string
|
|
824
|
+
* - `created_by_ref` — filter by CNA or numbering-authority identity STIX ID
|
|
825
|
+
* - `stix_id` — filter by exact vulnerability STIX ID
|
|
826
|
+
* - `modified_min` / `modified_max` — restrict to a modification-date range
|
|
827
|
+
* - `created_min` / `created_max` — restrict to a creation-date range
|
|
828
|
+
* - `vuln_status` — vulnerability status: `Analyzed`, `Awaiting Analysis`, `Modified`, `Received`, `Rejected`
|
|
829
|
+
*
|
|
830
|
+
* **Sort options**
|
|
831
|
+
*
|
|
832
|
+
* - `created_ascending` — oldest creation date first
|
|
833
|
+
* - `created_descending` — newest creation date first
|
|
834
|
+
* - `modified_ascending` — oldest modification date first
|
|
835
|
+
* - `modified_descending` — newest modification date first
|
|
836
|
+
* - `epss_score_descending` — highest EPSS score first
|
|
837
|
+
* - `x_opencti_cvss_base_score_descending` — highest CVSS base score first
|
|
838
|
+
*
|
|
839
|
+
* **Include options**
|
|
840
|
+
*
|
|
841
|
+
* - `details` — full vulnerability detail per result
|
|
842
|
+
*
|
|
843
|
+
* Omitted include values return as empty arrays. The `errors` array reports any partial failures.
|
|
844
|
+
*/
|
|
845
|
+
declare const searchCve: <ThrowOnError extends boolean = false>(options: Options<SearchCveData, ThrowOnError>) => RequestResult<SearchCveResponses, SearchCveErrors, ThrowOnError>;
|
|
846
|
+
/**
|
|
847
|
+
* Search D3FEND
|
|
848
|
+
*
|
|
849
|
+
* Search D3FEND defensive techniques and countermeasures.
|
|
850
|
+
*
|
|
851
|
+
* Find defensive techniques by name or description. Each result carries a count of the ATT&CK techniques it
|
|
852
|
+
* counters.
|
|
853
|
+
*
|
|
854
|
+
* **Form filters**
|
|
855
|
+
*
|
|
856
|
+
* - `tactic` — defensive tactic
|
|
857
|
+
* - `mitigation` — defensive mitigation
|
|
858
|
+
* - `sub-mitigation` — defensive sub-mitigation
|
|
859
|
+
* - `artifact` — digital artifact
|
|
860
|
+
*
|
|
861
|
+
* Omitted filters are ignored. The `errors` array reports any partial failures.
|
|
862
|
+
*/
|
|
863
|
+
declare const searchD3Fend: <ThrowOnError extends boolean = false>(options: Options<SearchD3FendData, ThrowOnError>) => RequestResult<SearchD3FendResponses, SearchD3FendErrors, ThrowOnError>;
|
|
864
|
+
/**
|
|
865
|
+
* Search CISA KEV
|
|
866
|
+
*
|
|
867
|
+
* Search the Known Exploited Vulnerabilities catalog.
|
|
868
|
+
*
|
|
869
|
+
* Look up a specific CVE by ID, or browse KEV entries. Each result carries an EPSS score, a public-exploit
|
|
870
|
+
* count, and a weaponization score.
|
|
871
|
+
*
|
|
872
|
+
* **Filters**
|
|
873
|
+
*
|
|
874
|
+
* - `cve_id` — check one CVE against the KEV catalog
|
|
875
|
+
* - `ransomware_status` — `Known` (confirmed ransomware campaign use) or `Unknown` (unconfirmed)
|
|
876
|
+
*
|
|
877
|
+
* Omitted filters are ignored. The `errors` array reports any partial failures.
|
|
878
|
+
*/
|
|
879
|
+
declare const searchKev: <ThrowOnError extends boolean = false>(options: Options<SearchKevData, ThrowOnError>) => RequestResult<SearchKevResponses, SearchKevErrors, ThrowOnError>;
|
|
880
|
+
/**
|
|
881
|
+
* Search Knowledge Base
|
|
882
|
+
*
|
|
883
|
+
* Search the knowledge base using natural language queries.
|
|
884
|
+
*
|
|
885
|
+
* Find relevant threat intelligence, research, and analysis across the knowledge base. Adjust `alpha`
|
|
886
|
+
* to tune search relevance from `0.0` (keyword-only) to `1.0` (semantic-only).
|
|
887
|
+
*
|
|
888
|
+
* **Collections**
|
|
889
|
+
*
|
|
890
|
+
* - `red_team` — adversarial tradecraft playbooks (default)
|
|
891
|
+
* - `main` — general knowledge base content
|
|
892
|
+
* - `large` — extended corpus
|
|
893
|
+
* - `user` — user-uploaded content
|
|
894
|
+
*
|
|
895
|
+
* Each result carries a relevance score. The `errors` array reports any partial failures.
|
|
896
|
+
*/
|
|
897
|
+
declare const searchKnowledgebase: <ThrowOnError extends boolean = false>(options: Options<SearchKnowledgebaseData, ThrowOnError>) => RequestResult<SearchKnowledgebaseResponses, SearchKnowledgebaseErrors, ThrowOnError>;
|
|
898
|
+
/**
|
|
899
|
+
* Search MISP
|
|
900
|
+
*
|
|
901
|
+
* Search your organization's threat intelligence feed.
|
|
902
|
+
*
|
|
903
|
+
* Query by indicator value (IP, hash, domain), event description, or event ID. Returns matching threat
|
|
904
|
+
* events and associated indicators with actor and malware context. Available on self-hosted deployments
|
|
905
|
+
* with a connected threat intelligence feed.
|
|
906
|
+
*
|
|
907
|
+
* **Filters**
|
|
908
|
+
*
|
|
909
|
+
* - `value` — indicator value to match (IP, hash, domain, etc.)
|
|
910
|
+
* - `eventinfo` — search events by title or description text
|
|
911
|
+
* - `event_id` — look up one event directly by ID
|
|
912
|
+
* - `type_attribute` — restrict to one attribute type (e.g. `ip-dst`, `md5`, `domain`)
|
|
913
|
+
* - `category` — restrict to one MISP attribute category (e.g. `Network activity`, `Payload delivery`)
|
|
914
|
+
* - `tags` — match any of the given tags (supports `tlp:` prefixes and galaxy cluster names)
|
|
915
|
+
* - `to_ids` — return only attributes flagged for IDS detection (high-confidence indicators)
|
|
916
|
+
* - `threat_level_id` — event threat level: `1` (high), `2` (medium), `3` (low), `4` (undefined)
|
|
917
|
+
* - `date_from` / `date_to` — restrict to an event date range (`YYYY-MM-DD`)
|
|
918
|
+
* - `published` — restrict to events published by their owning org (excludes analyst drafts)
|
|
919
|
+
*
|
|
920
|
+
* Omitted filters are ignored. The `errors` array reports any partial failures.
|
|
921
|
+
*/
|
|
922
|
+
declare const searchMisp: <ThrowOnError extends boolean = false>(options: Options<SearchMispData, ThrowOnError>) => RequestResult<SearchMispResponses, SearchMispErrors, ThrowOnError>;
|
|
923
|
+
/**
|
|
924
|
+
* Search Public PoCs
|
|
925
|
+
*
|
|
926
|
+
* Search proof-of-concept exploits for a CVE.
|
|
927
|
+
*
|
|
928
|
+
* Returns GitHub repositories containing proof-of-concept code for the given CVE, sorted by stars with the
|
|
929
|
+
* most popular first.
|
|
930
|
+
*
|
|
931
|
+
* The `errors` array reports any partial failures.
|
|
932
|
+
*/
|
|
933
|
+
declare const searchPoc: <ThrowOnError extends boolean = false>(options: Options<SearchPocData, ThrowOnError>) => RequestResult<SearchPocResponses, SearchPocErrors, ThrowOnError>;
|
|
934
|
+
/**
|
|
935
|
+
* Search Vendor Products
|
|
936
|
+
*
|
|
937
|
+
* List products from a vendor with CPE identifiers.
|
|
938
|
+
*
|
|
939
|
+
* Returns up to `limit` known products for the vendor from the CPE dictionary. Pass a returned CPE
|
|
940
|
+
* string to `/v1/search/cve` as the `cpe` filter to find vulnerabilities for that product.
|
|
941
|
+
*
|
|
942
|
+
* The `errors` array reports any partial failures.
|
|
943
|
+
*/
|
|
944
|
+
declare const searchVendor: <ThrowOnError extends boolean = false>(options: Options<SearchVendorData, ThrowOnError>) => RequestResult<SearchVendorResponses, SearchVendorErrors, ThrowOnError>;
|
|
945
|
+
|
|
946
|
+
export { type Options, artifactEnrich, artifactEnrichStatus, assessGroupExposure, assessIocPortfolio, assessTechniqueCoverage, assessVulnerabilityExposure, enrichAtlas, enrichBatch, enrichCampaign, enrichCapec, enrichCve, enrichCwe, enrichDefend, enrichDisarm, enrichGroup, enrichIoc, enrichLocation, enrichPackage, enrichPocSource, enrichProduct, enrichSector, enrichSoftware, enrichTechnique, inventoryEnrich, inventoryEnrichStatus, searchCti, searchCve, searchD3Fend, searchKev, searchKnowledgebase, searchMisp, searchPoc, searchVendor };
|