Louis Liao

03/23/2023, 10:48 AM
Hello! does anybody knows how to restrict access to wiremock recorder by ip using wiremock docker?

Rob Elliot

03/23/2023, 11:25 AM
Could you elaborate a bit on what the problem is you are trying to solve?

Marino Wijay

03/27/2023, 12:49 PM
An approach you could take, you could use IPtables to limit interactions/connections to your WireMock recorder. Docker Docs has some examples you can use.
Or, if you want to be fancy, deploy this to Kubernetes, use a CNI like Cilium and use NetworkPolicy with a label-selector in case your WireMock pod gets re-deployed with a new IP.