Exit Code Control, and Output Format Options
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
- 25/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Shell
- Star
- 9.7k
- Fork
- 1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của docker/docker-bench-security
-
[Bug] Test `check_1_1_5` uses a hard-coded path for Docker data rootCó thể làm lại được @thaJeztah đã nhận 327 ngày trước và không có pull request nào đang mở. Đang mở
docker/docker-bench-security#577 · 1 người được giao ·
-
Update for newest Benchmark v1.8.0Có thể đã có người làm @thaJeztah đã nhận 420 ngày trước. Đang mở
docker/docker-bench-security#573 · 1 bình luận · 1 người được giao ·
-
name: ciCó thể làm lại được @thaJeztah đã nhận 338 ngày trước và không có pull request nào đang mở. Đang mở
docker/docker-bench-security#571 · 1 người được giao ·
-
[Bug] 1.1.5 doesn't take into account a changed data-rootCó thể làm lại được @konstruktoid đã nhận 618 ngày trước và không có pull request nào đang mở. Đang mở
docker/docker-bench-security#568 · 2 bình luận · 1 người được giao ·
-
[Typo] 2.18 doesn't report ID in outputCó thể đã có người làm @konstruktoid đã nhận 623 ngày trước. Đang mở
docker/docker-bench-security#567 · 1 người được giao ·
Tất cả issue của docker/docker-bench-security
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
components-web-app/docs#228 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
int-brain-lab/iblscripts#127 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2927 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
msys2/MSYS2-packages#6813 ·
Maintainer thường phản hồi trong vòng 1 ngày