Skip to content

Rules and masking

Rules decide what devices look for, how much of a match your team sees, and what happens on the device. Manage them in Policies.

Policies

Every saved change publishes a new signed policy version. Devices download it at their next check-in, and the header shows how many devices already run the current version.

Detectors

DetectorUse it for
Built-inCurated patterns with validators, maintained with Sentinel releases: cloud and AI API keys, tokens, private keys, database URLs with passwords, payment cards, IBANs, Finnish and Swedish identity numbers, US SSNs, bulk email addresses, confidentiality markings. You can change severity, masking, scope and actions; the pattern stays fixed.
RegexYour own formats. Patterns use a portable syntax (no look-around or backreferences), can mark the secret part with a capture group, and can require a validator such as Luhn, IBAN or entropy.
KeywordsCode names and phrases, optionally whole-word and case-insensitive, for example Project Aurora.
FingerprintUpload confidential documents. Excerpts copied from them match above a similarity threshold; the document text is not kept after hashing.

Rule settings

SettingMeaning
Minimum matchesReport only when enough matches appear together, for example 10 email addresses
SeverityLow, medium, high or critical; drives alert severity and integration filters
MaskingHow matches appear in findings (below)
ActionsReport (always), Notify user, Clear clipboard, Exclude from sync
EvidenceSeal evidence on the device, retention in days and maximum size
ScopeGroups, platforms and source applications to include or exclude

Masking styles

StyleExample outputUse for
Full••••••••••••••••••••Anything where no part should be visible
PartialAKIA••••••••••••7Q2FKeys and tokens: keep a few leading or trailing characters to recognise the credential
Format-preserving••••-••••-••••-4242Card and identity numbers: keep separators and the last digits
Emailm•••@example.comEmail addresses
Keyed hashhmac:3f9a0c21d4e7Correlating repeated values without revealing them
Redact[REDACTED]A fixed replacement text
Nonethe matched keyword or document nameKeyword and fingerprint rules only

Masking can apply to the value only, or show a little context around it. The editor previews the result as you change settings.

NOTE

Sentinel re-checks every masked value it receives. Values that don't match the rule's masking are withheld and counted under mask check failures on the overview.

Test before you publish

The test bench in the rule editor runs the rule on sample text exactly as a device would. It highlights matches, shows validator results and the masked output, and tells you whether a finding would be reported and which actions would run. Samples are not stored or logged.

Rule editor test bench

WARNING

A rule reaches every device in scope within minutes of saving. Test new regular expressions against real-looking samples, including text that should not match, before you publish.

Policy versions

Policies → Versions lists every published version with a change summary, who made the change and when. Findings keep the rule snapshot they were detected with, so editing or deleting a rule never rewrites history.

Klipsu Sentinel is a product of Lygon Software · enterprise@klipsu.com