UpdateThreatOutput
¶
Source code in docs_src/capo_securityagent/types/update_threat_output.py
anchor
instance-attribute
¶
anchor: NotRequired[ThreatAnchorShape]
The DFD element this threat is anchored to.
created_at
instance-attribute
¶
created_at: NotRequired[datetime]
The date and time the threat was created, in UTC format.
evidence
instance-attribute
¶
evidence: NotRequired[ThreatEvidenceList]
The source code files supporting the threat.
impacted_assets
instance-attribute
¶
impacted_assets: NotRequired[StringList]
The specific assets affected by the threat.
impacted_goal
instance-attribute
¶
impacted_goal: NotRequired[StringList]
The security goals affected by the threat.
prerequisites
instance-attribute
¶
prerequisites: NotRequired[str]
The conditions required for the threat to be exploitable.
recommendation
instance-attribute
¶
recommendation: NotRequired[str]
The recommended mitigation guidance for this threat.
severity
instance-attribute
¶
severity: NotRequired[ThreatSeverity]
The severity level of the threat.
stride
instance-attribute
¶
stride: NotRequired[StrideCategoryList]
The STRIDE categories applicable to this threat.
threat_impact
instance-attribute
¶
threat_impact: NotRequired[str]
The direct consequence of the threat action.
threat_job_id
instance-attribute
¶
threat_job_id: str
The unique identifier of the threat model job the threat belongs to.
threat_source
instance-attribute
¶
threat_source: NotRequired[str]
The actor or origin of the threat.