Your question
Are the Access Control examples from the website working in version 0.16? I tried to test them, but anyway, all requests return “deny”. For example, I added this rule:
{
"allowedEndpoints": {
"match": [
{"if": "starts_with(url_path, '/api') && remote_ip != '192.168.122.1'", "then": "403"}
],
"else": "200"
}
}
or
{
"allowedEndpoints": {
"match": [
{"if": "starts_with(url_path, '/api')", "then": "403"}
],
"else": "200"
}
}
However, any requested URL gets a 403 error.
2026-05-23T04:44:25Z DEBUG HTTP connection started (http.connection-start) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 39220
2026-05-23T04:44:25Z DEBUG HTTP request URL (http.request-url) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 39220, remoteIp = 192.168.122.1, url = "/admin"
2026-05-23T04:44:25Z TRACE Expression evaluation result (eval.result) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 39220, id = "Http with id singleton", key = "allowedEndpoints", result = "Integer(403)"
2026-05-23T04:44:25Z TRACE HTTP response body (http.response-body) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 39220, contents = "{"type":"about:blank","title":"Forbidden","status":403,"detail":"Forbidden"}", code = 403, size = 76
2026-05-23T04:44:25Z DEBUG HTTP connection ended (http.connection-end) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 39220, elapsed = 0ms
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on