API Security Scanner Configuration
API Security Scanner Configuration
Configuration File Layout
# Framework autodiscovery — lightweight pre-pass that probes the project's
# dependency manifests to load only the relevant detectors.
autodiscovery:
enabled: true
confidence_threshold: 0.5 # minimum probe confidence to accept a framework
# Frameworks allowlist / denylist. When `enabled` is non-empty, autodiscovery
# is skipped. `disabled` always applies after autodiscovery.
frameworks:
enabled: [] # e.g. ['spring-mvc', 'openapi']
disabled: [] # e.g. ['flask']
# Per-detector configuration. Every detector in the catalog can be disabled
# (`enabled: no`), have its severity overridden, or accept detector-specific
# properties (see the per-detector pages).
detectors:
unauthenticated_endpoint:
enabled: yes
severity: high
properties:
# Glob patterns added on top of the built-in public-path allowlist.
publicPaths:
- "/v2/public/**"
- "/api/marketing/**"
excessive_data_exposure_java:
enabled: yes
properties:
# Minimum confidence tier that fires. Default 'high'. Set to 'medium'
# to include 'sensitive AND referenced in request' findings.
minConfidence: high
rate_limit_absence:
enabled: yes
severity: low
broken_object_level_authorization:
enabled: yes
properties:
idParameterPatterns:
- id
- "*Id"
- "*_id"
- uuid
# Sensitivity classification overrides. Used to disable false-positive tags
# on a per-project basis (e.g., a newsletter app where `email` is intentionally
# public).
sensitivityClassifier:
ignore:
# Field-level overrides — exact match on FQN (DTO + field name)
- com.acme.user.NewsletterSubscriber#email
# Path patterns
- "**/PublicProfile.*"
# Correlation rules — compose individual flaws into composite findings.
correlation:
enabled: yes
rules: [] # see correlation.rules belowFramework Autodiscovery
Recognised Framework IDs
Language
Framework IDs
Per-Detector Configuration
Detector
Property
Effect
Sensitivity Classification
Correlation Rules
Example — Full Project Configuration
Last updated

