authservice
authservice copied to clipboard
regex matcher on filter chain matching
This is related with https://github.com/istio-ecosystem/authservice/issues/140
The current filter chain matches by prefix or equality, but matching by regular expression will make the rules more expressive. For example, a use case could require authentication if the service is hoge1.test.com and hoge2.test.com.
configuration with regex can be complicated. Istio has long discussion around support for regex in authz policy, but does not introduce due to the complexity. Also we'll have to dig deep when regex can be subjected to the CVE issues. See https://istio.io/latest/news/security/istio-security-2019-003/ for an example.
#140 iteself can be supported with a new knob to deny by default if not match. Right?