Detection rules › Sublime MQL
DLP: Austria Identity Card
Detects messages containing Austrian Identity Card numbers (Personalausweis).
Event coverage
| Message attribute |
|---|
| body.current_thread |
| sender.email |
| subject |
| type |
Rule body MQL
type.outbound
and any([body.current_thread.text, subject.subject],
// Austrian ID card: 7-8 digits
regex.contains(., '\b\d{7,8}\b')
)
and any([body.current_thread.text, subject.subject],
regex.icontains(., 'personalausweis|identity\s+card|Ausweis')
)
and (
strings.icontains(sender.email.domain.tld, "at")
or strings.icontains(body.current_thread.text, "austria")
)
Detection logic
Scope: outbound message.
Detects messages containing Austrian Identity Card numbers (Personalausweis).
- outbound message
any of
[body.current_thread.text, subject.subject]where:- . matches '\\b\\d{7,8}\\b'
any of
[body.current_thread.text, subject.subject]where:- . matches 'personalausweis|identity\\s+card|Ausweis'
any of:
- sender.email.domain.tld contains 'at'
- body.current_thread.text contains 'austria'
Inspects: body.current_thread.text, sender.email.domain.tld, subject.subject, type.outbound. Sensors: regex.contains, regex.icontains, strings.icontains.
Indicators matched (4)
| Field | Match | Value |
|---|---|---|
regex.contains | regex | \b\d{7,8}\b |
regex.icontains | regex | personalausweis|identity\s+card|Ausweis |
strings.icontains | substring | at |
strings.icontains | substring | austria |