Restrict artifact registry and ACR data-endpoint egress

Abierto
#30 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
azure, docker, kubernetes, postgresql, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
3
Forks
2
Merge medio
3 d 57 min
PR fusionados (30 d)
17

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hyperlight-dev/lampyr

Todos los issues de hyperlight-dev/lampyr

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.