problematicca

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProblematicCAPlugin

func NewProblematicCAPlugin() (plugins.Plugin, error)

NewProblematicCAPlugin Creates a new instance of the Problematic CA Detection Plugin

Types

type Plugin

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

Plugin to detect certificates from problematic CAs

func (*Plugin) GetExplanation

func (*Plugin) GetExplanation() string

func (*Plugin) GetName

func (*Plugin) GetName() string

GetName Get the name of the plugin

func (*Plugin) GetType

func (*Plugin) GetType() plugins.PluginType

GetType Get the type of the plugin

func (*Plugin) UpdateBOM

func (plugin *Plugin) UpdateBOM(fs filesystem.Filesystem, bom *cdx.BOM) error

UpdateBOM Checks certificate components against problematic CA database

type ProblematicCA

type ProblematicCA struct {
	Name        string   // Common name or organization name
	Identifiers []string // List of possible DN patterns to match
	Status      string   // "compromised", "distrusted", "deprecated", "warning"
	Severity    string   // "critical", "high", "medium", "low"
	IssueDate   string   // When the CA was flagged
	Reason      string   // Brief description of the issue
}

ProblematicCA represents a CA with known security issues or malpractice

Jump to

Keyboard shortcuts

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