create_regex_detector
Creates a DLP regular expression detector, a building block whose resource name is referenced in Chrome DLP rule conditions.
Instructions
Creates a new DLP regular expression detector. Detectors are building blocks for DLP rules. After creating a detector, you must reference its resource name in a 'create_chrome_dlp_rule' condition (e.g., using the 'matches_detector' function).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | No | The Chrome customer ID (e.g. C012345) | |
| expression | Yes | A regular expression to match. | |
| description | No | An optional description for the detector. | |
| displayName | Yes | The display name for the detector. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detector | Yes |