UNPKG

@mitre-attack/attack-data-model

Version:

A TypeScript API for the MITRE ATT&CK data model

21 lines (18 loc) 401 B
import { AttackBaseImpl } from "./chunk-2N7H7TEP.js"; // src/classes/sdo/log-source.impl.ts var LogSourceImpl = class extends AttackBaseImpl { constructor(logSource) { super(); this.logSource = logSource; this._dataComponents = []; Object.assign(this, logSource); } addFoundBy(dataComponent) { this._dataComponents.push(dataComponent); } }; export { LogSourceImpl };