Commit 4f9eab18 authored by Roy Hadad's avatar Roy Hadad
Browse files

docs

parent fe03d8ec
Showing with 4 additions and 0 deletions
+4 -0
......@@ -31,6 +31,8 @@ interface DenyError {
- if a rule fails with no message, the messageOnFailure from PaC is used as a fallback
- is the `deny` array is empty, the test passes.
#### policies.yaml
```yaml
regoRules: ./path-to-rego-rules/**.rego
policies:
......@@ -41,6 +43,8 @@ policies:
isRegoRule: true
```
#### main.rego
```rego
package main
......
Supports Markdown
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