Class VulnDbUpdateOptions
- Namespace
- Kuestenlogik.Bowire.Security.Scanner
- Assembly
- Kuestenlogik.Bowire.Security.Scanner.dll
Options for bowire vulndb update.
public sealed record VulnDbUpdateOptions : IEquatable<VulnDbUpdateOptions>
- Inheritance
-
VulnDbUpdateOptions
- Implements
- Inherited Members
Constructors
VulnDbUpdateOptions()
public VulnDbUpdateOptions()
Properties
Dest
Cache root to write into; unset → ~/.bowire/vulndb.
public string? Dest { get; init; }
Property Value
Ref
Release tag to pin when resolving from GitHub (e.g. v0.1.0);
unset → the latest release. Ignored for directory / file / URL sources.
public string? Ref { get; init; }
Property Value
Source
Where to pull the templates from. Four accepted shapes:
- unset → the latest
Kuestenlogik/Bowire.VulnDbGitHub release (or the Ref tag) — the only shape that makes an outbound call; - a local directory (a repo checkout / air-gapped mirror) — copied verbatim;
- a local
.tar.gzfile (a downloaded release tarball) — extracted; - an
http(s)URL to a.tar.gz— downloaded + extracted.
public string? Source { get; init; }
Property Value
Methods
Equals(VulnDbUpdateOptions?)
public bool Equals(VulnDbUpdateOptions? other)
Parameters
otherVulnDbUpdateOptions
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 ==(VulnDbUpdateOptions?, VulnDbUpdateOptions?)
public static bool operator ==(VulnDbUpdateOptions? left, VulnDbUpdateOptions? right)
Parameters
leftVulnDbUpdateOptionsrightVulnDbUpdateOptions
Returns
operator !=(VulnDbUpdateOptions?, VulnDbUpdateOptions?)
public static bool operator !=(VulnDbUpdateOptions? left, VulnDbUpdateOptions? right)
Parameters
leftVulnDbUpdateOptionsrightVulnDbUpdateOptions