Skip to content

Class: StixExternalReference

External references are used to describe pointers to information represented outside of STIX.

URI: attack:StixExternalReference

 classDiagram
    class StixExternalReference
    click StixExternalReference href "../StixExternalReference/"
      StixExternalReference : description
        
      StixExternalReference : external_id
        
      StixExternalReference : hashes
        
          
    
        
        
        StixExternalReference --> "0..1" StixHashes : hashes
        click StixHashes href "../StixHashes/"
    

        
      StixExternalReference : source_name
        
      StixExternalReference : url
        
      
Name Cardinality and Range Description Inheritance
source_name 1
String
The source, such as a system, registry or organization, that defines the refe… direct
description 0..1
String
A description of the object, which may be long direct
url 0..1
Uri
A URL direct
hashes 0..1
StixHashes
A dictionary of hashes of the content, keyed by hash algorithm direct
external_id 0..1
String
An identifier of the external content in its source, such as CVE-2016-1234 direct
Expressions & Logic

The class must satisfy at least one of:

  • AnonymousClassExpression({ ‘slot_conditions’: {‘external_id’: SlotDefinition({‘name’: ‘external_id’, ‘required’: True})} })
  • AnonymousClassExpression({ ‘slot_conditions’: {‘description’: SlotDefinition({‘name’: ‘description’, ‘required’: True})} })
  • AnonymousClassExpression({‘slot_conditions’: {‘url’: SlotDefinition({‘name’: ‘url’, ‘required’: True})}})
used by used in type used
AttackTechnique external_references range StixExternalReference
AttackTactic external_references range StixExternalReference
AttackGroup external_references range StixExternalReference
AttackCampaign external_references range StixExternalReference
AttackMalware external_references range StixExternalReference
AttackTool external_references range StixExternalReference
AttackMitigation external_references range StixExternalReference
AttackMatrix external_references range StixExternalReference
AttackCollection external_references range StixExternalReference
AttackAsset external_references range StixExternalReference
AttackDataSource external_references range StixExternalReference
AttackDataComponent external_references range StixExternalReference
AttackDetectionStrategy external_references range StixExternalReference
AttackAnalytic external_references range StixExternalReference
AttackRelationship external_references range StixExternalReference
AttackIdentity external_references range StixExternalReference
AttackMarkingDefinition external_references range StixExternalReference
StixCommonObject external_references range StixExternalReference
StixDomainObject external_references range StixExternalReference
StixRelationshipObject external_references range StixExternalReference
StixIdentity external_references range StixExternalReference
StixMarkingDefinition external_references range StixExternalReference
StixLanguageContent external_references range StixExternalReference
StixExtensionDefinition external_references range StixExternalReference
StixAttackPattern external_references range StixExternalReference
StixCampaign external_references range StixExternalReference
StixCourseOfAction external_references range StixExternalReference
StixGrouping external_references range StixExternalReference
StixIncident external_references range StixExternalReference
StixIndicator external_references range StixExternalReference
StixInfrastructure external_references range StixExternalReference
StixIntrusionSet external_references range StixExternalReference
StixLocation external_references range StixExternalReference
StixMalware external_references range StixExternalReference
StixMalwareAnalysis external_references range StixExternalReference
StixNote external_references range StixExternalReference
StixObservedData external_references range StixExternalReference
StixOpinion external_references range StixExternalReference
StixReport external_references range StixExternalReference
StixThreatActor external_references range StixExternalReference
StixTool external_references range StixExternalReference
StixVulnerability external_references range StixExternalReference
StixRelationship external_references range StixExternalReference
StixSighting external_references range StixExternalReference

