{
  "assertions": {
    "actual_http_pipeline": true,
    "actual_postgresql_pipeline": true,
    "expected_results_verified_every_run": true,
    "fresh_schema_per_run": true,
    "production_rule_pipeline": true
  },
  "code_commit": "e322a89d52ee3dc5f4b9a66377367e75bc9c454b",
  "dataset": {
    "alerts": 500,
    "critical_open_alerts": 50,
    "criticality": {
      "critical": 500,
      "high": 1000,
      "low": 1500,
      "medium": 2000
    },
    "domain_policy_findings": 20,
    "domains": 100,
    "eligible_devices": 4000,
    "endpoint_records": 3800,
    "excluded_devices": 1000,
    "expected_coverage": {
      "healthy": 3400,
      "unhealthy": 400,
      "unknown": 200
    },
    "expected_open_findings": 270,
    "inventory_devices": 5000,
    "lifecycle": {
      "active": 4500,
      "maintenance": 250,
      "retired": 250
    },
    "teams": {
      "Finance": 1250,
      "Operations": 1250,
      "Platform": 1250,
      "Research": 1250
    }
  },
  "environment": {
    "architecture": "arm64",
    "execution_context": "local laptop; loopback HTTP and PostgreSQL; no containers",
    "hardware": {
      "chip": "Apple M4",
      "memory": "24 GB",
      "model": "Mac16,12"
    },
    "logical_cpu_count": 10,
    "operating_system": "macOS-26.6.2-arm64-arm-64bit-Mach-O",
    "postgresql_build": "PostgreSQL 18.6 (Homebrew) on aarch64-apple-darwin25.6.0, compiled by Apple clang version 21.0.0 (clang-2100.1.1.101), 64-bit",
    "postgresql_version": "18.6 (Homebrew)",
    "python_version": "3.13.5"
  },
  "generated_at": "2026-09-15T22:00:14.677354+00:00",
  "index_analysis": {
    "after": {
      "execution_time_ms": 166.355,
      "indexes_used": [
        "alerts_asset_status",
        "assets_pkey",
        "endpoint_observations_run_asset",
        "ingestion_runs_run_id_source_id_key",
        "sources_name_key"
      ],
      "page": "Asset Evidence list",
      "plan": {
        "Execution Time": 166.355,
        "Plan": {
          "Actual Loops": 1,
          "Actual Rows": 50.0,
          "Actual Startup Time": 166.198,
          "Actual Total Time": 166.235,
          "Async Capable": false,
          "Disabled": false,
          "Local Dirtied Blocks": 0,
          "Local Hit Blocks": 0,
          "Local Read Blocks": 0,
          "Local Written Blocks": 0,
          "Node Type": "Limit",
          "Parallel Aware": false,
          "Plan Rows": 50,
          "Plan Width": 116,
          "Plans": [
            {
              "Actual Loops": 1,
              "Actual Rows": 50.0,
              "Actual Startup Time": 166.196,
              "Actual Total Time": 166.232,
              "Async Capable": false,
              "Disabled": false,
              "Local Dirtied Blocks": 0,
              "Local Hit Blocks": 0,
              "Local Read Blocks": 0,
              "Local Written Blocks": 0,
              "Node Type": "Result",
              "Parallel Aware": false,
              "Parent Relationship": "Outer",
              "Plan Rows": 2790,
              "Plan Width": 116,
              "Plans": [
                {
                  "Actual Loops": 1,
                  "Actual Rows": 50.0,
                  "Actual Startup Time": 166.191,
                  "Actual Total Time": 166.194,
                  "Async Capable": false,
                  "Disabled": false,
                  "Local Dirtied Blocks": 0,
                  "Local Hit Blocks": 0,
                  "Local Read Blocks": 0,
                  "Local Written Blocks": 0,
                  "Node Type": "Sort",
                  "Parallel Aware": false,
                  "Parent Relationship": "Outer",
                  "Plan Rows": 2790,
                  "Plan Width": 116,
                  "Plans": [
                    {
                      "Actual Loops": 1,
                      "Actual Rows": 5000.0,
                      "Actual Startup Time": 2.329,
                      "Actual Total Time": 165.691,
                      "Async Capable": false,
                      "Disabled": false,
                      "Inner Unique": true,
                      "Join Type": "Inner",
                      "Local Dirtied Blocks": 0,
                      "Local Hit Blocks": 0,
                      "Local Read Blocks": 0,
                      "Local Written Blocks": 0,
                      "Node Type": "Nested Loop",
                      "Parallel Aware": false,
                      "Parent Relationship": "Outer",
                      "Plan Rows": 2790,
                      "Plan Width": 116,
                      "Plans": [
                        {
                          "Actual Loops": 1,
                          "Actual Rows": 5000.0,
                          "Actual Startup Time": 2.229,
                          "Actual Total Time": 9.132,
                          "Async Capable": false,
                          "Disabled": false,
                          "Inner Unique": false,
                          "Join Type": "Left",
                          "Local Dirtied Blocks": 0,
                          "Local Hit Blocks": 0,
                          "Local Read Blocks": 0,
                          "Local Written Blocks": 0,
                          "Node Type": "Nested Loop",
                          "Parallel Aware": false,
                          "Parent Relationship": "Outer",
                          "Plan Rows": 2790,
                          "Plan Width": 218,
                          "Plans": [
                            {
                              "Actual Loops": 1,
                              "Actual Rows": 5000.0,
                              "Actual Startup Time": 0.029,
                              "Actual Total Time": 0.605,
                              "Async Capable": false,
                              "Disabled": false,
                              "Inner Unique": false,
                              "Join Type": "Inner",
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Nested Loop",
                              "Parallel Aware": false,
                              "Parent Relationship": "Outer",
                              "Plan Rows": 2790,
                              "Plan Width": 105,
                              "Plans": [
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 1.0,
                                  "Actual Startup Time": 0.02,
                                  "Actual Total Time": 0.021,
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Inner Unique": true,
                                  "Join Type": "Left",
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Nested Loop",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Outer",
                                  "Plan Rows": 1,
                                  "Plan Width": 64,
                                  "Plans": [
                                    {
                                      "Actual Loops": 1,
                                      "Actual Rows": 1.0,
                                      "Actual Startup Time": 0.012,
                                      "Actual Total Time": 0.012,
                                      "Alias": "s",
                                      "Async Capable": false,
                                      "Disabled": false,
                                      "Index Cond": "(name = 'Endpoint API'::text)",
                                      "Index Name": "sources_name_key",
                                      "Index Searches": 1,
                                      "Local Dirtied Blocks": 0,
                                      "Local Hit Blocks": 0,
                                      "Local Read Blocks": 0,
                                      "Local Written Blocks": 0,
                                      "Node Type": "Index Scan",
                                      "Parallel Aware": false,
                                      "Parent Relationship": "Outer",
                                      "Plan Rows": 1,
                                      "Plan Width": 16,
                                      "Relation Name": "sources",
                                      "Rows Removed by Index Recheck": 0,
                                      "Scan Direction": "Forward",
                                      "Shared Dirtied Blocks": 0,
                                      "Shared Hit Blocks": 2,
                                      "Shared Read Blocks": 0,
                                      "Shared Written Blocks": 0,
                                      "Startup Cost": 0.15,
                                      "Temp Read Blocks": 0,
                                      "Temp Written Blocks": 0,
                                      "Total Cost": 8.17
                                    },
                                    {
                                      "Actual Loops": 1,
                                      "Actual Rows": 1.0,
                                      "Actual Startup Time": 0.005,
                                      "Actual Total Time": 0.005,
                                      "Alias": "r",
                                      "Async Capable": false,
                                      "Disabled": false,
                                      "Index Cond": "(run_id = s.active_run_id)",
                                      "Index Name": "ingestion_runs_run_id_source_id_key",
                                      "Index Searches": 1,
                                      "Local Dirtied Blocks": 0,
                                      "Local Hit Blocks": 0,
                                      "Local Read Blocks": 0,
                                      "Local Written Blocks": 0,
                                      "Node Type": "Index Scan",
                                      "Parallel Aware": false,
                                      "Parent Relationship": "Inner",
                                      "Plan Rows": 1,
                                      "Plan Width": 56,
                                      "Relation Name": "ingestion_runs",
                                      "Rows Removed by Index Recheck": 0,
                                      "Scan Direction": "Forward",
                                      "Shared Dirtied Blocks": 0,
                                      "Shared Hit Blocks": 2,
                                      "Shared Read Blocks": 0,
                                      "Shared Written Blocks": 0,
                                      "Startup Cost": 0.15,
                                      "Temp Read Blocks": 0,
                                      "Temp Written Blocks": 0,
                                      "Total Cost": 8.17
                                    }
                                  ],
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 4,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.3,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 16.38
                                },
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 5000.0,
                                  "Actual Startup Time": 0.007,
                                  "Actual Total Time": 0.188,
                                  "Alias": "a",
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Seq Scan",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Inner",
                                  "Plan Rows": 2790,
                                  "Plan Width": 41,
                                  "Relation Name": "assets",
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 90,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.0,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 117.9
                                }
                              ],
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 94,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 0.3,
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 162.18
                            },
                            {
                              "Actual Loops": 5000,
                              "Actual Rows": 1.0,
                              "Actual Startup Time": 0.001,
                              "Actual Total Time": 0.001,
                              "Async Capable": false,
                              "Disabled": false,
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Aggregate",
                              "Parallel Aware": false,
                              "Parent Relationship": "Inner",
                              "Partial Mode": "Simple",
                              "Plan Rows": 1,
                              "Plan Width": 80,
                              "Plans": [
                                {
                                  "Actual Loops": 5000,
                                  "Actual Rows": 0.76,
                                  "Actual Startup Time": 0.001,
                                  "Actual Total Time": 0.001,
                                  "Alias": "e",
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Index Cond": "((run_id = s.active_run_id) AND (asset_id = a.asset_id))",
                                  "Index Name": "endpoint_observations_run_asset",
                                  "Index Searches": 5000,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Index Scan",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Outer",
                                  "Plan Rows": 1,
                                  "Plan Width": 40,
                                  "Relation Name": "endpoint_observations",
                                  "Rows Removed by Index Recheck": 0,
                                  "Scan Direction": "Forward",
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 13800,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.28,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 8.3
                                }
                              ],
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 13800,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 8.31,
                              "Strategy": "Plain",
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 8.32
                            },
                            {
                              "Actual Loops": 1,
                              "Actual Rows": 0.0,
                              "Actual Startup Time": 2.158,
                              "Actual Total Time": 2.158,
                              "Async Capable": false,
                              "Disabled": false,
                              "Hash Cond": "(e_1.raw_id = i.raw_id)",
                              "Inner Unique": false,
                              "Join Type": "Anti",
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Hash Join",
                              "Parallel Aware": false,
                              "Parent Relationship": "SubPlan",
                              "Plan Rows": 1,
                              "Plan Width": 8,
                              "Plans": [
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 3800.0,
                                  "Actual Startup Time": 0.008,
                                  "Actual Total Time": 0.408,
                                  "Alias": "e_1",
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Seq Scan",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Outer",
                                  "Plan Rows": 5088,
                                  "Plan Width": 16,
                                  "Relation Name": "endpoint_observations",
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 159,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.0,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 209.88
                                },
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 3800.0,
                                  "Actual Startup Time": 1.221,
                                  "Actual Total Time": 1.221,
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Hash Batches": 1,
                                  "Hash Buckets": 16384,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Hash",
                                  "Original Hash Batches": 1,
                                  "Original Hash Buckets": 16384,
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Inner",
                                  "Peak Memory Usage": 277,
                                  "Plan Rows": 10080,
                                  "Plan Width": 8,
                                  "Plans": [
                                    {
                                      "Actual Loops": 1,
                                      "Actual Rows": 3800.0,
                                      "Actual Startup Time": 0.007,
                                      "Actual Total Time": 0.801,
                                      "Alias": "i",
                                      "Async Capable": false,
                                      "Disabled": false,
                                      "Local Dirtied Blocks": 0,
                                      "Local Hit Blocks": 0,
                                      "Local Read Blocks": 0,
                                      "Local Written Blocks": 0,
                                      "Node Type": "Seq Scan",
                                      "Parallel Aware": false,
                                      "Parent Relationship": "Outer",
                                      "Plan Rows": 10080,
                                      "Plan Width": 8,
                                      "Relation Name": "identity_resolutions",
                                      "Shared Dirtied Blocks": 0,
                                      "Shared Hit Blocks": 224,
                                      "Shared Read Blocks": 0,
                                      "Shared Written Blocks": 0,
                                      "Startup Cost": 0.0,
                                      "Temp Read Blocks": 0,
                                      "Temp Written Blocks": 0,
                                      "Total Cost": 324.8
                                    }
                                  ],
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 224,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 324.8,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 324.8
                                }
                              ],
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 383,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 450.8,
                              "Subplan Name": "SubPlan 4",
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 679.76
                            },
                            {
                              "Actual Loops": 1,
                              "Actual Rows": 0.0,
                              "Actual Startup Time": 0.005,
                              "Actual Total Time": 0.005,
                              "Async Capable": false,
                              "Disabled": false,
                              "Hash Cond": "(candidate.conflict_id = conflict.conflict_id)",
                              "Inner Unique": false,
                              "Join Type": "Inner",
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Hash Join",
                              "Parallel Aware": false,
                              "Parent Relationship": "SubPlan",
                              "Plan Rows": 1850,
                              "Plan Width": 16,
                              "Plans": [
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 0.0,
                                  "Actual Startup Time": 0.004,
                                  "Actual Total Time": 0.004,
                                  "Alias": "candidate",
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Seq Scan",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Outer",
                                  "Plan Rows": 1850,
                                  "Plan Width": 16,
                                  "Relation Name": "identity_conflict_candidates",
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 0,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.0,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 28.5
                                },
                                {
                                  "Actual Loops": 0,
                                  "Actual Rows": 0,
                                  "Actual Startup Time": 0.0,
                                  "Actual Total Time": 0.0,
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Hash",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Inner",
                                  "Plan Rows": 750,
                                  "Plan Width": 16,
                                  "Plans": [
                                    {
                                      "Actual Loops": 0,
                                      "Actual Rows": 0,
                                      "Actual Startup Time": 0.0,
                                      "Actual Total Time": 0.0,
                                      "Async Capable": false,
                                      "Disabled": false,
                                      "Hash Cond": "(resolution.raw_id = conflict.raw_id)",
                                      "Inner Unique": true,
                                      "Join Type": "Inner",
                                      "Local Dirtied Blocks": 0,
                                      "Local Hit Blocks": 0,
                                      "Local Read Blocks": 0,
                                      "Local Written Blocks": 0,
                                      "Node Type": "Hash Join",
                                      "Parallel Aware": false,
                                      "Parent Relationship": "Outer",
                                      "Plan Rows": 750,
                                      "Plan Width": 16,
                                      "Plans": [
                                        {
                                          "Actual Loops": 0,
                                          "Actual Rows": 0,
                                          "Actual Startup Time": 0.0,
                                          "Actual Total Time": 0.0,
                                          "Alias": "resolution",
                                          "Async Capable": false,
                                          "Disabled": false,
                                          "Local Dirtied Blocks": 0,
                                          "Local Hit Blocks": 0,
                                          "Local Read Blocks": 0,
                                          "Local Written Blocks": 0,
                                          "Node Type": "Seq Scan",
                                          "Parallel Aware": false,
                                          "Parent Relationship": "Outer",
                                          "Plan Rows": 10080,
                                          "Plan Width": 16,
                                          "Relation Name": "identity_resolutions",
                                          "Shared Dirtied Blocks": 0,
                                          "Shared Hit Blocks": 0,
                                          "Shared Read Blocks": 0,
                                          "Shared Written Blocks": 0,
                                          "Startup Cost": 0.0,
                                          "Temp Read Blocks": 0,
                                          "Temp Written Blocks": 0,
                                          "Total Cost": 324.8
                                        },
                                        {
                                          "Actual Loops": 0,
                                          "Actual Rows": 0,
                                          "Actual Startup Time": 0.0,
                                          "Actual Total Time": 0.0,
                                          "Async Capable": false,
                                          "Disabled": false,
                                          "Local Dirtied Blocks": 0,
                                          "Local Hit Blocks": 0,
                                          "Local Read Blocks": 0,
                                          "Local Written Blocks": 0,
                                          "Node Type": "Hash",
                                          "Parallel Aware": false,
                                          "Parent Relationship": "Inner",
                                          "Plan Rows": 750,
                                          "Plan Width": 16,
                                          "Plans": [
                                            {
                                              "Actual Loops": 0,
                                              "Actual Rows": 0,
                                              "Actual Startup Time": 0.0,
                                              "Actual Total Time": 0.0,
                                              "Alias": "conflict",
                                              "Async Capable": false,
                                              "Disabled": false,
                                              "Local Dirtied Blocks": 0,
                                              "Local Hit Blocks": 0,
                                              "Local Read Blocks": 0,
                                              "Local Written Blocks": 0,
                                              "Node Type": "Seq Scan",
                                              "Parallel Aware": false,
                                              "Parent Relationship": "Outer",
                                              "Plan Rows": 750,
                                              "Plan Width": 16,
                                              "Relation Name": "identity_conflicts",
                                              "Shared Dirtied Blocks": 0,
                                              "Shared Hit Blocks": 0,
                                              "Shared Read Blocks": 0,
                                              "Shared Written Blocks": 0,
                                              "Startup Cost": 0.0,
                                              "Temp Read Blocks": 0,
                                              "Temp Written Blocks": 0,
                                              "Total Cost": 17.5
                                            }
                                          ],
                                          "Shared Dirtied Blocks": 0,
                                          "Shared Hit Blocks": 0,
                                          "Shared Read Blocks": 0,
                                          "Shared Written Blocks": 0,
                                          "Startup Cost": 17.5,
                                          "Temp Read Blocks": 0,
                                          "Temp Written Blocks": 0,
                                          "Total Cost": 17.5
                                        }
                                      ],
                                      "Shared Dirtied Blocks": 0,
                                      "Shared Hit Blocks": 0,
                                      "Shared Read Blocks": 0,
                                      "Shared Written Blocks": 0,
                                      "Startup Cost": 26.88,
                                      "Temp Read Blocks": 0,
                                      "Temp Written Blocks": 0,
                                      "Total Cost": 378.15
                                    }
                                  ],
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 0,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 378.15,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 378.15
                                }
                              ],
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 0,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 387.52,
                              "Subplan Name": "SubPlan 6",
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 441.46
                            },
                            {
                              "Actual Loops": 1,
                              "Actual Rows": 0.0,
                              "Actual Startup Time": 0.554,
                              "Actual Total Time": 0.554,
                              "Async Capable": false,
                              "Disabled": false,
                              "Hash Cond": "(e_2.raw_id = i_1.raw_id)",
                              "Inner Unique": false,
                              "Join Type": "Anti",
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Hash Join",
                              "Parallel Aware": false,
                              "Parent Relationship": "SubPlan",
                              "Plan Rows": 1,
                              "Plan Width": 8,
                              "Plans": [
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 3800.0,
                                  "Actual Startup Time": 0.002,
                                  "Actual Total Time": 0.105,
                                  "Alias": "e_2",
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Seq Scan",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Outer",
                                  "Plan Rows": 5088,
                                  "Plan Width": 16,
                                  "Relation Name": "endpoint_observations",
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 159,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.0,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 209.88
                                },
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 3800.0,
                                  "Actual Startup Time": 0.289,
                                  "Actual Total Time": 0.289,
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Hash Batches": 1,
                                  "Hash Buckets": 16384,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Hash",
                                  "Original Hash Batches": 1,
                                  "Original Hash Buckets": 16384,
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Inner",
                                  "Peak Memory Usage": 277,
                                  "Plan Rows": 10080,
                                  "Plan Width": 8,
                                  "Plans": [
                                    {
                                      "Actual Loops": 1,
                                      "Actual Rows": 3800.0,
                                      "Actual Startup Time": 0.002,
                                      "Actual Total Time": 0.17,
                                      "Alias": "i_1",
                                      "Async Capable": false,
                                      "Disabled": false,
                                      "Local Dirtied Blocks": 0,
                                      "Local Hit Blocks": 0,
                                      "Local Read Blocks": 0,
                                      "Local Written Blocks": 0,
                                      "Node Type": "Seq Scan",
                                      "Parallel Aware": false,
                                      "Parent Relationship": "Outer",
                                      "Plan Rows": 10080,
                                      "Plan Width": 8,
                                      "Relation Name": "identity_resolutions",
                                      "Shared Dirtied Blocks": 0,
                                      "Shared Hit Blocks": 224,
                                      "Shared Read Blocks": 0,
                                      "Shared Written Blocks": 0,
                                      "Startup Cost": 0.0,
                                      "Temp Read Blocks": 0,
                                      "Temp Written Blocks": 0,
                                      "Total Cost": 324.8
                                    }
                                  ],
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 224,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 324.8,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 324.8
                                }
                              ],
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 383,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 450.8,
                              "Subplan Name": "SubPlan 8",
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 679.76
                            },
                            {
                              "Actual Loops": 1,
                              "Actual Rows": 0.0,
                              "Actual Startup Time": 0.001,
                              "Actual Total Time": 0.001,
                              "Async Capable": false,
                              "Disabled": false,
                              "Hash Cond": "(candidate_1.conflict_id = conflict_1.conflict_id)",
                              "Inner Unique": false,
                              "Join Type": "Inner",
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Hash Join",
                              "Parallel Aware": false,
                              "Parent Relationship": "SubPlan",
                              "Plan Rows": 1850,
                              "Plan Width": 16,
                              "Plans": [
                                {
                                  "Actual Loops": 1,
                                  "Actual Rows": 0.0,
                                  "Actual Startup Time": 0.001,
                                  "Actual Total Time": 0.001,
                                  "Alias": "candidate_1",
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Seq Scan",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Outer",
                                  "Plan Rows": 1850,
                                  "Plan Width": 16,
                                  "Relation Name": "identity_conflict_candidates",
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 0,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 0.0,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 28.5
                                },
                                {
                                  "Actual Loops": 0,
                                  "Actual Rows": 0,
                                  "Actual Startup Time": 0.0,
                                  "Actual Total Time": 0.0,
                                  "Async Capable": false,
                                  "Disabled": false,
                                  "Local Dirtied Blocks": 0,
                                  "Local Hit Blocks": 0,
                                  "Local Read Blocks": 0,
                                  "Local Written Blocks": 0,
                                  "Node Type": "Hash",
                                  "Parallel Aware": false,
                                  "Parent Relationship": "Inner",
                                  "Plan Rows": 750,
                                  "Plan Width": 16,
                                  "Plans": [
                                    {
                                      "Actual Loops": 0,
                                      "Actual Rows": 0,
                                      "Actual Startup Time": 0.0,
                                      "Actual Total Time": 0.0,
                                      "Async Capable": false,
                                      "Disabled": false,
                                      "Hash Cond": "(resolution_1.raw_id = conflict_1.raw_id)",
                                      "Inner Unique": true,
                                      "Join Type": "Inner",
                                      "Local Dirtied Blocks": 0,
                                      "Local Hit Blocks": 0,
                                      "Local Read Blocks": 0,
                                      "Local Written Blocks": 0,
                                      "Node Type": "Hash Join",
                                      "Parallel Aware": false,
                                      "Parent Relationship": "Outer",
                                      "Plan Rows": 750,
                                      "Plan Width": 16,
                                      "Plans": [
                                        {
                                          "Actual Loops": 0,
                                          "Actual Rows": 0,
                                          "Actual Startup Time": 0.0,
                                          "Actual Total Time": 0.0,
                                          "Alias": "resolution_1",
                                          "Async Capable": false,
                                          "Disabled": false,
                                          "Local Dirtied Blocks": 0,
                                          "Local Hit Blocks": 0,
                                          "Local Read Blocks": 0,
                                          "Local Written Blocks": 0,
                                          "Node Type": "Seq Scan",
                                          "Parallel Aware": false,
                                          "Parent Relationship": "Outer",
                                          "Plan Rows": 10080,
                                          "Plan Width": 16,
                                          "Relation Name": "identity_resolutions",
                                          "Shared Dirtied Blocks": 0,
                                          "Shared Hit Blocks": 0,
                                          "Shared Read Blocks": 0,
                                          "Shared Written Blocks": 0,
                                          "Startup Cost": 0.0,
                                          "Temp Read Blocks": 0,
                                          "Temp Written Blocks": 0,
                                          "Total Cost": 324.8
                                        },
                                        {
                                          "Actual Loops": 0,
                                          "Actual Rows": 0,
                                          "Actual Startup Time": 0.0,
                                          "Actual Total Time": 0.0,
                                          "Async Capable": false,
                                          "Disabled": false,
                                          "Local Dirtied Blocks": 0,
                                          "Local Hit Blocks": 0,
                                          "Local Read Blocks": 0,
                                          "Local Written Blocks": 0,
                                          "Node Type": "Hash",
                                          "Parallel Aware": false,
                                          "Parent Relationship": "Inner",
                                          "Plan Rows": 750,
                                          "Plan Width": 16,
                                          "Plans": [
                                            {
                                              "Actual Loops": 0,
                                              "Actual Rows": 0,
                                              "Actual Startup Time": 0.0,
                                              "Actual Total Time": 0.0,
                                              "Alias": "conflict_1",
                                              "Async Capable": false,
                                              "Disabled": false,
                                              "Local Dirtied Blocks": 0,
                                              "Local Hit Blocks": 0,
                                              "Local Read Blocks": 0,
                                              "Local Written Blocks": 0,
                                              "Node Type": "Seq Scan",
                                              "Parallel Aware": false,
                                              "Parent Relationship": "Outer",
                                              "Plan Rows": 750,
                                              "Plan Width": 16,
                                              "Relation Name": "identity_conflicts",
                                              "Shared Dirtied Blocks": 0,
                                              "Shared Hit Blocks": 0,
                                              "Shared Read Blocks": 0,
                                              "Shared Written Blocks": 0,
                                              "Startup Cost": 0.0,
                                              "Temp Read Blocks": 0,
                                              "Temp Written Blocks": 0,
                                              "Total Cost": 17.5
                                            }
                                          ],
                                          "Shared Dirtied Blocks": 0,
                                          "Shared Hit Blocks": 0,
                                          "Shared Read Blocks": 0,
                                          "Shared Written Blocks": 0,
                                          "Startup Cost": 17.5,
                                          "Temp Read Blocks": 0,
                                          "Temp Written Blocks": 0,
                                          "Total Cost": 17.5
                                        }
                                      ],
                                      "Shared Dirtied Blocks": 0,
                                      "Shared Hit Blocks": 0,
                                      "Shared Read Blocks": 0,
                                      "Shared Written Blocks": 0,
                                      "Startup Cost": 26.88,
                                      "Temp Read Blocks": 0,
                                      "Temp Written Blocks": 0,
                                      "Total Cost": 378.15
                                    }
                                  ],
                                  "Shared Dirtied Blocks": 0,
                                  "Shared Hit Blocks": 0,
                                  "Shared Read Blocks": 0,
                                  "Shared Written Blocks": 0,
                                  "Startup Cost": 378.15,
                                  "Temp Read Blocks": 0,
                                  "Temp Written Blocks": 0,
                                  "Total Cost": 378.15
                                }
                              ],
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 0,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 387.52,
                              "Subplan Name": "SubPlan 10",
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 441.46
                            }
                          ],
                          "Shared Dirtied Blocks": 0,
                          "Shared Hit Blocks": 14660,
                          "Shared Read Blocks": 0,
                          "Shared Written Blocks": 0,
                          "Startup Cost": 8.61,
                          "Temp Read Blocks": 0,
                          "Temp Written Blocks": 0,
                          "Total Cost": 1647283.79
                        },
                        {
                          "Actual Loops": 5000,
                          "Actual Rows": 1.0,
                          "Actual Startup Time": 0.0,
                          "Actual Total Time": 0.0,
                          "Alias": "asset",
                          "Async Capable": false,
                          "Disabled": false,
                          "Index Cond": "(asset_id = a.asset_id)",
                          "Index Name": "assets_pkey",
                          "Index Searches": 5000,
                          "Local Dirtied Blocks": 0,
                          "Local Hit Blocks": 0,
                          "Local Read Blocks": 0,
                          "Local Written Blocks": 0,
                          "Node Type": "Index Scan",
                          "Parallel Aware": false,
                          "Parent Relationship": "Inner",
                          "Plan Rows": 1,
                          "Plan Width": 72,
                          "Relation Name": "assets",
                          "Rows Removed by Index Recheck": 0,
                          "Scan Direction": "Forward",
                          "Shared Dirtied Blocks": 0,
                          "Shared Hit Blocks": 15000,
                          "Shared Read Blocks": 0,
                          "Shared Written Blocks": 0,
                          "Startup Cost": 0.28,
                          "Temp Read Blocks": 0,
                          "Temp Written Blocks": 0,
                          "Total Cost": 0.45
                        },
                        {
                          "Actual Loops": 5000,
                          "Actual Rows": 1.0,
                          "Actual Startup Time": 0.031,
                          "Actual Total Time": 0.031,
                          "Async Capable": false,
                          "Disabled": false,
                          "Local Dirtied Blocks": 0,
                          "Local Hit Blocks": 0,
                          "Local Read Blocks": 0,
                          "Local Written Blocks": 0,
                          "Node Type": "Aggregate",
                          "Parallel Aware": false,
                          "Parent Relationship": "SubPlan",
                          "Partial Mode": "Simple",
                          "Plan Rows": 1,
                          "Plan Width": 8,
                          "Plans": [
                            {
                              "Actual Loops": 5000,
                              "Actual Rows": 0.05,
                              "Actual Startup Time": 0.029,
                              "Actual Total Time": 0.03,
                              "Alias": "finding",
                              "Async Capable": false,
                              "Disabled": false,
                              "Filter": "((status = 'open'::text) AND (((explanation ->> 'asset_key'::text) = asset.asset_key) OR ((rule_id = 'endpoint_coverage_gap'::text) AND (subject_key = asset.asset_key))))",
                              "Local Dirtied Blocks": 0,
                              "Local Hit Blocks": 0,
                              "Local Read Blocks": 0,
                              "Local Written Blocks": 0,
                              "Node Type": "Seq Scan",
                              "Parallel Aware": false,
                              "Parent Relationship": "Outer",
                              "Plan Rows": 1,
                              "Plan Width": 0,
                              "Relation Name": "findings",
                              "Rows Removed by Filter": 270,
                              "Shared Dirtied Blocks": 0,
                              "Shared Hit Blocks": 80000,
                              "Shared Read Blocks": 0,
                              "Shared Written Blocks": 0,
                              "Startup Cost": 0.0,
                              "Temp Read Blocks": 0,
                              "Temp Written Blocks": 0,
                              "Total Cost": 27.16
                            }
                          ],
                          "Shared Dirtied Blocks": 0,
                          "Shared Hit Blocks": 80000,
                          "Shared Read Blocks": 0,
                          "Shared Written Blocks": 0,
                          "Startup Cost": 27.16,
                          "Strategy": "Plain",
                          "Subplan Name": "SubPlan 2",
                          "Temp Read Blocks": 0,
                          "Temp Written Blocks": 0,
                          "Total Cost": 27.17
                        }
                      ],
                      "Shared Dirtied Blocks": 0,
                      "Shared Hit Blocks": 109660,
                      "Shared Read Blocks": 0,
                      "Shared Written Blocks": 0,
                      "Startup Cost": 8.89,
                      "Temp Read Blocks": 0,
                      "Temp Written Blocks": 0,
                      "Total Cost": 1724397.74
                    }
                  ],
                  "Shared Dirtied Blocks": 0,
                  "Shared Hit Blocks": 109660,
                  "Shared Read Blocks": 0,
                  "Shared Written Blocks": 0,
                  "Sort Key": [
                    "((SubPlan 2)) DESC",
                    "(CASE (CASE WHEN ((a.lifecycle <> 'active'::text) OR (NOT a.expects_endpoint)) THEN 'not_applicable'::text WHEN (CASE WHEN (a.lifecycle <> 'active'::text) THEN ('lifecycle_'::text || a.lifecycle) WHEN (NOT a.expects_endpoint) THEN 'endpoint_not_required'::text WHEN (NOT COALESCE(((r.status = 'succeeded'::text) AND (r.finished_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at >= ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.freshness_seconds)::double precision * '00:00:01'::interval)))), false)) THEN 'source_not_fresh'::text WHEN (ANY (s.active_run_id = (hashed SubPlan 4).col1)) THEN 'generation_needs_identity_resolution'::text WHEN (ANY ((a.asset_id = (hashed SubPlan 6).col1) AND (s.active_run_id = (hashed SubPlan 6).col2))) THEN 'identity_conflict'::text WHEN ((count(*)) > 1) THEN 'multiple_endpoint_records'::text WHEN ((count(*)) = 0) THEN 'not_observed'::text WHEN ((min(e.last_seen_at)) > '2026-09-15 09:00:00-03'::timestamp with time zone) THEN 'future_endpoint_contact'::text WHEN ((min(e.last_seen_at)) < ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.endpoint_contact_seconds)::double precision * '00:00:01'::interval))) THEN 'endpoint_offline'::text WHEN ((min(e.protection_state)) = 'healthy'::text) THEN 'fresh_healthy'::text WHEN ((min(e.protection_state)) = 'unhealthy'::text) THEN 'reported_unhealthy'::text ELSE 'reported_unknown'::text END = 'fresh_healthy'::text) THEN 'healthy'::text WHEN (CASE WHEN (a.lifecycle <> 'active'::text) THEN ('lifecycle_'::text || a.lifecycle) WHEN (NOT a.expects_endpoint) THEN 'endpoint_not_required'::text WHEN (NOT COALESCE(((r.status = 'succeeded'::text) AND (r.finished_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at >= ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.freshness_seconds)::double precision * '00:00:01'::interval)))), false)) THEN 'source_not_fresh'::text WHEN (ANY (s.active_run_id = (hashed SubPlan 8).col1)) THEN 'generation_needs_identity_resolution'::text WHEN (ANY ((a.asset_id = (hashed SubPlan 10).col1) AND (s.active_run_id = (hashed SubPlan 10).col2))) THEN 'identity_conflict'::text WHEN ((count(*)) > 1) THEN 'multiple_endpoint_records'::text WHEN ((count(*)) = 0) THEN 'not_observed'::text WHEN ((min(e.last_seen_at)) > '2026-09-15 09:00:00-03'::timestamp with time zone) THEN 'future_endpoint_contact'::text WHEN ((min(e.last_seen_at)) < ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.endpoint_contact_seconds)::double precision * '00:00:01'::interval))) THEN 'endpoint_offline'::text WHEN ((min(e.protection_state)) = 'healthy'::text) THEN 'fresh_healthy'::text WHEN ((min(e.protection_state)) = 'unhealthy'::text) THEN 'reported_unhealthy'::text ELSE 'reported_unknown'::text END = ANY ('{reported_unhealthy,not_observed}'::text[])) THEN 'unhealthy'::text ELSE 'unknown'::text END) WHEN 'unknown'::text THEN 1 WHEN 'unhealthy'::text THEN 2 WHEN 'healthy'::text THEN 3 ELSE 4 END)",
                    "asset.asset_key"
                  ],
                  "Sort Method": "top-N heapsort",
                  "Sort Space Type": "Memory",
                  "Sort Space Used": 31,
                  "Startup Cost": 1724490.42,
                  "Temp Read Blocks": 0,
                  "Temp Written Blocks": 0,
                  "Total Cost": 1724497.4
                },
                {
                  "Actual Loops": 50,
                  "Actual Rows": 1.0,
                  "Actual Startup Time": 0.001,
                  "Actual Total Time": 0.001,
                  "Async Capable": false,
                  "Disabled": false,
                  "Local Dirtied Blocks": 0,
                  "Local Hit Blocks": 0,
                  "Local Read Blocks": 0,
                  "Local Written Blocks": 0,
                  "Node Type": "Aggregate",
                  "Parallel Aware": false,
                  "Parent Relationship": "SubPlan",
                  "Partial Mode": "Simple",
                  "Plan Rows": 1,
                  "Plan Width": 8,
                  "Plans": [
                    {
                      "Actual Loops": 50,
                      "Actual Rows": 0.0,
                      "Actual Startup Time": 0.0,
                      "Actual Total Time": 0.0,
                      "Alias": "alert",
                      "Async Capable": false,
                      "Disabled": false,
                      "Exact Heap Blocks": 0,
                      "Local Dirtied Blocks": 0,
                      "Local Hit Blocks": 0,
                      "Local Read Blocks": 0,
                      "Local Written Blocks": 0,
                      "Lossy Heap Blocks": 0,
                      "Node Type": "Bitmap Heap Scan",
                      "Parallel Aware": false,
                      "Parent Relationship": "Outer",
                      "Plan Rows": 2,
                      "Plan Width": 0,
                      "Plans": [
                        {
                          "Actual Loops": 50,
                          "Actual Rows": 0.0,
                          "Actual Startup Time": 0.0,
                          "Actual Total Time": 0.0,
                          "Async Capable": false,
                          "Disabled": false,
                          "Index Cond": "(asset_id = asset.asset_id)",
                          "Index Name": "alerts_asset_status",
                          "Index Searches": 50,
                          "Local Dirtied Blocks": 0,
                          "Local Hit Blocks": 0,
                          "Local Read Blocks": 0,
                          "Local Written Blocks": 0,
                          "Node Type": "Bitmap Index Scan",
                          "Parallel Aware": false,
                          "Parent Relationship": "Outer",
                          "Plan Rows": 2,
                          "Plan Width": 0,
                          "Shared Dirtied Blocks": 0,
                          "Shared Hit Blocks": 100,
                          "Shared Read Blocks": 0,
                          "Shared Written Blocks": 0,
                          "Startup Cost": 0.0,
                          "Temp Read Blocks": 0,
                          "Temp Written Blocks": 0,
                          "Total Cost": 4.29
                        }
                      ],
                      "Recheck Cond": "(asset_id = asset.asset_id)",
                      "Relation Name": "alerts",
                      "Rows Removed by Index Recheck": 0,
                      "Shared Dirtied Blocks": 0,
                      "Shared Hit Blocks": 100,
                      "Shared Read Blocks": 0,
                      "Shared Written Blocks": 0,
                      "Startup Cost": 4.29,
                      "Temp Read Blocks": 0,
                      "Temp Written Blocks": 0,
                      "Total Cost": 9.75
                    }
                  ],
                  "Shared Dirtied Blocks": 0,
                  "Shared Hit Blocks": 100,
                  "Shared Read Blocks": 0,
                  "Shared Written Blocks": 0,
                  "Startup Cost": 9.76,
                  "Strategy": "Plain",
                  "Subplan Name": "SubPlan 1",
                  "Temp Read Blocks": 0,
                  "Temp Written Blocks": 0,
                  "Total Cost": 9.77
                }
              ],
              "Shared Dirtied Blocks": 0,
              "Shared Hit Blocks": 109760,
              "Shared Read Blocks": 0,
              "Shared Written Blocks": 0,
              "Startup Cost": 1724490.42,
              "Temp Read Blocks": 0,
              "Temp Written Blocks": 0,
              "Total Cost": 1827614.66
            }
          ],
          "Shared Dirtied Blocks": 0,
          "Shared Hit Blocks": 109760,
          "Shared Read Blocks": 0,
          "Shared Written Blocks": 0,
          "Startup Cost": 1724490.42,
          "Temp Read Blocks": 0,
          "Temp Written Blocks": 0,
          "Total Cost": 1726338.53
        },
        "Planning": {
          "Local Dirtied Blocks": 0,
          "Local Hit Blocks": 0,
          "Local Read Blocks": 0,
          "Local Written Blocks": 0,
          "Shared Dirtied Blocks": 0,
          "Shared Hit Blocks": 12,
          "Shared Read Blocks": 0,
          "Shared Written Blocks": 0,
          "Temp Read Blocks": 0,
          "Temp Written Blocks": 0
        },
        "Planning Time": 1.801,
        "Triggers": []
      },
      "planning_time_ms": 1.801,
      "root_node": "Limit",
      "shared_hit_blocks": 109760,
      "shared_read_blocks": 0,
      "sql_scope": "the bounded 50-row data query; owner and count queries excluded",
      "total_cost": 1726338.53
    },
    "before": {
      "code_commit": "8c8e7dccac9761df73a6694a0225171fd299b764",
      "query_plan": {
        "execution_time_ms": 1320.354,
        "page": "Asset Evidence list",
        "plan": {
          "Execution Time": 1320.354,
          "Plan": {
            "Actual Loops": 1,
            "Actual Rows": 50.0,
            "Actual Startup Time": 1320.184,
            "Actual Total Time": 1320.223,
            "Async Capable": false,
            "Disabled": false,
            "Local Dirtied Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Written Blocks": 0,
            "Node Type": "Limit",
            "Parallel Aware": false,
            "Plan Rows": 50,
            "Plan Width": 116,
            "Plans": [
              {
                "Actual Loops": 1,
                "Actual Rows": 50.0,
                "Actual Startup Time": 1320.183,
                "Actual Total Time": 1320.219,
                "Async Capable": false,
                "Disabled": false,
                "Local Dirtied Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Written Blocks": 0,
                "Node Type": "Result",
                "Parallel Aware": false,
                "Parent Relationship": "Outer",
                "Plan Rows": 2790,
                "Plan Width": 116,
                "Plans": [
                  {
                    "Actual Loops": 1,
                    "Actual Rows": 50.0,
                    "Actual Startup Time": 1320.177,
                    "Actual Total Time": 1320.18,
                    "Async Capable": false,
                    "Disabled": false,
                    "Local Dirtied Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Written Blocks": 0,
                    "Node Type": "Sort",
                    "Parallel Aware": false,
                    "Parent Relationship": "Outer",
                    "Plan Rows": 2790,
                    "Plan Width": 116,
                    "Plans": [
                      {
                        "Actual Loops": 1,
                        "Actual Rows": 5000.0,
                        "Actual Startup Time": 3.546,
                        "Actual Total Time": 1319.685,
                        "Async Capable": false,
                        "Disabled": false,
                        "Inner Unique": true,
                        "Join Type": "Inner",
                        "Local Dirtied Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Written Blocks": 0,
                        "Node Type": "Nested Loop",
                        "Parallel Aware": false,
                        "Parent Relationship": "Outer",
                        "Plan Rows": 2790,
                        "Plan Width": 116,
                        "Plans": [
                          {
                            "Actual Loops": 1,
                            "Actual Rows": 5000.0,
                            "Actual Startup Time": 3.375,
                            "Actual Total Time": 1172.915,
                            "Async Capable": false,
                            "Disabled": false,
                            "Inner Unique": false,
                            "Join Type": "Left",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Nested Loop",
                            "Parallel Aware": false,
                            "Parent Relationship": "Outer",
                            "Plan Rows": 2790,
                            "Plan Width": 218,
                            "Plans": [
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 5000.0,
                                "Actual Startup Time": 0.04,
                                "Actual Total Time": 0.662,
                                "Async Capable": false,
                                "Disabled": false,
                                "Inner Unique": false,
                                "Join Type": "Inner",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Nested Loop",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 2790,
                                "Plan Width": 105,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 1.0,
                                    "Actual Startup Time": 0.025,
                                    "Actual Total Time": 0.027,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Inner Unique": true,
                                    "Join Type": "Left",
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Nested Loop",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 1,
                                    "Plan Width": 64,
                                    "Plans": [
                                      {
                                        "Actual Loops": 1,
                                        "Actual Rows": 1.0,
                                        "Actual Startup Time": 0.016,
                                        "Actual Total Time": 0.017,
                                        "Alias": "s",
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Index Cond": "(name = 'Endpoint API'::text)",
                                        "Index Name": "sources_name_key",
                                        "Index Searches": 1,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Index Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 1,
                                        "Plan Width": 16,
                                        "Relation Name": "sources",
                                        "Rows Removed by Index Recheck": 0,
                                        "Scan Direction": "Forward",
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 2,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.15,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 8.17
                                      },
                                      {
                                        "Actual Loops": 1,
                                        "Actual Rows": 1.0,
                                        "Actual Startup Time": 0.006,
                                        "Actual Total Time": 0.006,
                                        "Alias": "r",
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Index Cond": "(run_id = s.active_run_id)",
                                        "Index Name": "ingestion_runs_run_id_source_id_key",
                                        "Index Searches": 1,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Index Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Inner",
                                        "Plan Rows": 1,
                                        "Plan Width": 56,
                                        "Relation Name": "ingestion_runs",
                                        "Rows Removed by Index Recheck": 0,
                                        "Scan Direction": "Forward",
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 2,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.15,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 8.17
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 4,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.3,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 16.38
                                  },
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 5000.0,
                                    "Actual Startup Time": 0.013,
                                    "Actual Total Time": 0.206,
                                    "Alias": "a",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Inner",
                                    "Plan Rows": 2790,
                                    "Plan Width": 41,
                                    "Relation Name": "assets",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 90,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 117.9
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 94,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.3,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 162.18
                              },
                              {
                                "Actual Loops": 5000,
                                "Actual Rows": 1.0,
                                "Actual Startup Time": 0.233,
                                "Actual Total Time": 0.233,
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Aggregate",
                                "Parallel Aware": false,
                                "Parent Relationship": "Inner",
                                "Partial Mode": "Simple",
                                "Plan Rows": 1,
                                "Plan Width": 80,
                                "Plans": [
                                  {
                                    "Actual Loops": 5000,
                                    "Actual Rows": 0.76,
                                    "Actual Startup Time": 0.166,
                                    "Actual Total Time": 0.233,
                                    "Alias": "e",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Exact Heap Blocks": 795000,
                                    "Filter": "(asset_id = a.asset_id)",
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Lossy Heap Blocks": 0,
                                    "Node Type": "Bitmap Heap Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 1,
                                    "Plan Width": 40,
                                    "Plans": [
                                      {
                                        "Actual Loops": 5000,
                                        "Actual Rows": 3800.0,
                                        "Actual Startup Time": 0.055,
                                        "Actual Total Time": 0.055,
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Index Cond": "(run_id = s.active_run_id)",
                                        "Index Name": "endpoint_observations_pkey",
                                        "Index Searches": 5000,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Bitmap Index Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 25,
                                        "Plan Width": 0,
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 120000,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.0,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 4.47
                                      }
                                    ],
                                    "Recheck Cond": "(run_id = s.active_run_id)",
                                    "Relation Name": "endpoint_observations",
                                    "Rows Removed by Filter": 3799,
                                    "Rows Removed by Index Recheck": 0,
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 915000,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 4.47,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 72.87
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 915000,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 72.88,
                                "Strategy": "Plain",
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 72.89
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 0.0,
                                "Actual Startup Time": 2.358,
                                "Actual Total Time": 2.358,
                                "Async Capable": false,
                                "Disabled": false,
                                "Hash Cond": "(e_1.raw_id = i.raw_id)",
                                "Inner Unique": false,
                                "Join Type": "Anti",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash Join",
                                "Parallel Aware": false,
                                "Parent Relationship": "SubPlan",
                                "Plan Rows": 1,
                                "Plan Width": 8,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 3800.0,
                                    "Actual Startup Time": 0.004,
                                    "Actual Total Time": 0.483,
                                    "Alias": "e_1",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 5088,
                                    "Plan Width": 16,
                                    "Relation Name": "endpoint_observations",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 159,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 209.88
                                  },
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 3800.0,
                                    "Actual Startup Time": 1.335,
                                    "Actual Total Time": 1.335,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Hash Batches": 1,
                                    "Hash Buckets": 16384,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Hash",
                                    "Original Hash Batches": 1,
                                    "Original Hash Buckets": 16384,
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Inner",
                                    "Peak Memory Usage": 277,
                                    "Plan Rows": 10080,
                                    "Plan Width": 8,
                                    "Plans": [
                                      {
                                        "Actual Loops": 1,
                                        "Actual Rows": 3800.0,
                                        "Actual Startup Time": 0.01,
                                        "Actual Total Time": 0.95,
                                        "Alias": "i",
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Seq Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 10080,
                                        "Plan Width": 8,
                                        "Relation Name": "identity_resolutions",
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 224,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.0,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 324.8
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 224,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 324.8,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 324.8
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 383,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 450.8,
                                "Subplan Name": "SubPlan 4",
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 679.76
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 0.0,
                                "Actual Startup Time": 0.004,
                                "Actual Total Time": 0.005,
                                "Async Capable": false,
                                "Disabled": false,
                                "Hash Cond": "(candidate.conflict_id = conflict.conflict_id)",
                                "Inner Unique": false,
                                "Join Type": "Inner",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash Join",
                                "Parallel Aware": false,
                                "Parent Relationship": "SubPlan",
                                "Plan Rows": 1850,
                                "Plan Width": 16,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 0.0,
                                    "Actual Startup Time": 0.003,
                                    "Actual Total Time": 0.003,
                                    "Alias": "candidate",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 1850,
                                    "Plan Width": 16,
                                    "Relation Name": "identity_conflict_candidates",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 0,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 28.5
                                  },
                                  {
                                    "Actual Loops": 0,
                                    "Actual Rows": 0,
                                    "Actual Startup Time": 0.0,
                                    "Actual Total Time": 0.0,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Hash",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Inner",
                                    "Plan Rows": 750,
                                    "Plan Width": 16,
                                    "Plans": [
                                      {
                                        "Actual Loops": 0,
                                        "Actual Rows": 0,
                                        "Actual Startup Time": 0.0,
                                        "Actual Total Time": 0.0,
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Hash Cond": "(resolution.raw_id = conflict.raw_id)",
                                        "Inner Unique": true,
                                        "Join Type": "Inner",
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Hash Join",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 750,
                                        "Plan Width": 16,
                                        "Plans": [
                                          {
                                            "Actual Loops": 0,
                                            "Actual Rows": 0,
                                            "Actual Startup Time": 0.0,
                                            "Actual Total Time": 0.0,
                                            "Alias": "resolution",
                                            "Async Capable": false,
                                            "Disabled": false,
                                            "Local Dirtied Blocks": 0,
                                            "Local Hit Blocks": 0,
                                            "Local Read Blocks": 0,
                                            "Local Written Blocks": 0,
                                            "Node Type": "Seq Scan",
                                            "Parallel Aware": false,
                                            "Parent Relationship": "Outer",
                                            "Plan Rows": 10080,
                                            "Plan Width": 16,
                                            "Relation Name": "identity_resolutions",
                                            "Shared Dirtied Blocks": 0,
                                            "Shared Hit Blocks": 0,
                                            "Shared Read Blocks": 0,
                                            "Shared Written Blocks": 0,
                                            "Startup Cost": 0.0,
                                            "Temp Read Blocks": 0,
                                            "Temp Written Blocks": 0,
                                            "Total Cost": 324.8
                                          },
                                          {
                                            "Actual Loops": 0,
                                            "Actual Rows": 0,
                                            "Actual Startup Time": 0.0,
                                            "Actual Total Time": 0.0,
                                            "Async Capable": false,
                                            "Disabled": false,
                                            "Local Dirtied Blocks": 0,
                                            "Local Hit Blocks": 0,
                                            "Local Read Blocks": 0,
                                            "Local Written Blocks": 0,
                                            "Node Type": "Hash",
                                            "Parallel Aware": false,
                                            "Parent Relationship": "Inner",
                                            "Plan Rows": 750,
                                            "Plan Width": 16,
                                            "Plans": [
                                              {
                                                "Actual Loops": 0,
                                                "Actual Rows": 0,
                                                "Actual Startup Time": 0.0,
                                                "Actual Total Time": 0.0,
                                                "Alias": "conflict",
                                                "Async Capable": false,
                                                "Disabled": false,
                                                "Local Dirtied Blocks": 0,
                                                "Local Hit Blocks": 0,
                                                "Local Read Blocks": 0,
                                                "Local Written Blocks": 0,
                                                "Node Type": "Seq Scan",
                                                "Parallel Aware": false,
                                                "Parent Relationship": "Outer",
                                                "Plan Rows": 750,
                                                "Plan Width": 16,
                                                "Relation Name": "identity_conflicts",
                                                "Shared Dirtied Blocks": 0,
                                                "Shared Hit Blocks": 0,
                                                "Shared Read Blocks": 0,
                                                "Shared Written Blocks": 0,
                                                "Startup Cost": 0.0,
                                                "Temp Read Blocks": 0,
                                                "Temp Written Blocks": 0,
                                                "Total Cost": 17.5
                                              }
                                            ],
                                            "Shared Dirtied Blocks": 0,
                                            "Shared Hit Blocks": 0,
                                            "Shared Read Blocks": 0,
                                            "Shared Written Blocks": 0,
                                            "Startup Cost": 17.5,
                                            "Temp Read Blocks": 0,
                                            "Temp Written Blocks": 0,
                                            "Total Cost": 17.5
                                          }
                                        ],
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 0,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 26.88,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 378.15
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 0,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 378.15,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 378.15
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 0,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 387.52,
                                "Subplan Name": "SubPlan 6",
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 441.46
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 0.0,
                                "Actual Startup Time": 0.616,
                                "Actual Total Time": 0.616,
                                "Async Capable": false,
                                "Disabled": false,
                                "Hash Cond": "(e_2.raw_id = i_1.raw_id)",
                                "Inner Unique": false,
                                "Join Type": "Anti",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash Join",
                                "Parallel Aware": false,
                                "Parent Relationship": "SubPlan",
                                "Plan Rows": 1,
                                "Plan Width": 8,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 3800.0,
                                    "Actual Startup Time": 0.002,
                                    "Actual Total Time": 0.101,
                                    "Alias": "e_2",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 5088,
                                    "Plan Width": 16,
                                    "Relation Name": "endpoint_observations",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 159,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 209.88
                                  },
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 3800.0,
                                    "Actual Startup Time": 0.329,
                                    "Actual Total Time": 0.329,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Hash Batches": 1,
                                    "Hash Buckets": 16384,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Hash",
                                    "Original Hash Batches": 1,
                                    "Original Hash Buckets": 16384,
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Inner",
                                    "Peak Memory Usage": 277,
                                    "Plan Rows": 10080,
                                    "Plan Width": 8,
                                    "Plans": [
                                      {
                                        "Actual Loops": 1,
                                        "Actual Rows": 3800.0,
                                        "Actual Startup Time": 0.002,
                                        "Actual Total Time": 0.211,
                                        "Alias": "i_1",
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Seq Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 10080,
                                        "Plan Width": 8,
                                        "Relation Name": "identity_resolutions",
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 224,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.0,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 324.8
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 224,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 324.8,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 324.8
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 383,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 450.8,
                                "Subplan Name": "SubPlan 8",
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 679.76
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 0.0,
                                "Actual Startup Time": 0.001,
                                "Actual Total Time": 0.002,
                                "Async Capable": false,
                                "Disabled": false,
                                "Hash Cond": "(candidate_1.conflict_id = conflict_1.conflict_id)",
                                "Inner Unique": false,
                                "Join Type": "Inner",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash Join",
                                "Parallel Aware": false,
                                "Parent Relationship": "SubPlan",
                                "Plan Rows": 1850,
                                "Plan Width": 16,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 0.0,
                                    "Actual Startup Time": 0.001,
                                    "Actual Total Time": 0.001,
                                    "Alias": "candidate_1",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 1850,
                                    "Plan Width": 16,
                                    "Relation Name": "identity_conflict_candidates",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 0,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 28.5
                                  },
                                  {
                                    "Actual Loops": 0,
                                    "Actual Rows": 0,
                                    "Actual Startup Time": 0.0,
                                    "Actual Total Time": 0.0,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Hash",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Inner",
                                    "Plan Rows": 750,
                                    "Plan Width": 16,
                                    "Plans": [
                                      {
                                        "Actual Loops": 0,
                                        "Actual Rows": 0,
                                        "Actual Startup Time": 0.0,
                                        "Actual Total Time": 0.0,
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Hash Cond": "(resolution_1.raw_id = conflict_1.raw_id)",
                                        "Inner Unique": true,
                                        "Join Type": "Inner",
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Hash Join",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 750,
                                        "Plan Width": 16,
                                        "Plans": [
                                          {
                                            "Actual Loops": 0,
                                            "Actual Rows": 0,
                                            "Actual Startup Time": 0.0,
                                            "Actual Total Time": 0.0,
                                            "Alias": "resolution_1",
                                            "Async Capable": false,
                                            "Disabled": false,
                                            "Local Dirtied Blocks": 0,
                                            "Local Hit Blocks": 0,
                                            "Local Read Blocks": 0,
                                            "Local Written Blocks": 0,
                                            "Node Type": "Seq Scan",
                                            "Parallel Aware": false,
                                            "Parent Relationship": "Outer",
                                            "Plan Rows": 10080,
                                            "Plan Width": 16,
                                            "Relation Name": "identity_resolutions",
                                            "Shared Dirtied Blocks": 0,
                                            "Shared Hit Blocks": 0,
                                            "Shared Read Blocks": 0,
                                            "Shared Written Blocks": 0,
                                            "Startup Cost": 0.0,
                                            "Temp Read Blocks": 0,
                                            "Temp Written Blocks": 0,
                                            "Total Cost": 324.8
                                          },
                                          {
                                            "Actual Loops": 0,
                                            "Actual Rows": 0,
                                            "Actual Startup Time": 0.0,
                                            "Actual Total Time": 0.0,
                                            "Async Capable": false,
                                            "Disabled": false,
                                            "Local Dirtied Blocks": 0,
                                            "Local Hit Blocks": 0,
                                            "Local Read Blocks": 0,
                                            "Local Written Blocks": 0,
                                            "Node Type": "Hash",
                                            "Parallel Aware": false,
                                            "Parent Relationship": "Inner",
                                            "Plan Rows": 750,
                                            "Plan Width": 16,
                                            "Plans": [
                                              {
                                                "Actual Loops": 0,
                                                "Actual Rows": 0,
                                                "Actual Startup Time": 0.0,
                                                "Actual Total Time": 0.0,
                                                "Alias": "conflict_1",
                                                "Async Capable": false,
                                                "Disabled": false,
                                                "Local Dirtied Blocks": 0,
                                                "Local Hit Blocks": 0,
                                                "Local Read Blocks": 0,
                                                "Local Written Blocks": 0,
                                                "Node Type": "Seq Scan",
                                                "Parallel Aware": false,
                                                "Parent Relationship": "Outer",
                                                "Plan Rows": 750,
                                                "Plan Width": 16,
                                                "Relation Name": "identity_conflicts",
                                                "Shared Dirtied Blocks": 0,
                                                "Shared Hit Blocks": 0,
                                                "Shared Read Blocks": 0,
                                                "Shared Written Blocks": 0,
                                                "Startup Cost": 0.0,
                                                "Temp Read Blocks": 0,
                                                "Temp Written Blocks": 0,
                                                "Total Cost": 17.5
                                              }
                                            ],
                                            "Shared Dirtied Blocks": 0,
                                            "Shared Hit Blocks": 0,
                                            "Shared Read Blocks": 0,
                                            "Shared Written Blocks": 0,
                                            "Startup Cost": 17.5,
                                            "Temp Read Blocks": 0,
                                            "Temp Written Blocks": 0,
                                            "Total Cost": 17.5
                                          }
                                        ],
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 0,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 26.88,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 378.15
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 0,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 378.15,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 378.15
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 0,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 387.52,
                                "Subplan Name": "SubPlan 10",
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 441.46
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 915860,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 73.18,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 1827433.3
                          },
                          {
                            "Actual Loops": 5000,
                            "Actual Rows": 1.0,
                            "Actual Startup Time": 0.0,
                            "Actual Total Time": 0.0,
                            "Alias": "asset",
                            "Async Capable": false,
                            "Disabled": false,
                            "Index Cond": "(asset_id = a.asset_id)",
                            "Index Name": "assets_pkey",
                            "Index Searches": 5000,
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Index Scan",
                            "Parallel Aware": false,
                            "Parent Relationship": "Inner",
                            "Plan Rows": 1,
                            "Plan Width": 72,
                            "Relation Name": "assets",
                            "Rows Removed by Index Recheck": 0,
                            "Scan Direction": "Forward",
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 15000,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 0.28,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 0.45
                          },
                          {
                            "Actual Loops": 5000,
                            "Actual Rows": 1.0,
                            "Actual Startup Time": 0.028,
                            "Actual Total Time": 0.029,
                            "Async Capable": false,
                            "Disabled": false,
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Aggregate",
                            "Parallel Aware": false,
                            "Parent Relationship": "SubPlan",
                            "Partial Mode": "Simple",
                            "Plan Rows": 1,
                            "Plan Width": 8,
                            "Plans": [
                              {
                                "Actual Loops": 5000,
                                "Actual Rows": 0.05,
                                "Actual Startup Time": 0.027,
                                "Actual Total Time": 0.028,
                                "Alias": "finding",
                                "Async Capable": false,
                                "Disabled": false,
                                "Filter": "((status = 'open'::text) AND (((explanation ->> 'asset_key'::text) = asset.asset_key) OR ((rule_id = 'endpoint_coverage_gap'::text) AND (subject_key = asset.asset_key))))",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Seq Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 1,
                                "Plan Width": 0,
                                "Relation Name": "findings",
                                "Rows Removed by Filter": 270,
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 80000,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 27.16
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 80000,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 27.16,
                            "Strategy": "Plain",
                            "Subplan Name": "SubPlan 2",
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 27.17
                          }
                        ],
                        "Shared Dirtied Blocks": 0,
                        "Shared Hit Blocks": 1010860,
                        "Shared Read Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Startup Cost": 73.46,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Total Cost": 1904547.25
                      }
                    ],
                    "Shared Dirtied Blocks": 0,
                    "Shared Hit Blocks": 1010860,
                    "Shared Read Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Sort Key": [
                      "((SubPlan 2)) DESC",
                      "(CASE (CASE WHEN ((a.lifecycle <> 'active'::text) OR (NOT a.expects_endpoint)) THEN 'not_applicable'::text WHEN (CASE WHEN (a.lifecycle <> 'active'::text) THEN ('lifecycle_'::text || a.lifecycle) WHEN (NOT a.expects_endpoint) THEN 'endpoint_not_required'::text WHEN (NOT COALESCE(((r.status = 'succeeded'::text) AND (r.finished_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at >= ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.freshness_seconds)::double precision * '00:00:01'::interval)))), false)) THEN 'source_not_fresh'::text WHEN (ANY (s.active_run_id = (hashed SubPlan 4).col1)) THEN 'generation_needs_identity_resolution'::text WHEN (ANY ((a.asset_id = (hashed SubPlan 6).col1) AND (s.active_run_id = (hashed SubPlan 6).col2))) THEN 'identity_conflict'::text WHEN ((count(*)) > 1) THEN 'multiple_endpoint_records'::text WHEN ((count(*)) = 0) THEN 'not_observed'::text WHEN ((min(e.last_seen_at)) > '2026-09-15 09:00:00-03'::timestamp with time zone) THEN 'future_endpoint_contact'::text WHEN ((min(e.last_seen_at)) < ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.endpoint_contact_seconds)::double precision * '00:00:01'::interval))) THEN 'endpoint_offline'::text WHEN ((min(e.protection_state)) = 'healthy'::text) THEN 'fresh_healthy'::text WHEN ((min(e.protection_state)) = 'unhealthy'::text) THEN 'reported_unhealthy'::text ELSE 'reported_unknown'::text END = 'fresh_healthy'::text) THEN 'healthy'::text WHEN (CASE WHEN (a.lifecycle <> 'active'::text) THEN ('lifecycle_'::text || a.lifecycle) WHEN (NOT a.expects_endpoint) THEN 'endpoint_not_required'::text WHEN (NOT COALESCE(((r.status = 'succeeded'::text) AND (r.finished_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at >= ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.freshness_seconds)::double precision * '00:00:01'::interval)))), false)) THEN 'source_not_fresh'::text WHEN (ANY (s.active_run_id = (hashed SubPlan 8).col1)) THEN 'generation_needs_identity_resolution'::text WHEN (ANY ((a.asset_id = (hashed SubPlan 10).col1) AND (s.active_run_id = (hashed SubPlan 10).col2))) THEN 'identity_conflict'::text WHEN ((count(*)) > 1) THEN 'multiple_endpoint_records'::text WHEN ((count(*)) = 0) THEN 'not_observed'::text WHEN ((min(e.last_seen_at)) > '2026-09-15 09:00:00-03'::timestamp with time zone) THEN 'future_endpoint_contact'::text WHEN ((min(e.last_seen_at)) < ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.endpoint_contact_seconds)::double precision * '00:00:01'::interval))) THEN 'endpoint_offline'::text WHEN ((min(e.protection_state)) = 'healthy'::text) THEN 'fresh_healthy'::text WHEN ((min(e.protection_state)) = 'unhealthy'::text) THEN 'reported_unhealthy'::text ELSE 'reported_unknown'::text END = ANY ('{reported_unhealthy,not_observed}'::text[])) THEN 'unhealthy'::text ELSE 'unknown'::text END) WHEN 'unknown'::text THEN 1 WHEN 'unhealthy'::text THEN 2 WHEN 'healthy'::text THEN 3 ELSE 4 END)",
                      "asset.asset_key"
                    ],
                    "Sort Method": "top-N heapsort",
                    "Sort Space Type": "Memory",
                    "Sort Space Used": 31,
                    "Startup Cost": 1904639.94,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Total Cost": 1904646.91
                  },
                  {
                    "Actual Loops": 50,
                    "Actual Rows": 1.0,
                    "Actual Startup Time": 0.001,
                    "Actual Total Time": 0.001,
                    "Async Capable": false,
                    "Disabled": false,
                    "Local Dirtied Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Written Blocks": 0,
                    "Node Type": "Aggregate",
                    "Parallel Aware": false,
                    "Parent Relationship": "SubPlan",
                    "Partial Mode": "Simple",
                    "Plan Rows": 1,
                    "Plan Width": 8,
                    "Plans": [
                      {
                        "Actual Loops": 50,
                        "Actual Rows": 0.0,
                        "Actual Startup Time": 0.0,
                        "Actual Total Time": 0.0,
                        "Alias": "alert",
                        "Async Capable": false,
                        "Disabled": false,
                        "Exact Heap Blocks": 0,
                        "Local Dirtied Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Written Blocks": 0,
                        "Lossy Heap Blocks": 0,
                        "Node Type": "Bitmap Heap Scan",
                        "Parallel Aware": false,
                        "Parent Relationship": "Outer",
                        "Plan Rows": 2,
                        "Plan Width": 0,
                        "Plans": [
                          {
                            "Actual Loops": 50,
                            "Actual Rows": 0.0,
                            "Actual Startup Time": 0.0,
                            "Actual Total Time": 0.0,
                            "Async Capable": false,
                            "Disabled": false,
                            "Index Cond": "(asset_id = asset.asset_id)",
                            "Index Name": "alerts_asset_status",
                            "Index Searches": 50,
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Bitmap Index Scan",
                            "Parallel Aware": false,
                            "Parent Relationship": "Outer",
                            "Plan Rows": 2,
                            "Plan Width": 0,
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 100,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 0.0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 4.29
                          }
                        ],
                        "Recheck Cond": "(asset_id = asset.asset_id)",
                        "Relation Name": "alerts",
                        "Rows Removed by Index Recheck": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Hit Blocks": 100,
                        "Shared Read Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Startup Cost": 4.29,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Total Cost": 9.75
                      }
                    ],
                    "Shared Dirtied Blocks": 0,
                    "Shared Hit Blocks": 100,
                    "Shared Read Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Startup Cost": 9.76,
                    "Strategy": "Plain",
                    "Subplan Name": "SubPlan 1",
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Total Cost": 9.77
                  }
                ],
                "Shared Dirtied Blocks": 0,
                "Shared Hit Blocks": 1010960,
                "Shared Read Blocks": 0,
                "Shared Written Blocks": 0,
                "Startup Cost": 1904639.94,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Total Cost": 2007764.17
              }
            ],
            "Shared Dirtied Blocks": 0,
            "Shared Hit Blocks": 1010960,
            "Shared Read Blocks": 0,
            "Shared Written Blocks": 0,
            "Startup Cost": 1904639.94,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Total Cost": 1906488.04
          },
          "Planning": {
            "Local Dirtied Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Written Blocks": 0,
            "Shared Dirtied Blocks": 0,
            "Shared Hit Blocks": 12,
            "Shared Read Blocks": 0,
            "Shared Written Blocks": 0,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0
          },
          "Planning Time": 1.854,
          "Triggers": []
        },
        "planning_time_ms": 1.854,
        "root_node": "Limit",
        "shared_hit_blocks": 1010960,
        "shared_read_blocks": 0,
        "sql_scope": "the bounded 50-row data query; owner and count queries excluded",
        "total_cost": 1906488.04
      },
      "summary_ms": {
        "collection_ms": {
          "max": 535.533,
          "median": 495.132,
          "min": 494.166
        },
        "evaluation_ms": {
          "max": 1453.421,
          "median": 1393.192,
          "min": 1385.79
        },
        "page_query_asset_list_ms": {
          "max": 1346.964,
          "median": 1336.966,
          "min": 1314.485
        },
        "page_query_coverage_matrix_ms": {
          "max": 1187.847,
          "median": 1170.095,
          "min": 1145.386
        },
        "page_query_domain_health_ms": {
          "max": 0.632,
          "median": 0.623,
          "min": 0.59
        },
        "page_query_overview_ms": {
          "max": 1221.301,
          "median": 1187.123,
          "min": 1174.781
        },
        "page_query_pipeline_health_ms": {
          "max": 1.241,
          "median": 1.219,
          "min": 1.08
        },
        "publication_ms": {
          "max": 1294.163,
          "median": 1238.385,
          "min": 1226.311
        }
      }
    },
    "decision": "added endpoint_observations_run_asset on (run_id, asset_id)",
    "execution_time_improvement_factor": 7.94,
    "reason": "The pre-index plan scanned all 3,800 accepted endpoint rows for each of 5,000 assets. The composite index matches the function predicate."
  },
  "injected_clock": "2026-09-15T12:00:00+00:00",
  "input_hashes": {
    "alerts": "806f3dd3850e9cb6d1edc568c951379a6602b7f001c59dbc34922944c2add3e7",
    "domains": "b7bddcf4ae31ae542404bd530a91bcc31d4af3835391da90e02bccb69a741e38",
    "endpoints": "c24a502d1f77ec71e3fdf1acd50363287b43e12d906b6f79dd8f756dc295c90a",
    "inventory": "384b7718eabfc7c9d5fa7d9c3c2ae5a84c3e5eb9b698a7689b9499a35142c6b5"
  },
  "label": "Synthetic deterministic benchmark data",
  "page_size": 250,
  "query_plan": {
    "execution_time_ms": 166.355,
    "indexes_used": [
      "alerts_asset_status",
      "assets_pkey",
      "endpoint_observations_run_asset",
      "ingestion_runs_run_id_source_id_key",
      "sources_name_key"
    ],
    "page": "Asset Evidence list",
    "plan": {
      "Execution Time": 166.355,
      "Plan": {
        "Actual Loops": 1,
        "Actual Rows": 50.0,
        "Actual Startup Time": 166.198,
        "Actual Total Time": 166.235,
        "Async Capable": false,
        "Disabled": false,
        "Local Dirtied Blocks": 0,
        "Local Hit Blocks": 0,
        "Local Read Blocks": 0,
        "Local Written Blocks": 0,
        "Node Type": "Limit",
        "Parallel Aware": false,
        "Plan Rows": 50,
        "Plan Width": 116,
        "Plans": [
          {
            "Actual Loops": 1,
            "Actual Rows": 50.0,
            "Actual Startup Time": 166.196,
            "Actual Total Time": 166.232,
            "Async Capable": false,
            "Disabled": false,
            "Local Dirtied Blocks": 0,
            "Local Hit Blocks": 0,
            "Local Read Blocks": 0,
            "Local Written Blocks": 0,
            "Node Type": "Result",
            "Parallel Aware": false,
            "Parent Relationship": "Outer",
            "Plan Rows": 2790,
            "Plan Width": 116,
            "Plans": [
              {
                "Actual Loops": 1,
                "Actual Rows": 50.0,
                "Actual Startup Time": 166.191,
                "Actual Total Time": 166.194,
                "Async Capable": false,
                "Disabled": false,
                "Local Dirtied Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Written Blocks": 0,
                "Node Type": "Sort",
                "Parallel Aware": false,
                "Parent Relationship": "Outer",
                "Plan Rows": 2790,
                "Plan Width": 116,
                "Plans": [
                  {
                    "Actual Loops": 1,
                    "Actual Rows": 5000.0,
                    "Actual Startup Time": 2.329,
                    "Actual Total Time": 165.691,
                    "Async Capable": false,
                    "Disabled": false,
                    "Inner Unique": true,
                    "Join Type": "Inner",
                    "Local Dirtied Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Written Blocks": 0,
                    "Node Type": "Nested Loop",
                    "Parallel Aware": false,
                    "Parent Relationship": "Outer",
                    "Plan Rows": 2790,
                    "Plan Width": 116,
                    "Plans": [
                      {
                        "Actual Loops": 1,
                        "Actual Rows": 5000.0,
                        "Actual Startup Time": 2.229,
                        "Actual Total Time": 9.132,
                        "Async Capable": false,
                        "Disabled": false,
                        "Inner Unique": false,
                        "Join Type": "Left",
                        "Local Dirtied Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Written Blocks": 0,
                        "Node Type": "Nested Loop",
                        "Parallel Aware": false,
                        "Parent Relationship": "Outer",
                        "Plan Rows": 2790,
                        "Plan Width": 218,
                        "Plans": [
                          {
                            "Actual Loops": 1,
                            "Actual Rows": 5000.0,
                            "Actual Startup Time": 0.029,
                            "Actual Total Time": 0.605,
                            "Async Capable": false,
                            "Disabled": false,
                            "Inner Unique": false,
                            "Join Type": "Inner",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Nested Loop",
                            "Parallel Aware": false,
                            "Parent Relationship": "Outer",
                            "Plan Rows": 2790,
                            "Plan Width": 105,
                            "Plans": [
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 1.0,
                                "Actual Startup Time": 0.02,
                                "Actual Total Time": 0.021,
                                "Async Capable": false,
                                "Disabled": false,
                                "Inner Unique": true,
                                "Join Type": "Left",
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Nested Loop",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 1,
                                "Plan Width": 64,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 1.0,
                                    "Actual Startup Time": 0.012,
                                    "Actual Total Time": 0.012,
                                    "Alias": "s",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Index Cond": "(name = 'Endpoint API'::text)",
                                    "Index Name": "sources_name_key",
                                    "Index Searches": 1,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Index Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 1,
                                    "Plan Width": 16,
                                    "Relation Name": "sources",
                                    "Rows Removed by Index Recheck": 0,
                                    "Scan Direction": "Forward",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 2,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.15,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 8.17
                                  },
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 1.0,
                                    "Actual Startup Time": 0.005,
                                    "Actual Total Time": 0.005,
                                    "Alias": "r",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Index Cond": "(run_id = s.active_run_id)",
                                    "Index Name": "ingestion_runs_run_id_source_id_key",
                                    "Index Searches": 1,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Index Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Inner",
                                    "Plan Rows": 1,
                                    "Plan Width": 56,
                                    "Relation Name": "ingestion_runs",
                                    "Rows Removed by Index Recheck": 0,
                                    "Scan Direction": "Forward",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 2,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.15,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 8.17
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 4,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.3,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 16.38
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 5000.0,
                                "Actual Startup Time": 0.007,
                                "Actual Total Time": 0.188,
                                "Alias": "a",
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Seq Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Inner",
                                "Plan Rows": 2790,
                                "Plan Width": 41,
                                "Relation Name": "assets",
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 90,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 117.9
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 94,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 0.3,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 162.18
                          },
                          {
                            "Actual Loops": 5000,
                            "Actual Rows": 1.0,
                            "Actual Startup Time": 0.001,
                            "Actual Total Time": 0.001,
                            "Async Capable": false,
                            "Disabled": false,
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Aggregate",
                            "Parallel Aware": false,
                            "Parent Relationship": "Inner",
                            "Partial Mode": "Simple",
                            "Plan Rows": 1,
                            "Plan Width": 80,
                            "Plans": [
                              {
                                "Actual Loops": 5000,
                                "Actual Rows": 0.76,
                                "Actual Startup Time": 0.001,
                                "Actual Total Time": 0.001,
                                "Alias": "e",
                                "Async Capable": false,
                                "Disabled": false,
                                "Index Cond": "((run_id = s.active_run_id) AND (asset_id = a.asset_id))",
                                "Index Name": "endpoint_observations_run_asset",
                                "Index Searches": 5000,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Index Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 1,
                                "Plan Width": 40,
                                "Relation Name": "endpoint_observations",
                                "Rows Removed by Index Recheck": 0,
                                "Scan Direction": "Forward",
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 13800,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.28,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 8.3
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 13800,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 8.31,
                            "Strategy": "Plain",
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 8.32
                          },
                          {
                            "Actual Loops": 1,
                            "Actual Rows": 0.0,
                            "Actual Startup Time": 2.158,
                            "Actual Total Time": 2.158,
                            "Async Capable": false,
                            "Disabled": false,
                            "Hash Cond": "(e_1.raw_id = i.raw_id)",
                            "Inner Unique": false,
                            "Join Type": "Anti",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Hash Join",
                            "Parallel Aware": false,
                            "Parent Relationship": "SubPlan",
                            "Plan Rows": 1,
                            "Plan Width": 8,
                            "Plans": [
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 3800.0,
                                "Actual Startup Time": 0.008,
                                "Actual Total Time": 0.408,
                                "Alias": "e_1",
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Seq Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 5088,
                                "Plan Width": 16,
                                "Relation Name": "endpoint_observations",
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 159,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 209.88
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 3800.0,
                                "Actual Startup Time": 1.221,
                                "Actual Total Time": 1.221,
                                "Async Capable": false,
                                "Disabled": false,
                                "Hash Batches": 1,
                                "Hash Buckets": 16384,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash",
                                "Original Hash Batches": 1,
                                "Original Hash Buckets": 16384,
                                "Parallel Aware": false,
                                "Parent Relationship": "Inner",
                                "Peak Memory Usage": 277,
                                "Plan Rows": 10080,
                                "Plan Width": 8,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 3800.0,
                                    "Actual Startup Time": 0.007,
                                    "Actual Total Time": 0.801,
                                    "Alias": "i",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 10080,
                                    "Plan Width": 8,
                                    "Relation Name": "identity_resolutions",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 224,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 324.8
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 224,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 324.8,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 324.8
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 383,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 450.8,
                            "Subplan Name": "SubPlan 4",
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 679.76
                          },
                          {
                            "Actual Loops": 1,
                            "Actual Rows": 0.0,
                            "Actual Startup Time": 0.005,
                            "Actual Total Time": 0.005,
                            "Async Capable": false,
                            "Disabled": false,
                            "Hash Cond": "(candidate.conflict_id = conflict.conflict_id)",
                            "Inner Unique": false,
                            "Join Type": "Inner",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Hash Join",
                            "Parallel Aware": false,
                            "Parent Relationship": "SubPlan",
                            "Plan Rows": 1850,
                            "Plan Width": 16,
                            "Plans": [
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 0.0,
                                "Actual Startup Time": 0.004,
                                "Actual Total Time": 0.004,
                                "Alias": "candidate",
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Seq Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 1850,
                                "Plan Width": 16,
                                "Relation Name": "identity_conflict_candidates",
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 0,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 28.5
                              },
                              {
                                "Actual Loops": 0,
                                "Actual Rows": 0,
                                "Actual Startup Time": 0.0,
                                "Actual Total Time": 0.0,
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash",
                                "Parallel Aware": false,
                                "Parent Relationship": "Inner",
                                "Plan Rows": 750,
                                "Plan Width": 16,
                                "Plans": [
                                  {
                                    "Actual Loops": 0,
                                    "Actual Rows": 0,
                                    "Actual Startup Time": 0.0,
                                    "Actual Total Time": 0.0,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Hash Cond": "(resolution.raw_id = conflict.raw_id)",
                                    "Inner Unique": true,
                                    "Join Type": "Inner",
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Hash Join",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 750,
                                    "Plan Width": 16,
                                    "Plans": [
                                      {
                                        "Actual Loops": 0,
                                        "Actual Rows": 0,
                                        "Actual Startup Time": 0.0,
                                        "Actual Total Time": 0.0,
                                        "Alias": "resolution",
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Seq Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 10080,
                                        "Plan Width": 16,
                                        "Relation Name": "identity_resolutions",
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 0,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.0,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 324.8
                                      },
                                      {
                                        "Actual Loops": 0,
                                        "Actual Rows": 0,
                                        "Actual Startup Time": 0.0,
                                        "Actual Total Time": 0.0,
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Hash",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Inner",
                                        "Plan Rows": 750,
                                        "Plan Width": 16,
                                        "Plans": [
                                          {
                                            "Actual Loops": 0,
                                            "Actual Rows": 0,
                                            "Actual Startup Time": 0.0,
                                            "Actual Total Time": 0.0,
                                            "Alias": "conflict",
                                            "Async Capable": false,
                                            "Disabled": false,
                                            "Local Dirtied Blocks": 0,
                                            "Local Hit Blocks": 0,
                                            "Local Read Blocks": 0,
                                            "Local Written Blocks": 0,
                                            "Node Type": "Seq Scan",
                                            "Parallel Aware": false,
                                            "Parent Relationship": "Outer",
                                            "Plan Rows": 750,
                                            "Plan Width": 16,
                                            "Relation Name": "identity_conflicts",
                                            "Shared Dirtied Blocks": 0,
                                            "Shared Hit Blocks": 0,
                                            "Shared Read Blocks": 0,
                                            "Shared Written Blocks": 0,
                                            "Startup Cost": 0.0,
                                            "Temp Read Blocks": 0,
                                            "Temp Written Blocks": 0,
                                            "Total Cost": 17.5
                                          }
                                        ],
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 0,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 17.5,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 17.5
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 0,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 26.88,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 378.15
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 0,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 378.15,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 378.15
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 0,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 387.52,
                            "Subplan Name": "SubPlan 6",
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 441.46
                          },
                          {
                            "Actual Loops": 1,
                            "Actual Rows": 0.0,
                            "Actual Startup Time": 0.554,
                            "Actual Total Time": 0.554,
                            "Async Capable": false,
                            "Disabled": false,
                            "Hash Cond": "(e_2.raw_id = i_1.raw_id)",
                            "Inner Unique": false,
                            "Join Type": "Anti",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Hash Join",
                            "Parallel Aware": false,
                            "Parent Relationship": "SubPlan",
                            "Plan Rows": 1,
                            "Plan Width": 8,
                            "Plans": [
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 3800.0,
                                "Actual Startup Time": 0.002,
                                "Actual Total Time": 0.105,
                                "Alias": "e_2",
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Seq Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 5088,
                                "Plan Width": 16,
                                "Relation Name": "endpoint_observations",
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 159,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 209.88
                              },
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 3800.0,
                                "Actual Startup Time": 0.289,
                                "Actual Total Time": 0.289,
                                "Async Capable": false,
                                "Disabled": false,
                                "Hash Batches": 1,
                                "Hash Buckets": 16384,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash",
                                "Original Hash Batches": 1,
                                "Original Hash Buckets": 16384,
                                "Parallel Aware": false,
                                "Parent Relationship": "Inner",
                                "Peak Memory Usage": 277,
                                "Plan Rows": 10080,
                                "Plan Width": 8,
                                "Plans": [
                                  {
                                    "Actual Loops": 1,
                                    "Actual Rows": 3800.0,
                                    "Actual Startup Time": 0.002,
                                    "Actual Total Time": 0.17,
                                    "Alias": "i_1",
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Seq Scan",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 10080,
                                    "Plan Width": 8,
                                    "Relation Name": "identity_resolutions",
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 224,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 0.0,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 324.8
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 224,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 324.8,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 324.8
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 383,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 450.8,
                            "Subplan Name": "SubPlan 8",
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 679.76
                          },
                          {
                            "Actual Loops": 1,
                            "Actual Rows": 0.0,
                            "Actual Startup Time": 0.001,
                            "Actual Total Time": 0.001,
                            "Async Capable": false,
                            "Disabled": false,
                            "Hash Cond": "(candidate_1.conflict_id = conflict_1.conflict_id)",
                            "Inner Unique": false,
                            "Join Type": "Inner",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Hash Join",
                            "Parallel Aware": false,
                            "Parent Relationship": "SubPlan",
                            "Plan Rows": 1850,
                            "Plan Width": 16,
                            "Plans": [
                              {
                                "Actual Loops": 1,
                                "Actual Rows": 0.0,
                                "Actual Startup Time": 0.001,
                                "Actual Total Time": 0.001,
                                "Alias": "candidate_1",
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Seq Scan",
                                "Parallel Aware": false,
                                "Parent Relationship": "Outer",
                                "Plan Rows": 1850,
                                "Plan Width": 16,
                                "Relation Name": "identity_conflict_candidates",
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 0,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 0.0,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 28.5
                              },
                              {
                                "Actual Loops": 0,
                                "Actual Rows": 0,
                                "Actual Startup Time": 0.0,
                                "Actual Total Time": 0.0,
                                "Async Capable": false,
                                "Disabled": false,
                                "Local Dirtied Blocks": 0,
                                "Local Hit Blocks": 0,
                                "Local Read Blocks": 0,
                                "Local Written Blocks": 0,
                                "Node Type": "Hash",
                                "Parallel Aware": false,
                                "Parent Relationship": "Inner",
                                "Plan Rows": 750,
                                "Plan Width": 16,
                                "Plans": [
                                  {
                                    "Actual Loops": 0,
                                    "Actual Rows": 0,
                                    "Actual Startup Time": 0.0,
                                    "Actual Total Time": 0.0,
                                    "Async Capable": false,
                                    "Disabled": false,
                                    "Hash Cond": "(resolution_1.raw_id = conflict_1.raw_id)",
                                    "Inner Unique": true,
                                    "Join Type": "Inner",
                                    "Local Dirtied Blocks": 0,
                                    "Local Hit Blocks": 0,
                                    "Local Read Blocks": 0,
                                    "Local Written Blocks": 0,
                                    "Node Type": "Hash Join",
                                    "Parallel Aware": false,
                                    "Parent Relationship": "Outer",
                                    "Plan Rows": 750,
                                    "Plan Width": 16,
                                    "Plans": [
                                      {
                                        "Actual Loops": 0,
                                        "Actual Rows": 0,
                                        "Actual Startup Time": 0.0,
                                        "Actual Total Time": 0.0,
                                        "Alias": "resolution_1",
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Seq Scan",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Outer",
                                        "Plan Rows": 10080,
                                        "Plan Width": 16,
                                        "Relation Name": "identity_resolutions",
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 0,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 0.0,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 324.8
                                      },
                                      {
                                        "Actual Loops": 0,
                                        "Actual Rows": 0,
                                        "Actual Startup Time": 0.0,
                                        "Actual Total Time": 0.0,
                                        "Async Capable": false,
                                        "Disabled": false,
                                        "Local Dirtied Blocks": 0,
                                        "Local Hit Blocks": 0,
                                        "Local Read Blocks": 0,
                                        "Local Written Blocks": 0,
                                        "Node Type": "Hash",
                                        "Parallel Aware": false,
                                        "Parent Relationship": "Inner",
                                        "Plan Rows": 750,
                                        "Plan Width": 16,
                                        "Plans": [
                                          {
                                            "Actual Loops": 0,
                                            "Actual Rows": 0,
                                            "Actual Startup Time": 0.0,
                                            "Actual Total Time": 0.0,
                                            "Alias": "conflict_1",
                                            "Async Capable": false,
                                            "Disabled": false,
                                            "Local Dirtied Blocks": 0,
                                            "Local Hit Blocks": 0,
                                            "Local Read Blocks": 0,
                                            "Local Written Blocks": 0,
                                            "Node Type": "Seq Scan",
                                            "Parallel Aware": false,
                                            "Parent Relationship": "Outer",
                                            "Plan Rows": 750,
                                            "Plan Width": 16,
                                            "Relation Name": "identity_conflicts",
                                            "Shared Dirtied Blocks": 0,
                                            "Shared Hit Blocks": 0,
                                            "Shared Read Blocks": 0,
                                            "Shared Written Blocks": 0,
                                            "Startup Cost": 0.0,
                                            "Temp Read Blocks": 0,
                                            "Temp Written Blocks": 0,
                                            "Total Cost": 17.5
                                          }
                                        ],
                                        "Shared Dirtied Blocks": 0,
                                        "Shared Hit Blocks": 0,
                                        "Shared Read Blocks": 0,
                                        "Shared Written Blocks": 0,
                                        "Startup Cost": 17.5,
                                        "Temp Read Blocks": 0,
                                        "Temp Written Blocks": 0,
                                        "Total Cost": 17.5
                                      }
                                    ],
                                    "Shared Dirtied Blocks": 0,
                                    "Shared Hit Blocks": 0,
                                    "Shared Read Blocks": 0,
                                    "Shared Written Blocks": 0,
                                    "Startup Cost": 26.88,
                                    "Temp Read Blocks": 0,
                                    "Temp Written Blocks": 0,
                                    "Total Cost": 378.15
                                  }
                                ],
                                "Shared Dirtied Blocks": 0,
                                "Shared Hit Blocks": 0,
                                "Shared Read Blocks": 0,
                                "Shared Written Blocks": 0,
                                "Startup Cost": 378.15,
                                "Temp Read Blocks": 0,
                                "Temp Written Blocks": 0,
                                "Total Cost": 378.15
                              }
                            ],
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 0,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 387.52,
                            "Subplan Name": "SubPlan 10",
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 441.46
                          }
                        ],
                        "Shared Dirtied Blocks": 0,
                        "Shared Hit Blocks": 14660,
                        "Shared Read Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Startup Cost": 8.61,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Total Cost": 1647283.79
                      },
                      {
                        "Actual Loops": 5000,
                        "Actual Rows": 1.0,
                        "Actual Startup Time": 0.0,
                        "Actual Total Time": 0.0,
                        "Alias": "asset",
                        "Async Capable": false,
                        "Disabled": false,
                        "Index Cond": "(asset_id = a.asset_id)",
                        "Index Name": "assets_pkey",
                        "Index Searches": 5000,
                        "Local Dirtied Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Written Blocks": 0,
                        "Node Type": "Index Scan",
                        "Parallel Aware": false,
                        "Parent Relationship": "Inner",
                        "Plan Rows": 1,
                        "Plan Width": 72,
                        "Relation Name": "assets",
                        "Rows Removed by Index Recheck": 0,
                        "Scan Direction": "Forward",
                        "Shared Dirtied Blocks": 0,
                        "Shared Hit Blocks": 15000,
                        "Shared Read Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Startup Cost": 0.28,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Total Cost": 0.45
                      },
                      {
                        "Actual Loops": 5000,
                        "Actual Rows": 1.0,
                        "Actual Startup Time": 0.031,
                        "Actual Total Time": 0.031,
                        "Async Capable": false,
                        "Disabled": false,
                        "Local Dirtied Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Written Blocks": 0,
                        "Node Type": "Aggregate",
                        "Parallel Aware": false,
                        "Parent Relationship": "SubPlan",
                        "Partial Mode": "Simple",
                        "Plan Rows": 1,
                        "Plan Width": 8,
                        "Plans": [
                          {
                            "Actual Loops": 5000,
                            "Actual Rows": 0.05,
                            "Actual Startup Time": 0.029,
                            "Actual Total Time": 0.03,
                            "Alias": "finding",
                            "Async Capable": false,
                            "Disabled": false,
                            "Filter": "((status = 'open'::text) AND (((explanation ->> 'asset_key'::text) = asset.asset_key) OR ((rule_id = 'endpoint_coverage_gap'::text) AND (subject_key = asset.asset_key))))",
                            "Local Dirtied Blocks": 0,
                            "Local Hit Blocks": 0,
                            "Local Read Blocks": 0,
                            "Local Written Blocks": 0,
                            "Node Type": "Seq Scan",
                            "Parallel Aware": false,
                            "Parent Relationship": "Outer",
                            "Plan Rows": 1,
                            "Plan Width": 0,
                            "Relation Name": "findings",
                            "Rows Removed by Filter": 270,
                            "Shared Dirtied Blocks": 0,
                            "Shared Hit Blocks": 80000,
                            "Shared Read Blocks": 0,
                            "Shared Written Blocks": 0,
                            "Startup Cost": 0.0,
                            "Temp Read Blocks": 0,
                            "Temp Written Blocks": 0,
                            "Total Cost": 27.16
                          }
                        ],
                        "Shared Dirtied Blocks": 0,
                        "Shared Hit Blocks": 80000,
                        "Shared Read Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Startup Cost": 27.16,
                        "Strategy": "Plain",
                        "Subplan Name": "SubPlan 2",
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Total Cost": 27.17
                      }
                    ],
                    "Shared Dirtied Blocks": 0,
                    "Shared Hit Blocks": 109660,
                    "Shared Read Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Startup Cost": 8.89,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Total Cost": 1724397.74
                  }
                ],
                "Shared Dirtied Blocks": 0,
                "Shared Hit Blocks": 109660,
                "Shared Read Blocks": 0,
                "Shared Written Blocks": 0,
                "Sort Key": [
                  "((SubPlan 2)) DESC",
                  "(CASE (CASE WHEN ((a.lifecycle <> 'active'::text) OR (NOT a.expects_endpoint)) THEN 'not_applicable'::text WHEN (CASE WHEN (a.lifecycle <> 'active'::text) THEN ('lifecycle_'::text || a.lifecycle) WHEN (NOT a.expects_endpoint) THEN 'endpoint_not_required'::text WHEN (NOT COALESCE(((r.status = 'succeeded'::text) AND (r.finished_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at >= ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.freshness_seconds)::double precision * '00:00:01'::interval)))), false)) THEN 'source_not_fresh'::text WHEN (ANY (s.active_run_id = (hashed SubPlan 4).col1)) THEN 'generation_needs_identity_resolution'::text WHEN (ANY ((a.asset_id = (hashed SubPlan 6).col1) AND (s.active_run_id = (hashed SubPlan 6).col2))) THEN 'identity_conflict'::text WHEN ((count(*)) > 1) THEN 'multiple_endpoint_records'::text WHEN ((count(*)) = 0) THEN 'not_observed'::text WHEN ((min(e.last_seen_at)) > '2026-09-15 09:00:00-03'::timestamp with time zone) THEN 'future_endpoint_contact'::text WHEN ((min(e.last_seen_at)) < ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.endpoint_contact_seconds)::double precision * '00:00:01'::interval))) THEN 'endpoint_offline'::text WHEN ((min(e.protection_state)) = 'healthy'::text) THEN 'fresh_healthy'::text WHEN ((min(e.protection_state)) = 'unhealthy'::text) THEN 'reported_unhealthy'::text ELSE 'reported_unknown'::text END = 'fresh_healthy'::text) THEN 'healthy'::text WHEN (CASE WHEN (a.lifecycle <> 'active'::text) THEN ('lifecycle_'::text || a.lifecycle) WHEN (NOT a.expects_endpoint) THEN 'endpoint_not_required'::text WHEN (NOT COALESCE(((r.status = 'succeeded'::text) AND (r.finished_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at <= '2026-09-15 09:00:00-03'::timestamp with time zone) AND (r.started_at >= ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.freshness_seconds)::double precision * '00:00:01'::interval)))), false)) THEN 'source_not_fresh'::text WHEN (ANY (s.active_run_id = (hashed SubPlan 8).col1)) THEN 'generation_needs_identity_resolution'::text WHEN (ANY ((a.asset_id = (hashed SubPlan 10).col1) AND (s.active_run_id = (hashed SubPlan 10).col2))) THEN 'identity_conflict'::text WHEN ((count(*)) > 1) THEN 'multiple_endpoint_records'::text WHEN ((count(*)) = 0) THEN 'not_observed'::text WHEN ((min(e.last_seen_at)) > '2026-09-15 09:00:00-03'::timestamp with time zone) THEN 'future_endpoint_contact'::text WHEN ((min(e.last_seen_at)) < ('2026-09-15 09:00:00-03'::timestamp with time zone - ((s.endpoint_contact_seconds)::double precision * '00:00:01'::interval))) THEN 'endpoint_offline'::text WHEN ((min(e.protection_state)) = 'healthy'::text) THEN 'fresh_healthy'::text WHEN ((min(e.protection_state)) = 'unhealthy'::text) THEN 'reported_unhealthy'::text ELSE 'reported_unknown'::text END = ANY ('{reported_unhealthy,not_observed}'::text[])) THEN 'unhealthy'::text ELSE 'unknown'::text END) WHEN 'unknown'::text THEN 1 WHEN 'unhealthy'::text THEN 2 WHEN 'healthy'::text THEN 3 ELSE 4 END)",
                  "asset.asset_key"
                ],
                "Sort Method": "top-N heapsort",
                "Sort Space Type": "Memory",
                "Sort Space Used": 31,
                "Startup Cost": 1724490.42,
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Total Cost": 1724497.4
              },
              {
                "Actual Loops": 50,
                "Actual Rows": 1.0,
                "Actual Startup Time": 0.001,
                "Actual Total Time": 0.001,
                "Async Capable": false,
                "Disabled": false,
                "Local Dirtied Blocks": 0,
                "Local Hit Blocks": 0,
                "Local Read Blocks": 0,
                "Local Written Blocks": 0,
                "Node Type": "Aggregate",
                "Parallel Aware": false,
                "Parent Relationship": "SubPlan",
                "Partial Mode": "Simple",
                "Plan Rows": 1,
                "Plan Width": 8,
                "Plans": [
                  {
                    "Actual Loops": 50,
                    "Actual Rows": 0.0,
                    "Actual Startup Time": 0.0,
                    "Actual Total Time": 0.0,
                    "Alias": "alert",
                    "Async Capable": false,
                    "Disabled": false,
                    "Exact Heap Blocks": 0,
                    "Local Dirtied Blocks": 0,
                    "Local Hit Blocks": 0,
                    "Local Read Blocks": 0,
                    "Local Written Blocks": 0,
                    "Lossy Heap Blocks": 0,
                    "Node Type": "Bitmap Heap Scan",
                    "Parallel Aware": false,
                    "Parent Relationship": "Outer",
                    "Plan Rows": 2,
                    "Plan Width": 0,
                    "Plans": [
                      {
                        "Actual Loops": 50,
                        "Actual Rows": 0.0,
                        "Actual Startup Time": 0.0,
                        "Actual Total Time": 0.0,
                        "Async Capable": false,
                        "Disabled": false,
                        "Index Cond": "(asset_id = asset.asset_id)",
                        "Index Name": "alerts_asset_status",
                        "Index Searches": 50,
                        "Local Dirtied Blocks": 0,
                        "Local Hit Blocks": 0,
                        "Local Read Blocks": 0,
                        "Local Written Blocks": 0,
                        "Node Type": "Bitmap Index Scan",
                        "Parallel Aware": false,
                        "Parent Relationship": "Outer",
                        "Plan Rows": 2,
                        "Plan Width": 0,
                        "Shared Dirtied Blocks": 0,
                        "Shared Hit Blocks": 100,
                        "Shared Read Blocks": 0,
                        "Shared Written Blocks": 0,
                        "Startup Cost": 0.0,
                        "Temp Read Blocks": 0,
                        "Temp Written Blocks": 0,
                        "Total Cost": 4.29
                      }
                    ],
                    "Recheck Cond": "(asset_id = asset.asset_id)",
                    "Relation Name": "alerts",
                    "Rows Removed by Index Recheck": 0,
                    "Shared Dirtied Blocks": 0,
                    "Shared Hit Blocks": 100,
                    "Shared Read Blocks": 0,
                    "Shared Written Blocks": 0,
                    "Startup Cost": 4.29,
                    "Temp Read Blocks": 0,
                    "Temp Written Blocks": 0,
                    "Total Cost": 9.75
                  }
                ],
                "Shared Dirtied Blocks": 0,
                "Shared Hit Blocks": 100,
                "Shared Read Blocks": 0,
                "Shared Written Blocks": 0,
                "Startup Cost": 9.76,
                "Strategy": "Plain",
                "Subplan Name": "SubPlan 1",
                "Temp Read Blocks": 0,
                "Temp Written Blocks": 0,
                "Total Cost": 9.77
              }
            ],
            "Shared Dirtied Blocks": 0,
            "Shared Hit Blocks": 109760,
            "Shared Read Blocks": 0,
            "Shared Written Blocks": 0,
            "Startup Cost": 1724490.42,
            "Temp Read Blocks": 0,
            "Temp Written Blocks": 0,
            "Total Cost": 1827614.66
          }
        ],
        "Shared Dirtied Blocks": 0,
        "Shared Hit Blocks": 109760,
        "Shared Read Blocks": 0,
        "Shared Written Blocks": 0,
        "Startup Cost": 1724490.42,
        "Temp Read Blocks": 0,
        "Temp Written Blocks": 0,
        "Total Cost": 1726338.53
      },
      "Planning": {
        "Local Dirtied Blocks": 0,
        "Local Hit Blocks": 0,
        "Local Read Blocks": 0,
        "Local Written Blocks": 0,
        "Shared Dirtied Blocks": 0,
        "Shared Hit Blocks": 12,
        "Shared Read Blocks": 0,
        "Shared Written Blocks": 0,
        "Temp Read Blocks": 0,
        "Temp Written Blocks": 0
      },
      "Planning Time": 1.801,
      "Triggers": []
    },
    "planning_time_ms": 1.801,
    "root_node": "Limit",
    "shared_hit_blocks": 109760,
    "shared_read_blocks": 0,
    "sql_scope": "the bounded 50-row data query; owner and count queries excluded",
    "total_cost": 1726338.53
  },
  "recorded_runs": 5,
  "runs": [
    {
      "collection_ms": 525.451,
      "counts": {
        "assets": 5000,
        "coverage": {
          "eligible": 4000,
          "excluded": 1000,
          "healthy": 3400,
          "unhealthy": 400,
          "unknown": 200
        },
        "matrix_rows": 5100,
        "open_findings": 270,
        "open_findings_by_rule": {
          "critical_asset_alert": 50,
          "domain_certificate": 10,
          "domain_tls": 5,
          "domain_waf": 5,
          "endpoint_coverage_gap": 200
        },
        "source_records": [
          3800,
          500,
          100
        ]
      },
      "evaluation_ms": 217.27,
      "page_queries_ms": {
        "asset_list": 151.501,
        "coverage_matrix": 9.517,
        "domain_health": 0.537,
        "overview": 7.22,
        "pipeline_health": 0.772
      },
      "publication_ms": 1247.98
    },
    {
      "collection_ms": 491.728,
      "counts": {
        "assets": 5000,
        "coverage": {
          "eligible": 4000,
          "excluded": 1000,
          "healthy": 3400,
          "unhealthy": 400,
          "unknown": 200
        },
        "matrix_rows": 5100,
        "open_findings": 270,
        "open_findings_by_rule": {
          "critical_asset_alert": 50,
          "domain_certificate": 10,
          "domain_tls": 5,
          "domain_waf": 5,
          "endpoint_coverage_gap": 200
        },
        "source_records": [
          3800,
          500,
          100
        ]
      },
      "evaluation_ms": 222.974,
      "page_queries_ms": {
        "asset_list": 152.419,
        "coverage_matrix": 9.521,
        "domain_health": 0.544,
        "overview": 7.276,
        "pipeline_health": 0.647
      },
      "publication_ms": 1255.705
    },
    {
      "collection_ms": 488.644,
      "counts": {
        "assets": 5000,
        "coverage": {
          "eligible": 4000,
          "excluded": 1000,
          "healthy": 3400,
          "unhealthy": 400,
          "unknown": 200
        },
        "matrix_rows": 5100,
        "open_findings": 270,
        "open_findings_by_rule": {
          "critical_asset_alert": 50,
          "domain_certificate": 10,
          "domain_tls": 5,
          "domain_waf": 5,
          "endpoint_coverage_gap": 200
        },
        "source_records": [
          3800,
          500,
          100
        ]
      },
      "evaluation_ms": 223.732,
      "page_queries_ms": {
        "asset_list": 153.103,
        "coverage_matrix": 18.359,
        "domain_health": 0.584,
        "overview": 7.316,
        "pipeline_health": 0.858
      },
      "publication_ms": 1268.941
    },
    {
      "collection_ms": 489.497,
      "counts": {
        "assets": 5000,
        "coverage": {
          "eligible": 4000,
          "excluded": 1000,
          "healthy": 3400,
          "unhealthy": 400,
          "unknown": 200
        },
        "matrix_rows": 5100,
        "open_findings": 270,
        "open_findings_by_rule": {
          "critical_asset_alert": 50,
          "domain_certificate": 10,
          "domain_tls": 5,
          "domain_waf": 5,
          "endpoint_coverage_gap": 200
        },
        "source_records": [
          3800,
          500,
          100
        ]
      },
      "evaluation_ms": 231.21,
      "page_queries_ms": {
        "asset_list": 151.467,
        "coverage_matrix": 9.735,
        "domain_health": 0.586,
        "overview": 7.411,
        "pipeline_health": 0.754
      },
      "publication_ms": 1303.303
    },
    {
      "collection_ms": 488.299,
      "counts": {
        "assets": 5000,
        "coverage": {
          "eligible": 4000,
          "excluded": 1000,
          "healthy": 3400,
          "unhealthy": 400,
          "unknown": 200
        },
        "matrix_rows": 5100,
        "open_findings": 270,
        "open_findings_by_rule": {
          "critical_asset_alert": 50,
          "domain_certificate": 10,
          "domain_tls": 5,
          "domain_waf": 5,
          "endpoint_coverage_gap": 200
        },
        "source_records": [
          3800,
          500,
          100
        ]
      },
      "evaluation_ms": 230.183,
      "page_queries_ms": {
        "asset_list": 153.573,
        "coverage_matrix": 9.706,
        "domain_health": 0.59,
        "overview": 7.4,
        "pipeline_health": 0.766
      },
      "publication_ms": 1265.574
    }
  ],
  "schema_version": 1,
  "seed": 7001,
  "simulated_latency_ms_per_http_page": 5,
  "summary_ms": {
    "collection_ms": {
      "max": 525.451,
      "median": 489.497,
      "min": 488.299
    },
    "evaluation_ms": {
      "max": 231.21,
      "median": 223.732,
      "min": 217.27
    },
    "page_query_asset_list_ms": {
      "max": 153.573,
      "median": 152.419,
      "min": 151.467
    },
    "page_query_coverage_matrix_ms": {
      "max": 18.359,
      "median": 9.706,
      "min": 9.517
    },
    "page_query_domain_health_ms": {
      "max": 0.59,
      "median": 0.584,
      "min": 0.537
    },
    "page_query_overview_ms": {
      "max": 7.411,
      "median": 7.316,
      "min": 7.22
    },
    "page_query_pipeline_health_ms": {
      "max": 0.858,
      "median": 0.766,
      "min": 0.647
    },
    "publication_ms": {
      "max": 1303.303,
      "median": 1265.574,
      "min": 1247.98
    }
  },
  "warmup_runs": 1
}
