UNPKG

@mitre-attack/attack-data-model

Version:

A TypeScript API for the MITRE ATT&CK data model

458 lines (457 loc) 10.5 kB
import { DataSourceRegistration, loadDataModel, registerDataSource } from "./chunk-GV2GIHVE.js"; import { analyticSchema, attackObjectsSchema, campaignBaseSchema, campaignPartialSchema, campaignSchema, createAttackIdInExternalReferencesRefinement, createCitationsRefinement, createEnterpriseOnlyPropertiesRefinement, createFirstAliasRefinement, createFirstXMitreAliasRefinement, createMobileOnlyPropertiesRefinement, dataComponentSchema, detectionStrategySchema, groupBaseSchema, groupPartialSchema, groupSchema, malwareBaseSchema, malwarePartialSchema, malwareSchema, softwareSchema, stixArtifactType, stixBundleSchema, stixFileType, techniqueBaseSchema, techniquePartialSchema, techniqueSchema, toolBaseSchema, toolPartialSchema, toolSchema, validateNoDuplicates, validateXMitreCollection, validateXMitreContentsReferences, xMitreDataSourceRefSchema, xMitreDataSourceSchema, xMitreDataSourcesSchema, xMitreDefenseBypassesSchema, xMitreDetectionSchema, xMitreEffectivePermissionsSchema, xMitreFirstSeenCitationSchema, xMitreImpactTypeSchema, xMitreIsSubtechniqueSchema, xMitreLastSeenCitationSchema, xMitreLogSourcesSchema, xMitreNetworkRequirementsSchema, xMitrePermissionsRequiredSchema, xMitreRemoteSupportSchema, xMitreSystemRequirementsSchema, xMitreTacticTypeSchema } from "./chunk-ZGQS5FG2.js"; import "./chunk-BVLTOUXM.js"; import { baseMarkingDefinitionSchema, markingDefinitionSchema, statementMarkingObjectSchema, tlpAmberSchema, tlpGreenSchema, tlpMarkingDefinitionSchema, tlpMarkingObjectSchema, tlpRedSchema, tlpWhiteSchema } from "./chunk-CSADRGVR.js"; import "./chunk-ZLHEXSCV.js"; import { createRelationshipValidationRefinement, invalidRelationships, isValidRelationship, relationshipBaseSchema, relationshipChecks, relationshipPartialSchema, relationshipSchema, relationshipTypeSchema, validRelationshipObjectTypes } from "./chunk-HEP7FZZF.js"; import { matrixSchema, xMitreTacticRefsSchema } from "./chunk-KATTROA4.js"; import { mitigationSchema } from "./chunk-2IOMDLCJ.js"; import { tacticSchema, xMitreShortNameSchema } from "./chunk-2RATGBIX.js"; import { collectionSchema, objectVersionReferenceSchema } from "./chunk-CS5ZWOZQ.js"; import { dataSourceSchema, xMitreCollectionLayersSchema } from "./chunk-2JWTU7IT.js"; import { identitySchema } from "./chunk-GXIR2SFM.js"; import { assetSchema, relatedAssetSchema, relatedAssetsSchema, xMitreSectorsSchema } from "./chunk-VYLYNBMT.js"; import "./chunk-QV7Q63XN.js"; import { attackBaseDomainObjectSchema, attackBaseMetaObjectSchema, attackBaseRelationshipObjectSchema } from "./chunk-ZHQVMLOZ.js"; import { stixDomainObjectSchema, stixRelationshipObjectSchema } from "./chunk-HJZAYO6P.js"; import "./chunk-772VGHM5.js"; import { killChainNameSchema, killChainPhaseSchema } from "./chunk-JHF4PVSU.js"; import { AttackMotivationOV, AttackResourceLevelOV, IdentityClassOV, ImplementationLanguageOV, IndicatorTypeOV, IndustrySectorOV, MalwareCapabilityOV, MalwareTypeOV, MitreCollectionLayerOV, PatternTypeOV, ProcessorArchitectureOV, ToolTypeOV } from "./chunk-VOGK6XDT.js"; import { stixCreatedTimestampSchema, stixModifiedTimestampSchema, stixTimestampSchema } from "./chunk-QVEHTIAE.js"; import { xMitreDeprecatedSchema } from "./chunk-ZGH5O4ZC.js"; import { xMitreAttackSpecVersionSchema, xMitreVersionSchema } from "./chunk-LWI27AHG.js"; import { extensionDefinitionSchema, extensionObjectTypeSchema, extensionSchema, extensionTypeSchema, extensionsSchema } from "./chunk-Y24HOPQL.js"; import { granularMarkingSchema } from "./chunk-S3URW6XG.js"; import { stixSpecVersionSchema } from "./chunk-7GRR66XR.js"; import { objectMarkingRefsSchema, stixCreatedByRefSchema } from "./chunk-BUEHDLBB.js"; import { aliasesSchema, descriptionSchema, nameSchema } from "./chunk-DNIVZ2SM.js"; import { createAttackExternalReferencesSchema, externalReferenceSchema, externalReferencesSchema } from "./chunk-UP3ZMB5U.js"; import { xMitreContributorsSchema, xMitreIdentity, xMitreIdentitySchema, xMitreModifiedByRefSchema } from "./chunk-U55YRJAX.js"; import { createStixIdValidator, stixIdentifierSchema } from "./chunk-E3OY6DRE.js"; import { createMultiStixTypeValidator, createStixTypeValidator, stixTypeSchema, stixTypeToTypeName } from "./chunk-PFSYT437.js"; import { attackDomainSchema, xMitreDomainsSchema } from "./chunk-ZEHAFUHO.js"; import { attackIdExamples, attackIdMessages, attackIdPatterns, createAttackIdSchema, createOldMitreAttackIdSchema, getAttackIdExample, stixTypeToAttackIdMapping, xMitreOldAttackIdSchema } from "./chunk-SAFNV2G2.js"; import { emptyStixListErrorMessage, nonEmptyRequiredString, stixListOfString } from "./chunk-KFUJRXYX.js"; import { xMitrePlatformSchema, xMitrePlatformsSchema } from "./chunk-3VOOG6SX.js"; import { ATTACK_SPEC_VERSION } from "./chunk-K5XM6ZG6.js"; import "./chunk-QH5EHOBU.js"; import "./chunk-2PRKBCWR.js"; import "./chunk-BJSNW4TX.js"; import "./chunk-PKC2N3TD.js"; import { AttackDataModel } from "./chunk-55IQ47IR.js"; import { MarkingDefinitionImpl } from "./chunk-W2YOUMVK.js"; import { MatrixImpl } from "./chunk-YTLXS4H5.js"; import "./chunk-4RYLCAD6.js"; import { CollectionImpl } from "./chunk-6IMNEOJJ.js"; import { DetectionStrategyImpl } from "./chunk-RNHPH3PY.js"; import { CampaignImpl, GroupImpl } from "./chunk-5TY6GUSK.js"; import { MalwareImpl } from "./chunk-BG2COBEQ.js"; import { ToolImpl } from "./chunk-BVJE73TW.js"; import { DataComponentImpl, TechniqueImpl } from "./chunk-HBAPQNLU.js"; import { AssetImpl } from "./chunk-U4SUBVE6.js"; import { IdentityImpl } from "./chunk-V343NNBE.js"; import { AnalyticImpl } from "./chunk-ZLVKIV7W.js"; import { getDataSources, getMitigations, getPlatforms, getSubTechniques, getTactics } from "./chunk-YIYSJZMP.js"; import { DataSourceImpl } from "./chunk-UVFRWXP3.js"; import { MitigationImpl } from "./chunk-R4ISNN3D.js"; import { TacticImpl } from "./chunk-3Z75KXCP.js"; import { AttackBaseImpl } from "./chunk-2N7H7TEP.js"; import { fetchAttackVersions } from "./chunk-MFM4HCY4.js"; export { ATTACK_SPEC_VERSION, AnalyticImpl, AssetImpl, AttackBaseImpl, AttackDataModel, AttackMotivationOV, AttackResourceLevelOV, CampaignImpl, CollectionImpl, DataComponentImpl, DataSourceImpl, DataSourceRegistration, DetectionStrategyImpl, GroupImpl, IdentityClassOV, IdentityImpl, ImplementationLanguageOV, IndicatorTypeOV, IndustrySectorOV, MalwareCapabilityOV, MalwareImpl, MalwareTypeOV, MarkingDefinitionImpl, MatrixImpl, MitigationImpl, MitreCollectionLayerOV, PatternTypeOV, ProcessorArchitectureOV, TacticImpl, TechniqueImpl, ToolImpl, ToolTypeOV, aliasesSchema, analyticSchema, assetSchema, attackBaseDomainObjectSchema, attackBaseMetaObjectSchema, attackBaseRelationshipObjectSchema, attackDomainSchema, attackIdExamples, attackIdMessages, attackIdPatterns, attackObjectsSchema, baseMarkingDefinitionSchema, campaignBaseSchema, campaignPartialSchema, campaignSchema, collectionSchema, createAttackExternalReferencesSchema, createAttackIdInExternalReferencesRefinement, createAttackIdSchema, createCitationsRefinement, createEnterpriseOnlyPropertiesRefinement, createFirstAliasRefinement, createFirstXMitreAliasRefinement, createMobileOnlyPropertiesRefinement, createMultiStixTypeValidator, createOldMitreAttackIdSchema, createRelationshipValidationRefinement, createStixIdValidator, createStixTypeValidator, dataComponentSchema, dataSourceSchema, descriptionSchema, detectionStrategySchema, emptyStixListErrorMessage, extensionDefinitionSchema, extensionObjectTypeSchema, extensionSchema, extensionTypeSchema, extensionsSchema, externalReferenceSchema, externalReferencesSchema, fetchAttackVersions, getAttackIdExample, getDataSources, getMitigations, getPlatforms, getSubTechniques, getTactics, granularMarkingSchema, groupBaseSchema, groupPartialSchema, groupSchema, identitySchema, invalidRelationships, isValidRelationship, killChainNameSchema, killChainPhaseSchema, loadDataModel, malwareBaseSchema, malwarePartialSchema, malwareSchema, markingDefinitionSchema, matrixSchema, mitigationSchema, nameSchema, nonEmptyRequiredString, objectMarkingRefsSchema, objectVersionReferenceSchema, registerDataSource, relatedAssetSchema, relatedAssetsSchema, relationshipBaseSchema, relationshipChecks, relationshipPartialSchema, relationshipSchema, relationshipTypeSchema, softwareSchema, statementMarkingObjectSchema, stixArtifactType, stixBundleSchema, stixCreatedByRefSchema, stixCreatedTimestampSchema, stixDomainObjectSchema, stixFileType, stixIdentifierSchema, stixListOfString, stixModifiedTimestampSchema, stixRelationshipObjectSchema, stixSpecVersionSchema, stixTimestampSchema, stixTypeSchema, stixTypeToAttackIdMapping, stixTypeToTypeName, tacticSchema, techniqueBaseSchema, techniquePartialSchema, techniqueSchema, tlpAmberSchema, tlpGreenSchema, tlpMarkingDefinitionSchema, tlpMarkingObjectSchema, tlpRedSchema, tlpWhiteSchema, toolBaseSchema, toolPartialSchema, toolSchema, validRelationshipObjectTypes, validateNoDuplicates, validateXMitreCollection, validateXMitreContentsReferences, xMitreAttackSpecVersionSchema, xMitreCollectionLayersSchema, xMitreContributorsSchema, xMitreDataSourceRefSchema, xMitreDataSourceSchema, xMitreDataSourcesSchema, xMitreDefenseBypassesSchema, xMitreDeprecatedSchema, xMitreDetectionSchema, xMitreDomainsSchema, xMitreEffectivePermissionsSchema, xMitreFirstSeenCitationSchema, xMitreIdentity, xMitreIdentitySchema, xMitreImpactTypeSchema, xMitreIsSubtechniqueSchema, xMitreLastSeenCitationSchema, xMitreLogSourcesSchema, xMitreModifiedByRefSchema, xMitreNetworkRequirementsSchema, xMitreOldAttackIdSchema, xMitrePermissionsRequiredSchema, xMitrePlatformSchema, xMitrePlatformsSchema, xMitreRemoteSupportSchema, xMitreSectorsSchema, xMitreShortNameSchema, xMitreSystemRequirementsSchema, xMitreTacticRefsSchema, xMitreTacticTypeSchema, xMitreVersionSchema };