Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use yq to work around Shields RCE patch #23

Closed
ipitio opened this issue Sep 27, 2024 · 1 comment
Closed

Use yq to work around Shields RCE patch #23

ipitio opened this issue Sep 27, 2024 · 1 comment

Comments

@ipitio
Copy link
Owner

ipitio commented Sep 27, 2024

Info: badges/shields#10553

Similarly in Grafana: grafana/grafana-json-datasource#343 (comment)

@ipitio
Copy link
Owner Author

ipitio commented Sep 30, 2024

Rolling out an XML endpoint for all the packages that can be used with Shields instead, with mikefarah/yq:

<?xml version=\"1.0\" encoding=\"UTF-8\"?><bkg>$(yq -ox -I0 "$1" | sed 's/"/\\"/g')</bkg>

@ipitio ipitio closed this as completed Sep 30, 2024
@ipitio ipitio changed the title shields stopped supporting jsonpath filter expressions Use yq to work around Shields RCE patch Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant