sandboxpolicy: admit section gadget images by digest, like the exec product images
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Read the section engine implementations in pkg/sandboxpolicy/igbackend and the exec image admission path referenced by #1054 and #1101. Trace where release image digests are defined and how section readiness reports typed reasons. Add coverage for an unpinned image; done means all four enforcement image types share digest admission and the test verifies refusal and its status reason.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up from the review of #1075.
Problem
The section engines (NewNativePrivilegeEngine, NewNativeNetworkEngine, NewNativeFileEngine in pkg/sandboxpolicy/igbackend) load their gadget image by reference from the store. They do not check the image digest against a pinned list. The exec engine does admit only pinned product images (#1054, #1101).
So a section image that changes under the same reference is loaded and attached on enforcing nodes without any check.
Proposal
Reuse the exec engine's admission for the section images:
- pin each section image by digest in the release, next to the exec product images;
- refuse to load a section image whose digest is not pinned, and report the section
NotReadywith a typed reason; - keep one admission path for all enforcement images.
Done when
- Every enforcement image (exec, privilege, network, file) is admitted by digest through one code path.
- A test loads an unpinned image and checks the refusal and the status reason.
- Lenguaje dominante
- Go
- Estrellas
- 39
- Forks
- 42
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 48
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de kubescape/node-agent
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
kubescape/node-agent#1112 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
kubescape/node-agent#1113 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
kubescape/node-agent#1107 ·
Los mantenedores suelen responder en 1 día
-
sandboxpolicy: one shared identity table for all enforcement sections (latch the class at exec)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
kubescape/node-agent#1106 ·
Los mantenedores suelen responder en 1 día
-
Upgrade Inspektor Gadget to v0.57.0 via kubescape fork and preserve exec/path semanticsPosiblemente ocupada @ANAMASGARD la tomó hace 23 días. Abiertoenhancement
kubescape/node-agent#1050 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de kubescape/node-agent
Issues similares
-
benchmark
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
mozilla-ai/cq#601 ·
Los mantenedores suelen responder en 1 día
-
documentation migration
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día