mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
26abc7e0c9
run: added addrSetByUser to check if addr flag has been set by the user or not returns a bool to rt.ParamsAddrSetByUser in initRuntime run_test: updated tests as we pass a bool now to initRuntime, added a test to check that changing the addr flag returns the expected output runtime: added AddrSetByUser boolean and updated the server initialization info message, if AddrSetByUser is false, it will append an info message to the server initialization runtime_test: added a test that will check the message is correctly set depending on if AddrSetByUser is true or false docs/content/security: added paragraph addressing the potential issues of binding opa to the 0.0.0.0 interface Fixes #5090 Signed-off-by: Peter Macdonald <macdonald.peter90@gmail.com>