Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Datree
Commits
4f9eab18
Commit
4f9eab18
authored
2 years ago
by
Roy Hadad
Browse files
Options
Download
Email Patches
Plain Diff
docs
parent
fe03d8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/fixtures/regoDemo/README.md
+4
-0
internal/fixtures/regoDemo/README.md
with
4 additions
and
0 deletions
+4
-0
internal/fixtures/regoDemo/README.md
+
4
-
0
View file @
4f9eab18
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help