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

Target string

The scan's target URL.

Properties

AuthHeaders

The scan's --auth-header values, as Key: Value.

public IReadOnlyList<string> AuthHeaders { get; init; }

Property Value

IReadOnlyList<string>

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

IReadOnlyDictionary<string, string>

Target

The scan's target URL.

public string Target { get; init; }

Property Value

string

Methods

Deconstruct(out string)

public void Deconstruct(out string Target)

Parameters

Target string

Equals(BowireSecurityCheckContext?)

public bool Equals(BowireSecurityCheckContext? other)

Parameters

other BowireSecurityCheckContext

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowireSecurityCheckContext?, BowireSecurityCheckContext?)

public static bool operator ==(BowireSecurityCheckContext? left, BowireSecurityCheckContext? right)

Parameters

left BowireSecurityCheckContext
right BowireSecurityCheckContext

Returns

bool

operator !=(BowireSecurityCheckContext?, BowireSecurityCheckContext?)

public static bool operator !=(BowireSecurityCheckContext? left, BowireSecurityCheckContext? right)

Parameters

left BowireSecurityCheckContext
right BowireSecurityCheckContext

Returns

bool