Trace an agent to its parents, session, and user from the audit records

オープン
#2,844 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start with the lineage design in docs/drafts/agent-identity/audit.md and the audit record and helper registration work in #2566 and #2555. Trace how gateway and decision records reference registrations and delegations, then identify the query or command entry point for following those references. Done means a trail from a helper gateway record reaches its parents, session, and user using audit records alone, with a test showing where and why an incomplete chain stops.

索引モデルが issue の本文から書いたものです。

説明

agent-identity identity-broker

Depends on: #2566 (registration and delegation records), #2555 (helper registration)

Problem

A gateway record names only the acting agent's opaque SPIFFE ID. The agent's parents, session, and user are in the audit records, but nothing follows them. So an investigator cannot reconstruct who created or delegated to the agent that made a call.

Implements

Scope

  • A query that starts from a gateway record's act.sub or from a decision record. It follows registration references (who created the agent) and delegation references (who handed it the task) to the root, then to the session and the user. It reads the audit store only.
  • The records themselves are #2566's. Joins to ToolHive records by operation ID are #2848's.

Done when

  • The three implementation.md checks pass.
  • Starting from a helper's gateway record, the trail shows the helper, every parent up to the main agent, the session, and the user, from the audit records alone.
主要言語
Go
スター
309
フォーク
29
平均マージ
15時間 56分
マージ済み PR(30日)
225

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stacklok/mecatl のほかの issue

stacklok/mecatl の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。