tmnpy.dsl.requirement.STRIDE
- class tmnpy.dsl.requirement.STRIDE(spoofing: bool = False, tampering: bool = False, repudiation: bool = False, information_disclosure: bool = False, denial_of_service: bool = False, elevation_of_privilege: bool = False)
A STRIDE object is assigned to a threat, whereby the user determines, which aspects of STRIDE apply to this particular threat.
STRIDE has a 1-1 match with SecurityProperty. See each property for more information.
- Parameters:
- spoofingbool, default False
If Spoofing applies
- tamperingbool, default False
If Tampering applies
- repudiationbool, default False
If Repudiation applies
- information_disclosurebool, default False
If Information Disclosure applies
- denial_of_servicebool, default False
If Denial of Service applies
- elevation_of_privilegebool, default False
If Elevation of Privilege applies
- Attributes:
denial_of_service
Denial of Service threat.
elevation_of_privilege
Elevation of Privilege threat.
- info
information_disclosure
Information Disclosure threat.
repudiation
Repudiation threat.
spoofing
Spoofing requirement.
tampering
Tampering threat.
- __init__(spoofing: bool = False, tampering: bool = False, repudiation: bool = False, information_disclosure: bool = False, denial_of_service: bool = False, elevation_of_privilege: bool = False) None
Methods
__init__
([spoofing, tampering, repudiation, ...])Attributes
Denial of Service threat.
Elevation of Privilege threat.
info
Information Disclosure threat.
Repudiation threat.
Spoofing requirement.
Tampering threat.