{
  "version": "0.1-draft",
  "documentation_access_date": "2026-10-06",
  "validation": {
    "documentation_review": "performed",
    "local_semantic_analysis": {
      "result": "pass",
      "analyzer": "Microsoft.Azure.Kusto.Language 12.4.1",
      "schema_contract": "schemas.json; documentation-derived consumed fields, not a tenant export",
      "queries_checked": 5,
      "negative_checks": ["missing required table", "invalid required timestamp type"],
      "boundary": "Static semantic analysis only; no query execution or synthetic result evaluation."
    },
    "azure_compilation_and_execution": "not-performed",
    "tenant_schema_rbac_region_sku_checks": "not-performed",
    "observed_latency_cost_false_positive_results": "not-measured",
    "release_status": "hold-until-tenant-tests"
  },
  "engine": "Azure Monitor Logs / Sentinel workspace-context; Analytics tables for supplied examples",
  "permissions": "Verify query/read and access to each table under current access mode, actions/data actions and RBAC conditions; no query deploys a rule or grants access.",
  "queries": [
    {
      "file": "trust-path-change-candidates.kql",
      "source": "AzureActivity",
      "parameters": ["targetSubscriptionId", "lookback"],
      "prerequisites": "Export selected subscription Administrative Activity Log to workspace; verify actual operation/status values and nonempty event-unique EventDataId values before relying on deduplication.",
      "expected_test": "Selected successful lab operation appears; failed operation, unrelated operation and other subscription do not.",
      "cannot_prove": "Configuration widened authority or reachability; exploitation; historical before/after values. Empty or reused EventDataId values can collapse distinct rows; treat them as a validation failure, not fewer changes."
    },
    {
      "file": "dns-evidence.kql",
      "source": "DNSQueryLogs",
      "parameters": ["targetVnetId", "sourceIp", "queryName", "lookback"],
      "prerequisites": "Supported resolver policy, same-region linked VNet and diagnostics; inspect Answer dynamic structure locally.",
      "expected_test": "Known observed lookup matches exact VNet/source/name; other source does not.",
      "cannot_prove": "All DNS paths observed or application used returned answer."
    },
    {
      "file": "firewall-observations.kql",
      "source": "AZFWNetworkRule",
      "parameters": ["firewallId", "sourceIp", "destinationIp", "destinationPort", "lookback"],
      "prerequisites": "Resource-specific network-rule diagnostics; actual path through selected firewall.",
      "expected_test": "Known test appears for target tuple; wrong firewall/port does not.",
      "cannot_prove": "Principal identity, TCP session completion or successful application access."
    },
    {
      "file": "expected-source-health.kql",
      "source": "AzureActivity",
      "parameters": ["Expected inventory datatable", "observationWindow", "staleAfter"],
      "prerequisites": "Nonempty explicit resource inventory; recent controlled canary per target; export and reader access.",
      "expected_test": "Missing inventory target remains a result even when table has no matching rows.",
      "cannot_prove": "Logging failed as distinct from legitimately quiet target; exact canary arrived."
    },
    {
      "file": "synthetic-false-join.kql",
      "source": "Inline synthetic datatable fixtures; no Azure source",
      "parameters": [],
      "expected_test": "Weak IP join returns two matches; explicit principal/request join returns one.",
      "cannot_prove": "Any real service exposes the synthetic fields or that this was observed in a tenant."
    }
  ]
}
