Skip to content

Instantly share code, notes, and snippets.

View mtpereira's full-sized avatar
🌴
On vacation

Manuel Tiago Pereira mtpereira

🌴
On vacation
View GitHub Profile
package ch4
import (
"fmt"
)
func removeAdjacentDuplicates(s []string) {
previous := 0
for i := 1; i < len(s); i++ {
if s[i] == s[previous] {
@mtpereira
mtpereira / kube-bench-1030-status-fail-output.log
Last active November 5, 2021 08:59
kube-bench-1030-status-fail-output.log
[FAIL] 1.1.12 Ensure that the etcd data directory ownership is set to etcd:etcd (Automated)
[FAIL] 1.2.5 Ensure that the --kubelet-certificate-authority argument is set as appropriate (Automated)
[FAIL] 1.2.15 Ensure that the admission control plugin PodSecurityPolicy is set (Automated)
[FAIL] 1.2.20 Ensure that the --profiling argument is set to false (Automated)
[FAIL] 1.2.21 Ensure that the --audit-log-path argument is set (Automated)
[FAIL] 1.2.22 Ensure that the --audit-log-maxage argument is set to 30 or as appropriate (Automated)
[FAIL] 1.2.23 Ensure that the --audit-log-maxbackup argument is set to 10 or as appropriate (Automated)
[FAIL] 1.2.24 Ensure that the --audit-log-maxsize argument is set to 100 or as appropriate (Automated)
[FAIL] 1.3.2 Ensure that the --profiling argument is set to false (Automated)
[FAIL] 1.4.1 Ensure that the --profiling argument is set to false (Automated)