Class BowireSecurityCheckContext
- Namespace
- Kuestenlogik.Bowire.Security
- Assembly
- Kuestenlogik.Bowire.dll
What a scan hands a plugin's security checks.
public sealed record BowireSecurityCheckContext : IEquatable<BowireSecurityCheckContext>
- Inheritance
-
BowireSecurityCheckContext
- Implements
- Inherited Members
Constructors
BowireSecurityCheckContext(string)
What a scan hands a plugin's security checks.
public BowireSecurityCheckContext(string Target)
Parameters
TargetstringThe scan's target URL.
Properties
AuthHeaders
The scan's --auth-header values, as Key: Value.
public IReadOnlyList<string> AuthHeaders { get; init; }
Property Value
Metadata
Plugin configuration for this scan (--schema and the like), as the plugin's metadata bag carries it.
public IReadOnlyDictionary<string, string>? Metadata { get; init; }
Property Value
Target
The scan's target URL.
public string Target { get; init; }
Property Value
Methods
Deconstruct(out string)
public void Deconstruct(out string Target)
Parameters
Targetstring
Equals(BowireSecurityCheckContext?)
public bool Equals(BowireSecurityCheckContext? other)
Parameters
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 ==(BowireSecurityCheckContext?, BowireSecurityCheckContext?)
public static bool operator ==(BowireSecurityCheckContext? left, BowireSecurityCheckContext? right)
Parameters
Returns
operator !=(BowireSecurityCheckContext?, BowireSecurityCheckContext?)
public static bool operator !=(BowireSecurityCheckContext? left, BowireSecurityCheckContext? right)