{
  "slug": "pulumi-insights-cli-adds-account-scan-listing-and-retrieval-552fa60c4097",
  "title": "Pulumi Insights CLI adds account scan listing and retrieval",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-19T12:39:19.000Z",
  "announced_at": "2026-05-19T12:39:19.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When debugging an Insights scan, list recent scan IDs with `pulumi insights account scan list <account>`, then inspect one workflow run with `pulumi insights account scan get <account> <scan-id> --output json`.",
    "examples": [
      "pulumi insights account scan list <account> --org <org> --count 5",
      "pulumi insights account scan get <account> <scan-id> --org <org> --output json"
    ],
    "gotchas": [
      "Version: v3.242.0",
      "<account> (required): Insights account name; scan list on a parent account includes its child accounts.",
      "<scan-id> (required): ID of the scan to retrieve.",
      "--org <org>: Select the organization; accepted as a Cloud-Ready CLI global flag.",
      "--count <n>: Set the scan list pagination count; `0` means `--all`. `--count` and `--all` are mutually exclusive.",
      "--all: List all scans; mutually exclusive with `--count`.",
      "--output json: Emit JSON output containing full per-job and per-step structure."
    ]
  },
  "why_it_matters": "Find a recent Insights scan and inspect its workflow run while debugging a scan.",
  "before": "The CLI had no way to discover scan IDs; scan list was added to provide recent IDs that could be passed to `pulumi insights account scan log`.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.242.0",
    "https://github.com/pulumi/pulumi/pull/23255"
  ],
  "rank": 0.92014,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-6e68278623e2f06d-4:gate",
    "evidence_hash": "40f10e921aa9fd034b724af3093ff318d3b30e7fd870cc4e13a35c4066bbd231"
  },
  "review": {
    "draft_hash": "308cd749c9c5f08d8980095819b9913cb09babc3f33c5191295b2fe2b1cdf3cf",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.70 (>= 0.6 needed)."
  }
}
