The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/alert-operator-validation-1419 has failed.
Run started by GitHub user tju-yxq (triggered by tju-yxq).

Head commit for run:
46bbd582facd26275a1c689676cf983c17406410 / Yxq <[email protected]>
[ISSUE #1419] Validate alert rule operator, metric, and duration fields

The alert rule operator, metric name, and duration fields were injected
directly into PromQL expressions without validation. Malformed values
could produce invalid PromQL that causes Prometheus rule loading to
fail. This fix:

- Validates operator against a whitelist of valid comparison operators
- Validates metric name against Prometheus metric name pattern
- Validates duration against Prometheus duration format
- Falls back to safe defaults for invalid values

Fixes #1419

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/31379630943

With regards,
GitHub Actions via GitBox

Reply via email to