Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.
Alert rules determine what counts as an event that triggers an alert. Every alert must have at least one rule. This page is the complete reference for the rule engine — every parameter, every operator, every logical-combination semantic, plus worked examples.For the surrounding alert workflow (add, edit, assign, enable, delete), see Alerts. For the rule examples that ship pre-configured with Syteca, see Default alerts.
Rule structure
Each rule consists of three fields, set left to right in the Rules section of the Add/Edit Alert page:
Field
Contains
Parameter(left)
What kind of event to detect — application opened, URL visited, command executed, etc.
Comparison operator(middle)
How to compare — Equals, Like, Not equals, Not like, or Matches (Regex).
Value(right)
The string to compare against.
Combine multiple rules in one alert with the + Or and + And buttons. Delete a rule by clearing its value or clicking the Close icon on the right.
Parameters
The parameter selection determines which Client OSes the rule applies to and what kind of data it inspects. Parameters are grouped by applicability.
Applied to all Clients
Parameter
Description
Example value
Username
Name of the user whose activity is monitored. Triggers whenever the specified user logs into a Client. For Windows / macOS users, the format <domain or computer>\<username> is also accepted. If secondary user authentication is enabled and the secondary username matches, the alert triggers — example: rule Username Like John; user logs in as Guest then enters John as the secondary login; alert triggers, and the first record (Guest (John)) is marked.
John
Applied to Windows, macOS, and Linux (X Window System GUI only)
Parameter
Description
Example value
Application
Name of the application opened on the Client.
winword.exe
Title
Name appearing in a window title bar.
My document
Applied to Windows and macOS Clients only
Parameter
Description
Example value
Keystrokes (Windows/macOS)
Keystrokes entered by the user.
download
URL (Windows/macOS)
URL entered in the browser address bar or visited. Requires URL monitoring enabled for the Client.
facebook.com
Clipboard Copy (Windows/macOS)
Value copied or cut. Enter * to detect any copy/cut action.
confidential
Clipboard Paste (Windows/macOS)
Value pasted. Enter * to detect any paste action.
confidential
File Upload (Windows/macOS)
Filename uploaded by the user.
*, *.exe, *.app, c:\TopSecret\*.*(Windows only)
For Windows Clients, custom file-upload alerts can be built by combining multiple rules across other parameter types — for example, the default Downloading-via-browser alert uses three Application rules (for 3 browser apps) combined with a Title rule matching Save.
Applied to Linux Clients only (SSH and X Window System sessions)
Parameter
Description
Example value
Command (Linux)
Command entered in the Linux terminal.
sudo
Parameter (Linux)
Parameter entered alongside a Linux command.
ImportantDocument
Input (Linux)
Text entered by the user in the Linux terminal — the full input, not just a command or parameter. Enter text, symbols, and numbers; separate multiple inputs with a semicolon (;) to trigger the alert if any one of them is entered.
cd /etc/.ekran/
Input (Linux) triggers on the full input entered by the user — in both SSH and local terminal sessions, in any shell (bash, ksh, and so on), including inputs completed using Tab. It requires the Enable user input monitoring option to be enabled on the Client.
Applied to Active Directory groups
Parameter
Description
Example value
OS
User Belonging to Domain Group
Name of an AD domain group. The comparison operator is the AD domain name (not Equals/Like/etc.). Triggers when a user from the specified domain group logs into a Client.
Marketing
Windows / macOS
Computer Belonging to Domain Group
Name of an AD domain group. Triggers when a Client computer belonging to this domain group is logged into. Comparison operator is the AD domain name.
Accounting
Windows
Alerts using Computer Belonging to Domain Group must be assigned to the All Clients group to function correctly.
Comparison operators
For all parameters except Active Directory group parameters, these comparison operators are available:
Operator
Description
Value
Matches
Doesn’t match
Equals
Exact match
Jon
Jon
Jonnie
Like
Contains the value
Jon
Jonnie, Jonathan
Johan
Not equals
Not an exact match
Jon
Oliver, Jonnie
Jon
Not like
Does not contain the value
Jon
Oliver, Johan
Jon, Jonnie, Jonathan
The Matches (Regex) operator is also available for most parameters — see Regex rules below.
Logical operators and multiple rules
When multiple rules combine in one alert, the combination semantics depend on whether the rules use the same or different parameter types.
Combination
Logic
Behavior
Multiple rules with the same parameter + OR + Like/Equals
OR
Trigger if any one rule’s condition matches.
Multiple rules with different parameters + AND + Like/Equals
AND
Trigger only if all rules’ conditions match.
Same parameter with OR + a different parameter with AND + Like/Equals
OR-then-AND
Trigger if any of the OR rules match AND the AND rule also matches.
Multiple rules with the same parameter + AND + Not equals/Not like
AND
Trigger if all rules’ conditions match.
Example combinations
Linux OR Windows trigger
Either Excel or Word (same parameter, OR)
Nancy + Word (different parameters, AND)
Nancy + (Excel OR Word) (OR + AND)
Anything except Excel or Word (NOT + AND)
Rule
Parameter
Operator
Value
Rule 1
Command
Equals
su
(OR)
Rule 2
URL
Like
facebook.com
Triggers when a user enters su in Linux terminal OR visits facebook.com on Windows.
Rule
Parameter
Operator
Value
Rule 1
Application
Equals
excel.exe
(OR)
Rule 2
Application
Equals
winword.exe
Triggers when any user opens Excel OR Word.
Rule
Parameter
Operator
Value
Rule 1
Application
Equals
winword.exe
(AND)
Rule 2
Username
Like
Nancy
Triggers when Nancy specifically opens Word.
Rule
Parameter
Operator
Value
Rule 1
Application
Equals
excel.exe
(OR)
Rule 2
Application
Equals
winword.exe
(AND)
Rule 3
Username
Equals
Nancy
Triggers when Nancy opens Excel OR Word.
Rule
Parameter
Operator
Value
Rule 1
Application
Not equals
excel.exe
(AND)
Rule 2
Application
Not equals
winword.exe
Triggers when any user opens any application that isn’t Excel and isn’t Word.
Worked rule examples
Common detection patterns with the exact rule configuration:
To match multiple users (any one of Stefan or Rick), add an OR rule with Username Like Rick. To match anyone except Stefan, change to Username Not like Stefan.
4
Any user opening MS Word
Parameter
Operator
Value
Application
Equals
winword.exe
To match any application except Word, change to Application Not equals winword.exe.
5
Specific user (Stefan) opening Facebook in Chrome specifically
Parameter
Operator
Value
URL
Like
facebook.com
(AND)
Application
Equals
chrome.exe
(AND)
Username
Like
Stefan
6
USB storage devices plugged in
Parameter
Operator
Value
Title
Like
USBStorage
7
Any user entering sudo or su in Linux
Parameter
Operator
Value
Command (Linux)
Equals
sudo
(OR)
Command (Linux)
Equals
su
8
A specific command-and-input combination in Linux
Parameter
Operator
Value
Parameter (Linux)
Like
-f
(AND)
Input (Linux)
Like
./uninstall.sh
Triggers when a user enters a command containing both the -f parameter and the input ./uninstall.sh — for example, /opt/.Ekran/uninstall.sh -f.
9
A Linux input matching a regex pattern
Parameter
Operator
Value
Input (Linux)
Matches (Regex)
cd .*/\.ekran/
Triggers when a user enters an input matching the regular expression — for example, cd /etc/.ekran.
10
Any user in a specific AD domain group accessing any Client
Parameter
Operator
Value
User Belonging to Domain Group
(AD domain name)
(group name)
The comparison operator slot holds the AD domain name (not Equals/Like).
11
Anyone opening Facebook from any computer in a specific AD domain group
Parameter
Operator
Value
URL
Like
facebook.com
(AND)
Computer Belonging to Domain Group
(AD domain name)
(group name)
Computer Belonging to Domain Group alerts must be assigned to the All Clients group.
12
A user in one AD group opening MS Word on a computer in another AD group
Parameter
Operator
Value
Application
Equals
winword.exe
(AND)
User Belonging to Domain Group
(AD domain name)
(user group)
(AND)
Computer Belonging to Domain Group
(AD domain name)
(computer group)
Both AD parameters use the AD domain name as the comparison operator. The alert must be assigned to All Clients.
Regex rules
The Matches (Regex) comparison operator lets you define rule values as regular expressions using ECMAScript grammar. Currently supported on Windows and Linux Clients.
Parameters that support regex
Application
Title
Username
Keystrokes (Windows/macOS)
URL (Windows/macOS)
Clipboard Copy (Windows/macOS)
Clipboard Paste (Windows/macOS)
File Upload (Windows/macOS)
Command (Linux)
Parameter (Linux)
Input (Linux)
Regex is not supported with the User Belonging to Domain Group and Computer Belonging to Domain Group parameters.
Define a regex rule
1
Open Add or Edit Alert
On the Alerts page, click Add to add a new alert, or click an existing alert to open it.
In the middle (operator) field, select Matches (Regex).
4
Enter the regex value
In the right (value) field, enter your regular expression using ECMAScript grammar. For example, ^(chrome|firefox|edge|opera)\.exe$ matches any of four browser executables.
5
Combine with other rules (optional)
Click + Or or + And to add additional rules with OR / AND logic.
6
Save
After valid values are entered into all required fields, click Finish at the bottom of the page.
Processing speed can be affected if regular expressions are very abstract or complex — particularly patterns using * with many permutations. Test rules against representative data before deploying widely.
Regex example: browser + paste of email or phone number
A rule combination that detects when a user pastes an email address or phone number into a browser — useful for outbound-email-composition monitoring or pre-exfiltration detection:
Parameter
Operator
Value
Application
Matches (Regex)
`^(chrome
(AND)
Clipboard Paste (Windows/macOS)
Matches (Regex)
[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}
(OR)
Clipboard Paste (Windows/macOS)
Matches (Regex)
\+?\d[\d\s\-()]{7,}\d
Triggers when one of the four browsers is open AND the user pastes either an email address OR a phone number pattern.
Related
Alerts
The day-to-day alert workflow: add, edit, assign, delete, import/export.
Default alerts catalog
Preconfigured alerts that ship with Syteca, illustrating the patterns above.
Block on alert
Automatically block users when an alert triggers.
Sensitive Data Masking
Mask sensitive data at recording time — uses a similar regex approach.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Syteca","description":"Syteca documentation - User Activity Monitoring and Privileged Access Management in a single platform.","colors":{"primary":"#2563EB","light":"#5B8DEF","dark":"#1D4ED8"},"logo":{"light":"https://mintcdn.com/syteca/ZVta4JfIcSnC47NX/logo/syteca-light.svg?fit=max\u0026auto=format\u0026n=ZVta4JfIcSnC47NX\u0026q=85\u0026s=154a18f69aa4aefa55de0de7669934c7","dark":"https://mintcdn.com/syteca/ZVta4JfIcSnC47NX/logo/syteca-dark.svg?fit=max\u0026auto=format\u0026n=ZVta4JfIcSnC47NX\u0026q=85\u0026s=07170d0c543f4264cca523f1b74b912e","href":"https://www.syteca.com/docs"},"favicon":"https://mintcdn.com/syteca/0FlD-vkHsBA1azVX/favicon.ico?fit=max\u0026auto=format\u0026n=0FlD-vkHsBA1azVX\u0026q=85\u0026s=6c6a5b9e7da5f386c9d031d55704987a","appearance":{"default":"system","strict":false},"background":{"decoration":"grid","color":{"light":"#FFFFFF","dark":"#0B0D12"}},"navbar":{"links":[{"href":"https://www.syteca.com/docs/release-notes/overview","label":"Changelog"},{"href":"https://www.syteca.com/docs/api/acb/api-reference","label":"API Reference"},{"href":"https://www.syteca.com/en/support/contact-support","label":"Support"}],"primary":{"type":"button","label":"Book a Demo","href":"https://www.syteca.com/en/book-a-demo"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@syteca","linkedin":"https://www.linkedin.com/company/syteca.com"},"links":[{"header":"Product","items":[{"label":"Overview","href":"https://www.syteca.com/docs"},{"label":"Releases","href":"https://www.syteca.com/docs/release-notes/overview"},{"label":"Pricing","href":"https://syteca.com/pricing"}]},{"header":"Company","items":[{"label":"About","href":"https://www.syteca.com/en/company/about-us"}]},{"header":"Legal","items":[{"label":"Privacy","href":"https://syteca.com/privacy"},{"label":"Terms","href":"https://www.syteca.com/en/terms-of-use"}]}]},"search":{"prompt":"Syteca Documentation"},"seo":{"metatags":{"og:image":"https://www.syteca.com/og-default.png","og:site_name":"Syteca Docs","canonical":"https://www.syteca.com/docs"}},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"integrations":{"ga4":{"measurementId":"G-3SYH6XSJXQ"}},"errors":{"404":{"redirect":false}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"syteca","hasAudioNarration":false,"actualSubdomain":"syteca","customDomains":["syteca.com"],"gitSource":{"type":"github","owner":"syteca","repo":"syteca-docs-poc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afd11321c0e198c9c436271","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Administration","count":97},{"language":"default","tag":"API \u0026 Integrations","count":84},{"language":"default","tag":"Application Credentials Broker","count":53},{"language":"default","tag":"Session Monitoring","count":43},{"language":"default","tag":"Endpoint Risk Control","count":31},{"language":"default","tag":"Endpoints","count":30},{"language":"default","tag":"Privileged Access Management","count":26},{"language":"default","tag":"Release Notes","count":24},{"language":"default","tag":"Get Started","count":18},{"language":"default","tag":"Syteca changelog","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--syteca-brand: #2563EB;--syteca-brand-strong: #1D4ED8;--syteca-brand-soft: #EFF6FF;--syteca-accent-green: #16A34A;--syteca-accent-amber: #D97706;--syteca-accent-violet: #7C3AED;--syteca-accent-rose: #DB2777;--syteca-accent-cyan: #0891B2;--syteca-accent-teal: #0D9488}html.dark{--syteca-brand: #5B8DEF;--syteca-brand-strong: #7AA1F3;--syteca-brand-soft: #14213D}.prose h1{letter-spacing:-0.025em}.prose h2{letter-spacing:-0.015em}a[class*=\"rounded-\"][class*=\"border\"]:hover{transform:translateY(-1px);transition:transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease}.prose pre,.prose code{font-family:\"JetBrains Mono\", \"SF Mono\", \"Menlo\", \"Consolas\", monospace}.prose table thead th{border-bottom:2px solid var(--syteca-brand);font-weight:600}.prose table tbody td{padding-top:0.55rem;padding-bottom:0.55rem}figure figcaption{font-size:13px;color:rgb(113 113 122 / 1);margin-top:0.6rem}nav[aria-label=\"Sidebar\"] a{padding-top:0.3rem;padding-bottom:0.3rem;font-size:13.5px}.demo-bar{display:none}"}],"page":{"pagePath":"session-monitoring/alert-rules","slug":"/session-monitoring/alert-rules","pageMetadata":{"title":"Alert Rules","sidebarTitle":"Alert rules reference","description":"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.","icon":"square-code","keywords":["syteca alert rules","alert rule parameters","matches regex alert","user belonging to domain group","computer belonging to domain group","alert rule examples"],"href":"/session-monitoring/alert-rules"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Heading,Note,Step,Steps,Tab,Table,Tabs,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Alert rules determine `,_jsx(_components.strong,{children:`what counts as an event`}),` that triggers an alert. Every alert must have at least one rule. This page is the complete reference for the rule engine — every parameter, every operator, every logical-combination semantic, plus worked examples.`]}),`\n`,_jsxs(_components.p,{children:[`For the surrounding alert workflow (add, edit, assign, enable, delete), see `,_jsx(_components.a,{href:`/session-monitoring/alerts`,children:`Alerts`}),`. For the rule examples that ship pre-configured with Syteca, see `,_jsx(_components.a,{href:`/session-monitoring/default-alerts`,children:`Default alerts`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`rule-structure`,children:`Rule structure`}),`\n`,_jsxs(_components.p,{children:[`Each rule consists of three fields, set left to right in the `,_jsx(_components.strong,{children:`Rules`}),` section of the Add/Edit Alert page:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Contains`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Parameter`}),` `,_jsx(_components.em,{children:`(left)`})]}),_jsx(_components.td,{children:`What kind of event to detect — application opened, URL visited, command executed, etc.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Comparison operator`}),` `,_jsx(_components.em,{children:`(middle)`})]}),_jsx(_components.td,{children:`How to compare — Equals, Like, Not equals, Not like, or Matches (Regex).`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Value`}),` `,_jsx(_components.em,{children:`(right)`})]}),_jsx(_components.td,{children:`The string to compare against.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Combine multiple rules in one alert with the `,_jsx(_components.strong,{children:`+ Or`}),` and `,_jsx(_components.strong,{children:`+ And`}),` buttons. Delete a rule by clearing its value or clicking the `,_jsx(_components.strong,{children:`Close`}),` icon on the right.`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(_components.p,{children:`The parameter selection determines which Client OSes the rule applies to and what kind of data it inspects. Parameters are grouped by applicability.`}),`\n`,_jsx(Heading,{level:`3`,id:`applied-to-all-clients`,children:`Applied to all Clients`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Username`})}),_jsxs(_components.td,{children:[`Name of the user whose activity is monitored. Triggers whenever the specified user logs into a Client. For Windows / macOS users, the format `,_jsx(_components.code,{children:`\u003cdomain or computer>\\\\\u003cusername>`}),` is also accepted. If `,_jsx(_components.a,{href:`/administration/access/two-factor-authentication`,children:`secondary user authentication`}),` is enabled and the secondary username matches, the alert triggers — `,_jsx(_components.em,{children:`example:`}),` rule `,_jsx(_components.code,{children:`Username Like John`}),`; user logs in as `,_jsx(_components.code,{children:`Guest`}),` then enters `,_jsx(_components.code,{children:`John`}),` as the secondary login; alert triggers, and the first record `,_jsx(_components.code,{children:`(Guest (John))`}),` is marked.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`John`})})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`applied-to-windows-macos-and-linux-x-window-system-gui-only`,children:`Applied to Windows, macOS, and Linux (X Window System GUI only)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Application`})}),_jsx(_components.td,{children:`Name of the application opened on the Client.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Title`})}),_jsx(_components.td,{children:`Name appearing in a window title bar.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`My document`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`applied-to-windows-and-macos-clients-only`,children:`Applied to Windows and macOS Clients only`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Keystrokes (Windows/macOS)`})}),_jsx(_components.td,{children:`Keystrokes entered by the user.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`download`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`URL (Windows/macOS)`})}),_jsxs(_components.td,{children:[`URL entered in the browser address bar or visited. `,_jsxs(_components.strong,{children:[`Requires `,_jsx(_components.a,{href:`/session-monitoring/recording/user-activity-recording`,children:`URL monitoring`}),` enabled for the Client.`]})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Clipboard Copy (Windows/macOS)`})}),_jsxs(_components.td,{children:[`Value copied or cut. Enter `,_jsx(_components.code,{children:`*`}),` to detect any copy/cut action.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`confidential`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Clipboard Paste (Windows/macOS)`})}),_jsxs(_components.td,{children:[`Value pasted. Enter `,_jsx(_components.code,{children:`*`}),` to detect any paste action.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`confidential`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`File Upload (Windows/macOS)`})}),_jsx(_components.td,{children:`Filename uploaded by the user.`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`*`}),`, `,_jsx(_components.code,{children:`*.exe`}),`, `,_jsx(_components.code,{children:`*.app`}),`, `,_jsx(_components.code,{children:`c:\\\\TopSecret\\\\*.*`}),` `,_jsx(_components.em,{children:`(Windows only)`})]})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For Windows Clients, custom file-upload alerts can be built by combining multiple rules across other parameter types — for example, the `,_jsx(_components.a,{href:`/session-monitoring/default-alerts#fraudulent-activity`,children:`default Downloading-via-browser alert`}),` uses three Application rules (for 3 browser apps) combined with a Title rule matching `,_jsx(_components.code,{children:`Save`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`applied-to-linux-clients-only-ssh-and-x-window-system-sessions`,children:`Applied to Linux Clients only (SSH and X Window System sessions)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Command (Linux)`})}),_jsx(_components.td,{children:`Command entered in the Linux terminal.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sudo`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Parameter (Linux)`})}),_jsx(_components.td,{children:`Parameter entered alongside a Linux command.`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ImportantDocument`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Input (Linux)`})}),_jsxs(_components.td,{children:[`Text entered by the user in the Linux terminal — the full input, not just a command or parameter. Enter text, symbols, and numbers; separate multiple inputs with a semicolon (`,_jsx(_components.code,{children:`;`}),`) to trigger the alert if any one of them is entered.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`cd /etc/.ekran/`})})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Input (Linux)`}),` triggers on the full input entered by the user — in both SSH and local terminal sessions, in any shell (`,_jsx(_components.code,{children:`bash`}),`, `,_jsx(_components.code,{children:`ksh`}),`, and so on), including inputs completed using Tab. It requires the `,_jsx(_components.strong,{children:`Enable user input monitoring`}),` option to be enabled on the Client.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`applied-to-active-directory-groups`,children:`Applied to Active Directory groups`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example value`}),_jsx(_components.th,{children:`OS`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`User Belonging to Domain Group`})}),_jsxs(_components.td,{children:[`Name of an AD domain group. The `,_jsx(_components.strong,{children:`comparison operator`}),` is the AD domain name (not Equals/Like/etc.). Triggers when a user from the specified domain group logs into a Client.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Marketing`})}),_jsx(_components.td,{children:`Windows / macOS`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Computer Belonging to Domain Group`})}),_jsxs(_components.td,{children:[`Name of an AD domain group. Triggers when a Client computer belonging to this domain group is logged into. `,_jsx(_components.strong,{children:`Comparison operator is the AD domain name.`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Accounting`})}),_jsx(_components.td,{children:`Windows`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Alerts using `,_jsx(_components.strong,{children:`Computer Belonging to Domain Group`}),` must be assigned to the `,_jsx(_components.strong,{children:`All Clients`}),` group to function correctly.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`comparison-operators`,children:`Comparison operators`}),`\n`,_jsxs(_components.p,{children:[`For all parameters `,_jsx(_components.strong,{children:`except`}),` Active Directory group parameters, these comparison operators are available:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Matches`}),_jsx(_components.th,{children:`Doesn’t match`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Equals`})}),_jsx(_components.td,{children:`Exact match`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jon`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jon`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jonnie`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Like`})}),_jsx(_components.td,{children:`Contains the value`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jon`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Jonnie`}),`, `,_jsx(_components.code,{children:`Jonathan`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Johan`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Not equals`})}),_jsx(_components.td,{children:`Not an exact match`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jon`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Oliver`}),`, `,_jsx(_components.code,{children:`Jonnie`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jon`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Not like`})}),_jsx(_components.td,{children:`Does not contain the value`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Jon`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Oliver`}),`, `,_jsx(_components.code,{children:`Johan`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Jon`}),`, `,_jsx(_components.code,{children:`Jonnie`}),`, `,_jsx(_components.code,{children:`Jonathan`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Matches (Regex)`}),` operator is also available for most parameters — see `,_jsx(_components.a,{href:`#regex-rules`,children:`Regex rules`}),` below.`]}),`\n`,_jsx(Heading,{level:`2`,id:`logical-operators-and-multiple-rules`,children:`Logical operators and multiple rules`}),`\n`,_jsxs(_components.p,{children:[`When multiple rules combine in one alert, the combination semantics depend on whether the rules use the `,_jsx(_components.em,{children:`same`}),` or `,_jsx(_components.em,{children:`different`}),` parameter types.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Combination`}),_jsx(_components.th,{children:`Logic`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Multiple rules with the `,_jsx(_components.strong,{children:`same parameter`}),` + `,_jsx(_components.strong,{children:`OR`}),` + Like/Equals`]}),_jsx(_components.td,{children:`OR`}),_jsx(_components.td,{children:`Trigger if any one rule’s condition matches.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Multiple rules with `,_jsx(_components.strong,{children:`different parameters`}),` + `,_jsx(_components.strong,{children:`AND`}),` + Like/Equals`]}),_jsx(_components.td,{children:`AND`}),_jsx(_components.td,{children:`Trigger only if all rules’ conditions match.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Same parameter with `,_jsx(_components.strong,{children:`OR`}),` + a different parameter with `,_jsx(_components.strong,{children:`AND`}),` + Like/Equals`]}),_jsx(_components.td,{children:`OR-then-AND`}),_jsx(_components.td,{children:`Trigger if any of the OR rules match AND the AND rule also matches.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Multiple rules with the `,_jsx(_components.strong,{children:`same parameter`}),` + `,_jsx(_components.strong,{children:`AND`}),` + Not equals/Not like`]}),_jsx(_components.td,{children:`AND`}),_jsx(_components.td,{children:`Trigger if all rules’ conditions match.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-combinations`,children:`Example combinations`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Linux OR Windows trigger`,id:`linux-or-windows-trigger`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rule`}),_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 1`}),_jsx(_components.td,{children:`Command`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`su`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(OR)`})}),_jsx(_components.td,{}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 2`}),_jsx(_components.td,{children:`URL`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Triggers`}),` when a user enters `,_jsx(_components.code,{children:`su`}),` in Linux terminal `,_jsx(_components.strong,{children:`OR`}),` visits `,_jsx(_components.code,{children:`facebook.com`}),` on Windows.`]})]}),_jsxs(Tab,{title:`Either Excel or Word (same parameter, OR)`,id:`either-excel-or-word-same-parameter%2C-or`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rule`}),_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 1`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`excel.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(OR)`})}),_jsx(_components.td,{}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 2`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Triggers`}),` when any user opens Excel `,_jsx(_components.strong,{children:`OR`}),` Word.`]})]}),_jsxs(Tab,{title:`Nancy + Word (different parameters, AND)`,id:`nancy-%2B-word-different-parameters%2C-and`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rule`}),_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 1`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 2`}),_jsx(_components.td,{children:`Username`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Nancy`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Triggers`}),` when Nancy specifically opens Word.`]})]}),_jsxs(Tab,{title:`Nancy + (Excel OR Word) (OR + AND)`,id:`nancy-%2B-excel-or-word-or-%2B-and`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rule`}),_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 1`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`excel.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(OR)`})}),_jsx(_components.td,{}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 2`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 3`}),_jsx(_components.td,{children:`Username`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Nancy`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Triggers`}),` when Nancy opens Excel `,_jsx(_components.strong,{children:`OR`}),` Word.`]})]}),_jsxs(Tab,{title:`Anything except Excel or Word (NOT + AND)`,id:`anything-except-excel-or-word-not-%2B-and`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Rule`}),_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 1`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Not equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`excel.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rule 2`}),_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Not equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Triggers`}),` when any user opens any application that isn’t Excel and isn’t Word.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`worked-rule-examples`,children:`Worked rule examples`}),`\n`,_jsx(_components.p,{children:`Common detection patterns with the exact rule configuration:`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Any user opening Facebook`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]})})]}),_jsxs(_components.p,{children:[`Requires `,_jsx(_components.a,{href:`/session-monitoring/recording/user-activity-recording`,children:`URL monitoring`}),` enabled on the Client.`]})]}),_jsx(Step,{title:`Any user visiting any website except Facebook`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL`}),_jsx(_components.td,{children:`Not like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]})})]})}),_jsxs(Step,{title:`Specific user (Stefan) opening Facebook`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Username`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Stefan`})})]})]})]}),_jsxs(_components.p,{children:[`To match multiple users (any one of Stefan or Rick), add an OR rule with `,_jsx(_components.code,{children:`Username Like Rick`}),`. To match anyone `,_jsx(_components.em,{children:`except`}),` Stefan, change to `,_jsx(_components.code,{children:`Username Not like Stefan`}),`.`]})]}),_jsxs(Step,{title:`Any user opening MS Word`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]})})]}),_jsxs(_components.p,{children:[`To match any application `,_jsx(_components.em,{children:`except`}),` Word, change to `,_jsx(_components.code,{children:`Application Not equals winword.exe`}),`.`]})]}),_jsx(Step,{title:`Specific user (Stefan) opening Facebook in Chrome specifically`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`chrome.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Username`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Stefan`})})]})]})]})}),_jsx(Step,{title:`USB storage devices plugged in`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Title`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`USBStorage`})})]})})]})}),_jsx(Step,{title:`Any user entering sudo or su in Linux`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Command (Linux)`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sudo`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(OR)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Command (Linux)`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`su`})})]})]})]})}),_jsxs(Step,{title:`A specific command-and-input combination in Linux`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Parameter (Linux)`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-f`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Input (Linux)`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`./uninstall.sh`})})]})]})]}),_jsxs(_components.p,{children:[`Triggers when a user enters a command containing both the `,_jsx(_components.code,{children:`-f`}),` parameter and the input `,_jsx(_components.code,{children:`./uninstall.sh`}),` — for example, `,_jsx(_components.code,{children:`/opt/.Ekran/uninstall.sh -f`}),`.`]})]}),_jsxs(Step,{title:`A Linux input matching a regex pattern`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Input (Linux)`}),_jsx(_components.td,{children:`Matches (Regex)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`cd .*/\\\\.ekran/`})})]})})]}),_jsxs(_components.p,{children:[`Triggers when a user enters an input matching the regular expression — for example, `,_jsx(_components.code,{children:`cd /etc/.ekran`}),`.`]})]}),_jsxs(Step,{title:`Any user in a specific AD domain group accessing any Client`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User Belonging to Domain Group`}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(AD domain name)`})}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(group name)`})})]})})]}),_jsx(_components.p,{children:`The comparison operator slot holds the AD domain name (not Equals/Like).`})]}),_jsxs(Step,{title:`Anyone opening Facebook from any computer in a specific AD domain group`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL`}),_jsx(_components.td,{children:`Like`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`facebook.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Computer Belonging to Domain Group`}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(AD domain name)`})}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(group name)`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Computer Belonging to Domain Group`}),` alerts must be assigned to the `,_jsx(_components.strong,{children:`All Clients`}),` group.`]})]}),_jsxs(Step,{title:`A user in one AD group opening MS Word on a computer in another AD group`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Equals`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`winword.exe`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User Belonging to Domain Group`}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(AD domain name)`})}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(user group)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Computer Belonging to Domain Group`}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(AD domain name)`})}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(computer group)`})})]})]})]}),_jsxs(_components.p,{children:[`Both AD parameters use the AD domain name as the comparison operator. The alert must be assigned to `,_jsx(_components.strong,{children:`All Clients`}),`.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`regex-rules`,children:`Regex rules`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Matches (Regex)`}),` comparison operator lets you define rule values as `,_jsx(_components.strong,{children:`regular expressions using ECMAScript grammar`}),`. Currently supported on Windows and Linux Clients.`]}),`\n`,_jsx(Heading,{level:`3`,id:`parameters-that-support-regex`,children:`Parameters that support regex`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Application`}),`\n`,_jsx(_components.li,{children:`Title`}),`\n`,_jsx(_components.li,{children:`Username`}),`\n`,_jsx(_components.li,{children:`Keystrokes (Windows/macOS)`}),`\n`,_jsx(_components.li,{children:`URL (Windows/macOS)`}),`\n`,_jsx(_components.li,{children:`Clipboard Copy (Windows/macOS)`}),`\n`,_jsx(_components.li,{children:`Clipboard Paste (Windows/macOS)`}),`\n`,_jsx(_components.li,{children:`File Upload (Windows/macOS)`}),`\n`,_jsx(_components.li,{children:`Command (Linux)`}),`\n`,_jsx(_components.li,{children:`Parameter (Linux)`}),`\n`,_jsx(_components.li,{children:`Input (Linux)`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Regex is `,_jsx(_components.strong,{children:`not supported`}),` with the `,_jsx(_components.strong,{children:`User Belonging to Domain Group`}),` and `,_jsx(_components.strong,{children:`Computer Belonging to Domain Group`}),` parameters.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`define-a-regex-rule`,children:`Define a regex rule`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open Add or Edit Alert`,children:_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Alerts`}),` page, click `,_jsx(_components.strong,{children:`Add`}),` to add a new alert, or click an existing alert to open it.`]})}),_jsx(Step,{title:`Pick a regex-supported parameter`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Rules`}),` section, select one of the `,_jsx(_components.a,{href:`#parameters-that-support-regex`,children:`regex-supported parameters`}),` in the left field.`]})}),_jsx(Step,{title:`Select Matches (Regex)`,children:_jsxs(_components.p,{children:[`In the middle (operator) field, select `,_jsx(_components.strong,{children:`Matches (Regex)`}),`.`]})}),_jsx(Step,{title:`Enter the regex value`,children:_jsxs(_components.p,{children:[`In the right (value) field, enter your regular expression using ECMAScript grammar. For example, `,_jsx(_components.code,{children:`^(chrome|firefox|edge|opera)\\\\.exe$`}),` matches any of four browser executables.`]})}),_jsx(Step,{title:`Combine with other rules (optional)`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`+ Or`}),` or `,_jsx(_components.strong,{children:`+ And`}),` to add additional rules with OR / AND logic.`]})}),_jsx(Step,{title:`Save`,children:_jsxs(_components.p,{children:[`After valid values are entered into all required fields, click `,_jsx(_components.strong,{children:`Finish`}),` at the bottom of the page.`]})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Processing speed can be affected if regular expressions are very abstract or complex — particularly patterns using `,_jsx(_components.code,{children:`*`}),` with many permutations. Test rules against representative data before deploying widely.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`regex-example-browser-+-paste-of-email-or-phone-number`,children:`Regex example: browser + paste of email or phone number`}),`\n`,_jsx(_components.p,{children:`A rule combination that detects when a user pastes an email address or phone number into a browser — useful for outbound-email-composition monitoring or pre-exfiltration detection:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Application`}),_jsx(_components.td,{children:`Matches (Regex)`}),_jsx(_components.td,{children:\"`^(chrome\"})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(AND)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Clipboard Paste (Windows/macOS)`}),_jsx(_components.td,{children:`Matches (Regex)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[a-z0-9._%+-]+@[a-z0-9.-]+\\\\.[a-z]{2,}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.em,{children:`(OR)`})}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Clipboard Paste (Windows/macOS)`}),_jsx(_components.td,{children:`Matches (Regex)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\\\\+?\\\\d[\\\\d\\\\s\\\\-()]{7,}\\\\d`})})]})]})]}),`\n`,_jsx(_components.p,{children:`Triggers when one of the four browsers is open AND the user pastes either an email address OR a phone number pattern.`}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Alerts`,icon:`bell`,href:`/session-monitoring/alerts`,children:_jsx(_components.p,{children:`The day-to-day alert workflow: add, edit, assign, delete, import/export.`})}),_jsx(Card,{title:`Default alerts catalog`,icon:`book-marked`,href:`/session-monitoring/default-alerts`,children:_jsx(_components.p,{children:`Preconfigured alerts that ship with Syteca, illustrating the patterns above.`})}),_jsx(Card,{title:`Block on alert`,icon:`ban`,href:`/session-monitoring/block-on-alert`,children:_jsx(_components.p,{children:`Automatically block users when an alert triggers.`})}),_jsx(Card,{title:`Sensitive Data Masking`,icon:`shield-off`,href:`/session-monitoring/masking/sensitive-data`,children:_jsx(_components.p,{children:`Mask sensitive data at recording time — uses a similar regex approach.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Alert Rules","sidebarTitle":"Alert rules reference","description":"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.","icon":"square-code","keywords":["syteca alert rules","alert rule parameters","matches regex alert","user belonging to domain group","computer belonging to domain group","alert rule examples"],"href":"/session-monitoring/alert-rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Rule structure","slug":"rule-structure","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[{"title":"Applied to all Clients","slug":"applied-to-all-clients","depth":3,"children":[]},{"title":"Applied to Windows, macOS, and Linux (X Window System GUI only)","slug":"applied-to-windows-macos-and-linux-x-window-system-gui-only","depth":3,"children":[]},{"title":"Applied to Windows and macOS Clients only","slug":"applied-to-windows-and-macos-clients-only","depth":3,"children":[]},{"title":"Applied to Linux Clients only (SSH and X Window System sessions)","slug":"applied-to-linux-clients-only-ssh-and-x-window-system-sessions","depth":3,"children":[]},{"title":"Applied to Active Directory groups","slug":"applied-to-active-directory-groups","depth":3,"children":[]}]},{"title":"Comparison operators","slug":"comparison-operators","depth":2,"children":[]},{"title":"Logical operators and multiple rules","slug":"logical-operators-and-multiple-rules","depth":2,"children":[{"title":"Example combinations","slug":"example-combinations","depth":3,"children":[]}]},{"title":"Worked rule examples","slug":"worked-rule-examples","depth":2,"children":[]},{"title":"Regex rules","slug":"regex-rules","depth":2,"children":[{"title":"Parameters that support regex","slug":"parameters-that-support-regex","depth":3,"children":[]},{"title":"Define a regex rule","slug":"define-a-regex-rule","depth":3,"children":[]},{"title":"Regex example: browser + paste of email or phone number","slug":"regex-example-browser-+-paste-of-email-or-phone-number","depth":3,"children":[]}]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"syteca","siteName":"Syteca","title":"Alert Rules - Syteca","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T02:45:20.327Z","originalFileLocation":"session-monitoring/alert-rules.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Syteca\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Alert Rules - Syteca\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Syteca Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.syteca.com/docs/session-monitoring/alert-rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://www.syteca.com/og-default.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Alert Rules - Syteca\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://www.syteca.com/og-default.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/syteca/6kVJ1RNAbG010Toj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Syteca\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.syteca.com/docs/session-monitoring/alert-rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/session-monitoring/alert-rules.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.syteca.com/#organization\",\"name\":\"Syteca\",\"url\":\"https://www.syteca.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/syteca/ZVta4JfIcSnC47NX/logo/syteca-light.svg?fit=max\u0026auto=format\u0026n=ZVta4JfIcSnC47NX\u0026q=85\u0026s=154a18f69aa4aefa55de0de7669934c7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.syteca.com/docs#website\",\"name\":\"Syteca\",\"url\":\"https://www.syteca.com/docs\",\"publisher\":{\"@id\":\"https://www.syteca.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.syteca.com/docs/session-monitoring/alert-rules#webpage\",\"url\":\"https://www.syteca.com/docs/session-monitoring/alert-rules\",\"name\":\"Alert Rules\",\"description\":\"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.\",\"dateModified\":\"2026-11-18T02:45:20.327Z\",\"isPartOf\":{\"@id\":\"https://www.syteca.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.syteca.com/docs/session-monitoring/alert-rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.syteca.com/docs/session-monitoring/alert-rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Alerts \u0026 Response\",\"item\":\"https://www.syteca.com/docs/session-monitoring/alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alert Rules\",\"item\":\"https://www.syteca.com/docs/session-monitoring/alert-rules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.syteca.com/docs/session-monitoring/alert-rules#article\",\"headline\":\"Alert Rules\",\"name\":\"Alert Rules\",\"description\":\"Reference for Syteca alert rule construction — parameters, comparison operators, logical operators, regex syntax, and worked examples for common detection patterns.\",\"url\":\"https://www.syteca.com/docs/session-monitoring/alert-rules\",\"mainEntityOfPage\":{\"@id\":\"https://www.syteca.com/docs/session-monitoring/alert-rules#webpage\"},\"image\":\"https://www.syteca.com/og-default.png\",\"dateModified\":\"2026-11-18T02:45:20.327Z\",\"keywords\":\"syteca alert rules, alert rule parameters, matches regex alert, user belonging to domain group, computer belonging to domain group, alert rule examples\",\"publisher\":{\"@id\":\"https://www.syteca.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.syteca.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Syteca\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Syteca\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/session-monitoring/alert-rules.md","siteName":"Syteca","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started/what-is-syteca"}]},{"tab":"Session Monitoring","groups":[{"group":"Overview","pages":[{"title":"Syteca Session Monitoring Overview","sidebarTitle":"Overview","icon":"video","href":"/session-monitoring/overview"}]},{"group":"Recording","pages":[{"title":"Configure User Activity Recording in Syteca","sidebarTitle":"User activity recording","icon":"video","href":"/session-monitoring/recording/user-activity-recording"},{"title":"Recording Indicators (Tray Icon and On-Screen Icon)","sidebarTitle":"Recording indicators","icon":"eye","href":"/session-monitoring/recording/recording-indicators"},{"title":"Clipboard Monitoring","sidebarTitle":"Clipboard monitoring","icon":"clipboard","href":"/session-monitoring/recording/clipboard-monitoring"},{"title":"Enable Keystroke Logging on Syteca Clients","sidebarTitle":"Keystroke Logging","icon":"keyboard","href":"/session-monitoring/recording/keystroke-logging"},{"title":"File Monitoring","sidebarTitle":"File monitoring","icon":"file-plus","href":"/session-monitoring/recording/file-monitoring"},{"title":"Track Websites Visited on Windows and macOS Clients","sidebarTitle":"URL Monitoring","icon":"link","href":"/session-monitoring/recording/url-monitoring"},{"title":"SWIFT Username Monitoring","sidebarTitle":"SWIFT username monitoring","icon":"landmark","href":"/session-monitoring/recording/swift-username-monitoring"},{"title":"Filtering Parameters","sidebarTitle":"Filtering Parameters","icon":"sliders-horizontal","href":"/session-monitoring/recording/filtering"},{"title":"Idle Event Detection","sidebarTitle":"Idle detection","icon":"pause","href":"/session-monitoring/recording/idle-detection"},{"title":"Bandwidth Usage Reduction Parameters","sidebarTitle":"Bandwidth Usage Reduction","icon":"gauge","href":"/session-monitoring/recording/bandwidth-usage-reduction"}]},{"group":"Reports \u0026 Dashboards","pages":[{"title":"Reports","sidebarTitle":"Overview","icon":"file-text","href":"/session-monitoring/reports/overview"},{"title":"Generate Ad-Hoc Reports","sidebarTitle":"Ad-hoc reports","icon":"play","href":"/session-monitoring/reports/ad-hoc-reports"},{"title":"Schedule Reports by Email (Daily, Weekly, Monthly)","sidebarTitle":"Scheduled reports","icon":"calendar","href":"/session-monitoring/reports/scheduled-reports"},{"title":"User Activity Dashboards","sidebarTitle":"User activity dashboards","icon":"chart-pie","href":"/session-monitoring/dashboards/user-activity-dashboards"}]},{"group":"Session Monitoring","pages":[{"title":"The Sessions List","sidebarTitle":"Sessions list","icon":"list","href":"/session-monitoring/sessions-list"},{"title":"File Upload Monitoring","sidebarTitle":"File upload monitoring","icon":"upload","href":"/session-monitoring/file-upload-monitoring"},{"title":"Archived Sessions","sidebarTitle":"Archived sessions","icon":"archive","href":"/session-monitoring/archived-sessions"},{"title":"Filtering Client Sessions","sidebarTitle":"Filtering Client Sessions","icon":"list-filter","href":"/session-monitoring/filtering-client-sessions"},{"group":"Session Player","pages":[{"title":"The Session Viewer","sidebarTitle":"Overview","icon":"circle-play","href":"/session-monitoring/player/overview"},{"title":"The Metadata Grid","sidebarTitle":"Metadata grid","icon":"table-properties","href":"/session-monitoring/player/metadata-grid"},{"title":"Per-OS Playback Details","sidebarTitle":"Per-OS playback","icon":"monitor","href":"/session-monitoring/player/per-os-playback"}]},{"title":"Forensic Export","sidebarTitle":"Forensic Export","icon":"file-lock","href":"/session-monitoring/forensic-export"}]},{"group":"Sensitive Data Masking","pages":[{"title":"Sensitive Data Masking","sidebarTitle":"Sensitive Data Masking","icon":"shield-off","href":"/session-monitoring/masking/sensitive-data"},{"title":"Pseudonymizer","sidebarTitle":"Pseudonymizer","icon":"user-x","href":"/session-monitoring/masking/pseudonymizer"}]},{"group":"User Behavior Analysis","pages":[{"title":"User Behavior Analysis (UEBA)","sidebarTitle":"Overview","icon":"activity","href":"/session-monitoring/ueba/overview"}]},{"group":"Alerts \u0026 Response","pages":[{"title":"Alerts","sidebarTitle":"Alerts","description":"Syteca alerts: real-time and batched detection of forbidden user activity — across Windows, macOS, and Linux Clients — with email, tray, on-screen warning, automatic blocking, or process kill response actions.","icon":"bell","href":"/session-monitoring/alerts"},{"title":"Alert Rules","sidebarTitle":"Alert rules reference","icon":"square-code","href":"/session-monitoring/alert-rules"},{"title":"Alert Scheduler","description":"Make an alert rule active only within the dates, days of the week, and time ranges you define, instead of leaving it permanently enabled.","icon":"calendar-clock","href":"/session-monitoring/alert-scheduler"},{"title":"Default Alerts","sidebarTitle":"Default alerts catalog","icon":"book-marked","href":"/session-monitoring/default-alerts"},{"title":"The Alerts Events Tab","sidebarTitle":"Alerts events","icon":"siren","href":"/session-monitoring/alerts-events"},{"title":"Block Users","sidebarTitle":"Block users","icon":"ban","href":"/session-monitoring/block-on-alert"}]},{"group":"USB Devices","pages":[{"title":"USB Device Monitoring \u0026 Blocking","sidebarTitle":"Overview","icon":"usb","href":"/session-monitoring/usb-devices/overview"},{"title":"USB Monitoring Rules","sidebarTitle":"USB rules","icon":"list-checks","href":"/session-monitoring/usb-devices/usb-rules"},{"title":"USB Access Approval","sidebarTitle":"USB access approval","icon":"user-check","href":"/session-monitoring/usb-devices/usb-access-approval"}]}]},{"tab":"Privileged Access Management","pages":[{"title":"Privileged Access Management","href":"/pam/overview"}]},{"tab":"Endpoint Risk Control","pages":[{"title":"Endpoint Risk Control","href":"/risk/overview"}]},{"tab":"Administration","pages":[{"title":"Administration","href":"/administration/overview"}]},{"tab":"API \u0026 Integrations","pages":[{"title":"API \u0026 Integrations","href":"/api/overview"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/release-notes/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/overview"}]}]},"basePath":"","title":"Alert Rules - Syteca","deploymentId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","buildId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","dynamics":[],"chunks":[]}