Skip to content

Examples

Slack approval notification

Overview

Notify approvers when remediation.plan_pending fires.

Examples use staging environments and synthetic identifiers. Replace project IDs, suite names, and webhook URLs with your organization values.

Prerequisites

  • Organization API key or authenticated CLI
  • Staging environment for safe experimentation

Step-by-step procedure

Prepare environment

Store ZOF_API_KEY in CI secrets or local env.

Confirm target project and suite IDs in Console.

Apply pattern

Copy example configuration into your pipeline or service.

Adjust environment names and notification channels.

Validate

Run once manually before enforcing gates.

Capture run ID in runbook for support reference.

Example implementation

if event.type == "remediation.plan_pending":
    slack.post_message(channel="#release-approvals",
      text=f"Approval required: {event.data.plan_url}")

Was this page helpful?