Rule Applied Preconditions Postconditions Elseconditions
slot_conditions {'source_name': {'equals_string': 'cve'}} ```{‘external_id’: {‘required’: True, ‘pattern’: ’^CVE-\d{4}-(0\d{3} [1-9]\d{3,})$’}}```
Rule Applied Preconditions Postconditions Elseconditions
slot_conditions {'source_name': {'equals_string': 'capec'}} {'external_id': {'required': True, 'pattern': '^CAPEC-\\d+$'}}
Mapping Type Mapped Value
self attack:StixExternalReference
native attack:StixExternalReference
close uco-core:ExternalReference
name: StixExternalReference
description: External references are used to describe pointers to information represented
outside of STIX.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- uco-core:ExternalReference
slots:
- source_name
- description
- url
- hashes
- external_id
slot_usage:
source_name:
name: source_name
required: true
rules:
- preconditions:
slot_conditions:
source_name:
name: source_name
equals_string: cve
postconditions:
slot_conditions:
external_id:
name: external_id
required: true
pattern: ^CVE-\d{4}-(0\d{3}|[1-9]\d{3,})$
description: A reference to the CVE list names a CVE identifier.
- preconditions:
slot_conditions:
source_name:
name: source_name
equals_string: capec
postconditions:
slot_conditions:
external_id:
name: external_id
required: true
pattern: ^CAPEC-\d+$
description: A reference to CAPEC names a CAPEC identifier.
any_of:
- slot_conditions:
external_id:
name: external_id
required: true
- slot_conditions:
description:
name: description
required: true
- slot_conditions:
url:
name: url
required: true
name: StixExternalReference
description: External references are used to describe pointers to information represented
outside of STIX.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- uco-core:ExternalReference
slot_usage:
source_name:
name: source_name
required: true
attributes:
source_name:
name: source_name
description: The source, such as a system, registry or organization, that defines
the reference.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
slot_uri: stix:source_name
owner: StixExternalReference
domain_of:
- StixExternalReference
range: string
required: true
description:
name: description
description: A description of the object, which may be long.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- uco-core:description
rank: 1000
slot_uri: stix:description
owner: StixExternalReference
domain_of:
- AttackTactic
- AttackMatrix
- AttackCollection
- AttackAsset
- AttackDataSource
- AttackDataComponent
- AttackAnalytic
- AttackRelatedAsset
- AttackMutableElement
- StixIdentity
- StixExtensionDefinition
- StixExternalReference
- StixAttackPattern
- StixCampaign
- StixCourseOfAction
- StixGrouping
- StixIncident
- StixIndicator
- StixInfrastructure
- StixIntrusionSet
- StixLocation
- StixMalware
- StixReport
- StixThreatActor
- StixTool
- StixVulnerability
- StixRelationship
- StixSighting
range: string
url:
name: url
description: A URL.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
slot_uri: stix:url
owner: StixExternalReference
domain_of:
- StixExternalReference
- StixArtifact
range: uri
hashes:
name: hashes
description: A dictionary of hashes of the content, keyed by hash algorithm.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
slot_uri: stix:hashes
owner: StixExternalReference
domain_of:
- StixExternalReference
- StixArtifact
- StixFile
- StixX509Certificate
- StixAlternateDataStream
- StixWindowsPeSection
- StixWindowsPeOptionalHeader
range: StixHashes
inlined: true
external_id:
name: external_id
description: An identifier of the external content in its source, such as CVE-2016-1234.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- uco-core:externalIdentifier
rank: 1000
slot_uri: stix:external_id
owner: StixExternalReference
domain_of:
- StixExternalReference
range: string
rules:
- preconditions:
slot_conditions:
source_name:
name: source_name
equals_string: cve
postconditions:
slot_conditions:
external_id:
name: external_id
required: true
pattern: ^CVE-\d{4}-(0\d{3}|[1-9]\d{3,})$
description: A reference to the CVE list names a CVE identifier.
- preconditions:
slot_conditions:
source_name:
name: source_name
equals_string: capec
postconditions:
slot_conditions:
external_id:
name: external_id
required: true
pattern: ^CAPEC-\d+$
description: A reference to CAPEC names a CAPEC identifier.
any_of:
- slot_conditions:
external_id:
name: external_id
required: true
- slot_conditions:
description:
name: description
required: true
- slot_conditions:
url:
name: url
required: true