oneAI icon

oneAI

Interact with the oneAI API

Compliance Pattern → Edit

AI-generated

Summary

Update a custom compliance pattern by ID, changing its title, description, action, and/or filter rules. Leave optional fields empty or select “Keep Current” to retain their existing values; default patterns cannot be edited.

Inputs

  • Pattern ID (required) — ID of the custom pattern to edit.
  • Title — Replacement title; empty keeps the current title.
  • Description — Replacement description; empty keeps the current description.
  • Action — Choose Audit, Audit & Block, Audit & Redact, or Audit & Review. “Keep Current” preserves the existing action.
  • Filter Rules — Add one or more rules, each matching either a substring (Contains) or a regular expression (Regex) against the pattern’s filter.

Output shape

A single record

The provided source pack shows only function signatures, not the edit implementation or response mapping, so the returned record’s fields cannot be specified.

Links

Discussion