Skip to main content
View as Markdown

Moderation Policies and Rules - Content Moderation

Moderation Policies and Rules​

Moderation policies define what the AI engine checks for when analyzing content. A policy is a named collection of rules, each targeting a specific content concern.

Text Rules​

RuleDescription
profanityDetects profanity and vulgar language in transcripts
hate_speechIdentifies hate speech, slurs, and discriminatory language
piiFlags personally identifiable information (names, emails, phone numbers, SSNs)
violence_textDetects descriptions of violence or threats in spoken/written content
sexual_textIdentifies sexually explicit or suggestive language
self_harmFlags references to self-harm or suicidal content
dangerous_activitiesDetects instructions for dangerous or illegal activities
custom_keywordsMatches against a configurable list of blocked terms

Visual Rules​

RuleDescription
nudityDetects nudity or near-nudity in video frames
violence_visualIdentifies graphic violence, blood, or weapons in frames
drugsDetects drug paraphernalia or substance use
alcohol_tobaccoFlags alcohol or tobacco product visibility
offensive_symbolsIdentifies hate symbols, offensive gestures, or extremist imagery
text_overlayReads and moderates text overlaid on video frames
child_safetyDetects potential child exploitation or endangerment content

Predefined Policies​

The platform includes two predefined policies:

PolicyRules Included
default_moderation_v2profanity, hate_speech, pii, nudity, violence_visual, violence_text, sexual_text
strict_moderation_v1All text rules + all visual rules

Custom Policies​

Create custom policies by selecting specific rules and configuring severity thresholds:

curl -X POST "$KALTURA_SERVICE_URL/service/moderationPolicy/action/add" \
-d "ks=$KALTURA_KS" \
-d "format=1" \
-d "policy[name]=Corporate Content Policy" \
-d "policy[rules][0][type]=profanity" \
-d "policy[rules][0][severity]=high" \
-d "policy[rules][1][type]=pii" \
-d "policy[rules][1][severity]=medium" \
-d "policy[rules][2][type]=custom_keywords" \
-d "policy[rules][2][keywords]=competitor1,competitor2,internal-codename"

Scoring Algorithm​

Each rule produces a severity score when a violation is detected:

SeverityScore RangeDescription
low0.1 – 0.3Minor concern — may not require action
medium0.4 – 0.6Moderate concern — review recommended
high0.7 – 0.9Significant violation — action likely required
critical0.9 – 1.0Severe violation — immediate action recommended

The overallScore in the moderation output is the maximum severity across all detected violations. A score of 0.0 means no violations were found.