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

Agent should validate validations #597

Closed
mem opened this issue Feb 1, 2024 · 0 comments · Fixed by #612
Closed

Agent should validate validations #597

mem opened this issue Feb 1, 2024 · 0 comments · Fixed by #612
Assignees
Labels
bug Something isn't working

Comments

@mem
Copy link
Contributor

mem commented Feb 1, 2024

It was reported that the agent is accepting regular expression validations with invalid regular expressions.

E.g. if fail_if_body_matches_regexp contains an invalid regular expression, the agent will consider the check to be valid.

That validation should be happening somewhere around here: https://github.com/grafana/synthetic-monitoring-agent/blob/main/pkg/pb/synthetic_monitoring/checks_extra.go#L574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants