Exit Code Control, and Output Format Options
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start with the Docker container execution method linked in the issue and inspect how exit status and report output are currently exposed. Before implementation, clarify whether the goal is configurable exit thresholds, CI pass/fail scoring, structured formats, or all three; done would require agreed behavior and CI-consumable output.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hey all, this is part question and part suggestion.
When running Docker-Bench as part of a CI (in particular, running it from the Docker container method), shouldn't the execution exit with a non-zero code if there are any 'notes' or at least 'warnings'?
Additionally, I would like to be able to control the exit (ie. only exit 1 if there are warnings, for example). Either this, or being able to control a "pass" or "fail" as part of CI if the returned score is +/- a certain value.
Further, is there a way to include output options in specific formats (ie. JUnit, XML, SARIF, etc.), so that it is more easily consumed by CI/CD tools?
- Lenguaje dominante
- Shell
- Estrellas
- 9.7k
- Forks
- 1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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 docker/docker-bench-security
-
[Bug] Test `check_1_1_5` uses a hard-coded path for Docker data rootQuizá libre de nuevo @thaJeztah la tomó hace 327 días y no hay ningún pull request abierto. Abierto
docker/docker-bench-security#577 · 1 asignado ·
-
Update for newest Benchmark v1.8.0Posiblemente ocupada @thaJeztah la tomó hace 420 días. Abierto
docker/docker-bench-security#573 · 1 comentario · 1 asignado ·
-
name: ciQuizá libre de nuevo @thaJeztah la tomó hace 338 días y no hay ningún pull request abierto. Abierto
docker/docker-bench-security#571 · 1 asignado ·
-
[Bug] 1.1.5 doesn't take into account a changed data-rootQuizá libre de nuevo @konstruktoid la tomó hace 618 días y no hay ningún pull request abierto. Abierto
docker/docker-bench-security#568 · 2 comentarios · 1 asignado ·
-
[Typo] 2.18 doesn't report ID in outputPosiblemente ocupada @konstruktoid la tomó hace 623 días. Abierto
docker/docker-bench-security#567 · 1 asignado ·
Todos los issues de docker/docker-bench-security
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Installer computes steamid3 as -76561197960265728 when loginusers.vdf uses lowercase "timestamp"Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
[Bug]: armbian-firstlogin: preset Wi-Fi key with " or \ breaks netplan configPosiblemente ocupada @jfcabral la tomó hoy. AbiertoBug Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
armbian/build#10995 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Update waterfox-bin to 6.7.6Abiertopackage-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
oSoWoSo/vOid_Community_repOsitory#417 ·
Los mantenedores suelen responder en 1 día