@crimson-crawler/crimson-crawler-client 4.1.1 → 5.0.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/NOTICE +21 -0
- package/README.md +198 -94
- package/dist/.package-build.json +1 -1
- package/dist/_generated/index.cjs +54 -34
- package/dist/_generated/index.d.cts +2 -2
- package/dist/_generated/index.d.ts +2 -2
- package/dist/_generated/index.js +1 -1
- package/dist/_generated/sdk.gen.cjs +54 -34
- package/dist/_generated/sdk.gen.d.cts +402 -173
- package/dist/_generated/sdk.gen.d.ts +402 -173
- package/dist/_generated/sdk.gen.js +1 -1
- package/dist/_generated/types.gen.d.cts +14117 -3953
- package/dist/_generated/types.gen.d.ts +14117 -3953
- package/dist/{chunk-4HSWOQA6.cjs → chunk-ASYQPVBW.cjs} +46 -0
- package/dist/{chunk-C53EHGN4.js → chunk-EZD3XBDV.js} +86 -65
- package/dist/{chunk-2X3CCE46.js → chunk-MHC5LRPW.js} +42 -1
- package/dist/{chunk-4PCL3ANB.cjs → chunk-TAMKRTM6.cjs} +87 -64
- package/dist/index.cjs +900 -175
- package/dist/index.d.cts +558 -99
- package/dist/index.d.ts +558 -99
- package/dist/index.js +851 -130
- package/dist/presets-cAYp-Cru.d.cts +122 -0
- package/dist/presets-cAYp-Cru.d.ts +122 -0
- package/dist/presets.cjs +27 -19
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/presets.js +1 -1
- package/package.json +9 -5
- package/dist/presets-BMN8jy08.d.cts +0 -110
- package/dist/presets-BMN8jy08.d.ts +0 -110
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as TDataShape, O as Options$1, b as Client, c as ClientMeta, R as RequestResult } from '../types.gen-ObPczyUH.cjs';
|
|
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.cjs';
|
|
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, EnrichCloakData, EnrichCloakResponses, EnrichCloakErrors, EnrichCveData, EnrichCveResponses, EnrichCveErrors, EnrichCweData, EnrichCweResponses, EnrichCweErrors, EnrichDefendData, EnrichDefendResponses, EnrichDefendErrors, EnrichDisarmData, EnrichDisarmResponses, EnrichDisarmErrors, EnrichF3Data, EnrichF3Responses, EnrichF3Errors, 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, EventEnrichData, EventEnrichResponses, EventEnrichErrors, EventEnrichStatusData, EventEnrichStatusResponses, EventEnrichStatusErrors, InventoryEnrichData, InventoryEnrichResponses, InventoryEnrichErrors, InventoryEnrichStatusData, InventoryEnrichStatusResponses, InventoryEnrichStatusErrors, SearchCsafData, SearchCsafResponses, SearchCsafErrors, 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.cjs';
|
|
3
3
|
|
|
4
4
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
5
5
|
/**
|
|
@@ -32,9 +32,15 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
32
32
|
* Decisions, scores, grades, references, and prioritized actions are always returned. The allowed
|
|
33
33
|
* section names and export formats are defined in the request schema.
|
|
34
34
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
35
|
+
* `tlp` marks the exports that carry a marking. Omit it and the run uses your saved Artifact Enricher
|
|
36
|
+
* default (`/artifact-manager/settings`); an explicit `tlp` always wins.
|
|
37
|
+
*
|
|
38
|
+
* An ACCEPTED submission (202) consumes one request unit; a refused one (429/503) and every poll consume
|
|
39
|
+
* none. Each API key can run 3 Artifact, Inventory, or Event Enrichments at once and can hold 20 running
|
|
40
|
+
* or queued jobs across all three enrichment engines (the caps are shared, so the limit binds them
|
|
41
|
+
* jointly). Jobs
|
|
42
|
+
* beyond the running limit remain `queued`; a full queue returns 429, and that cap is enforced
|
|
43
|
+
* atomically, so simultaneous submits cannot push an owner past it. If queue state cannot be
|
|
38
44
|
* verified, the request returns 503 and no job is created.
|
|
39
45
|
*/
|
|
40
46
|
declare const artifactEnrich: <ThrowOnError extends boolean = false>(options: Options<ArtifactEnrichData, ThrowOnError>) => RequestResult<ArtifactEnrichResponses, ArtifactEnrichErrors, ThrowOnError>;
|
|
@@ -70,9 +76,7 @@ declare const artifactEnrichStatus: <ThrowOnError extends boolean = false>(optio
|
|
|
70
76
|
* - `details` — resolved threat-actor group profiles (aliases, first/last seen, software)
|
|
71
77
|
* - `techniques` — deduplicated technique surface across the group set
|
|
72
78
|
* - `tie` — per-technique likelihood predictions
|
|
73
|
-
* - `cves` — CVEs
|
|
74
|
-
* - `sectors` — sector context aggregated across the groups
|
|
75
|
-
* - `locations` — geographic context aggregated across the groups
|
|
79
|
+
* - `cves` — CVEs in events explicitly attributed to a selected group
|
|
76
80
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
77
81
|
* - `navigator` — ATT&CK Navigator layer JSON
|
|
78
82
|
* - `summary` — AI-generated narrative covering shared techniques and coverage gaps
|
|
@@ -102,8 +106,7 @@ declare const assessGroupExposure: <ThrowOnError extends boolean = false>(option
|
|
|
102
106
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
103
107
|
* - `galaxies` — resolve referenced MISP Galaxy clusters into full actor / malware / tool profiles
|
|
104
108
|
* (synonyms, source, relations); the multi-IOC sibling of enrich/ioc's galaxies include
|
|
105
|
-
* - `warninglist` — flag portfolio IOCs that match
|
|
106
|
-
* known-benign values)
|
|
109
|
+
* - `warninglist` — flag portfolio IOCs that match MISP warninglists, including shared infrastructure
|
|
107
110
|
* - `sightings` — aggregate MISP sighting counts (`total_sightings`) across the matched attributes
|
|
108
111
|
* - `summary` — AI-generated portfolio threat narrative
|
|
109
112
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the surfaced
|
|
@@ -131,6 +134,8 @@ declare const assessIocPortfolio: <ThrowOnError extends boolean = false>(options
|
|
|
131
134
|
* - `cves` — CVEs known to map to any of the assessed techniques (reverse lookup, capped)
|
|
132
135
|
* - `coverage_score` — mitigation/detection coverage percentages plus uncovered technique list
|
|
133
136
|
* - `summary` — AI-generated coverage-gap brief covering mitigations and high-priority gaps
|
|
137
|
+
* - `asset_classes` — targeted ICS asset classes and their inverse technique links (ICS framework only)
|
|
138
|
+
* - `cisa_campaigns` — CISA joint advisories naming the assessed techniques
|
|
134
139
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the assessed
|
|
135
140
|
* techniques, based on MITRE Center for Threat-Informed Defense mappings
|
|
136
141
|
*/
|
|
@@ -153,7 +158,8 @@ declare const assessTechniqueCoverage: <ThrowOnError extends boolean = false>(op
|
|
|
153
158
|
* - `prioritized_remediation` — CVEs in priority order with active-exploitation multipliers
|
|
154
159
|
* and compensating-controls downrank
|
|
155
160
|
* - `remediation_plan` — deduplicated mitigations sorted by technique coverage
|
|
156
|
-
* - `exploits` — confirmed exploit records from
|
|
161
|
+
* - `exploits` — confirmed exploit records from ExploitDB public exploit evidence across the
|
|
162
|
+
* assessed CVE set
|
|
157
163
|
* - `osv` — OSV.dev advisories aliased to the assessed CVEs (GHSA/PYSEC/RUSTSEC records with
|
|
158
164
|
* per-ecosystem fixed versions), aggregated and deduplicated
|
|
159
165
|
* - `summary` — AI-generated narrative of the aggregate attack-surface shape
|
|
@@ -162,12 +168,34 @@ declare const assessTechniqueCoverage: <ThrowOnError extends boolean = false>(op
|
|
|
162
168
|
* - `ssvc` — per-CVE SSVC decisions across the set (CERT/CC Deployer or CISA Coordinator);
|
|
163
169
|
* stakeholder context comes from the optional `stakeholder` request field, defaults apply when
|
|
164
170
|
* omitted (deployer / `exposure=open` / `human_impact=medium`)
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* KEV
|
|
170
|
-
*
|
|
171
|
+
* - `csaf_advisories` *(default-on)* — CSAF vendor advisories naming any assessed CVE (CISA ICS,
|
|
172
|
+
* Siemens, Schneider, CERT@VDE members and the other allowlisted OT publishers), deduplicated,
|
|
173
|
+
* 10 newest in summary form; `csaf_advisories_full` restores every row and field
|
|
174
|
+
* - `ot_context` *(default-on)* — `ot_contexts[]`: per-CVE OT/RF context (sectors, protocols, fix
|
|
175
|
+
* availability, KEV-OT, RF technology, ISA/IEC 62443), the same block `enrich/cve` derives
|
|
176
|
+
* - `certfr_advisories` — deduplicated CERT-FR advisories, capped at 10; `certfr_advisories_full`
|
|
177
|
+
* restores all rows and their CVE references
|
|
178
|
+
* - `cisa_campaigns`, `emb3d` — deduplicated CISA advisories and embedded threats, capped at 10
|
|
179
|
+
* - `jvn`, `ot_vendor_advisories` — opt-in JVN and direct OT vendor advisories, capped at 10
|
|
180
|
+
* - `cellular`, `android_bulletin`, `cellular_core`, `affected_chipsets` — per-CVE cellular,
|
|
181
|
+
* Android and chipset data in `cve_ot_layers`; cellular-core and chipsets are opt-in
|
|
182
|
+
*
|
|
183
|
+
* Several extra fields always populate: `weaponization_scores` (per-CVE — and the same score now
|
|
184
|
+
* rides on each `cves[]` row, alongside its `poc_count`), `max_/avg_` rollups, `chained_cve_pairs`
|
|
185
|
+
* (kill-chain adjacency plus vendor overlap), `likely_tactics` (union of vendor tactic-class hints
|
|
186
|
+
* across the CVE set's affected products), and `kev_entries` for any KEV-listed CVE in the set,
|
|
187
|
+
* for KEV-worksheet export. `kev_entries[]` carries `vulnerability_name`, `required_action`,
|
|
188
|
+
* `notes`, `date_added`, `due_date` and `ransomware`; its `vendor_project`, `product` and
|
|
189
|
+
* `short_description` come from the KEV object's `extensions` block, which the objects this
|
|
190
|
+
* deployment serves do NOT carry (verified on both the CVE-bundle and `/v1/search/kev` paths,
|
|
191
|
+
* 2026-09-11), so those three arrive empty rather than absent.
|
|
192
|
+
*
|
|
193
|
+
* OSV advisories are returned in budget-sized pages over the aggregated, deduplicated candidates of
|
|
194
|
+
* every assessed CVE. When `osv_next_offset` is present, repeat the same request with `osv_offset` set
|
|
195
|
+
* to it and `osv_snapshot_id` from the response until it is absent; each continuation page carries only
|
|
196
|
+
* OSV advisories and errors. `osv_advisories_total` stays exact, a changed or expired snapshot returns
|
|
197
|
+
* 409 `snapshot_expired`, and an unreadable snapshot store or stored OSV copy returns 503
|
|
198
|
+
* `snapshot_unavailable`.
|
|
171
199
|
*/
|
|
172
200
|
declare const assessVulnerabilityExposure: <ThrowOnError extends boolean = false>(options: Options<AssessVulnerabilityExposureData, ThrowOnError>) => RequestResult<AssessVulnerabilityExposureResponses, AssessVulnerabilityExposureErrors, ThrowOnError>;
|
|
173
201
|
/**
|
|
@@ -176,31 +204,22 @@ declare const assessVulnerabilityExposure: <ThrowOnError extends boolean = false
|
|
|
176
204
|
* Look up or search adversarial machine learning techniques from the ATLAS knowledge base.
|
|
177
205
|
*
|
|
178
206
|
* 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.
|
|
180
|
-
* Enterprise technique mappings even when the ATLAS technique has sparse data.
|
|
207
|
+
* Provide `technique_id` for a direct lookup (e.g. AML.T0043) or `search` for discovery.
|
|
181
208
|
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected technique.
|
|
182
209
|
*
|
|
183
210
|
* **Include options**
|
|
184
211
|
*
|
|
185
212
|
* - `details` — full ATLAS technique object with description and procedure examples
|
|
186
|
-
* - `techniques` —
|
|
187
|
-
*
|
|
188
|
-
* - `
|
|
189
|
-
*
|
|
190
|
-
*
|
|
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
|
|
213
|
+
* - `techniques` — the ATLAS parent/sub-technique family this object belongs to, resolved
|
|
214
|
+
* into full objects from the object's own ATLAS bundle
|
|
215
|
+
* - `mitigations` — the ATLAS-native course-of-action objects (AML.M####) this technique is
|
|
216
|
+
* joined to, read from the same bundle. Self-sufficient: it does not require `details`
|
|
217
|
+
* or `techniques` to be requested alongside it.
|
|
197
218
|
* - `knowledgebase` — related intelligence from the knowledge base
|
|
198
|
-
* - `
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
* Enterprise
|
|
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
|
|
219
|
+
* - `summary` — AI-generated executive brief covering the AI/ML attack
|
|
220
|
+
*
|
|
221
|
+
* ATLAS has no ATT&CK-Enterprise-keyed layers: the imported corpus carries no
|
|
222
|
+
* ATLAS-to-Enterprise edge, so none are declared on the response.
|
|
204
223
|
*/
|
|
205
224
|
declare const enrichAtlas: <ThrowOnError extends boolean = false>(options: Options<EnrichAtlasData, ThrowOnError>) => RequestResult<EnrichAtlasResponses, EnrichAtlasErrors, ThrowOnError>;
|
|
206
225
|
/**
|
|
@@ -217,15 +236,17 @@ declare const enrichAtlas: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
217
236
|
*
|
|
218
237
|
* **Supported types**
|
|
219
238
|
*
|
|
220
|
-
* Each of the
|
|
239
|
+
* Each of the 18 maps 1:1 to a `/v1/enrich*` endpoint:
|
|
221
240
|
*
|
|
222
241
|
* - `cve`, `product`, `package`, `cwe`, `capec`, `technique`, `ioc`, `group`
|
|
223
|
-
* - `software`, `campaign`, `atlas`, `disarm`, `location`, `sector`, `defend`, `poc_source`
|
|
242
|
+
* - `software`, `campaign`, `atlas`, `disarm`, `f3`, `cloak`, `location`, `sector`, `defend`, `poc_source`
|
|
224
243
|
*
|
|
225
244
|
* Partial failure is isolated: one item failing does not fail the batch. Each result reports
|
|
226
245
|
* `status="ok"` (the enrichment ran — per-layer partial failures stay inside `data.errors`) or
|
|
227
|
-
* `status="error"` (the item dispatch
|
|
228
|
-
*
|
|
246
|
+
* `status="error"` (the item was rejected by validation, or its dispatch raised, with details in
|
|
247
|
+
* the item's `errors`). An item that no supported type accepts — an unknown `type`, a missing or
|
|
248
|
+
* invalid required field, or a non-object entry — is answered this way rather than with a 422, so
|
|
249
|
+
* one malformed item never discards the batch's other results. Results preserve input order.
|
|
229
250
|
*
|
|
230
251
|
* A batch consumes one request unit.
|
|
231
252
|
*/
|
|
@@ -253,8 +274,6 @@ declare const enrichBatch: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
253
274
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
254
275
|
* - `cves` — CVEs mapped to the campaign's techniques
|
|
255
276
|
* - `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
277
|
* - `summary` — AI-generated executive brief covering the campaign's scope and attributed techniques
|
|
259
278
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the campaign's techniques,
|
|
260
279
|
* based on MITRE Center for Threat-Informed Defense mappings
|
|
@@ -263,11 +282,12 @@ declare const enrichCampaign: <ThrowOnError extends boolean = false>(options: Op
|
|
|
263
282
|
/**
|
|
264
283
|
* Enrich CAPEC
|
|
265
284
|
*
|
|
266
|
-
* Look up or search attack patterns and resolve
|
|
285
|
+
* Look up or search attack patterns and resolve their own ATT&CK mappings into techniques.
|
|
267
286
|
*
|
|
268
|
-
* Provide `capec_id` for a direct lookup or `search` for text-based discovery.
|
|
269
|
-
*
|
|
270
|
-
*
|
|
287
|
+
* Provide `capec_id` for a direct lookup or `search` for text-based discovery. The ATT&CK techniques
|
|
288
|
+
* linked to this attack pattern are resolved into full objects with mitigations and detection
|
|
289
|
+
* guidance; a pattern carrying no ATT&CK mapping resolves to none, and the technique-derived
|
|
290
|
+
* layers are empty with it.
|
|
271
291
|
* If both fields are omitted, the endpoint returns HTTP 200 with no selected pattern and empty search results.
|
|
272
292
|
*
|
|
273
293
|
* **Include options**
|
|
@@ -282,15 +302,39 @@ declare const enrichCampaign: <ThrowOnError extends boolean = false>(options: Op
|
|
|
282
302
|
* - `mitigations` — defensive courses of action per technique
|
|
283
303
|
* - `detections` — detection data sources per technique
|
|
284
304
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
285
|
-
* - `cves` — CVEs
|
|
305
|
+
* - `cves` — CVEs referencing this attack pattern (queried by CAPEC id, independent of the technique layer)
|
|
286
306
|
* - `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
307
|
* - `summary` — AI-generated summary of the attack pattern
|
|
290
308
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques,
|
|
291
309
|
* based on MITRE Center for Threat-Informed Defense mappings
|
|
310
|
+
* - `network_context` *(opt-in)* — ASN, AS name, registration country and covering prefix for an IP
|
|
311
|
+
* indicator, from the seeded iptoasn corpus (PDDL v1.0). A registration country, not geolocation.
|
|
312
|
+
* - `domain_context` *(opt-in)* — RDAP registration facts for a domain, hostname or the host of a URL:
|
|
313
|
+
* registration and expiration dates, domain age in days, registrar, registry and status codes.
|
|
314
|
+
* - `listed_on` *(opt-in)* — every list carrying this value, unified across the curated MISP feed
|
|
315
|
+
* caches and the seeded Spamhaus DROP / ASN-DROP corpora, each entry naming how it matched
|
|
316
|
+
* (`exact`, `cidr`, or `asn`). MISP's own exact-value read is unchanged; CIDR and ASN matches are
|
|
317
|
+
* what an exact-value cache cannot express.
|
|
292
318
|
*/
|
|
293
319
|
declare const enrichCapec: <ThrowOnError extends boolean = false>(options: Options<EnrichCapecData, ThrowOnError>) => RequestResult<EnrichCapecResponses, EnrichCapecErrors, ThrowOnError>;
|
|
320
|
+
/**
|
|
321
|
+
* Enrich CLOAK Technique
|
|
322
|
+
*
|
|
323
|
+
* Look up or search concealment techniques from the CLOAK framework.
|
|
324
|
+
*
|
|
325
|
+
* Covers concealment layers for online anonymity — encrypted DNS transports, VPN-over-Tor
|
|
326
|
+
* chains, traffic obfuscation. Provide `cloak_id` for a direct lookup (e.g. TTP-496, CLOAK)
|
|
327
|
+
* or `search` for discovery. CLOAK objects carry no ATT&CK references, so there are no
|
|
328
|
+
* linked techniques.
|
|
329
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected technique.
|
|
330
|
+
*
|
|
331
|
+
* **Include options**
|
|
332
|
+
*
|
|
333
|
+
* - `details` — full CLOAK object with description (the corpus has no kill-chain phases)
|
|
334
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
335
|
+
* - `summary` — AI-generated executive brief covering the concealment technique
|
|
336
|
+
*/
|
|
337
|
+
declare const enrichCloak: <ThrowOnError extends boolean = false>(options: Options<EnrichCloakData, ThrowOnError>) => RequestResult<EnrichCloakResponses, EnrichCloakErrors, ThrowOnError>;
|
|
294
338
|
/**
|
|
295
339
|
* Enrich CVE
|
|
296
340
|
*
|
|
@@ -307,20 +351,27 @@ declare const enrichCapec: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
307
351
|
* - `details` — core CVE data including CVSS, severity, description, dates, and references
|
|
308
352
|
* - `epss` — EPSS exploit probability score and percentile ranking
|
|
309
353
|
* - `kev` — Known Exploited Vulnerabilities catalog status
|
|
354
|
+
* - `cisa_kev` — the stored CISA KEV catalog fills the `kev` entry columns the mirror
|
|
355
|
+
* cannot carry (`vendor_project`, `product`, `forensic_triage`) and marks it
|
|
356
|
+
* `supplemented_from='cisa-official'`; a CVE the mirror does not carry gets its entry from CISA.
|
|
357
|
+
* - `versions` — KB revision history (`revision_history`) for the knowledge-base detail rows this
|
|
358
|
+
* response returns — the CWE weaknesses, CAPEC patterns and ATT&CK entities, each read from its
|
|
359
|
+
* own corpus and deduplicated per object. A request without the token reads no history at all
|
|
310
360
|
* - `cwe` — root cause weakness classification with descriptions
|
|
311
361
|
* - `capec` — attack patterns describing how the weakness is exploited
|
|
312
362
|
* - `techniques` — ATT&CK techniques linked through published vulnerability relationships
|
|
313
363
|
* - `tie` — technique likelihood predictions (probability per technique)
|
|
314
364
|
* - `misp` — matching threat intelligence events from your threat feed
|
|
315
365
|
* - `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
366
|
* - `affected_products` — confirmed vulnerable software with vendor, product, version, and CPE string
|
|
367
|
+
* - `criteria` *(opt-in)* — the NVD match criterion each `match_criteria_id` on
|
|
368
|
+
* `affected_products` names: its matchstring, version bounds, covered software and revision
|
|
369
|
+
* stamps. Loads the affected-product rows it reads for itself, and publishes none of them
|
|
319
370
|
* - `poc` — proof-of-concept exploits from GitHub (count + repo metadata)
|
|
320
371
|
* - `poc_source` — AI-assisted analysis of selected PoC repositories (trigger, affected path,
|
|
321
372
|
* preconditions, and mitigation); raw source code is never returned
|
|
322
|
-
* - `exploits` — confirmed exploit records from
|
|
323
|
-
* heuristic `has_public_exploit` boolean)
|
|
373
|
+
* - `exploits` — confirmed exploit records from ExploitDB public exploit evidence (real
|
|
374
|
+
* evidence, not the heuristic `has_public_exploit` boolean)
|
|
324
375
|
* - `osv` — OSV.dev advisories aliased to this CVE (GHSA/PYSEC/RUSTSEC records plus per-ecosystem
|
|
325
376
|
* fixed versions; the same advisory source used by `/v1/enrich/package`)
|
|
326
377
|
* - `groups` — threat actor groups known to use the linked ATT&CK techniques
|
|
@@ -329,10 +380,16 @@ declare const enrichCapec: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
329
380
|
* - `mitigations` — defensive courses of action for each linked technique
|
|
330
381
|
* - `detections` — data sources and components for detecting each linked technique
|
|
331
382
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
383
|
+
* - `metasploit` *(opt-in)* — `metasploit_modules`: Metasploit Framework modules naming this CVE
|
|
384
|
+
* - `nuclei` *(opt-in)* — `nuclei_templates`: Nuclei templates naming this CVE (header fields only)
|
|
385
|
+
* - `vendor_advisories` *(opt-in)* — `vendor_advisories`: Microsoft / Red Hat / Cisco advisory
|
|
386
|
+
* metadata for this CVE, one row per source that answered
|
|
387
|
+
* - `distro_advisories` *(opt-in)* — `distro_advisories`: SUSE CSAF-VEX, Ubuntu OpenVEX and Alpine secdb rows
|
|
388
|
+
* per release (fixed / not_affected / needs_triage / open), each with its licence and attribution; Debian is absent
|
|
332
389
|
* - `similar_cves` — up to 15 CVEs with overlapping weakness/technique fingerprint, ranked by
|
|
333
390
|
* weighted Jaccard similarity (signal-by-signal breakdown included)
|
|
334
|
-
* - `
|
|
335
|
-
*
|
|
391
|
+
* - `timeline` — EPSS score history plus the derived `epss_velocity`; co-request `epss` and
|
|
392
|
+
* `timeline`, and both populate only when history is available
|
|
336
393
|
* - `navigator` — ATT&CK Navigator layer JSON for MITRE's Navigator tool
|
|
337
394
|
* - `summary` — AI-generated 3-5 sentence executive brief covering severity, exploitation
|
|
338
395
|
* status, and key attack techniques
|
|
@@ -340,6 +397,8 @@ declare const enrichCapec: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
340
397
|
* mappings yield no techniques. These low-confidence analyst hints are never treated as authoritative.
|
|
341
398
|
* - `nist_controls` *(default-on)* — NIST SP 800-53 rev 5 controls that mitigate the CVE's mapped
|
|
342
399
|
* techniques, based on MITRE Center for Threat-Informed Defense mappings
|
|
400
|
+
* - `weakness_ranks` *(opt-in)* — `weakness_ranks`: the CWE Top 25 and OWASP Top 10 / API / LLM
|
|
401
|
+
* positions this CVE's weakness ids occupy, matched by CWE id
|
|
343
402
|
* - `ssvc` — SSVC vulnerability-prioritisation decision (CERT/CC Deployer tree by default, or CISA
|
|
344
403
|
* Coordinator tree). Stakeholder context comes from the optional `stakeholder` request field;
|
|
345
404
|
* defaults to the worst-reasonable case for an unknown environment.
|
|
@@ -349,6 +408,19 @@ declare const enrichCapec: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
349
408
|
* empty), `confidence` (importance-weighted completeness indicator), `weaponization_score` (0-100
|
|
350
409
|
* composite).
|
|
351
410
|
*
|
|
411
|
+
* The technique-derived layers — `groups`, `software`, `campaigns`, `mitigations`, `detections`,
|
|
412
|
+
* `defend` and `nist_controls` — read the resolved technique set, which this endpoint resolves
|
|
413
|
+
* itself (its chain walk plus its CAPEC links). Asked for ALONE each one resolves what it reads and
|
|
414
|
+
* publishes only its own section, so `techniques[]` still requires its own token. Measured
|
|
415
|
+
* 2026-10-15: `["tie"]` alone → 20 predictions and `["timeline"]` alone → 72 EPSS points, both with
|
|
416
|
+
* `techniques: []`.
|
|
417
|
+
*
|
|
418
|
+
* OSV advisories are returned in budget-sized pages. When `osv_next_offset` is present, repeat the same
|
|
419
|
+
* request with `osv_offset` set to it and `osv_snapshot_id` from the response until it is absent; each
|
|
420
|
+
* continuation page carries only OSV advisories and errors. `osv_advisories_total` stays exact, a
|
|
421
|
+
* changed or expired snapshot returns 409 `snapshot_expired`, and an unreadable snapshot store or
|
|
422
|
+
* stored OSV copy returns 503 `snapshot_unavailable`.
|
|
423
|
+
*
|
|
352
424
|
* Omitted include values return as `null` or empty arrays. The `errors` array reports any partial
|
|
353
425
|
* failures.
|
|
354
426
|
*/
|
|
@@ -356,11 +428,15 @@ declare const enrichCve: <ThrowOnError extends boolean = false>(options: Options
|
|
|
356
428
|
/**
|
|
357
429
|
* Enrich CWE
|
|
358
430
|
*
|
|
359
|
-
* Enrich a weakness classification with linked attack patterns and
|
|
431
|
+
* Enrich a weakness classification with linked attack patterns and their ATT&CK mappings.
|
|
360
432
|
*
|
|
361
|
-
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
433
|
+
* Provide `cwe_id` for a direct lookup (e.g. CWE-79) or `search` for discovery by name; a request
|
|
434
|
+
* naming neither is rejected with `422`.
|
|
435
|
+
* Returns the weakness with associated attack patterns and the ATT&CK techniques those patterns map
|
|
436
|
+
* to, connecting root cause to adversary behavior. The technique layer is resolved from this weakness's
|
|
437
|
+
* CAPEC links, so it is only as complete as those links are: a CAPEC carrying no ATT&CK mapping
|
|
438
|
+
* contributes none, and mitigation and detection guidance covers the techniques that do resolve —
|
|
439
|
+
* there is none when the linked CAPECs carry no mappings.
|
|
364
440
|
*
|
|
365
441
|
* **Include options**
|
|
366
442
|
*
|
|
@@ -375,13 +451,21 @@ declare const enrichCve: <ThrowOnError extends boolean = false>(options: Options
|
|
|
375
451
|
* - `mitigations` — defensive courses of action per technique
|
|
376
452
|
* - `detections` — detection data sources per technique
|
|
377
453
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
378
|
-
* - `cves` — CVEs
|
|
454
|
+
* - `cves` — CVEs referencing this weakness (queried by weakness id, independent of the technique layer)
|
|
379
455
|
* - `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
456
|
* - `summary` — AI-generated summary of the weakness and its attack implications
|
|
383
457
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the linked techniques,
|
|
384
458
|
* based on MITRE Center for Threat-Informed Defense mappings
|
|
459
|
+
*
|
|
460
|
+
* The technique-derived layers — `groups`, `software`, `campaigns`, `mitigations`, `detections`,
|
|
461
|
+
* `defend` and `nist_controls` — read the resolved technique set, and this endpoint resolves that
|
|
462
|
+
* set itself from the weakness' CAPEC links, so each one answers when asked for ALONE and publishes
|
|
463
|
+
* only its own section. `techniques[]` is the carrier that stays tied to the CAPEC walk rather than
|
|
464
|
+
* to its own token: measured 2026-09-13 on CWE-522, `techniques`=0 with `['details','techniques']`
|
|
465
|
+
* against `attack_patterns`=13 / `techniques`=12 with `['details','capecs','techniques']` — while a
|
|
466
|
+
* `['nist_controls']`-only request maps that same CAPEC-linked set instead of short-circuiting to
|
|
467
|
+
* `[]` (verified live 2026-10-15: CWE-522 alone → 198 controls, identical to the `capecs`-included
|
|
468
|
+
* request; CWE-79 resolves no technique at all, so its `nist_controls` is empty in every shape).
|
|
385
469
|
*/
|
|
386
470
|
declare const enrichCwe: <ThrowOnError extends boolean = false>(options: Options<EnrichCweData, ThrowOnError>) => RequestResult<EnrichCweResponses, EnrichCweErrors, ThrowOnError>;
|
|
387
471
|
/**
|
|
@@ -397,8 +481,7 @@ declare const enrichCwe: <ThrowOnError extends boolean = false>(options: Options
|
|
|
397
481
|
* - `details` — full D3FEND object with description and defensive form
|
|
398
482
|
* - `techniques` — ATT&CK techniques this defensive technique mitigates or detects
|
|
399
483
|
* - `knowledgebase` — related intelligence from the knowledge base
|
|
400
|
-
* - `
|
|
401
|
-
* - `web_scrape` — scraped article text on the top web results (requires `web`)
|
|
484
|
+
* - `versions` — the object's KB revision history (`revision_history`)
|
|
402
485
|
* - `summary` — AI-generated summary of the defensive technique
|
|
403
486
|
*/
|
|
404
487
|
declare const enrichDefend: <ThrowOnError extends boolean = false>(options: Options<EnrichDefendData, ThrowOnError>) => RequestResult<EnrichDefendResponses, EnrichDefendErrors, ThrowOnError>;
|
|
@@ -408,30 +491,43 @@ declare const enrichDefend: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
408
491
|
* Look up or search disinformation techniques from the DISARM framework.
|
|
409
492
|
*
|
|
410
493
|
* Covers influence operation tactics and techniques. Provide `technique_id` for a direct lookup
|
|
411
|
-
* (e.g.
|
|
412
|
-
* technique has sparse data.
|
|
494
|
+
* (e.g. T0002) or `search` for discovery.
|
|
413
495
|
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected technique.
|
|
414
496
|
*
|
|
415
497
|
* **Include options**
|
|
416
498
|
*
|
|
417
499
|
* - `details` — full DISARM technique object with description and tactic context
|
|
418
|
-
* - `
|
|
419
|
-
*
|
|
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
|
|
500
|
+
* - `techniques` — the DISARM parent/sub-technique family this object belongs to, resolved into
|
|
501
|
+
* full objects from the object's own DISARM bundle
|
|
429
502
|
* - `knowledgebase` — related intelligence from the knowledge base
|
|
430
|
-
* - `
|
|
431
|
-
*
|
|
432
|
-
*
|
|
503
|
+
* - `summary` — AI-generated executive brief covering the disinformation technique
|
|
504
|
+
*
|
|
505
|
+
* DISARM has no ATT&CK-Enterprise-keyed layers: its 410-object corpus is attack-pattern (388) +
|
|
506
|
+
* x-mitre-tactic (20) + identity + marking-definition, so groups/software/campaigns/mitigations/
|
|
507
|
+
* detections/defend, TIE predictions and a Navigator layer have no source and are not declared
|
|
508
|
+
* (Navigator loads enterprise/mobile/ICS ATT&CK layers only).
|
|
433
509
|
*/
|
|
434
510
|
declare const enrichDisarm: <ThrowOnError extends boolean = false>(options: Options<EnrichDisarmData, ThrowOnError>) => RequestResult<EnrichDisarmResponses, EnrichDisarmErrors, ThrowOnError>;
|
|
511
|
+
/**
|
|
512
|
+
* Enrich F3 Technique
|
|
513
|
+
*
|
|
514
|
+
* Look up or search fraud techniques from the MITRE Fight Fraud Framework (F3).
|
|
515
|
+
*
|
|
516
|
+
* Covers financial-crime techniques — impersonation, account takeover, payment fraud,
|
|
517
|
+
* money-mule recruitment. Provide `f3_id` for a direct lookup (e.g. F1031) or `search` for
|
|
518
|
+
* discovery. 43 of the 132 F3 objects borrow a real ATT&CK `T####` id, so `techniques`
|
|
519
|
+
* resolves those into full Enterprise ATT&CK techniques.
|
|
520
|
+
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected technique.
|
|
521
|
+
*
|
|
522
|
+
* **Include options**
|
|
523
|
+
*
|
|
524
|
+
* - `details` — full F3 object with description and kill-chain tactics
|
|
525
|
+
* - `techniques` — linked ATT&CK Enterprise techniques for the F3 objects that borrow a `T####` id
|
|
526
|
+
* - `knowledgebase` — related intelligence from the knowledge base
|
|
527
|
+
* - `versions` — the object's KB revision history (`revision_history`)
|
|
528
|
+
* - `summary` — AI-generated executive brief covering the fraud technique and its kill-chain position
|
|
529
|
+
*/
|
|
530
|
+
declare const enrichF3: <ThrowOnError extends boolean = false>(options: Options<EnrichF3Data, ThrowOnError>) => RequestResult<EnrichF3Responses, EnrichF3Errors, ThrowOnError>;
|
|
435
531
|
/**
|
|
436
532
|
* Enrich Threat Group
|
|
437
533
|
*
|
|
@@ -444,25 +540,25 @@ declare const enrichDisarm: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
444
540
|
*
|
|
445
541
|
* **Include options**
|
|
446
542
|
*
|
|
447
|
-
* - `details` — full group profile (aliases, description, references, attributed
|
|
543
|
+
* - `details` — full group profile (aliases, description, references, `campaigns` attributed to it)
|
|
448
544
|
* - `techniques` — resolved ATT&CK technique objects with mitigations and detection guidance
|
|
449
545
|
* - `software` — malware and tools used by this group
|
|
450
|
-
* - `campaigns` —
|
|
546
|
+
* - `campaigns` — campaigns attributed to this group by MITRE
|
|
451
547
|
* - `tie` — technique likelihood predictions for the group's known techniques
|
|
452
548
|
* - `navigator` — ATT&CK Navigator layer JSON for the group's technique coverage
|
|
453
549
|
* - `mitigations` — defensive courses of action per technique
|
|
454
550
|
* - `detections` — detection data sources per technique
|
|
455
551
|
* - `defend` — D3FEND defensive techniques and countermeasures
|
|
456
|
-
* - `cves` — CVEs
|
|
552
|
+
* - `cves` — CVEs in events explicitly attributed to the group
|
|
457
553
|
* - `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
554
|
* - `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
555
|
* - `summary` — AI-generated executive brief covering the group's profile and technique priorities
|
|
464
556
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the group's techniques,
|
|
465
557
|
* based on MITRE Center for Threat-Informed Defense mappings
|
|
558
|
+
*
|
|
559
|
+
* `details` is not the only gate on the group profile: any token that loads the group's bundle
|
|
560
|
+
* (`techniques`, `software`, `campaigns`, `mitigations`, `detections`, `defend`, `cves`, `tie` or
|
|
561
|
+
* `versions`) also returns it, because one bundle fetch serves all of them.
|
|
466
562
|
*/
|
|
467
563
|
declare const enrichGroup: <ThrowOnError extends boolean = false>(options: Options<EnrichGroupData, ThrowOnError>) => RequestResult<EnrichGroupResponses, EnrichGroupErrors, ThrowOnError>;
|
|
468
564
|
/**
|
|
@@ -470,14 +566,19 @@ declare const enrichGroup: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
470
566
|
*
|
|
471
567
|
* Enrich an indicator of compromise with linked threat events, techniques, and predictions.
|
|
472
568
|
*
|
|
473
|
-
* Searches
|
|
474
|
-
*
|
|
475
|
-
*
|
|
569
|
+
* Searches our curated MISP (public threat feeds, listed at
|
|
570
|
+
* https://crimsoncrawler.com/docs/guides/data-sources/#our-curated-misp) for the indicator (by
|
|
571
|
+
* `value` + `type` — e.g. `ip-dst`, `domain`, `sha256`, `url`, `email-src`), extracts linked threat
|
|
572
|
+
* actors and malware, maps to ATT&CK techniques, and generates threat predictions. Technique mappings
|
|
573
|
+
* return even when the indicator has sparse data. An address requested as `ip-src`, `ip-dst` or
|
|
574
|
+
* `ip` searches BOTH directions in one query — the corpus stores whichever direction the
|
|
575
|
+
* publishing feed used — and `matched_value_types` reports what matched.
|
|
476
576
|
*
|
|
477
577
|
* **Include options**
|
|
478
578
|
*
|
|
479
579
|
* - `misp_attributes` — matching threat event attributes with event metadata
|
|
480
|
-
* - `galaxies` — linked threat actor and malware context
|
|
580
|
+
* - `galaxies` — linked threat actor and malware context as compact Galaxy cluster profiles
|
|
581
|
+
* - `galaxy_clusters_full` — cluster profiles with inbound relations (up to 30 clusters)
|
|
481
582
|
* - `techniques` — ATT&CK techniques linked to this indicator
|
|
482
583
|
* - `tie` — technique likelihood predictions for resolved techniques
|
|
483
584
|
* - `warninglist` — false-positive check against known safe-list entries
|
|
@@ -492,8 +593,6 @@ declare const enrichGroup: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
492
593
|
* - `cves` — CVEs mapped to the linked techniques
|
|
493
594
|
* - `poc` — proof-of-concept exploits from GitHub for any linked CVEs
|
|
494
595
|
* - `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
596
|
* - `summary` — AI-generated executive brief covering the indicator's threat context
|
|
498
597
|
* - `inferred_chain` — quarantined AI-assisted technique candidates, returned only when published
|
|
499
598
|
* IOC relationships yield no techniques. These low-confidence analyst hints are never authoritative.
|
|
@@ -504,30 +603,17 @@ declare const enrichIoc: <ThrowOnError extends boolean = false>(options: Options
|
|
|
504
603
|
/**
|
|
505
604
|
* Enrich Location
|
|
506
605
|
*
|
|
507
|
-
* Get the
|
|
606
|
+
* Get the geographic profile for a country or region.
|
|
508
607
|
*
|
|
509
|
-
* Returns
|
|
510
|
-
* `location_id` for a direct lookup (e.g.
|
|
608
|
+
* Returns the location's profile with optional knowledge-base context. Provide
|
|
609
|
+
* `location_id` for a direct lookup (e.g. US) or `search` by country or region name.
|
|
511
610
|
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected location.
|
|
512
611
|
*
|
|
513
612
|
* **Include options**
|
|
514
613
|
*
|
|
515
|
-
* - `details` — location metadata
|
|
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
|
|
614
|
+
* - `details` — location metadata (region, country, coordinates, location type, aliases)
|
|
527
615
|
* - `knowledgebase` — related intelligence from the knowledge base
|
|
528
|
-
* - `
|
|
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
|
|
616
|
+
* - `summary` — AI-generated executive brief covering the location's profile
|
|
531
617
|
*/
|
|
532
618
|
declare const enrichLocation: <ThrowOnError extends boolean = false>(options: Options<EnrichLocationData, ThrowOnError>) => RequestResult<EnrichLocationResponses, EnrichLocationErrors, ThrowOnError>;
|
|
533
619
|
/**
|
|
@@ -559,8 +645,12 @@ declare const enrichLocation: <ThrowOnError extends boolean = false>(options: Op
|
|
|
559
645
|
* defensive guidance, source research, SSVC decisions, NIST controls, timeline and similarity context,
|
|
560
646
|
* and AI-assisted summaries.
|
|
561
647
|
*
|
|
562
|
-
* The advisory
|
|
563
|
-
*
|
|
648
|
+
* The default advisory set excludes restricted and unknown-licence sources. Add `osv_restricted`
|
|
649
|
+
* to request them. Withdrawn advisories remain listed but do not count as active vulnerabilities.
|
|
650
|
+
*
|
|
651
|
+
* Results are paged. Pass `snapshot_id` and `next_offset` from page 0 to continue; a 409 requires
|
|
652
|
+
* a fresh walk. `advisories_discovered` and `cves_discovered` report totals, while
|
|
653
|
+
* `cves_enrichment_limit` and `rollups_over` describe the bounded CVE enrichment.
|
|
564
654
|
*/
|
|
565
655
|
declare const enrichPackage: <ThrowOnError extends boolean = false>(options: Options<EnrichPackageData, ThrowOnError>) => RequestResult<EnrichPackageResponses, EnrichPackageErrors, ThrowOnError>;
|
|
566
656
|
/**
|
|
@@ -580,7 +670,11 @@ declare const enrichPocSource: <ThrowOnError extends boolean = false>(options: O
|
|
|
580
670
|
*
|
|
581
671
|
* Searches by product name, version, and vendor using CPE matching, then runs every matched CVE
|
|
582
672
|
* 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.
|
|
673
|
+
* and `version` to hard-filter discovered CVEs to those affecting that release. A version that
|
|
674
|
+
* filters nothing says so: when no matched CVE states a version for the product, `errors[]` carries
|
|
675
|
+
* `version_filter`/`version_not_applied` and the CVE set is the same for every version. NVD states
|
|
676
|
+
* per-edition products, not one OS product — query `windows_10_22h2` (not `windows`) to filter by
|
|
677
|
+
* Windows build number.
|
|
584
678
|
*
|
|
585
679
|
* The include options drive the per-CVE enrichment depth (each value behaves exactly as it does on
|
|
586
680
|
* `/v1/enrich/cve`); the product-level extras roll those results up across the matched set.
|
|
@@ -599,8 +693,6 @@ declare const enrichPocSource: <ThrowOnError extends boolean = false>(options: O
|
|
|
599
693
|
* - `navigator` — ATT&CK Navigator layer JSON
|
|
600
694
|
* - `misp` — matching threat intelligence events
|
|
601
695
|
* - `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
696
|
* - `affected_products` — confirmed vulnerable software with CPE strings
|
|
605
697
|
* - `poc` — proof-of-concept exploits from GitHub
|
|
606
698
|
* - `groups` — threat actor groups using the linked techniques
|
|
@@ -624,37 +716,31 @@ declare const enrichPocSource: <ThrowOnError extends boolean = false>(options: O
|
|
|
624
716
|
*
|
|
625
717
|
* The response also carries `likely_tactics`, an always-on set of ATT&CK tactic-class hints based on
|
|
626
718
|
* the requested vendor. These hints are useful when matched CVEs have sparse technique coverage.
|
|
627
|
-
*
|
|
719
|
+
* Discovery and enrichment are bounded. The response reports the discovered count, limits,
|
|
720
|
+
* and whether discovery was truncated or its completeness is unknown.
|
|
721
|
+
*
|
|
722
|
+
* The technique-derived per-CVE layers — `groups`, `software`, `campaigns`, `mitigations`,
|
|
723
|
+
* `detections`, `defend` and `nist_controls` — read the technique set each nested CVE resolves for
|
|
724
|
+
* itself, so they answer without `techniques` in the same request. The product-level `nist_controls`
|
|
725
|
+
* rollup is the union of the nested `cves[].techniques`: the nested call is asked for those rows and
|
|
726
|
+
* they are cleared again unless `techniques` was itself requested, so the rollup maps a real control
|
|
727
|
+
* set without publishing a section the caller did not ask for.
|
|
628
728
|
*/
|
|
629
729
|
declare const enrichProduct: <ThrowOnError extends boolean = false>(options: Options<EnrichProductData, ThrowOnError>) => RequestResult<EnrichProductResponses, EnrichProductErrors, ThrowOnError>;
|
|
630
730
|
/**
|
|
631
731
|
* Enrich Sector
|
|
632
732
|
*
|
|
633
|
-
* Enrich
|
|
733
|
+
* Enrich an industry sector.
|
|
634
734
|
*
|
|
635
|
-
* Returns
|
|
636
|
-
*
|
|
637
|
-
* by name.
|
|
735
|
+
* Returns the sector's profile with optional knowledge-base context. Provide `sector_id`
|
|
736
|
+
* for a direct lookup (e.g. "financial-organizations") or `search` by name.
|
|
638
737
|
* If both lookup fields are omitted, the endpoint returns HTTP 200 with no selected sector.
|
|
639
738
|
*
|
|
640
739
|
* **Include options**
|
|
641
740
|
*
|
|
642
|
-
* - `details` — sector metadata
|
|
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
|
|
741
|
+
* - `details` — sector metadata (sub-sectors, aliases, identity class)
|
|
654
742
|
* - `knowledgebase` — related intelligence from the knowledge base
|
|
655
|
-
* - `
|
|
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
|
|
743
|
+
* - `summary` — AI-generated executive brief covering the sector's profile
|
|
658
744
|
*/
|
|
659
745
|
declare const enrichSector: <ThrowOnError extends boolean = false>(options: Options<EnrichSectorData, ThrowOnError>) => RequestResult<EnrichSectorResponses, EnrichSectorErrors, ThrowOnError>;
|
|
660
746
|
/**
|
|
@@ -681,8 +767,6 @@ declare const enrichSector: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
681
767
|
* - `cves` — CVEs mapped to the software's techniques
|
|
682
768
|
* - `misp` — matching threat intelligence events
|
|
683
769
|
* - `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
770
|
* - `summary` — AI-generated executive brief covering the software's capabilities and detection priorities
|
|
687
771
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the software's techniques,
|
|
688
772
|
* based on MITRE Center for Threat-Informed Defense mappings
|
|
@@ -693,10 +777,15 @@ declare const enrichSoftware: <ThrowOnError extends boolean = false>(options: Op
|
|
|
693
777
|
*
|
|
694
778
|
* Retrieve ATT&CK technique details with threat predictions and related intelligence.
|
|
695
779
|
*
|
|
696
|
-
* Supports a single ID (`technique_id`), batch IDs (`technique_ids`),
|
|
697
|
-
*
|
|
698
|
-
*
|
|
699
|
-
*
|
|
780
|
+
* Supports a single ID (`technique_id`), batch IDs (`technique_ids`), text search (`search`), or —
|
|
781
|
+
* ICS only — an asset class (`asset_id`, mutually exclusive with the other three), across the
|
|
782
|
+
* `enterprise`, `ics`, or `mobile` framework (default `enterprise`). Each technique is enriched
|
|
783
|
+
* with threat predictions (TIE) and optionally related intelligence from the knowledge base.
|
|
784
|
+
* If all four lookup fields are omitted, the endpoint returns HTTP 200 with an empty technique list.
|
|
785
|
+
*
|
|
786
|
+
* **`asset_id`** answers the inverse question — "which techniques target this control-system asset
|
|
787
|
+
* class" — from the ICS corpus's own `targets` edges. The asset is returned in `asset`, and its
|
|
788
|
+
* real targets in `techniques`; no technique is ever substituted for the asset.
|
|
700
789
|
*
|
|
701
790
|
* **Include options**
|
|
702
791
|
*
|
|
@@ -712,13 +801,52 @@ declare const enrichSoftware: <ThrowOnError extends boolean = false>(options: Op
|
|
|
712
801
|
* - `cves` — CVEs mapped to the technique
|
|
713
802
|
* - `misp` — matching threat intelligence events
|
|
714
803
|
* - `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
804
|
* - `summary` — AI-generated executive brief covering the technique's usage and detection priorities
|
|
718
805
|
* - `nist_controls` *(opt-in)* — NIST SP 800-53 rev 5 controls that mitigate the technique,
|
|
719
806
|
* based on MITRE Center for Threat-Informed Defense mappings
|
|
807
|
+
* - `fraud` *(opt-in)* — `f3_techniques`: the MITRE F3 (Fight Fraud Framework) techniques whose own
|
|
808
|
+
* identity is this technique's ATT&CK id, on each returned technique row
|
|
809
|
+
* - `asset_classes` *(opt-in)* — `asset_classes`: the ICS asset classes this technique targets, on
|
|
810
|
+
* an `ics` framework request (the corpus has no CVE→ICS technique link, so this token is
|
|
811
|
+
* technique-only)
|
|
720
812
|
*/
|
|
721
813
|
declare const enrichTechnique: <ThrowOnError extends boolean = false>(options: Options<EnrichTechniqueData, ThrowOnError>) => RequestResult<EnrichTechniqueResponses, EnrichTechniqueErrors, ThrowOnError>;
|
|
814
|
+
/**
|
|
815
|
+
* Submit Event Enrichment
|
|
816
|
+
*
|
|
817
|
+
* Submit a raw security event for an Event Enrichment and get back an enrichment ID to poll.
|
|
818
|
+
*
|
|
819
|
+
* Returns an `enrichment_id` right away — the enrichment runs in the background. Poll
|
|
820
|
+
* `GET /v1/event-enrich/{enrichment_id}` for stage-by-stage progress and the finished per-indicator
|
|
821
|
+
* enrichment plus the aggregate event threat verdict.
|
|
822
|
+
*
|
|
823
|
+
* The reactive counterpart to the Artifact + Inventory Enrichers: hand it a raw event (a Defender
|
|
824
|
+
* XDR / Sentinel alert, a SIEM/EDR log line, any JSON or text) and CC extracts the indicators
|
|
825
|
+
* (CVEs / ATT&CK techniques / IOCs / products) the same deterministic way the Artifact Enricher
|
|
826
|
+
* does, enriches each against the authoritative CTI sources, and aggregates a per-event verdict —
|
|
827
|
+
* so a SOC platform submits one alert here instead of looping the single `/v1/enrich*` endpoints.
|
|
828
|
+
*
|
|
829
|
+
* An ACCEPTED submission (202) consumes one request unit; a refused one (429/503) and every poll consume
|
|
830
|
+
* none. Each API key can run 3 Artifact,
|
|
831
|
+
* Inventory, or Event Enrichments at once and can hold 20 running or queued jobs across all three
|
|
832
|
+
* engines. Jobs beyond the running limit remain `queued`; a full queue returns 429, and that cap is
|
|
833
|
+
* enforced atomically, so simultaneous submits cannot push an owner past it. If queue state cannot
|
|
834
|
+
* be verified, the request returns 503 and no job is created.
|
|
835
|
+
*/
|
|
836
|
+
declare const eventEnrich: <ThrowOnError extends boolean = false>(options: Options<EventEnrichData, ThrowOnError>) => RequestResult<EventEnrichResponses, EventEnrichErrors, ThrowOnError>;
|
|
837
|
+
/**
|
|
838
|
+
* Get Event Enrichment Status
|
|
839
|
+
*
|
|
840
|
+
* Poll an Event Enrichment until it finishes.
|
|
841
|
+
*
|
|
842
|
+
* Returns the enrichment's `status`, per-stage progress, and, once `done`, the per-indicator
|
|
843
|
+
* findings + aggregate verdict under `result`. Returns 404 if the `enrichment_id` is unknown or the
|
|
844
|
+
* enrichment has expired. Polling is free.
|
|
845
|
+
*
|
|
846
|
+
* **Status values:** `queued` (waiting for a slot) · `running` (in progress) · `done` (`result`
|
|
847
|
+
* ready) · `error` (`error` carries the failure detail).
|
|
848
|
+
*/
|
|
849
|
+
declare const eventEnrichStatus: <ThrowOnError extends boolean = false>(options: Options<EventEnrichStatusData, ThrowOnError>) => RequestResult<EventEnrichStatusResponses, EventEnrichStatusErrors, ThrowOnError>;
|
|
722
850
|
/**
|
|
723
851
|
* Submit Inventory Enrichment
|
|
724
852
|
*
|
|
@@ -727,19 +855,23 @@ declare const enrichTechnique: <ThrowOnError extends boolean = false>(options: O
|
|
|
727
855
|
* Returns an `enrichment_id` with HTTP 202. Poll
|
|
728
856
|
* `/v1/inventory-enrich/{enrichment_id}` for stage progress and the finished findings.
|
|
729
857
|
*
|
|
730
|
-
* Submit 1-200 assets. Product assets use product, vendor, and up to
|
|
731
|
-
* vulnerability matching. Package assets add `ecosystem` and use
|
|
858
|
+
* Submit 1-1000 assets (at most 200 product assets). Product assets use product, vendor, and up to
|
|
859
|
+
* five versions for CPE-based vulnerability matching. Package assets add `ecosystem` and use
|
|
860
|
+
* package-advisory matching.
|
|
732
861
|
* Asset category, criticality, deployment context, owner, tags, and group metadata are preserved
|
|
733
862
|
* in the result. Optional `attachments_text` and `attachments_files` run Artifact Enrichment over
|
|
734
863
|
* reports, IOC lists, scans, email, and other evidence attached to the inventory.
|
|
735
864
|
*
|
|
736
865
|
* `include` selects the per-CVE evidence retained for each asset and replaces the default list.
|
|
737
|
-
* `summary
|
|
866
|
+
* `summary` and `navigator` are accepted for product-schema compatibility
|
|
738
867
|
* but intentionally omitted from this deterministic background workflow.
|
|
739
868
|
*
|
|
740
|
-
*
|
|
741
|
-
* Inventory Enrichments at once and can hold 20 running
|
|
742
|
-
*
|
|
869
|
+
* An ACCEPTED submission (202) consumes one request unit; a refused one (429/503) and every poll consume
|
|
870
|
+
* none. Each API key can run 3 Artifact, Inventory, or Event Enrichments at once and can hold 20 running
|
|
871
|
+
* or queued jobs across all three enrichment engines (the caps are shared, so the limit binds them
|
|
872
|
+
* jointly). Jobs
|
|
873
|
+
* beyond the running limit remain `queued`; a full queue returns 429, and that cap is enforced
|
|
874
|
+
* atomically, so simultaneous submits cannot push an owner past it. If queue state cannot be
|
|
743
875
|
* verified, the request returns 503 and no job is created.
|
|
744
876
|
*/
|
|
745
877
|
declare const inventoryEnrich: <ThrowOnError extends boolean = false>(options: Options<InventoryEnrichData, ThrowOnError>) => RequestResult<InventoryEnrichResponses, InventoryEnrichErrors, ThrowOnError>;
|
|
@@ -762,28 +894,53 @@ declare const inventoryEnrich: <ThrowOnError extends boolean = false>(options: O
|
|
|
762
894
|
* read the result. A missing, expired, malformed, or owner-hidden identifier returns 404 or 422.
|
|
763
895
|
*/
|
|
764
896
|
declare const inventoryEnrichStatus: <ThrowOnError extends boolean = false>(options: Options<InventoryEnrichStatusData, ThrowOnError>) => RequestResult<InventoryEnrichStatusResponses, InventoryEnrichStatusErrors, ThrowOnError>;
|
|
897
|
+
/**
|
|
898
|
+
* Search Csaf
|
|
899
|
+
*
|
|
900
|
+
* Search the seeded CSAF vendor-advisory corpus.
|
|
901
|
+
*
|
|
902
|
+
* Filters combine with AND; omitted filters are ignored. This is the consumer door for
|
|
903
|
+
* CVE-less advisories (vendor/product/sector search), which `enrich/cve` cannot reach.
|
|
904
|
+
*
|
|
905
|
+
* **Filters**
|
|
906
|
+
*
|
|
907
|
+
* - `cve_id`, `advisory_id`, `publisher`, `sector`, `product`, `cpe`, `tlp`
|
|
908
|
+
* - `sort` (`newest`/`oldest`), `limit` (1-100), `page`
|
|
909
|
+
*
|
|
910
|
+
* A present, empty corpus returns `200` with `advisories: []`; a missing or unreadable table returns
|
|
911
|
+
* the same empty body plus an `errors[]` entry. The `advisories[]` list is paginated, while
|
|
912
|
+
* `total` is the unpaginated match count.
|
|
913
|
+
*/
|
|
914
|
+
declare const searchCsaf: <ThrowOnError extends boolean = false>(options: Options<SearchCsafData, ThrowOnError>) => RequestResult<SearchCsafResponses, SearchCsafErrors, ThrowOnError>;
|
|
765
915
|
/**
|
|
766
916
|
* Search Threat Intelligence
|
|
767
917
|
*
|
|
768
918
|
* Search across multiple threat intelligence knowledge bases simultaneously.
|
|
769
919
|
*
|
|
770
920
|
* 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.
|
|
772
|
-
* `types` to restrict compatible object types within the selected sources.
|
|
921
|
+
* DISARM, F3, CLOAK, location, and sector records. Each result has a canonical `_source` label.
|
|
922
|
+
* Use `types` to restrict compatible object types within the selected sources.
|
|
773
923
|
*
|
|
774
924
|
* **Sources**
|
|
775
925
|
*
|
|
776
|
-
* - `attack` — ATT&CK Enterprise
|
|
777
|
-
* - `attack-enterprise` — ATT&CK Enterprise
|
|
778
|
-
* - `attack-ics` — ATT&CK ICS
|
|
779
|
-
* - `attack-mobile` — ATT&CK Mobile
|
|
926
|
+
* - `attack` — ATT&CK Enterprise objects
|
|
927
|
+
* - `attack-enterprise` — ATT&CK Enterprise objects
|
|
928
|
+
* - `attack-ics` — ATT&CK ICS objects
|
|
929
|
+
* - `attack-mobile` — ATT&CK Mobile objects
|
|
780
930
|
* - `cwe` — CWE weaknesses
|
|
781
931
|
* - `capec` — CAPEC attack patterns
|
|
782
932
|
* - `atlas` — MITRE ATLAS adversarial ML techniques
|
|
783
933
|
* - `disarm` — DISARM influence-operation techniques
|
|
934
|
+
* - `f3` — MITRE Fight Fraud Framework (F3) financial-crime techniques
|
|
935
|
+
* - `cloak` — CLOAK concealment layers for online anonymity
|
|
784
936
|
* - `location` — geographic threat-landscape entries
|
|
785
937
|
* - `sector` — industry-sector threat profiles
|
|
786
938
|
*
|
|
939
|
+
* An ATT&CK matrix source is not techniques-only: the same `attack` search also returns Analytics
|
|
940
|
+
* (`AN####`, e.g. "Analytic 0292") and tactic rows, and neither belongs to a `types` value the
|
|
941
|
+
* filter accepts, so they cannot be excluded. Filter on the row's own id prefix (or on
|
|
942
|
+
* `_source` + the presence of `technique_id`) if you need techniques alone.
|
|
943
|
+
*
|
|
787
944
|
* **Type filters**
|
|
788
945
|
*
|
|
789
946
|
* - `attack-pattern` — ATT&CK techniques and CAPEC patterns
|
|
@@ -794,7 +951,13 @@ declare const inventoryEnrichStatus: <ThrowOnError extends boolean = false>(opti
|
|
|
794
951
|
* - `weakness` — CWE weaknesses
|
|
795
952
|
* - `course-of-action` — mitigations and countermeasures
|
|
796
953
|
*
|
|
797
|
-
* Each result
|
|
954
|
+
* Each result is tagged with its knowledge base in `_source`. Results arrive in the knowledge base's
|
|
955
|
+
* own ranking order; no relevance score is attached. The former `relevance_score` was a function
|
|
956
|
+
* of the row's position **on its page** — 1.0 for the first row of every page, 0.5 for the last, so
|
|
957
|
+
* page 2's worst row could outrank page 1's best and tightening `limit` inflated the top rows
|
|
958
|
+
* (measured 2026-09-13: T1558.002 read 0.60 / 0.80 / 0.90 at `limit` 5 / 10 / 20, and the first row
|
|
959
|
+
* of pages 1, 2 and 3 all read 1.0). Removed rather than left as a rank dressed up as a similarity.
|
|
960
|
+
* The `errors` array reports any partial failures.
|
|
798
961
|
*/
|
|
799
962
|
declare const searchCti: <ThrowOnError extends boolean = false>(options: Options<SearchCtiData, ThrowOnError>) => RequestResult<SearchCtiResponses, SearchCtiErrors, ThrowOnError>;
|
|
800
963
|
/**
|
|
@@ -803,7 +966,8 @@ declare const searchCti: <ThrowOnError extends boolean = false>(options: Options
|
|
|
803
966
|
* Search vulnerabilities by ID, weakness, product, severity, exploit status, technique, and date range.
|
|
804
967
|
*
|
|
805
968
|
* 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
|
|
969
|
+
* count, an EPSS probability with its percentile rank, and a weaponization score. Provide at least one
|
|
970
|
+
* search parameter.
|
|
807
971
|
*
|
|
808
972
|
* **Filters**
|
|
809
973
|
*
|
|
@@ -812,7 +976,9 @@ declare const searchCti: <ThrowOnError extends boolean = false>(options: Options
|
|
|
812
976
|
* does not filter results
|
|
813
977
|
* - `cwe_id` — filter by weakness type (e.g. `CWE-79`)
|
|
814
978
|
* - `cpe` — filter by affected product (CPE string)
|
|
815
|
-
* - `attack_id` — filter CVEs linked to an ATT&CK technique (e.g. `
|
|
979
|
+
* - `attack_id` — filter CVEs linked to an ATT&CK technique (e.g. `T1078`). Links come from the
|
|
980
|
+
* CVE→CWE→CAPEC→ATT&CK chain, which MITRE's CAPEC taxonomy maps only in part, so several common
|
|
981
|
+
* techniques (`T1190`, `T1059`, `T1068`) have no link there and always return nothing
|
|
816
982
|
* - `capec_id` — filter CVEs linked to a CAPEC attack pattern (e.g. `CAPEC-665`)
|
|
817
983
|
* - `cvss_min` — minimum CVSS v3.1 base score (`0.0`-`10.0`)
|
|
818
984
|
* - `cvss_v2_min` — minimum CVSS v2 base score (`0.0`-`10.0`)
|
|
@@ -820,12 +986,14 @@ declare const searchCti: <ThrowOnError extends boolean = false>(options: Options
|
|
|
820
986
|
* - `epss_min` — minimum EPSS score (`0.0`-`1.0`)
|
|
821
987
|
* - `epss_percentile_min` — minimum EPSS percentile (`0.0`-`1.0`), rank against all CVEs rather than the raw score
|
|
822
988
|
* - `kev_only` — only return CVEs in the Known Exploited Vulnerabilities catalog
|
|
823
|
-
* - `cpes_not_vulnerable` —
|
|
989
|
+
* - `cpes_not_vulnerable` — only CVEs whose `not_vulnerable` set carries this CPE 2.3 string (a
|
|
990
|
+
* positive containment filter, not an exclusion — a CPE no CVE lists there returns nothing)
|
|
824
991
|
* - `created_by_ref` — filter by CNA or numbering-authority identity STIX ID
|
|
825
992
|
* - `stix_id` — filter by exact vulnerability STIX ID
|
|
826
993
|
* - `modified_min` / `modified_max` — restrict to a modification-date range
|
|
827
994
|
* - `created_min` / `created_max` — restrict to a creation-date range
|
|
828
|
-
* - `vuln_status` — vulnerability status: `
|
|
995
|
+
* - `vuln_status` — vulnerability status: `Received`, `Awaiting Analysis`, `Undergoing Analysis`,
|
|
996
|
+
* `Analyzed`, `Modified`, `Deferred`, `Rejected`
|
|
829
997
|
*
|
|
830
998
|
* **Sort options**
|
|
831
999
|
*
|
|
@@ -839,8 +1007,15 @@ declare const searchCti: <ThrowOnError extends boolean = false>(options: Options
|
|
|
839
1007
|
* **Include options**
|
|
840
1008
|
*
|
|
841
1009
|
* - `details` — full vulnerability detail per result
|
|
842
|
-
*
|
|
843
|
-
*
|
|
1010
|
+
* - `statistics` — corpus coverage and freshness (counts, deltas, CVSS/EPSS distributions)
|
|
1011
|
+
* - `cna` — the CNA directory for the search
|
|
1012
|
+
* - `epss_reports` — EPSS scores for exactly the CVEs this search returned (`epss_reports`,
|
|
1013
|
+
* with the source's own `epss_reports_total` / `epss_reports_page` metadata)
|
|
1014
|
+
* - `kb_rankings` — up to 100 CVE-volume ranking rows per knowledge base, without yearly trends
|
|
1015
|
+
* - `kb_rankings_full` — all fetched ranking rows and yearly trends
|
|
1016
|
+
*
|
|
1017
|
+
* All except `kb_rankings_full` are default. An explicit include replaces the default;
|
|
1018
|
+
* omitted layers return empty arrays. The `errors` array reports any partial failures.
|
|
844
1019
|
*/
|
|
845
1020
|
declare const searchCve: <ThrowOnError extends boolean = false>(options: Options<SearchCveData, ThrowOnError>) => RequestResult<SearchCveResponses, SearchCveErrors, ThrowOnError>;
|
|
846
1021
|
/**
|
|
@@ -848,8 +1023,14 @@ declare const searchCve: <ThrowOnError extends boolean = false>(options: Options
|
|
|
848
1023
|
*
|
|
849
1024
|
* Search D3FEND defensive techniques and countermeasures.
|
|
850
1025
|
*
|
|
851
|
-
* Find defensive techniques by name or description.
|
|
852
|
-
*
|
|
1026
|
+
* Find defensive techniques by name or description.
|
|
1027
|
+
*
|
|
1028
|
+
* No per-row ATT&CK count is returned, and none can be: the D3FEND→ATT&CK linkage lives on the
|
|
1029
|
+
* **technique** side — a technique's bundle carries the D3FEND objects that mitigate it — while no
|
|
1030
|
+
* D3FEND object carries an ATT&CK external reference (censused 2026-09-13: 0 of the 1,148-object
|
|
1031
|
+
* corpus names one). The route set `technique_count` from a `linked_techniques` key the service
|
|
1032
|
+
* stopped emitting for exactly that reason, and `D3FENDDetail` declares neither, so the documented
|
|
1033
|
+
* count never reached a caller. Removed rather than faked.
|
|
853
1034
|
*
|
|
854
1035
|
* **Form filters**
|
|
855
1036
|
*
|
|
@@ -874,6 +1055,21 @@ declare const searchD3Fend: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
874
1055
|
* - `cve_id` — check one CVE against the KEV catalog
|
|
875
1056
|
* - `ransomware_status` — `Known` (confirmed ransomware campaign use) or `Unknown` (unconfirmed)
|
|
876
1057
|
*
|
|
1058
|
+
* **Include options**
|
|
1059
|
+
*
|
|
1060
|
+
* - `statistics` — deployment-wide corpus coverage (CVE/KEV totals, per-year counts, and the
|
|
1061
|
+
* d1/d7/d30/d365 creation deltas), the same block `/v1/search/cve` returns. The KEV half
|
|
1062
|
+
* (`kev_by_year`, `kev_created_since`) is the part this surface answers for directly.
|
|
1063
|
+
*
|
|
1064
|
+
* Each result is the catalog entry as this endpoint's sources publish it. `vendor_project` and
|
|
1065
|
+
* `product` ride the catalog mirror's own KEV report — `external_references` rows the Vulmatch KEV
|
|
1066
|
+
* ingest now publishes from CISA's `vendorProject`/`product` columns — so they populate here once
|
|
1067
|
+
* that deployment has run the one-time KEV backfill and read null before it (`POST
|
|
1068
|
+
* /api/v1/arango-cve-processor/cve-kev/`; see `.claude/rules/vulmatch.md`, "KEV backfill").
|
|
1069
|
+
* `forensic_triage` (plus the `supplemented_from` mark) is the one that comes from CISA's own KEV
|
|
1070
|
+
* record alone and is therefore always null here: CVE enrichment's `cisa_kev` reads it
|
|
1071
|
+
* (`/v1/enrich/cve`, plus product, package and batch paths that delegate to it).
|
|
1072
|
+
*
|
|
877
1073
|
* Omitted filters are ignored. The `errors` array reports any partial failures.
|
|
878
1074
|
*/
|
|
879
1075
|
declare const searchKev: <ThrowOnError extends boolean = false>(options: Options<SearchKevData, ThrowOnError>) => RequestResult<SearchKevResponses, SearchKevErrors, ThrowOnError>;
|
|
@@ -898,11 +1094,10 @@ declare const searchKnowledgebase: <ThrowOnError extends boolean = false>(option
|
|
|
898
1094
|
/**
|
|
899
1095
|
* Search MISP
|
|
900
1096
|
*
|
|
901
|
-
* Search
|
|
1097
|
+
* Search our curated MISP by indicator, event text, or event ID.
|
|
902
1098
|
*
|
|
903
|
-
*
|
|
904
|
-
*
|
|
905
|
-
* with a connected threat intelligence feed.
|
|
1099
|
+
* Returns matching threat events and indicators with actor and malware context. Our curated MISP pulls
|
|
1100
|
+
* a small set of public feeds on a daily schedule; the full list is at https://crimsoncrawler.com/docs/guides/data-sources/#our-curated-misp.
|
|
906
1101
|
*
|
|
907
1102
|
* **Filters**
|
|
908
1103
|
*
|
|
@@ -912,11 +1107,42 @@ declare const searchKnowledgebase: <ThrowOnError extends boolean = false>(option
|
|
|
912
1107
|
* - `type_attribute` — restrict to one attribute type (e.g. `ip-dst`, `md5`, `domain`)
|
|
913
1108
|
* - `category` — restrict to one MISP attribute category (e.g. `Network activity`, `Payload delivery`)
|
|
914
1109
|
* - `tags` — match any of the given tags (supports `tlp:` prefixes and galaxy cluster names)
|
|
915
|
-
* - `to_ids` —
|
|
1110
|
+
* - `to_ids` — attribute selector: `true` returns only attributes flagged for IDS detection
|
|
1111
|
+
* (high-confidence indicators), `false` only attributes NOT flagged. Omitting it does not filter.
|
|
916
1112
|
* - `threat_level_id` — event threat level: `1` (high), `2` (medium), `3` (low), `4` (undefined)
|
|
917
1113
|
* - `date_from` / `date_to` — restrict to an event date range (`YYYY-MM-DD`)
|
|
918
1114
|
* - `published` — restrict to events published by their owning org (excludes analyst drafts)
|
|
919
1115
|
*
|
|
1116
|
+
* Attribute filters (`value`, `type_attribute`, `category`, `tags`, `to_ids`) search attributes
|
|
1117
|
+
* only; event filters (`eventinfo`, `published`) search events only; `event_id` looks one event up
|
|
1118
|
+
* directly. `threat_level_id` and the date range apply to BOTH kinds, so a request carrying only
|
|
1119
|
+
* those — with no attribute, event, or event-ID selector — searches attributes and events.
|
|
1120
|
+
* Explicitly scoped requests keep their scope; a common filter never broadens one.
|
|
1121
|
+
*
|
|
1122
|
+
* A request with no content selector and no filter reads no content: `attributes`, `events`, and
|
|
1123
|
+
* `feed_previews` all come back empty, with a 200 rather than an error. Scheduling nothing there
|
|
1124
|
+
* is deliberate, because an unfiltered sweep of the whole instance is not what this endpoint
|
|
1125
|
+
* answers. The instance-level include layers still respond, since they don't depend on a match:
|
|
1126
|
+
* `version` reports the MISP build and `tags` returns one page of tag names.
|
|
1127
|
+
*
|
|
1128
|
+
* **Include options**
|
|
1129
|
+
*
|
|
1130
|
+
* - `sightings` — adds the event-level sighting records (deduplicated across each event's own
|
|
1131
|
+
* attributes and `/sightings/index`). Per-attribute `sighting_count` / `sightings` on the
|
|
1132
|
+
* returned attribute rows come from the correlation join that always runs, so they are present
|
|
1133
|
+
* with or without this token; the token governs the event-level reads.
|
|
1134
|
+
* - `event_reports` — the analyst-written reports attached to the returned events
|
|
1135
|
+
* - `stats` — each returned event's composition (attributes by category, objects by name)
|
|
1136
|
+
* - `version` — the MISP build behind the data (`misp_version`)
|
|
1137
|
+
* - `tags` — one page of the instance's tag names (`tag_names` + `tag_names_total`)
|
|
1138
|
+
* - `feeds` — read-only previews of the feeds that carried the returned indicators
|
|
1139
|
+
* - `objects` — resolve composite-object reference targets the search payload left unresolved
|
|
1140
|
+
* - `misp_events_full` — full event bodies; otherwise event rows are summarized
|
|
1141
|
+
*
|
|
1142
|
+
* `event_reports`, `tags`, and `version` are on by default. An explicit include replaces them.
|
|
1143
|
+
* Event searches request ascending event IDs. Pages are not a snapshot; edits or deletions may shift
|
|
1144
|
+
* results between requests, and cached pages may reflect an earlier MISP state.
|
|
1145
|
+
*
|
|
920
1146
|
* Omitted filters are ignored. The `errors` array reports any partial failures.
|
|
921
1147
|
*/
|
|
922
1148
|
declare const searchMisp: <ThrowOnError extends boolean = false>(options: Options<SearchMispData, ThrowOnError>) => RequestResult<SearchMispResponses, SearchMispErrors, ThrowOnError>;
|
|
@@ -934,13 +1160,16 @@ declare const searchPoc: <ThrowOnError extends boolean = false>(options: Options
|
|
|
934
1160
|
/**
|
|
935
1161
|
* Search Vendor Products
|
|
936
1162
|
*
|
|
937
|
-
* List products from a vendor
|
|
1163
|
+
* List products from a vendor, or enumerate the vendor directory.
|
|
938
1164
|
*
|
|
939
|
-
*
|
|
940
|
-
* string to `/v1/search/cve` as the `cpe` filter to find vulnerabilities for that product.
|
|
1165
|
+
* Pass `vendor` for up to `limit` known products from the CPE dictionary — pass a returned CPE
|
|
1166
|
+
* string to `/v1/search/cve` as the `cpe` filter to find vulnerabilities for that product. A
|
|
1167
|
+
* multi-version product contributes one row per CPE entry, and `total_products` counts the
|
|
1168
|
+
* distinct products those rows represent. Omit `vendor` (optionally with `q`) to enumerate the
|
|
1169
|
+
* CPE vendor directory with product counts.
|
|
941
1170
|
*
|
|
942
1171
|
* The `errors` array reports any partial failures.
|
|
943
1172
|
*/
|
|
944
1173
|
declare const searchVendor: <ThrowOnError extends boolean = false>(options: Options<SearchVendorData, ThrowOnError>) => RequestResult<SearchVendorResponses, SearchVendorErrors, ThrowOnError>;
|
|
945
1174
|
|
|
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 };
|
|
1175
|
+
export { type Options, artifactEnrich, artifactEnrichStatus, assessGroupExposure, assessIocPortfolio, assessTechniqueCoverage, assessVulnerabilityExposure, enrichAtlas, enrichBatch, enrichCampaign, enrichCapec, enrichCloak, enrichCve, enrichCwe, enrichDefend, enrichDisarm, enrichF3, enrichGroup, enrichIoc, enrichLocation, enrichPackage, enrichPocSource, enrichProduct, enrichSector, enrichSoftware, enrichTechnique, eventEnrich, eventEnrichStatus, inventoryEnrich, inventoryEnrichStatus, searchCsaf, searchCti, searchCve, searchD3Fend, searchKev, searchKnowledgebase, searchMisp, searchPoc, searchVendor };
|