当我运行以下代码时:
data := response {
response := http.send({
"method" : "GET",
"url": "https://httpbin.org/status/200"
})
}
我收到此错误:
发生 1 个错误:policy.rego:4:rego_type_error: 表达式中不安全的内置函数调用:http.send
我使用 rego play 来运行该策略。https://play.openpolicyagent.org/p/iqK8Zt5L62