Class VulnDbIndex

Namespace
Kuestenlogik.Bowire.Security.Scanner
Assembly
Kuestenlogik.Bowire.Security.Scanner.dll

The templates-index.json document shape (schema 1).

public sealed record VulnDbIndex : IEquatable<VulnDbIndex>
Inheritance
VulnDbIndex
Implements
Inherited Members

Constructors

VulnDbIndex()

public VulnDbIndex()

Properties

Count

[JsonPropertyName("count")]
public int Count { get; init; }

Property Value

int

GeneratedAt

[JsonPropertyName("generatedAt")]
public long GeneratedAt { get; init; }

Property Value

long

Schema

[JsonPropertyName("schema")]
public int Schema { get; init; }

Property Value

int

Templates

[JsonPropertyName("templates")]
public IReadOnlyList<VulnDbIndexEntry> Templates { get; init; }

Property Value

IReadOnlyList<VulnDbIndexEntry>

Methods

Equals(VulnDbIndex?)

public bool Equals(VulnDbIndex? other)

Parameters

other VulnDbIndex

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 ==(VulnDbIndex?, VulnDbIndex?)

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

Parameters

left VulnDbIndex
right VulnDbIndex

Returns

bool

operator !=(VulnDbIndex?, VulnDbIndex?)

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

Parameters

left VulnDbIndex
right VulnDbIndex

Returns

bool