Manages a Kosli action. Actions define webhook notifications triggered by environment compliance events.Documentation Index
Fetch the complete documentation index at: https://docs.kosli.com/llms.txt
Use this file to discover all available pages before exploring further.
Actions are identified internally by a server-assigned
number. The name is used during import to look up the number.Example usage
Import
Actions can be imported using their name:Schema
Required
environments(List of String) List of environment names this action monitors.name(String) Name of the action. Must be unique within the organization. Changing this will force recreation of the resource.triggers(List of String) List of trigger event types that activate this action (e.g.ON_NON_COMPLIANT_ENV,ON_COMPLIANT_ENV).webhook_url(String, Sensitive) Webhook URL to send notifications to.
Read-only
created_by(String) User who created the action.last_modified_at(Number) Unix timestamp of when the action was last modified.number(Number) Server-assigned numeric identifier for the action.