Class: MimePartType
Specifies a component of a multi-part email body as defined in the email-message observable.
URI: attack:MimePartType
classDiagram
class MimePartType
click MimePartType href "../MimePartType/"
CommonSchemaComponent <|-- MimePartType
click CommonSchemaComponent href "../CommonSchemaComponent/"
MimePartType : body
MimePartType : body_raw_ref
MimePartType : content_disposition
MimePartType : content_type
MimePartType : description
MimePartType : id
MimePartType : name
MimePartType : type
Inheritance
- StixEntity
- CommonSchemaComponent
- MimePartType
- CommonSchemaComponent
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| body | 0..1 String |
Specifies a string containing the email body | direct |
| body_raw_ref | 0..1 StixIdentifier |
Reference to an Artifact or File object for non-textual MIME part content | direct |
| content_type | 0..1 String |
Specifies the value of the 'Content-Type' header of the email message | direct |
| content_disposition | 0..1 String |
Value of the Content-Disposition header field of the MIME part | direct |
| id | 0..1 StixIdentifier |
STIX object identifier | StixEntity |
| type | 0..1 StixTypeName |
STIX object type | StixEntity |
| name | 0..1 String |
Human-readable name | StixEntity |
| description | 0..1 String |
Human-readable description | StixEntity |
Usages
| used by | used in | type | used |
|---|---|---|---|
| EmailMessage | body_multipart | range | MimePartType |
In Subsets
Comments
- jsonschema_rule: oneOf validator_hint: enforce-mime-part-body-or-body-raw-ref-exclusive jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/observables/email-message.json#/definitions/mime-part-type
Notes
- JSON Schema requires exactly one of body (for text/* content) or body_raw_ref (for non-text content).
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/attack
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | attack:MimePartType |
| native | attack:MimePartType |
LinkML Source
Direct
name: MimePartType
description: Specifies a component of a multi-part email body as defined in the email-message
observable.
notes:
- JSON Schema requires exactly one of body (for text/* content) or body_raw_ref (for
non-text content).
comments:
- 'jsonschema_rule: oneOf validator_hint: enforce-mime-part-body-or-body-raw-ref-exclusive
jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/observables/email-message.json#/definitions/mime-part-type'
in_subset:
- common
from_schema: https://w3id.org/lmodel/attack
is_a: CommonSchemaComponent
slots:
- body
- body_raw_ref
- content_type
- content_disposition
Induced
name: MimePartType
description: Specifies a component of a multi-part email body as defined in the email-message
observable.
notes:
- JSON Schema requires exactly one of body (for text/* content) or body_raw_ref (for
non-text content).
comments:
- 'jsonschema_rule: oneOf validator_hint: enforce-mime-part-body-or-body-raw-ref-exclusive
jsonschema_source: https://github.com/oasis-open/cti-stix2-json-schemas/tree/master/schemas/observables/email-message.json#/definitions/mime-part-type'
in_subset:
- common
from_schema: https://w3id.org/lmodel/attack
is_a: CommonSchemaComponent
attributes:
body:
name: body
description: Specifies a string containing the email body. This field MAY only
be used if is_multipart is false.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: body
owner: MimePartType
domain_of:
- EmailMessage
- MimePartType
range: string
body_raw_ref:
name: body_raw_ref
description: Reference to an Artifact or File object for non-textual MIME part
content.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: body_raw_ref
owner: MimePartType
domain_of:
- MimePartType
range: stix_identifier
content_type:
name: content_type
description: Specifies the value of the 'Content-Type' header of the email message.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: content_type
owner: MimePartType
domain_of:
- EmailMessage
- MimePartType
range: string
content_disposition:
name: content_disposition
description: Value of the Content-Disposition header field of the MIME part.
from_schema: https://w3id.org/lmodel/attack
rank: 1000
alias: content_disposition
owner: MimePartType
domain_of:
- MimePartType
range: string
id:
name: id
description: STIX object identifier.
from_schema: https://w3id.org/lmodel/attack
related_mappings:
- unified_cyber_ontology:externalReference
rank: 1000
alias: id
owner: MimePartType
domain_of:
- StixEntity
- Bundle
- Core
- CyberObservableCore
- ExtensionDefinition
- LanguageContent
- MarkingDefinition
- File
range: stix_identifier
type:
name: type
description: STIX object type.
from_schema: https://w3id.org/lmodel/attack
related_mappings:
- unified_cyber_ontology:state
rank: 1000
alias: type
owner: MimePartType
domain_of:
- StixEntity
- Bundle
- Core
- CyberObservableCore
- ExtensionDefinition
- LanguageContent
- MarkingDefinition
- File
range: stix_type_name
name:
name: name
description: Human-readable name.
from_schema: https://w3id.org/lmodel/attack
exact_mappings:
- unified_cyber_ontology:name
rank: 1000
alias: name
owner: MimePartType
domain_of:
- RelatedAsset
- StixEntity
- ExtensionDefinition
- MarkingDefinition
- AutonomousSystem
- File
range: string
description:
name: description
description: Human-readable description.
from_schema: https://w3id.org/lmodel/attack
close_mappings:
- unified_cyber_ontology:description
rank: 1000
alias: description
owner: MimePartType
domain_of:
- RelatedAsset
- MutableElement
- StixEntity
- ExtensionDefinition
- ExternalReference
range: string