generated from nginx/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
🔥 p2Priority 2: Impacts production; non-emergencyPriority 2: Impacts production; non-emergencybugSomething isn't workingSomething isn't workingproduct/nap-wafIssues related to NGINX App Protect WAFIssues related to NGINX App Protect WAF
Description
Describe the bug
Permission denied
during the policy compiling/output.
The workaround is to create in advance an output file and set appropriate permissions, otherwise compiler fails.
To reproduce
Steps to reproduce the behavior:
- Open https://docs.nginx.com/waf/configure/compiler/#compile-a-security-policy
- View output
- Run
docker run --rm \
-v $(pwd):$(pwd) \
waf-compiler-1.0.0:custom \
-p $(pwd)/policy.json -o $(pwd)/compiled_policy.tgz
- See error.
Expected behavior
The expected behavior is get a compiled policy file, compiled_policy.tgz
.
Your environment
- RHEL9
- AppProtect WAF 5.8
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
🔥 p2Priority 2: Impacts production; non-emergencyPriority 2: Impacts production; non-emergencybugSomething isn't workingSomething isn't workingproduct/nap-wafIssues related to NGINX App Protect WAFIssues related to NGINX App Protect WAF