sans

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package sans provides a compliance plugin for SANS security controls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin implements the CompliancePlugin interface for SANS compliance.

func NewPlugin

func NewPlugin() *Plugin

NewPlugin creates a new SANS compliance plugin.

func (*Plugin) Description

func (sp *Plugin) Description() string

Description returns the plugin description.

func (*Plugin) GetControlByID

func (sp *Plugin) GetControlByID(id string) (*plugin.Control, error)

GetControlByID returns a specific control by ID.

func (*Plugin) GetControls

func (sp *Plugin) GetControls() []plugin.Control

GetControls returns all SANS controls.

func (*Plugin) Name

func (sp *Plugin) Name() string

Name returns the plugin name.

func (*Plugin) RunChecks

func (sp *Plugin) RunChecks(config *model.OpnSenseDocument) []plugin.Finding

RunChecks performs SANS compliance checks.

func (*Plugin) ValidateConfiguration

func (sp *Plugin) ValidateConfiguration() error

ValidateConfiguration validates the plugin configuration.

func (*Plugin) Version

func (sp *Plugin) Version() string

Version returns the plugin version.

Jump to

Keyboard shortcuts

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