javasecurity

package
v0.0.0-...-2d4f0a5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const LINE_SEPARATOR = "/"
View Source
const SECURITY_CMD_ARGUMENT = "-Djava.security.properties="

Variables

This section is empty.

Functions

func NewJavaSecurityPlugin

func NewJavaSecurityPlugin() (plugins.Plugin, error)

Creates underlying data structure for evaluation

Types

type JavaSecurity

type JavaSecurity struct {
	*properties.Properties
	// contains filtered or unexported fields
}

JavaSecurity represents the java.security file(s) found on the system

type JavaSecurityAlgorithmRestriction

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

Represents a single restriction on algorithms by the java.security file

type JavaSecurityPlugin

type JavaSecurityPlugin struct{}

Represents the java security plugin in a specific scanning context Implements the config/ConfigPlugin interface

func (JavaSecurityPlugin) GetExplanation

func (JavaSecurityPlugin) GetExplanation() string

func (JavaSecurityPlugin) GetName

func (JavaSecurityPlugin) GetName() string

Get the name of the plugin for debugging purposes

func (JavaSecurityPlugin) GetType

Get the type of the plugin

func (*JavaSecurityPlugin) UpdateBOM

func (javaSecurityPlugin *JavaSecurityPlugin) UpdateBOM(fs filesystem.Filesystem, bom *cdx.BOM) error

High-level function to update a list of components (e.g. remove components and add new ones) based on the underlying filesystem

Jump to

Keyboard shortcuts

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