broker icon indicating copy to clipboard operation
broker copied to clipboard

feat: add url placeholder var swap for ghsa in plugin

Open aarlaud opened this issue 6 months ago • 0 comments

What does this PR do?

Adds opt-in logic in github server app plugin at connection level to enable variable interpolation in urls. For the cases where a url must contain a value that is only available in the broker client, it is now possible to inject this value simply by having a placeholder value in the filters uris, in addition to the header and body value injections, long time part of the broker client. Keeping it in the plugin isolates this logic to only relevant type(s).

This approach is favored over the global logic in https://github.com/snyk/broker/pull/800.

aarlaud avatar Jul 29 '24 17:07 aarlaud