Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAlert rules parser breaks on valid input #5047
Comments
RichiH
added
kind/bug
component/rules
labels
Dec 28, 2018
This comment has been minimized.
This comment has been minimized.
|
PS:
|
This comment has been minimized.
This comment has been minimized.
|
That's not valid yaml. |
brian-brazil
added
kind/question
and removed
kind/bug
labels
Dec 28, 2018
This comment has been minimized.
This comment has been minimized.
|
I can attach the full yaml, but just copy that section, or anything with
curlies, really.
Sent by mobile; please excuse my brevity.
…On Fri, Dec 28, 2018, 12:53 Brian Brazil ***@***.*** wrote:
That's not valid yaml.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5047 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAuEIwIwgaCk5TpqfL3kqZ0Vk0G9QobOks5u9gZEgaJpZM4Zjw3x>
.
|
This comment has been minimized.
This comment has been minimized.
|
I did, it's still not valid YAML. You need to quote it. |
This comment has been minimized.
This comment has been minimized.
|
To be more concrete: Strings starting with |
This comment has been minimized.
This comment has been minimized.
|
Aye, thanks. |
RichiH
closed this
Dec 28, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RichiH commentedDec 28, 2018
I just broke Prometheus at 35C3 with the following rule:
It works when expanding on the regex:
Verified with 2.6.0