Skip to content

Commit e5efcbb

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

attackcti/models.py

+1
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)