Skip to content

Resolve "Validate incoming identifiers belong to the project for the alert endpoint"

Peter Leitzen requested to merge 7548-validate-incoming-alert-identifiers into master

What does this MR do?

Validate that the environment and prometheus_metric_id belong to a specific project. Render 404 otherwise. See #7548

Moreover, scope alerts by the environment. See #7565 (closed)

What are the relevant issue numbers?

#7528 (closed) #7548 #7565 (closed)

Does this MR meet the acceptance criteria?

Closes #7548, #7565 (closed)

/cc @sengelhard @joshlambert

Edited by Peter Leitzen

Merge request reports