Data Loss Prevention – Define custom topics for AI prompt protection

You can now define custom topics for AI prompt protection. Predefined AI prompt topics cover common content and intent categories such as PII, source code, and jailbreak attempts. Custom topics let you detect unique or proprietary concepts that are not included in predefined categories.

You describe a custom topic in natural language, and Cloudflare DLP detects whether a prompt matches that topic based on context rather than specific keywords. For example, a topic that describes confidential merger discussions matches a prompt that paraphrases the deal, even when the prompt never uses the word merger or names the companies involved. To detect literal values such as internal codenames or product identifiers, use a custom wordlist or pattern entry instead.

Custom topics run through the same application granular controls path as predefined AI prompt topics. Custom topics are available for ChatGPT, Google Gemini, Perplexity, and Claude.

Create a custom AI prompt topic

  1. In the Cloudflare dashboard, go to Zero Trust > Data loss prevention > Detection entries.
  2. Select AI prompt topics, then select Custom Prompt Topic.
  3. Describe the topic in natural language. Be specific about the concept you want to detect. For example, describe unreleased product roadmap details or confidential customer contract terms.
  4. Add this detection entry to an existing DLP profile, or create a new DLP profile.
  5. Use the profile in a Gateway HTTP policy to log or block prompts that match the topic.

For more information, refer to AI prompt topics.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *