Skip to content

Commit e5efcbb

Browse files
committed
Added data_components attribute to DataSource pydantic object
1 parent 5892348 commit e5efcbb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attackcti/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ class DataSource(STIXCore):
157157
software_platform: Optional[List[str]] = Field(None, alias='x_mitre_platforms')
158158
collection_layers: Optional[List[str]] = Field(None, alias='x_mitre_collection_layers')
159159
contributors: Optional[List[str]] = Field(None, alias='x_mitre_contributors')
160+
data_components: Optional[List[DataComponent]] = None
160161

161162
class Campaign(STIXCore):
162163
campaign: str = Field(..., alias='name')

0 commit comments

Comments
 (0)