{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a DLP custom profile.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dlp_NewCustomProfile"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dlp_NewCustomProfile":{"type":"object","properties":{"ai_context_enabled":{"type":"boolean","default":false},"allowed_match_count":{"description":"Related DLP policies will trigger when the match count exceeds the number set.","type":"integer","default":0,"maximum":1000,"minimum":0,"examples":[5]},"confidence_threshold":{"type":["string","null"],"default":"low"},"context_awareness":{"allOf":[{"$ref":"#/definitions/dlp_ContextAwareness"}]},"data_classes":{"description":"Data class IDs to associate with the profile.","type":"array","items":{"format":"uuid","type":"string"}},"data_tags":{"description":"Data tag IDs to associate with the profile.","type":"array","items":{"format":"uuid","type":"string"}},"description":{"description":"The description of the profile.","type":["string","null"]},"entries":{"type":"array","items":{"$ref":"#/definitions/dlp_EntryOfNewProfile"}},"name":{"type":"string"},"ocr_enabled":{"type":"boolean","default":false},"sensitivity_levels":{"description":"Sensitivity levels to associate with the profile.","type":"array","items":{"$ref":"#/definitions/dlp_SensitivityLevelRef"}},"shared_entries":{"description":"Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).","type":"array","items":{"$ref":"#/definitions/dlp_NewSharedEntry"}}},"required":["name"]},"dlp_ContextAwareness":{"description":"Scan the context of predefined entries to only return matches surrounded by keywords.","type":"object","properties":{"enabled":{"description":"If true, scan the context of predefined entries to only return matches surrounded by keywords.","type":"boolean"},"skip":{"$ref":"#/definitions/dlp_SkipConfig"}},"required":["enabled","skip"]},"dlp_EntryOfNewProfile":{"oneOf":[{"$ref":"#/definitions/dlp_NewCustomEntry"},{"$ref":"#/definitions/dlp_NewWordListEntry"}]},"dlp_SensitivityLevelRef":{"description":"A reference pairing a sensitivity group with a specific level within that group.","type":"object","properties":{"group_id":{"type":"string","format":"uuid"},"level_id":{"type":"string","format":"uuid"}},"required":["group_id","level_id"]},"dlp_NewSharedEntry":{"type":"object","properties":{"enabled":{"type":"boolean"},"entry_id":{"type":"string","format":"uuid"}},"required":["entry_id","enabled"]},"dlp_SkipConfig":{"description":"Content types to exclude from context analysis and return all matches.","type":"object","properties":{"files":{"description":"If the content type is a file, skip context analysis and return all matches.","type":"boolean"}},"required":["files"]},"dlp_NewCustomEntry":{"type":"object","properties":{"description":{"type":["string","null"]},"enabled":{"type":"boolean"},"name":{"type":"string"},"pattern":{"$ref":"#/definitions/dlp_Pattern"}},"required":["name","pattern","enabled"]},"dlp_NewWordListEntry":{"type":"object","properties":{"enabled":{"type":"boolean"},"name":{"type":"string"},"words":{"type":"array","items":{"type":"string"}}},"required":["name","words","enabled"]},"dlp_Pattern":{"type":"object","properties":{"regex":{"type":"string"},"validation":{"allOf":[{"$ref":"#/definitions/dlp_Validation"}]}},"required":["regex"]},"dlp_Validation":{"type":"string","enum":["luhn"]}}},"name":"Create custom profile","id":"cloudflare.dlp-profiles-create-custom-profiles","example":{"path":{"account_id":"example"},"body":{"name":"example"}},"maxRequests":1,"summary":false}}