Implements the 074 verification checklist framework. Highlights: - Versioned verification report contract stored in operation_runs.context.verification_report (DB-only viewer). - Strict sanitizer/redaction (evidence pointers only; no tokens/headers/payloads) + schema validation. - Centralized BADGE-001 semantics for check status, severity, and overall report outcome. - Deterministic start (dedupe while active) via shared StartVerification service; capability-first authorization (non-member 404, member missing capability 403). - Completion audit event (verification.completed) with redacted metadata. - Integrations: OperationRun detail viewer, onboarding wizard verification step, provider connection start surfaces. Tests: - vendor/bin/sail artisan test --compact tests/Feature/Verification tests/Unit/Badges/VerificationBadgesTest.php - vendor/bin/sail bin pint --dirty Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box> Reviewed-on: #89
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"schema_version": "1.0.0",
|
|
"flow": "provider.connection.check",
|
|
"generated_at": "2026-02-03T22:00:00Z",
|
|
"identity": {
|
|
"provider_connection_id": 123
|
|
},
|
|
"summary": {
|
|
"overall": "blocked",
|
|
"counts": {
|
|
"total": 2,
|
|
"pass": 1,
|
|
"fail": 1,
|
|
"warn": 0,
|
|
"skip": 0,
|
|
"running": 0
|
|
}
|
|
},
|
|
"checks": [
|
|
{
|
|
"key": "provider_connection.token_acquisition",
|
|
"title": "Token acquisition works",
|
|
"status": "fail",
|
|
"severity": "high",
|
|
"blocking": true,
|
|
"reason_code": "authentication_failed",
|
|
"message": "The app cannot acquire a token with the configured credentials.",
|
|
"evidence": [
|
|
{ "kind": "provider_connection_id", "value": 123 }
|
|
],
|
|
"next_steps": [
|
|
{ "label": "Review connection credentials", "url": "/admin/provider-connections/123/edit" }
|
|
]
|
|
},
|
|
{
|
|
"key": "provider_connection.permissions",
|
|
"title": "Required permissions are granted",
|
|
"status": "pass",
|
|
"severity": "info",
|
|
"blocking": false,
|
|
"reason_code": "ok",
|
|
"message": "The configured app permissions meet the required baseline.",
|
|
"evidence": [],
|
|
"next_steps": []
|
|
}
|
|
]
|
|
}
|