Restrict artifact registry and ACR data-endpoint egress

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, docker, kubernetes, postgresql, rust

調査の方向性

Start by tracing how grant Pods acquire artifacts today, as required by the issue; inspect the runtime acquisition path and the platform install, status, and delete flows. Validate redirected ACR blob downloads, TLS and DNS boundaries, exact ports, and denial of unrelated storage and registries. Done means public and intended private pulls work without exposing registry access to the Fiber, with prerequisites and actionable failures documented.

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

説明

Part of the outbound-policy work (#19), feature 12 in the #38 inventory. Shared identity work coordinates with #38.

Goal

Allow platform artifact downloads without granting application Fibers broad registry/storage egress.

Related to the artifact acquisition architecture (snapshots pulled for grant Pods), #13 (managed ACR/platform image mirroring), and #19 (Service egress). These related items are not duplicates of registry transport policy.

Discovery and requirements
  • Registry manifest/login access alone is insufficient: ACR blob GET requests can redirect to a different data endpoint, even if HEAD requests do not.
  • The current Standard ACR fallback uses shared managed *.blob.core.windows.net infrastructure. Do not solve this by granting a broad Azure Storage wildcard.
  • Support a tightly scoped registry data path. ACR Premium dedicated data endpoints are one supported option: REGISTRY.REGION.data.azurecr.io or a carefully validated registry-specific pattern.
  • Resolve whether exact observed endpoints or registry-scoped patterns are appropriate; do not hardcode the broad workaround or mandate the earlier exploratory prototype's pattern generation.
  • Validate TLS/redirect destination boundaries, exact transport ports, DNS rules, and unsupported registry behavior.
  • Keep artifact-acquisition authority on the trusted platform side; do not add registry, issuer, Kubernetes API, or blob-storage access to the guest application's declared allowlist.
  • Keep registry authentication separate from application Workload Identity; public pulls must not require unrelated application RBAC.
  • Document registry prerequisites and limitations before deployment; provide actionable failures, not indefinite readiness waits.
Acceptance

Prove artifact download through redirected layers, denial of unrelated storage/registries, public and intended private-registry behavior, and no leakage of registry access into the Fiber. Cover platform install/status/delete ownership.

Base the runtime acquisition mechanism on how grant Pods acquire artifacts today. The earlier exploratory prototype supplies failure evidence, not the implementation.

主要言語
Rust
スター
3
フォーク
2
平均マージ
3日 57分
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

hyperlight-dev/lampyr のほかの issue

hyperlight-dev/lampyr の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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