mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 04:58:07 +00:00
Enclose in backticks so <&tag> aren't processed as HTML tags - 3
This commit is contained in:
+3
-3
@@ -558,7 +558,7 @@ root 121142 121120 7 12:27 ? 00:06:27 kube-apiserver --audit-log-maxsize=100 --e
|
||||
**Remediation:**
|
||||
Follow the documentation and configure alternate mechanisms for authentication. Then,
|
||||
edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml
|
||||
on the master node and remove the --basic-auth-file=<filename> parameter.
|
||||
on the master node and remove the `--basic-auth-file=<filename>` parameter.
|
||||
|
||||
**Audit:**
|
||||
|
||||
@@ -586,7 +586,7 @@ root 121142 121120 7 12:27 ? 00:06:27 kube-apiserver --audit-log-maxsize=100 --e
|
||||
**Remediation:**
|
||||
Follow the documentation and configure alternate mechanisms for authentication. Then,
|
||||
edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml
|
||||
on the master node and remove the --token-auth-file=<filename> parameter.
|
||||
on the master node and remove the `--token-auth-file=<filename>` parameter.
|
||||
|
||||
**Audit:**
|
||||
|
||||
@@ -2173,7 +2173,7 @@ if test -e $CAFILE; then stat -c permissions=%a $CAFILE; fi
|
||||
|
||||
**Remediation:**
|
||||
Run the following command to modify the ownership of the --client-ca-file.
|
||||
chown root:root <filename>
|
||||
`chown root:root <filename>`
|
||||
|
||||
**Audit Script:** `check_cafile_ownership.sh`
|
||||
|
||||
|
||||
+3
-3
@@ -750,7 +750,7 @@ on the master node and set the below parameter.
|
||||
**Remediation:**
|
||||
Follow the documentation and configure alternate mechanisms for authentication. Then,
|
||||
edit the API server pod specification file /var/lib/rancher/rke2/agent/pod-manifests/kube-apiserver.yaml
|
||||
on the master node and remove the --basic-auth-file=<filename> parameter.
|
||||
on the master node and remove the `--basic-auth-file=<filename>` parameter.
|
||||
|
||||
**Audit:**
|
||||
|
||||
@@ -778,7 +778,7 @@ root 5275 5222 15 14:58 ? 00:01:26 kube-apiserver --audit-policy-file=/etc/ranch
|
||||
**Remediation:**
|
||||
Follow the documentation and configure alternate mechanisms for authentication. Then,
|
||||
edit the API server pod specification file /var/lib/rancher/rke2/agent/pod-manifests/kube-apiserver.yaml
|
||||
on the master node and remove the --token-auth-file=<filename> parameter.
|
||||
on the master node and remove the `--token-auth-file=<filename>` parameter.
|
||||
|
||||
**Audit:**
|
||||
|
||||
@@ -2269,7 +2269,7 @@ stat -c %a /var/lib/rancher/rke2/server/tls/server-ca.crt
|
||||
|
||||
**Remediation:**
|
||||
Run the following command to modify the ownership of the --client-ca-file.
|
||||
chown root:roset: trueot <filename>
|
||||
`chown root:roset: trueot <filename>`
|
||||
|
||||
**Audit:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user