Verified Commit 1cc48d46 authored by lelutin's avatar lelutin
Browse files

Verify value of team label, if set

we can't enforce but we can at least make sure that the value is valid
if set.
parent f04f9e1c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -10,6 +10,16 @@ rule {
    value = "warning|critical"
  }

  label "team" {
    severity = "bug"
    # NOTE: we'd like to switch to enforcing but TPA rules currently assume that
    # this label is already present in the timeseries. for now we can at least
    # ensure that the value of the label, if set in the rule, is valid.
    required = false
    comment = ""
    value = "TPA|anti-censorship|network-health|network"
  }

  annotation "summary" {
    severity = "bug"
    required = true