Complete API surface of the Beep.Skia.Security assembly: 29 public types with their documented members. Follow the family guide for usage patterns.
Types in this assembly
| Member | Kind | Description |
string AssetName | Property | Gets or sets the asset name. |
AssetCategory Category | Property | Gets or sets the category. |
Criticality Criticality | Property | Gets or sets the criticality. |
AssetNode() | Method | Initializes a new instance of the AssetNode class. |
| Member | Kind | Description |
string ControlName | Property | Gets or sets the control name. |
ControlType ControlType | Property | Gets or sets the control type. |
ControlStatus Status | Property | Gets or sets the status. |
ControlNode() | Method | Initializes a new instance of the ControlNode class. |
Computes DREAD scores from threat severity and likelihood.
| Member | Kind | Description |
static DreadScore Calculate(ThreatNode threat) | Method | Computes a DREAD score for a threat node. |
static DreadScore Calculate(Severity severity, Likelihood likelihood) | Method | Computes a DREAD score from severity and likelihood ratings. |
static DreadScore Calculate(string severity, string likelihood) | Method | Computes a DREAD score from text values (e.g., STRIDE analyzer output). Unknown values fall back to Medium/Possible. |
static string RiskLevel(double average) | Method | Maps an average DREAD rating to a risk level. |
DREAD risk score (Damage, Reproducibility, Exploitability, Affected users, Discoverability).
| Member | Kind | Description |
DreadRating Damage | Property | Gets or sets the damage. |
DreadRating Reproducibility | Property | Gets or sets the reproducibility. |
DreadRating Exploitability | Property | Gets or sets the exploitability. |
DreadRating AffectedUsers | Property | Gets or sets the affected users. |
DreadRating Discoverability | Property | Gets or sets the discoverability. |
double Average | Property | Average rating (1.0 - 3.0). |
string RiskLevel | Property | Risk level derived from the average (Low / Medium / High). |
override string ToString() | Method | Gets or sets the to string. |
| Member | Kind | Description |
string Title | Property | Gets or sets the title. |
FindingType Type | Property | Gets or sets the type. |
Confidence Confidence | Property | Gets or sets the confidence. |
FindingNode() | Method | Initializes a new instance of the FindingNode class. |
| Member | Kind | Description |
string IncidentId | Property | Gets or sets the incident id. |
IncidentStatus Status | Property | Gets or sets the status. |
DateTime DetectedOn | Property | Gets or sets the detected on. |
Confidence Confidence | Property | Gets or sets the confidence. |
IncidentNode() | Method | Initializes a new instance of the IncidentNode class. |
| Member | Kind | Description |
float Thickness | Property | Gets or sets the thickness. |
SKColor Color | Property | Gets or sets the color. |
LinkStyle Style | Property | Gets or sets the style. |
MitigationLink() | Method | Initializes a new instance of the MitigationLink class. |
A compact MITRE ATT&CK technique library with STRIDE category mapping, used to enrich threat models with adversary techniques.
| Member | Kind | Description |
static IReadOnlyList<MitreTechnique> Techniques | Property | All techniques in the library. |
static IEnumerable<string> Tactics | Property | Distinct tactic names present in the library. |
static IReadOnlyList<MitreTechnique> ForStrideCategory(StrideAnalyzer.StrideCategory category) | Method | Gets techniques relevant to a STRIDE category. |
static MitreTechnique? Find(string id) | Method | Finds a technique by id (case-insensitive), e.g., "T1078". |
A MITRE ATT&CK technique entry.
| Member | Kind | Description |
string Id | Property | Gets or sets the id. |
string Name | Property | Gets or sets the name. |
string Tactic | Property | Gets or sets the tactic. |
override string ToString() | Method | Gets or sets the to string. |
| Member | Kind | Description |
string PolicyName | Property | Gets or sets the policy name. |
string Version | Property | Gets or sets the version. |
PolicyStatus Status | Property | Gets or sets the status. |
PolicyNode() | Method | Initializes a new instance of the PolicyNode class. |
| Member | Kind | Description |
string AssessmentName | Property | Gets or sets the assessment name. |
double RiskScore | Property | Gets or sets the risk score. |
DateTime AssessedOn | Property | Gets or sets the assessed on. |
RiskAssessmentNode() | Method | Initializes a new instance of the RiskAssessmentNode class. |
| Member | Kind | Description |
SKColor BackgroundColor | Property | Gets or sets the background color. |
SKColor BorderColor | Property | Gets or sets the border color. |
float BorderThickness | Property | Gets or sets the border thickness. |
int InPortCount | Property | Gets or sets the in port count. |
int OutPortCount | Property | Gets or sets the out port count. |
Analyzes a security diagram using the STRIDE threat modeling methodology. Auto-generates threat nodes per asset based on STRIDE categories.
| Member | Kind | Description |
List<ThreatResult> Threats | Property | Gets or sets the threats. |
void Analyze(IReadOnlyList<SkiaComponent> components) | Method | Runs STRIDE analysis on the given components. |
static int CalculateDreadScore(int damage, int reproducibility, int exploitability, int affectedUsers, int discoverability) | Method | Calculates a DREAD risk score (0-15) for a given threat. |
| Member | Kind | Description |
string ThreatName | Property | Gets or sets the threat name. |
Severity Severity | Property | Gets or sets the severity. |
Likelihood Likelihood | Property | Gets or sets the likelihood. |
ThreatNode() | Method | Initializes a new instance of the ThreatNode class. |
| Member | Kind | Description |
string VulnId | Property | Gets or sets the vuln id. |
Severity Severity | Property | Gets or sets the severity. |
double Cvss | Property | Gets or sets the cvss. |
string AffectedAsset | Property | Gets or sets the affected asset. |
VulnerabilityNode() | Method | Initializes a new instance of the VulnerabilityNode class. |