Skip to main content
A remediation action is a fix defined in advance: a call to Jenkins, GitHub Actions, Argo, Rundeck, or a similar system, or a restart, scale, or rollback of a workload on a registered Kubernetes cluster. Whoever handles an incident starts it on the incident in one click; every run is approved, runs as soon as it is, and its outcome and the check after it go on the incident’s timeline. Open Alerts → Remediation. Viewing requires alerts.remediation.read, defining actions and registering clusters requires alerts.remediation.manage, starting a run on an incident requires alerts.incidents.remediate, and approving one requires agent.approve.

Define a remediation action

Select New remediation action and fill in: The list gives each action’s services (All incidents when unrestricted) and risk, and marks the ones Turned off, which incidents do not offer.

HTTP request

The address, headers, and body can use {{incident.id}}, {{incident.summary}}, {{incident.severity}}, {{incident.status}}, {{incident.service}}, {{incident.url}}, and {{params.name}}. Values filled into the address are percent-encoded. The request connects only to the IPs the address resolves to, never to cloud metadata addresses, follows no redirects, and times out after 30 seconds; a 2xx response counts as a successful run, and the start of the response is kept on the run.

Kubernetes

Register a Kubernetes cluster

Under Kubernetes clusters, select Add a cluster and enter the Name, the API server address, the CA certificate (PEM; empty uses the system’s trusted roots), and a ServiceAccount token. The token is stored encrypted and not shown again. Test connection reads the cluster version once. Give MoleSignal a ServiceAccount of its own with only what it needs: get and patch on the target workloads, the scale subresource for scaling, and listing ReplicaSets for rollbacks. For example, to allow only the workloads of the shop namespace:
Connections go only to the IPs the API server address resolves to, never to cloud metadata addresses. A cluster that an action still uses cannot be deleted.

Run an action on an incident

Remediation in the incident details lists the actions that apply to the incident: those without a service restriction, and those whose services match the incident’s. Select Run beside one, fill in its values, write a Reason (for example “checkout ran out of connections, restart first”), and Send for approval. A resolved incident cannot start one. The run then waits for approval: one person with agent.approve for L2 and two for L3, and the requester cannot be an approver. Approvers select Approve or Reject on the same card, or handle it among Mole Agent’s approvals. The run starts as soon as enough people approve. Starting, running, and checking go on the incident’s timeline, and starting is also recorded in the audit log. Mole Agent can list the remediation actions that apply to an incident and propose a run; a run it proposes always needs two approvals, whatever risk the action sets.

API

Last modified on October 31, 2026