{
  "name": "opsgenie-alert",
  "title": "Raise an Opsgenie alert",
  "description": "Create an alert in Opsgenie so the on-call responder is paged. The API key comes from a Kubernetes Secret.",
  "category": "Notifications",
  "tags": [
    "notifications",
    "python"
  ],
  "latestVersion": "1.0.0",
  "versions": [
    "1.0.0"
  ],
  "parameters": [
    "message",
    "alias",
    "api-key-secret-key",
    "api-key-secret-name",
    "api-url",
    "description",
    "priority",
    "tags"
  ],
  "images": [
    "cgr.dev/chainguard/python@sha256:8a5780972067cfba4592b10e786a889807ed876c1100f89410fd0ed4e398992c"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/opsgenie-alert.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/opsgenie-alert/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/opsgenie-alert/",
  "entrypoint": "alert",
  "parameterDetails": [
    {
      "name": "message",
      "title": "Message",
      "description": "Alert title, up to 130 characters.",
      "type": "string",
      "required": true,
      "example": "checkout-api error rate above 5%"
    },
    {
      "name": "alias",
      "title": "Alias",
      "description": "Alias that groups repeats of the same alert into one. Leave blank to make every alert separate.",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "api-key-secret-key",
      "title": "Api key secret key",
      "description": "Key in that Secret that holds the API key.",
      "type": "string",
      "required": false,
      "default": "api-key"
    },
    {
      "name": "api-key-secret-name",
      "title": "Api key secret name",
      "description": "Name of the Kubernetes Secret that holds the Opsgenie API key.",
      "type": "string",
      "required": false,
      "default": "opsgenie-api-key"
    },
    {
      "name": "api-url",
      "title": "Api url",
      "description": "Base URL of the Opsgenie API. Use https://api.eu.opsgenie.com for EU accounts.",
      "type": "string",
      "required": false,
      "default": "https://api.opsgenie.com"
    },
    {
      "name": "description",
      "title": "Description",
      "description": "Longer explanation shown on the alert. Leave blank for none.",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "priority",
      "title": "Priority",
      "description": "Priority of the alert, P1 being the most urgent.",
      "type": "string",
      "required": false,
      "default": "P3",
      "enum": [
        "P1",
        "P2",
        "P3",
        "P4",
        "P5"
      ]
    },
    {
      "name": "tags",
      "title": "Tags",
      "description": "Comma-separated tags.",
      "type": "string",
      "required": false,
      "default": "",
      "example": "checkout,prod"
    }
  ],
  "imageDetails": [
    {
      "ref": "cgr.dev/chainguard/python@sha256:8a5780972067cfba4592b10e786a889807ed876c1100f89410fd0ed4e398992c",
      "repository": "cgr.dev/chainguard/python",
      "tag": "latest-dev",
      "digest": "sha256:8a5780972067cfba4592b10e786a889807ed876c1100f89410fd0ed4e398992c"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.0",
      "date": "2026-10-18",
      "notes": "Initial release.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/opsgenie-alert/1.0.0.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/opsgenie-alert/1.0.0/template.yaml"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/opsgenie-alert",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
