Skip to content
AttestLayerAttestLayer

Adapter Profiles

Per-partner tuning that raises PASS rates without weakening the engine.

What adapters do

Adapter profiles let partners configure classification boosts specific to their naming conventions, folder structures, and file formats. Adapters add positive signal — they never lower confidence thresholds or bypass required groups.

Non-negotiables

  • Confidence threshold (0.90) cannot be lowered
  • Required artifact groups cannot be bypassed
  • Screenshots/images never satisfy required classes
  • No force_pass or lower_threshold rules (server-side validation rejects these)

Rule types

RuleDescriptionExample
token_boostsBoost when filename contains a token{"acme-soc2": {"bucket": "reports", "boost": 0.10}}
folder_boostsBoost when parent folder matches{"compliance-export": {"bucket": "evidence", "boost": 0.10}}
csv_header_mappingsBoost for CSV files with specific headers{"control_id,control_name": {"bucket": "controls", "boost": 0.15}}
json_key_mappingsBoost for JSON files with specific keys{"findings,severity": {"bucket": "security", "boost": 0.15}}
pdf_title_keywordsBoost for PDFs with title keywords{"penetration test": {"bucket": "security", "boost": 0.10}}
disambiguationDisambiguation preferences{"prefer_year_suffix": true, "prefer_type_ii": true}

How it works

  1. Base classification runs with standard rules (10-bucket, deterministic)
  2. If the partner has an enabled adapter, boosts are applied after base scoring
  3. Images are skipped entirely (never boosted)
  4. Candidates are re-ranked; ambiguity may be resolved
  5. Validation runs against the boosted scores (same threshold, same required groups)

Example: FAIL → PASS with adapter

A partner names their SOC 2 report acme-annual-review-2025.pdf. Without adapter, the classifier scores it at 0.78 for reports (below 0.90 threshold). With an adapter boost of {"acme-annual": {"bucket": "reports", "boost": 0.15}}, the score reaches 0.93 — satisfying the reports_or_security group and lifting the kit to PASS.

API endpoints

MethodPathDescription
GET/v1/adaptersList adapter profiles
POST/v1/adaptersCreate/update adapter
POST/v1/adapters/{id}/enableEnable adapter
POST/v1/adapters/{id}/disableDisable adapter
← Back to docs