Restrict artifact registry and ACR data-endpoint egress

Đang mở
#30 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, docker, kubernetes, postgresql, rust

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
3
Fork
2
Merge trung bình
3 ngày 57 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hyperlight-dev/lampyr

Tất cả issue của hyperlight-dev/lampyr

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.