(val: ®orus::Value)
| 713 | } |
| 714 | |
| 715 | fn parse_process_policy(val: ®orus::Value) -> ProcessPolicy { |
| 716 | ProcessPolicy { |
| 717 | run_as_user: get_str(val, "run_as_user"), |
| 718 | run_as_group: get_str(val, "run_as_group"), |
| 719 | } |
| 720 | } |
| 721 | |
| 722 | /// Preprocess YAML policy data: parse, normalize, validate, expand access presets, return JSON. |
| 723 | fn preprocess_yaml_data(yaml_str: &str) -> Result<String> { |
no test coverage detected