fermyon / spin-trigger-command

WIP Command Trigger for Spin
Apache License 2.0
4 stars 13 forks source link

outbound-hosts restriction is not honored when running this trigger #33

Closed rajatjindal closed 1 month ago

rajatjindal commented 3 months ago

try changing the url in theasync example without changing the allowed outbound hosts. and observe that it can still make an outgoing request even when that new url is not safelisted in spin.toml

I verified this is not an issue with a regular trigger-http.

radu-matei commented 3 months ago

I can reproduce this as well and when allowed_outbound_hosts is empty or missing.

allowed_outbound_hosts = []