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 ¶
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 ¶
func (JavaSecurityPlugin) GetType() plugins.PluginType
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
Click to show internal directories.
Click to hide internal directories.