Skip to Content
Unified docs shell with shared Classifyre tokens and acid-green highlight accents.
DetectorsCode Security

Code Security

Schema-driven detector documentation.

CODE_SECURITYactiveP34 params1 examples
Detector Metadata
Capability catalog entry from all_detectors.json.

Categories

SECURITYTHREAT

Supported Asset Types

TXTTABLEOTHER

Recommended Model

bandit
Parameters
Configuration parameters for the Code Security detector. Shared from `GenericDetectorConfig`.
ParameterTypeRequiredDescriptionDefaultConstraints
enabled_patternsarray | nullNoList of enabled pattern namesnull
severity_thresholdenum | nullNoMinimum severity to reportnull
confidence_thresholdnumberNoMinimum confidence to report (0-1)0.7min 0, max 1
max_findingsinteger | nullNoMaximum number of findings to returnnull