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

service_incident_rule uses ServiceId as required string, not array #107

Open
Benbentwo opened this issue Sep 22, 2022 · 0 comments
Open

Comments

@Benbentwo
Copy link

Context

When creating a team's incident ruleset via API we currently must use service ID as a string. This must be a valid Id as well (as seen in the validation section).

When trying to create the team incident ruleset via web however, we notice we can add multiple services to a ruleset. This allows us to state "when alert X comes with data Y, we know service A and B are down!" Similarly through an empty array, we could declare a generic incident that can mark high priority alerts without immediately specifying impact.

Symptoms

  • Creating Incidents from Alerts becomes severely restricted in a programmatic manner.
  • Terraform Provider Runs into the exact same issue [docs]

References:

{
 "incidentRuleDto": {
   "id": "",
   "name": null,
   "description": null,
   "order": null,
   "serviceIds": [],
   ...

Solution

We need an update such that the ServiceId is an array and brought up to web API versions structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant