You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume a single policy "sast_policy" in a file sast_policy.rego. This file lives in a folder called "org" - so from outside of org the rego file exists at ./org/sast_policy.rego.
After an opa build and provisioning to the running opa server a call to /v1/policies shows the id of that policy as "policies/org/sast_policy/sast_policy.rego" - I would have expected a simpler name like "/org/sast_policy" or "sast_policy". What am I doing increctly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Assume a single policy "sast_policy" in a file sast_policy.rego. This file lives in a folder called "org" - so from outside of org the rego file exists at ./org/sast_policy.rego.
After an opa build and provisioning to the running opa server a call to /v1/policies shows the id of that policy as "policies/org/sast_policy/sast_policy.rego" - I would have expected a simpler name like "/org/sast_policy" or "sast_policy". What am I doing increctly.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions