scannerlib

package
v1.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package scannerlib provides an interface for running compliance and config security checks on a machine.

Index

Constants

View Source
const ScannerVersion = "1.1.7"

ScannerVersion is the current version of the scanner that's displayed in the scan results.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct{}

Scanner is the main entry point of the scanner.

func (Scanner) Scan

func (Scanner) Scan(ctx context.Context, config *apb.ScanConfig, api scanapi.ScanAPI) (*apb.ScanResults, error)

Scan executes the scan for benchmark compliance using the provided scan config and API for accessing the scanned machine.

Directories

Path Synopsis
Package configchecks provides the implementation of the various checks the scanner can perform behind a single general interface.
Package configchecks provides the implementation of the various checks the scanner can perform behind a single general interface.
Package fileset provides a utility for resolving the file paths defined by a FileSet proto.
Package fileset provides a utility for resolving the file paths defined by a FileSet proto.
Package repeatconfig provides a utility for applying the RepeatConfig proto to config checks.
Package repeatconfig provides a utility for applying the RepeatConfig proto to config checks.
Package testconfigcreator provides util functions for creating benchmark configs for testing.
Package testconfigcreator provides util functions for creating benchmark configs for testing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL