Native OCaml Rego/OPA policy engine
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix fuzz lint issues: rename fuzz_github_oauth, add cose fuzz.ml runner

- Rename fuzz_github_oauth.ml to fuzz_oauth.ml to match library (E710)
- Convert ocaml-cose fuzz from raw Crowbar to Alcobar with fuzz.ml
runner (E718)
- Fix odoc warnings in sgp4, tomlt, blob_ref

+4 -4
+4 -4
lib/rego.ml
··· 13 13 let engine = Rego.engine () in 14 14 Rego.add_policy engine ~name:"example.rego" 15 15 {| 16 - package authz 17 - default allow = false 18 - allow { input.user == "admin" } 19 - |}; 16 + package authz 17 + default allow = false 18 + allow { input.user == "admin" } 19 + |}; 20 20 let input = 21 21 Result.get_ok (Rego.Value.of_json_string {|{"user": "admin"}|}) 22 22 in