aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/injections/yaml
Commit message (Collapse)AuthorAgeFilesLines
* More bash injection support for Taskfile (#7805)Mikkel Mondrup Kristensen2025-04-071-0/+9
|
* feat(yaml): inject bash for taskfiles (#7804)Anthony Fiddes2025-04-061-0/+15
|
* feat(promql): do not use regex for string labels (#7669)Daniil Leontev2025-02-201-0/+14
| | | | | | | | | | | | | | | | | In Prometheus, label values are treated as strings when used with the `=` and `!=` operators, and as regular expressions when used with the `=~` and `!~` operators. Injecting and then highlighting all label values as regex leads to a situation where entirely valid **string** label values containing regex special characters are mistakenly parsed and highlighted as regex. This results in syntax errors, causing labels to be highlighted incorrectly. For example, in `foo{bar=~"[a-z]{1,3}"}`, `{` and `}` are regex special characters, so regex highlighting is expected. However, in `foo{path="/foo/{id}"}`, `{` and `}` are just part of the string and have no special meaning, so the whole value should be highlighted as a string.
* chore(tests): consistent capturesChristian Clason2024-01-192-5/+5
|
* fix(yaml): promql injections blockChristian Segundo2023-09-151-0/+7
|
* feat(promql,yaml): add parser and yaml injectionsMichael Hoffmann2023-07-181-0/+12
| | | | Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
* ci: add injection testsStephan Seitz2021-12-201-0/+32