Code Security
Schema-driven detector documentation.
CODE_SECURITYactiveP32 params1 examples
Detector Metadata
Capability catalog entry from
all_detectors.json.Categories
SECURITYTHREAT
Supported Asset Types
TXTTABLEOTHER
Recommended Model
banditNotes
Identifies vulnerabilities or insecure patterns in source code (e.g., hardcoded secrets).
Parameters
Configuration parameters for the Code Security detector. Shared from `GenericDetectorConfig`.
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
| confidence_threshold | number | No | Minimum confidence score to report a finding (0-1) | 0.7 | min 0, max 1 |
| max_findings | integer | null | No | Maximum number of findings to return per asset | null | — |