Class OwaspApiEntry
- Namespace
- Kuestenlogik.Bowire.Security.Scanner
- Assembly
- Kuestenlogik.Bowire.Security.Scanner.dll
One entry in the OWASP API Security Top 10 (2023) taxonomy.
public sealed record OwaspApiEntry : IEquatable<OwaspApiEntry>
- Inheritance
-
OwaspApiEntry
- Implements
- Inherited Members
Constructors
OwaspApiEntry(string, string, string, string)
One entry in the OWASP API Security Top 10 (2023) taxonomy.
public OwaspApiEntry(string Id, string Tag, string Title, string Reference)
Parameters
IdstringCanonical id, e.g.
API8:2023.TagstringRepresentative finding tag for this entry, e.g.
API8-2023-SECMISCONF— the shape carried by OwaspApi. Roll-up matches on the numericAPIn-2023-prefix, so any tag sharing that prefix maps to this entry regardless of its short suffix.TitlestringHuman-readable entry title.
ReferencestringCanonical OWASP reference URL.
Properties
Id
Canonical id, e.g. API8:2023.
public string Id { get; init; }
Property Value
Prefix
The APIn-2023- prefix a finding tag must start with to roll
up to this entry. The trailing dash disambiguates API1 from
API10 (API10-2023-… does not start with API1-2023-).
public string Prefix { get; }
Property Value
Reference
Canonical OWASP reference URL.
public string Reference { get; init; }
Property Value
Tag
Representative finding tag for this entry, e.g.
API8-2023-SECMISCONF — the shape carried by
OwaspApi.
Roll-up matches on the numeric APIn-2023- prefix, so any tag
sharing that prefix maps to this entry regardless of its short suffix.
public string Tag { get; init; }
Property Value
Title
Human-readable entry title.
public string Title { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string, out string)
public void Deconstruct(out string Id, out string Tag, out string Title, out string Reference)
Parameters
Equals(OwaspApiEntry?)
public bool Equals(OwaspApiEntry? other)
Parameters
otherOwaspApiEntry
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(OwaspApiEntry?, OwaspApiEntry?)
public static bool operator ==(OwaspApiEntry? left, OwaspApiEntry? right)
Parameters
leftOwaspApiEntryrightOwaspApiEntry
Returns
operator !=(OwaspApiEntry?, OwaspApiEntry?)
public static bool operator !=(OwaspApiEntry? left, OwaspApiEntry? right)
Parameters
leftOwaspApiEntryrightOwaspApiEntry