-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Update to Rego v1 + add explicit
--addr
param for OPA fixture. (
#27) Also included: GH Actions workflow update for .NET 8.x. Signed-off-by: Philip Conrad <[email protected]>
- Loading branch information
1 parent
968c9b4
commit ec4af69
Showing
5 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package policy | ||
|
||
import rego.v1 | ||
|
||
echo := { | ||
"decision": true, | ||
"context": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package system | ||
|
||
import rego.v1 | ||
|
||
# This is used to exercise the default query functionality. | ||
|
||
msg := "this is the default path" | ||
|
||
main := x { | ||
main := x if { | ||
x := {"msg": msg, "echo": input} | ||
} else { | ||
} else if { | ||
x := {"msg": msg} | ||
} |