Harshit Parikh
07/25/2025, 3:45 PMAsk Inkeep
07/25/2025, 3:45 PMAsk Inkeep
07/25/2025, 3:45 PM.manifest file* in the root directory of your policy git repository
2. *Set the correct loading order* by listing your files in the proper sequence :
• File paths should appear in the order you want to load them into OPA
• Utils files should be listed before files that depend on them
The .manifest file format should follow these rules :
• File encoding should be standard (UTF-8)
• Lines should be separated with newlines (\n character)
• Each line should contain a path relative to the .manifest file
• File paths should appear in the order you want to load them into OPA
For your specific case, your .manifest file should list File A (utils) before File B (main file) .
If you need to use a different manifest path, you can set the OPAL_POLICY_REPO_MANIFEST_PATH environment variable to specify another location .
The manifest is optional - if there's no manifest file, OPAL will load policy modules in alphabetical order, which is likely causing your current issue .Ask Inkeep
07/25/2025, 3:46 PMOr Weis
07/25/2025, 4:01 PMAsk Inkeep
07/25/2025, 4:04 PM