{
  "schema": "NET004_SYNTHETIC_EVIDENCE_v1",
  "fixture_id": "secret_exposure",
  "context_id": "local-r1",
  "evidence_kind": "SYNTHETIC",
  "sut_ref": "ReadinessService@lesson-r1",
  "target_framework": "net10.0",
  "runtime_execution": "NOT_RUN_BY_PUBLISHER",
  "environment_name": "Testing",
  "hosting_profile": "in-memory-local",
  "version_review": {
    "state": "CURRENT",
    "review_due": "2026-10-18"
  },
  "configuration": {
    "required_keys": [
      "Service:Name",
      "Dependency:TimeoutMs"
    ],
    "values": {
      "Service:Name": "lesson-service",
      "Dependency:TimeoutMs": 100
    },
    "configuration_source": "InMemory fixture; production environment mapping must be checked separately",
    "environment_mapping": {
      "Service__Name": "Service:Name",
      "Dependency__TimeoutMs": "Dependency:TimeoutMs"
    }
  },
  "service_lifetime": {
    "dependency": "SCOPED",
    "telemetry": "SINGLETON",
    "scope_validation": "PASS"
  },
  "lifecycle": {
    "context_id": "local-r1",
    "host_lifecycle_state": "STOPPED",
    "startup_state": "PASS",
    "shutdown_state": "PASS",
    "health_check_state": "PASS",
    "startup_probe_ref": "capture/start-1",
    "shutdown_probe_ref": "capture/stop-1",
    "health_observations": {
      "normal": 200,
      "dependency_unavailable": 503,
      "live_during_dependency_failure": 200
    }
  },
  "critical_test_ids": [
    "request_ok",
    "request_timeout",
    "missing_config"
  ],
  "tests": [
    {
      "test_case_id": "request_ok",
      "test_level": "INTEGRATION",
      "sut_ref": "ReadinessService@lesson-r1",
      "web_application_factory_ref": "ServiceFactory",
      "test_server_ref": "TestServer",
      "context_id": "local-r1",
      "fixture_state": "NORMAL",
      "expected_status": 200,
      "actual_status": 200,
      "result": "PASS"
    },
    {
      "test_case_id": "request_timeout",
      "test_level": "INTEGRATION",
      "sut_ref": "ReadinessService@lesson-r1",
      "web_application_factory_ref": "ServiceFactory",
      "test_server_ref": "TestServer",
      "context_id": "local-r1",
      "fixture_state": "TIMEOUT_INJECTED",
      "expected_status": 504,
      "actual_status": 504,
      "result": "PASS"
    },
    {
      "test_case_id": "missing_config",
      "test_level": "INTEGRATION",
      "sut_ref": "ReadinessService@lesson-r1",
      "web_application_factory_ref": "ServiceFactory",
      "test_server_ref": "TestServer",
      "context_id": "local-r1",
      "fixture_state": "REQUIRED_KEY_REMOVED",
      "expected_status": "STARTUP_REJECTED",
      "actual_status": "STARTUP_REJECTED",
      "result": "PASS"
    }
  ],
  "dependency": {
    "normal_delay_ms": 20,
    "timeout_ms": 100,
    "injected_delay_ms": 250
  },
  "telemetry": {
    "context_id": "local-r1",
    "failure_class": "DEPENDENCY_TIMEOUT",
    "logger_category": "ReadinessService",
    "log_event_id": 1002,
    "metric_name": "lesson.dependency.timeouts",
    "metric_delta": 1,
    "metric_tags": {
      "operation": "dependency"
    },
    "trace_activity_ref": "capture/trace-1",
    "correlation_id": "11111111111111111111111111111111",
    "log_trace_id": "11111111111111111111111111111111",
    "trace_id": "11111111111111111111111111111111",
    "diagnostic_capture_ref": "capture/timeout-1",
    "diagnostic_fields": {
      "event": "dependency_timeout",
      "trace_id": "11111111111111111111111111111111",
      "token": "SYNTHETIC-DO-NOT-LOG-7F2A"
    }
  },
  "secret_boundary": {
    "state": "PASS",
    "forbidden_fields": [
      "authorization",
      "password",
      "secret",
      "token",
      "connection_string"
    ],
    "synthetic_canary": "SYNTHETIC-DO-NOT-LOG-7F2A",
    "review_ref": "capture/privacy-1"
  },
  "review_owner": "lesson-reviewer (synthetic role)",
  "audit_event_id": "audit-local-r1"
}
