MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / SecurityStandard

Class SecurityStandard

modules/compliance/standards.py:29–41  ·  view source on GitHub ↗

A security compliance standard/framework.

Source from the content-addressed store, hash-verified

27@dataclass
28class SecurityStandard:
29 """A security compliance standard/framework."""
30 id: str
31 name: str
32 version: str
33 description: str
34 controls: list[ControlCheck] = field(default_factory=list)
35
36 def get_control(self, control_id: str) -> ControlCheck | None:
37 for control in self.controls:
38 if control.id == control_id:
39 return control
40 return None
41
42
43# OWASP Top 10 (2021)
44OWASP_TOP_10 = SecurityStandard(

Callers 1

standards.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected