{
 "flight": {
  "id": 13471,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Rewrite CspFinding as discriminated union type based on posture_type",
  "number": 228586,
  "source": "aidev",
  "commits": 4,
  "debrief": "GitHub Copilot is assigned a refactor in elastic/kibana: rewrite the CspFinding type as a discriminated union keyed on posture_type, after the CIS AWS changes. The pull request spans two files, with 58 additions and 6 deletions across four commits. It records zero reviews and zero change requests. The burn closed unmerged after human review.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 58,
  "closed_at": "2025-07-18T16:08:37+00:00",
  "deletions": 6,
  "merged_at": null,
  "opened_at": "2025-07-18T11:24:11+00:00",
  "task_type": "refactor",
  "body_chars": 3558,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:28:19.361081+00:00",
  "enriched_at": null,
  "body_excerpt": "## Summary\n\nThis PR implements a discriminated union for the `CspFinding` type to properly handle different field structures based on the `posture_type` field, as requested in the original issue.\n\n## Problem\n\nAfter the CIS AWS changes, findings can have different fields based on their posture type:\n",
  "review_count": 0,
  "files_changed": 2,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:28:19.361081+00:00",
  "reviewer_excerpt": "<!-- buildkite-pr-bot-trigger-comment -->:robot: Jobs for this PR can be triggered through checkboxes. :construction: :information_source: To trigger the CI, please tick the checkbox below :point_down: -",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/elastic/kibana/pull/228586#issuecomment-3089148821"
 },
 "repo": {
  "name": "kibana",
  "owner": "elastic",
  "stars": 21356,
  "license": "NOASSERTION",
  "full_name": "elastic/kibana",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "kibanamachine"
  },
  {
   "at": "2025-07-18T16:08:37+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "maxcold"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix accessibility: Update aria-labels for findings filter buttons to announce filter functionality",
   "number": 229602,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 125,
   "deletions": 3,
   "merged_at": "2025-07-29T12:01:56+00:00",
   "opened_at": "2025-07-28T10:36:25+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": 25.43
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Unskip Cloud Security Posture integration tests",
   "number": 229539,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 31,
   "deletions": 27,
   "merged_at": "2025-07-28T21:37:33+00:00",
   "opened_at": "2025-07-27T08:52:56+00:00",
   "task_type": "fix",
   "files_changed": 10,
   "hours_to_merge": 36.74
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "[Cloud Security Posture] Enhance graph node appearance with entity type tags, improved typography, and flag badges",
   "number": 227938,
   "outcome": "burn",
   "index_ok": true,
   "additions": 504,
   "deletions": 90,
   "merged_at": null,
   "opened_at": "2025-07-15T08:09:34+00:00",
   "task_type": "feat",
   "files_changed": 15,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/elastic/kibana/pull/228586",
 "page": "https://agentriders.com/logs/elastic/kibana/228586/"
}