Skip to main content

Tines

Beta

Lakewatch is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage workspace-level previews.

Export Lakewatch alerts to a Tines story. When an alert is created, Lakewatch posts a JSON event to a Tines webhook, and your Tines story decides what happens with it. For how export behaves across destinations, see Alert destinations.

Export to Tines is one-way, from Lakewatch to Tines. Lakewatch sends the event through a Tines webhook action, authenticating with a webhook secret that you store as a Unity Catalog secret.

How the event is delivered​

  • On alert creation: Lakewatch posts a JSON event with the event_type lakewatch.alert.created. The payload uses the same schema and field names as the generic webhook destination, so a Tines story can read the same fields.
  • On alert updates: When update delivery is enabled for the destination, Lakewatch also posts a lakewatch.alert.updated event when the state, title, severity, description, classification, or assignee of an already-exported alert changes. When an alert closes, you receive an updated event with alert_state set to RESOLVED or DUPLICATE. There's no separate close event. To enable update delivery, select Also send alert updates in the settings. See Configure settings.
  • Your story decides the outcome: A successful export means Tines received the event, not that your story acted on it.
warning

Lakewatch sends each event one time. If delivery to Tines fails, Lakewatch records the failure and doesn't resend the event. The alert still appears in Lakewatch.

Use data.alert_id to match events to the same alert. With update delivery enabled, one alert produces a created event and later updated events, so check event_type to tell them apart. delivery_attempt_id changes on every delivery, so it can't tell you whether two events are about the same alert.

Prerequisites​

Set up the Tines webhook​

In your Tines story, add an inbound webhook action and configure it to authenticate with a secret:

  1. Add a Webhook action to your story.
  2. Set the action to require a secret, sent as a header (Secret access mode). Note the webhook URL and the secret. Remove any trailing secret segment from the URL. Lakewatch sends the secret in the Authorization header instead.

For details, see the Tines webhook action documentation.

The webhook URL must be a publicly reachable HTTPS webhook action URL, such as https://<tenant>.tines.com/webhook/<path>. Tines custom domains are also supported. Lakewatch can't deliver to private networks, such as endpoints behind Private Service Connect.

Store the webhook secret as a Unity Catalog secret​

Store the Tines webhook secret in a Unity Catalog secret in the __lakewatch schema of your Lakewatch environment's catalog. Select secret lists secrets from that schema, and Create secret creates one there. Lakewatch stores only the secret name, not the secret value.

You can create this secret ahead of time in <catalog>.__lakewatch, or create it while configuring Tines export with the Create secret button. Either way, creating a secret requires USE CATALOG on the catalog and either ownership of the __lakewatch schema or both CREATE SECRET and USE SCHEMA on it. For the steps, see Create a secret.

Required permissions​

To configure Tines export, you must have the following privileges:

  • READ SECRET on the Unity Catalog secret that holds the webhook secret, or on its parent schema or catalog. Lakewatch checks read access when you add or change the secret reference or webhook URL. Changing unrelated settings doesn't repeat the check. To grant it, see Grant access to secrets.
  • The MANAGE privilege on your Lakewatch environment's catalog. See Configure settings.

To change the webhook secret, update the value of the same Unity Catalog secret. Lakewatch uses the new value on the next export, with no change to the settings. To use a different secret, click Select secret or Create secret in the settings and save.

Set up Tines as an alert destination​

Configure a Tines destination for alerts in the Alerts settings section.

  1. On the Lakewatch sidebar, go to Settings, then open Alerts.
  2. Under Delivery, set Alert destination to Tines.
  3. In Webhook URL, enter the Tines webhook action URL without a trailing secret segment, for example https://<tenant>.tines.com/webhook/<path>.
  4. For Webhook secret, click Select secret to select the secret that holds the webhook secret, or click Create secret to create one from the webhook secret without leaving the page. The field shows the secret's name, not its value.
  5. (Optional) To also receive lakewatch.alert.updated events, select Also send alert updates.
  6. Save your changes.

For the full alert settings reference, see Configure settings.

To export system errors to Tines, follow the same steps under Settings > System errors, and set System error destination to Tines. To also receive updates, select Also send system error updates.

Troubleshoot Tines export​

  • Events don't reach your story: The webhook URL isn't a Tines webhook action URL, or the story isn't active. Confirm the URL points to the webhook action and the story is live.
  • The configuration doesn't save: You don't have permission to read the Unity Catalog secret, the secret is in a different catalog than your Lakewatch environment, or the webhook URL doesn't use HTTPS, points to a private network, or includes the webhook secret. Confirm your access to the secret, its catalog, and the webhook URL.
  • Your secret isn't listed in Select secret: Select secret lists only the secrets you have access to in the __lakewatch schema of your environment's catalog. Store the secret there, or ask for READ SECRET on it.
  • Lakewatch reports a successful export but nothing happens in Tines: A 2xx response means Tines accepted the event, not that your story acted on it. Check your Tines story logic.
  • You rotated the webhook secret: Update the Unity Catalog secret with the new value. No change to the export configuration is needed.