Skip to content

Build and use the compiler tool #1245

@osokin

Description

@osokin

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:

  1. Open https://docs.nginx.com/waf/configure/compiler/#compile-a-security-policy
  2. View output
  3. Run
docker run --rm \
 -v $(pwd):$(pwd) \
 waf-compiler-1.0.0:custom \
 -p $(pwd)/policy.json -o $(pwd)/compiled_policy.tgz
  1. 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

P2 - Important (TTR: 2 weeks)Impacts user success or adoption, causes support tickets, or fills a high-value content need.bugSomething isn't workingproduct/wafIssues related to F5 WAF for NGINX

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions