kube-bench icon indicating copy to clipboard operation
kube-bench copied to clipboard

Add new statuses

Open yoavrotems opened this issue 3 years ago • 1 comments

Currently Kube-bench output only four statuses

  • [PASS] - Test passed
  • [FAIL] - Test scored and got unwanted output
  • [WARN] - Test is not scored and failed, or test has unknown command or test command failed to run (wrong parameter, file doesn't exist and etc) or test is a manual test
  • [INFO] - Test is either chapter title or marked as skip.

We want to improve it and use new status, this is what I thought about:

New status

  • [INFO] Color: Cyan Use case: Only for chapter titles Output: None

  • [PASS] Color: Green Use case: Passing tests scored and not scored Output: None, no remediation

  • [FAIL] Color: Red Use case: Failed scored tests Output: Remediation

  • [WARN] Color: Yellow Use case: Failed not scored tests Output: Remediation

  • [SKIP] Color: Blue Use case: Skip labeled tests Output: None, no remediation, skipped test

  • [MANU] Color: White Use case: Manual labeled tests Output: Start with this is a manual test, then remediation

  • [ERRO] Color: Magenta Use case: Error in tests: non exist command or parameter, command return non 0 exit code Output: Error message from bash output.

yoavrotems avatar Jun 21 '21 15:06 yoavrotems

/assign

hypnoglow avatar Oct 31 '21 15:10 hypnoglow