package
1.1.35
Repository: https://github.com/adevinta/vulcan-scan-engine.git
Documentation: pkg.go.dev

# Functions

ErrAbortFailed creates a new ErrorAbortFailed with the given status code returned by vulcan-core.
ErrNotFound returns a pretty error.
ErrUpdateFailed returns a pretty error.
ErrValidationError returns a pretty error.
New Creates and returns ScansService with all the dependencies wired in.

# Constants

ScanStatusFinished status when a Scan has all the checks in a terminal status.
ScanStatusRunning status when a Scan is created.

# Variables

ErrAtLeastOneTargetAndChecktype must have al least one checktype and one target.
ErrNotDefinedCheckState a check update with an unkown state has been received.
ErrNotImplemented ...
ErrNotTargetGroupsDefined a scan must have at least one targetgroup defined.

# Structs

HealthcheckService provides functionality to check the health of the service.
ScansService implements the functionality needed to create and query scans.

# Interfaces

ChecksCreator abstracts the actual implementation for the checks creation process.
ChecktypesInformer represents an informer for the mapping between checktypes and supported asset types.

# Type aliases

ChecktypesByAssettypes is used as a lookup table to check if a checktype can be run against a concrete assettype.