Class SchemaMutation
- Namespace
- Kuestenlogik.Bowire.Security
- Assembly
- Kuestenlogik.Bowire.dll
One targeted invalid input the engine produced for a field.
public sealed record SchemaMutation : IEquatable<SchemaMutation>
- Inheritance
-
SchemaMutation
- Implements
- Inherited Members
Constructors
SchemaMutation(string, string, string)
One targeted invalid input the engine produced for a field.
public SchemaMutation(string Label, string ValueJson, string Expectation)
Parameters
LabelstringShort human-readable name of the attack (e.g.
int32 overflow).ValueJsonstringThe raw JSON token to inject in place of the field's value — may be deliberately invalid JSON (e.g.
NaN) to probe the parser.ExpectationstringWhat a correctly-validating server should do (used as the per-mutation report's expected-behaviour column).
Properties
Expectation
What a correctly-validating server should do (used as the per-mutation report's expected-behaviour column).
public string Expectation { get; init; }
Property Value
Label
Short human-readable name of the attack (e.g. int32 overflow).
public string Label { get; init; }
Property Value
ValueJson
The raw JSON token to inject in place of the field's value — may be deliberately invalid JSON (e.g. NaN) to probe the parser.
public string ValueJson { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string)
public void Deconstruct(out string Label, out string ValueJson, out string Expectation)
Parameters
Equals(SchemaMutation?)
public bool Equals(SchemaMutation? other)
Parameters
otherSchemaMutation
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 ==(SchemaMutation?, SchemaMutation?)
public static bool operator ==(SchemaMutation? left, SchemaMutation? right)
Parameters
leftSchemaMutationrightSchemaMutation
Returns
operator !=(SchemaMutation?, SchemaMutation?)
public static bool operator !=(SchemaMutation? left, SchemaMutation? right)
Parameters
leftSchemaMutationrightSchemaMutation