generated from nginx/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
🧊 p4Priority 4: Not urgent, no immediate production impactPriority 4: Not urgent, no immediate production impactenhancementNew feature or requestNew feature or requestproduct/nap-wafIssues related to NGINX App Protect WAFIssues related to NGINX App Protect WAF
Description
Describe the bug
The following command has limited visibility.
sudo docker run --rm -v $(pwd):$(pwd) --entrypoint='' private-registry.nginx.com/nap/waf-compiler:1.0.0 cat /etc/app_protect/conf/NginxStrictPolicy.json
It's better to use a backslash symbol to reduce number of symbols in a line, i.e.:
sudo docker run --rm -v $(pwd):$(pwd) \
--entrypoint='' \
private-registry.nginx.com/nap/waf-compiler:1.0.0 \
cat /etc/app_protect/conf/NginxStrictPolicy.json
To reproduce
Steps to reproduce the behavior:
- Open https://docs.nginx.com/waf/policies/configuration/#strict-policy
- View output
- See issue
Expected behavior
A clear visibility of the command needs to run.
Your environment
macOS/Chrome
Additional context
No any other context about the problem here.
Sensitive Information
No any sensitive information such as authentication credentials or license keys.
Metadata
Metadata
Assignees
Labels
🧊 p4Priority 4: Not urgent, no immediate production impactPriority 4: Not urgent, no immediate production impactenhancementNew feature or requestNew feature or requestproduct/nap-wafIssues related to NGINX App Protect WAFIssues related to NGINX App Protect WAF