@mitre-attack/attack-data-model
Version:
A TypeScript API for the MITRE ATT&CK data model
339 lines (338 loc) • 7.96 kB
JavaScript
import {
analyticSchema,
attackObjectsSchema,
campaignBaseSchema,
campaignPartialSchema,
campaignSchema,
dataComponentSchema,
detectionStrategySchema,
groupBaseSchema,
groupPartialSchema,
groupSchema,
malwareBaseSchema,
malwarePartialSchema,
malwareSchema,
softwareSchema,
stixArtifactType,
stixBundleSchema,
stixFileType,
techniqueBaseSchema,
techniquePartialSchema,
techniqueSchema,
toolBaseSchema,
toolPartialSchema,
toolSchema,
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";
export {
AttackMotivationOV,
AttackResourceLevelOV,
IdentityClassOV,
ImplementationLanguageOV,
IndicatorTypeOV,
IndustrySectorOV,
MalwareCapabilityOV,
MalwareTypeOV,
MitreCollectionLayerOV,
PatternTypeOV,
ProcessorArchitectureOV,
ToolTypeOV,
aliasesSchema,
analyticSchema,
assetSchema,
attackBaseDomainObjectSchema,
attackBaseMetaObjectSchema,
attackBaseRelationshipObjectSchema,
attackDomainSchema,
attackIdExamples,
attackIdMessages,
attackIdPatterns,
attackObjectsSchema,
baseMarkingDefinitionSchema,
campaignBaseSchema,
campaignPartialSchema,
campaignSchema,
collectionSchema,
createAttackExternalReferencesSchema,
createAttackIdSchema,
createMultiStixTypeValidator,
createOldMitreAttackIdSchema,
createRelationshipValidationRefinement,
createStixIdValidator,
createStixTypeValidator,
dataComponentSchema,
dataSourceSchema,
descriptionSchema,
detectionStrategySchema,
emptyStixListErrorMessage,
extensionDefinitionSchema,
extensionObjectTypeSchema,
extensionSchema,
extensionTypeSchema,
extensionsSchema,
externalReferenceSchema,
externalReferencesSchema,
getAttackIdExample,
granularMarkingSchema,
groupBaseSchema,
groupPartialSchema,
groupSchema,
identitySchema,
invalidRelationships,
isValidRelationship,
killChainNameSchema,
killChainPhaseSchema,
malwareBaseSchema,
malwarePartialSchema,
malwareSchema,
markingDefinitionSchema,
matrixSchema,
mitigationSchema,
nameSchema,
nonEmptyRequiredString,
objectMarkingRefsSchema,
objectVersionReferenceSchema,
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,
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
};