@mitre-attack/attack-data-model
Version:
A TypeScript API for the MITRE ATT&CK data model
49 lines (48 loc) • 8.14 kB
TypeScript
export { ATTACK_SPEC_VERSION } from './attack-spec-version.js';
export { A as AnalyticImpl, a as AnyAttackObject, b as AssetImpl, c as AttackBaseImpl, d as AttackDataModel, C as CampaignImpl, e as CollectionImpl, D as DataComponentImpl, f as DataSourceImpl, g as DetectionStrategyImpl, G as GroupImpl, I as IdentityImpl, M as MalwareImpl, h as MarkingDefinitionImpl, i as MatrixImpl, j as MitigationImpl, T as TacticImpl, k as TechniqueImpl, l as ToolImpl } from './index-P8UPTAj5.js';
export { getDataSources, getMitigations, getPlatforms, getSubTechniques, getTactics } from './classes/utils.js';
export { DataSourceOptions, DataSourceRegistration, ParsingMode } from './data-sources/data-source-registration.js';
export { fetchAttackVersions } from './data-sources/fetch-attack-versions.js';
export { loadDataModel, registerDataSource } from './main.js';
export { createAttackIdInExternalReferencesRefinement, createCitationsRefinement, createEnterpriseOnlyPropertiesRefinement, createFirstAliasRefinement, createFirstXMitreAliasRefinement, createMobileOnlyPropertiesRefinement, validateNoDuplicates, validateXMitreCollection, validateXMitreContentsReferences } from './refinements/index.js';
export { AttackBaseSDO, AttackBaseSMO, AttackBaseSRO, attackBaseDomainObjectSchema, attackBaseMetaObjectSchema, attackBaseRelationshipObjectSchema } from './schemas/common/attack-core.js';
export { emptyStixListErrorMessage, nonEmptyRequiredString, stixListOfString } from './schemas/common/property-schemas/generics.js';
export { XMitreContributors, XMitreModifiedByRef, xMitreContributorsSchema, xMitreIdentity, xMitreIdentitySchema, xMitreModifiedByRefSchema } from './schemas/common/property-schemas/attack-attribution.js';
export { AttackDomain, XMitreDomains, attackDomainSchema, xMitreDomainsSchema } from './schemas/common/property-schemas/attack-domains.js';
export { AttackIdType, StixTypesWithAttackIds, XMitreOldAttackId, attackIdExamples, attackIdMessages, attackIdPatterns, createAttackIdSchema, createOldMitreAttackIdSchema, getAttackIdExample, stixTypeToAttackIdMapping, xMitreOldAttackIdSchema } from './schemas/common/property-schemas/attack-id.js';
export { XMitrePlatform, XMitrePlatforms, xMitrePlatformSchema, xMitrePlatformsSchema } from './schemas/common/property-schemas/attack-platforms.js';
export { XMitreDeprecated, xMitreDeprecatedSchema } from './schemas/common/property-schemas/attack-statuses.js';
export { XMitreAttackSpecVersion, XMitreVersion, xMitreAttackSpecVersionSchema, xMitreVersionSchema } from './schemas/common/property-schemas/attack-versioning.js';
export { ObjectMarkingRefs, StixCreatedByRef, objectMarkingRefsSchema, stixCreatedByRefSchema } from './schemas/common/property-schemas/stix-attribution.js';
export { Aliases, Description, Name, aliasesSchema, descriptionSchema, nameSchema } from './schemas/common/property-schemas/stix-common-properties.js';
export { Extension, ExtensionDefinition, Extensions, extensionDefinitionSchema, extensionObjectTypeSchema, extensionSchema, extensionTypeSchema, extensionsSchema } from './schemas/common/property-schemas/stix-extensions.js';
export { ExternalReference, ExternalReferences, createAttackExternalReferencesSchema, externalReferenceSchema, externalReferencesSchema } from './schemas/common/property-schemas/stix-external-references.js';
export { GranularMarking, granularMarkingSchema } from './schemas/common/property-schemas/stix-granular-marking.js';
export { StixIdentifier, TypeSpecificStixIdentifier, createStixIdValidator, stixIdentifierSchema } from './schemas/common/property-schemas/stix-id.js';
export { KillChainName, KillChainPhase, killChainNameSchema, killChainPhaseSchema } from './schemas/common/property-schemas/stix-kill-chains.js';
export { AttackMotivationOV, AttackResourceLevelOV, IdentityClassOV, ImplementationLanguageOV, IndicatorTypeOV, IndustrySectorOV, MalwareCapabilityOV, MalwareTypeOV, MitreCollectionLayerOV, PatternTypeOV, ProcessorArchitectureOV, ToolTypeOV } from './schemas/common/property-schemas/stix-open-vocabulary.js';
export { StixCreatedTimestamp, StixModifiedTimestamp, StixTimestamp, stixCreatedTimestampSchema, stixModifiedTimestampSchema, stixTimestampSchema } from './schemas/common/property-schemas/stix-timestamp.js';
export { StixType, createMultiStixTypeValidator, createStixTypeValidator, stixTypeSchema, stixTypeToTypeName } from './schemas/common/property-schemas/stix-type.js';
export { StixSpecVersion, stixSpecVersionSchema } from './schemas/common/property-schemas/stix-versioning.js';
export { SDO, SRO, stixDomainObjectSchema, stixRelationshipObjectSchema } from './schemas/common/stix-core.js';
export { Analytic, analyticSchema } from './schemas/sdo/analytic.schema.js';
export { Asset, RelatedAsset, RelatedAssets, XMitreSectors, assetSchema, relatedAssetSchema, relatedAssetsSchema, xMitreSectorsSchema } from './schemas/sdo/asset.schema.js';
export { Campaign, CampaignPartial, XMitreFirstSeenCitation, XMitreLastSeenCitation, campaignBaseSchema, campaignPartialSchema, campaignSchema, xMitreFirstSeenCitationSchema, xMitreLastSeenCitationSchema } from './schemas/sdo/campaign.schema.js';
export { Collection, ObjectVersionReference, collectionSchema, objectVersionReferenceSchema } from './schemas/sdo/collection.schema.js';
export { DataComponent, XMitreDataSourceRef, XMitreLogSources, dataComponentSchema, xMitreDataSourceRefSchema, xMitreLogSourcesSchema } from './schemas/sdo/data-component.schema.js';
export { DetectionStrategy, detectionStrategySchema } from './schemas/sdo/detection-strategy.schema.js';
export { Group, GroupPartial, groupBaseSchema, groupPartialSchema, groupSchema } from './schemas/sdo/group.schema.js';
export { Identity, identitySchema } from './schemas/sdo/identity.schema.js';
export { DataSource, XMitreCollectionLayers, dataSourceSchema, xMitreCollectionLayersSchema } from './schemas/sdo/data-source.schema.js';
export { Malware, MalwarePartial, malwareBaseSchema, malwarePartialSchema, malwareSchema, stixArtifactType, stixFileType } from './schemas/sdo/malware.schema.js';
export { Matrix, XMitreTacticRefs, matrixSchema, xMitreTacticRefsSchema } from './schemas/sdo/matrix.schema.js';
export { Mitigation, mitigationSchema } from './schemas/sdo/mitigation.schema.js';
export { Software, softwareSchema } from './schemas/sdo/software.schema.js';
export { Tactic, XMitreShortName, tacticSchema, xMitreShortNameSchema } from './schemas/sdo/tactic.schema.js';
export { Technique, XMitreDataSource, XMitreDataSources, XMitreDefenseBypasses, XMitreDetection, XMitreEffectivePermissions, XMitreImpactType, XMitreIsSubtechnique, XMitreNetworkRequirements, XMitrePermissionsRequired, XMitreRemoteSupport, XMitreSystemRequirements, XMitreTacticType, techniqueBaseSchema, techniquePartialSchema, techniqueSchema, xMitreDataSourceSchema, xMitreDataSourcesSchema, xMitreDefenseBypassesSchema, xMitreDetectionSchema, xMitreEffectivePermissionsSchema, xMitreImpactTypeSchema, xMitreIsSubtechniqueSchema, xMitreNetworkRequirementsSchema, xMitrePermissionsRequiredSchema, xMitreRemoteSupportSchema, xMitreSystemRequirementsSchema, xMitreTacticTypeSchema } from './schemas/sdo/technique.schema.js';
export { Tool, ToolPartial, toolBaseSchema, toolPartialSchema, toolSchema } from './schemas/sdo/tool.schema.js';
export { AttackObject, AttackObjects, StixBundle, attackObjectsSchema, stixBundleSchema } from './schemas/sdo/stix-bundle.schema.js';
export { MarkingDefinition, TlpMarkingDefinition, TlpMarkingObject, baseMarkingDefinitionSchema, markingDefinitionSchema, statementMarkingObjectSchema, tlpAmberSchema, tlpGreenSchema, tlpMarkingDefinitionSchema, tlpMarkingObjectSchema, tlpRedSchema, tlpWhiteSchema } from './schemas/smo/marking-definition.schema.js';
export { Relationship, RelationshipCombination, RelationshipPartial, RelationshipType, createRelationshipValidationRefinement, invalidRelationships, isValidRelationship, relationshipBaseSchema, relationshipChecks, relationshipPartialSchema, relationshipSchema, relationshipTypeSchema, validRelationshipObjectTypes } from './schemas/sro/relationship.schema.js';
import 'zod/v4';
import 'zod';