seyren icon indicating copy to clipboard operation
seyren copied to clipboard

Seyren doesn't properly sanitize JSON

Open sethdmoore opened this issue 11 years ago • 1 comments

We were notified that seyren was causing errors by posting JSON to an external API.

{"tags":["OK","seyren"],"content":" Production Application CPU Usage has entered its OK state - [summarize(graphite.path.to.app, "30sec", "avg"): 40.2125] - 2014-12-09T04:20:20.109Z - http://seyren.orgname","external_user_name":"Seyren”}

As you can see, using double quotes in the Seyren Target: field causes it to send unescaped double quote characters, breaking the JSON

Target: exclude(summarize(graphite.path.*.app,"30sec", "avg"), "seyren")

sethdmoore avatar Dec 09 '14 19:12 sethdmoore

Which output does this happen in?

neilprosser avatar Jan 03 '15 16:01 neilprosser