Skip to content

Commit

Permalink
Added data_components attribute to DataSource pydantic object
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyb3rWard0g committed Apr 9, 2024
1 parent 5892348 commit e5efcbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions attackcti/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class DataSource(STIXCore):
software_platform: Optional[List[str]] = Field(None, alias='x_mitre_platforms')
collection_layers: Optional[List[str]] = Field(None, alias='x_mitre_collection_layers')
contributors: Optional[List[str]] = Field(None, alias='x_mitre_contributors')
data_components: Optional[List[DataComponent]] = None

class Campaign(STIXCore):
campaign: str = Field(..., alias='name')
Expand Down

0 comments on commit e5efcbb

Please sign in to comment.