Documentation
¶
Overview ¶
Package azure provides Azure secret detectors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntraDetector ¶
type EntraDetector struct{}
EntraDetector detects Azure Entra ID (AAD) Client Secrets.
func (*EntraDetector) Description ¶
func (d *EntraDetector) Description() string
Description returns a human-readable description of the Azure Entra ID detector.
func (*EntraDetector) ID ¶
func (d *EntraDetector) ID() string
ID returns the unique identifier of the Azure Entra ID detector.
func (*EntraDetector) Keywords ¶
func (d *EntraDetector) Keywords() []string
Keywords returns the Aho-Corasick pre-filter keywords for Azure Entra ID detection.
func (*EntraDetector) Scan ¶
func (d *EntraDetector) Scan(_ context.Context, data []byte) []detector.RawFinding
Scan searches the data for Azure Entra ID Client Secret patterns. The secret value is extracted from the first submatch group.
func (*EntraDetector) Severity ¶
func (d *EntraDetector) Severity() finding.Severity
Severity returns the default severity level for Azure Entra ID findings.
type StorageDetector ¶
type StorageDetector struct{}
StorageDetector detects Azure Storage Connection Strings.
func (*StorageDetector) Description ¶
func (d *StorageDetector) Description() string
Description returns a human-readable description of the Azure Storage detector.
func (*StorageDetector) ID ¶
func (d *StorageDetector) ID() string
ID returns the unique identifier of the Azure Storage detector.
func (*StorageDetector) Keywords ¶
func (d *StorageDetector) Keywords() []string
Keywords returns the Aho-Corasick pre-filter keywords for Azure Storage detection.
func (*StorageDetector) Scan ¶
func (d *StorageDetector) Scan(_ context.Context, data []byte) []detector.RawFinding
Scan searches the data for Azure Storage Connection String patterns.
func (*StorageDetector) Severity ¶
func (d *StorageDetector) Severity() finding.Severity
Severity returns the default severity level for Azure Storage findings.