OPA Conformance

- Disable default features of jsonschema to reduce binary size (#85)
- graph.reachable, graph.reachable_paths builtins.
- In progress walk builtin
Note: graph.reachable_paths is buggy in upstream OPA and its semantics
  are not well defined.
  https://github.com/open-policy-agent/opa/issues/5871
  https://github.com/open-policy-agent/opa/issues/6128
- Use correct feature for regex
- Ensure that regorus complies with all features disabled.

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-12-31 13:51:53 -08:00
committed by GitHub
parent 84bedda1c6
commit 2292774446
6 changed files with 201 additions and 6 deletions
+2
View File
@@ -133,6 +133,8 @@ fn get_extra_arg_impl(
} else {
return Ok(None);
}
#[cfg(not(feature = "deprecated"))]
return Ok(None);
}
};
if (n_args as usize) + 1 == params.len() {