OptionalannotationsFree-form client-managed key/value annotations.
OptionalcatalogName of the Unity Catalog catalog that contains the rule. Required. Cannot be changed after
creation. Reads return the value as supplied; the catalog's current name is reported in
effective_catalog_name.
OptionalcategoryFree-form rule category.
OptionalcomputeID of the workspace whose compute runs this rule's jobs and owns its associated resources, such as the SQL warehouse a scheduled rule runs on. Server-assigned; a rule's warehouse can only be changed from this workspace.
OptionalcontentImmutable UUIDv4 identifying the authored content resource installed as this rule.
OptionalcreatedPrincipal that created the rule.
OptionalcreateTime the rule was created.
OptionaldeduplicationSignal deduplication mode.
OptionaldeduplicationTime window for deduplication, such as 1h, 24h, 7d, or automatic.
OptionaldescriptionFree-form description.
OptionaleffectiveCurrent name of the Unity Catalog catalog that contains the rule. Reflects catalog renames,
which do not change catalog_name. Unset until resolved.
OptionaleffectiveCurrent UC leaf name of the rule (server-owned). Tracks UC renames so callers
can observe the live name without having to update the client-owned
rule_name; unset until resolved.
OptionaleffectiveThe identity this rule's job runs as: the resolved run_as_principal, or the
requester's identity when it was omitted on create or cleared on update. The value is a user
email or service-principal application ID, falling back to the numeric principal ID if that
identity can no longer be resolved. Populated on single-rule reads (get/create/update); list
responses omit it.
OptionaleffectiveCurrent name of the Unity Catalog schema that contains the rule. Reflects schema renames,
which do not change schema_name. Unset until resolved.
OptionaletagOpaque entity tag for optimistic concurrency. Content-version ETags change on user edits and remain stable across runtime status updates.
OptionalfidelitySignal quality for this rule.
OptionalmitreUp to 64 MITRE ATT&CK mappings, producing at most 192 flattened alert tags.
OptionalnameResource name, in the form rules/{rule_id}. Assigned by the server on create; required
on update.
OptionalobjectiveLong-form description of what this rule detects.
OptionaloriginalReference to the content pack this rule was originally installed from.
OptionaloutputWhat to record in each signal.
OptionalownerUnity Catalog owner of the rule. Assigned by the server. Populated by GetRule.
OptionalreferencesOrdered reference URLs carried from the authored rule metadata. A maximum of three references of up to 512 characters each is supported. Requests exceeding these limits are rejected.
OptionalruleUnity Catalog securable UUID of the rule, and the last segment of name. Never changes,
including when the rule's catalog or schema is renamed.
OptionalruleName of the rule within its Unity Catalog schema. Required on create; can be updated
within the same catalog and schema. Get synchronizes this field with the current Unity Catalog
name, also reported in effective_rule_name.
OptionalrunThe principal whose identity this rule's job runs as, given as a
user email or service-principal application ID. When supplied on
create/update, Lakewatch resolves the principal, records it on the rule, and
creates the delegation to run as that principal — the requester must be
authorized to delegate to it, or the request is rejected. When omitted on
create, the requester's own identity is used. An update whose mask does not
include run_as_principal keeps the current identity, and the requester must
still be authorized to delegate to it; an editor who is not must supply a
run_as_principal they can delegate to (for example, their own identity), or
clear it, either of which reassigns the rule. An update whose mask includes
run_as_principal but supplies no value clears it: the rule then runs as the
requester, exactly as when it is omitted on create. Reads return the value as
supplied; the identity the rule runs as is reported in
effective_run_as_principal.
OptionalrunbookLong-form operational guidance carried from the authored rule metadata. Supports up to 4096 characters. Requests exceeding this limit are rejected. Supports Markdown; analysts and the investigation agent follow it when triaging this rule's alerts.
OptionalscheduleWhen the rule executes.
OptionalschemaName of the Unity Catalog schema that contains the rule. Required. Cannot be changed after
creation. Reads return the value as supplied; the schema's current name is reported in
effective_schema_name.
OptionalseverityFree-form severity label, such as Informational, Medium, High, or
Critical.
OptionalsourceThe input data the rule operates on. Exactly one source is required.
Batch SQL rule input.
OptionalstatusRead-only lifecycle status.
OptionalsuppressIf set, this rule's signals do not open new alerts until the given time.
OptionaltimerangeTime-range configuration for batch rules. If unset, the execution time range is extended by
a fixed 15m lookback.
OptionalupdatedPrincipal that last updated the rule.
OptionalupdateTime the rule was last updated.
OptionalversionMonotonic version, bumped on each update. Informational; use etag for
optimistic concurrency.
A Lakewatch detection rule: a query that evaluates ingested data and generates a signal for each match. Each rule is a securable in a Unity Catalog schema.