Commit 0f683516 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'use_kubectl_logs_in_waf_docs' into 'master'

Update docs to be based on kubectl logs:

See merge request gitlab-org/gitlab!22812
parents c76ad7e8 0361ef6a
......@@ -264,7 +264,7 @@ This feature:
For example:
```sh
kubectl -n gitlab-managed-apps exec -it $(kubectl get pods -n gitlab-managed-apps | grep 'ingress-controller' | awk '{print $1}') -- tail -f /var/log/modsec/audit.log
kubectl logs -n gitlab-managed-apps $(kubectl get pod -n gitlab-managed-apps -l app=nginx-ingress,component=controller --no-headers=true -o custom-columns=:metadata.name) modsecurity-log -f
```
To enable ModSecurity, check the **Enable Web Application Firewall** checkbox
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment