Skip to content

Commit 4d37cea

Browse files
committed
Fixed exists modifier
1 parent e38fc75 commit 4d37cea

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Sigma_specification.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ THIS IS A WORK IN PROGRESS DO NOT USE IT
88
**Breaking changes**
99

1010
- New modifier `windash` : converts `-` values into `/` and vice versa. Will be used for all `CommandLine` fields in windows > `process_creation` rules.
11-
- New special values `exists` and `notexists` : allows to define that a certain field must exist (currently we use filters with `field: null` as a workaround)
12-
- Remove Aggregation expression in sigma rule file see [Sigma meta rules](Sigma_meta_rules.md)
11+
- New modifier `exists` that allows to define that a certain field exists or doesn't exists in a log event by providing
12+
a boolean value. Currently we use filters with `field: null` as a workaround for this purpose, which is inaccurate.
13+
- Remove aggregation expression in sigma rule file see [Sigma meta rules](Sigma_meta_rules.md)
1314

1415
Warning `sigmac` will not be able to convert this version. Only `pySigma` and the corresponding `sigma-cli` provide full support for version 2.
1516

@@ -66,7 +67,7 @@ Warning `sigmac` will not be able to convert this version. Only `pySigma` and th
6667

6768
To keep the file names interoperable use the following:
6869

69-
- Length between 10 and 70 characters
70+
- Length between 10 and 70 characters
7071
- All characters of the filename should be in lowercase
7172
- No special characters only letters (a-z) and digits (0-9)
7273
- Use `_` instead of a space
@@ -80,7 +81,7 @@ example:
8081

8182
## Data
8283

83-
The rule files are written in [yaml format](https://yaml.org/spec/1.2.2/)
84+
The rule files are written in [yaml format](https://yaml.org/spec/1.2.2/)
8485
To keep the rules interoperable use:
8586

8687
- UTF-8
@@ -373,7 +374,7 @@ Creation date of the rule. Use the format YYYY/MM/DD or YYYY-MM-DD
373374

374375
**Attribute**: modified
375376

376-
*Last* modification date of the rule. Use the format YYYY/MM/DD or YYYY-MM-DD
377+
*Last* modification date of the rule. Use the format YYYY/MM/DD or YYYY-MM-DD
377378
Reasons to change the modified date:
378379
* changed title
379380
* changed detection section
@@ -430,10 +431,10 @@ A definition that can consist of two different data structures - lists and maps.
430431

431432
#### String Wildcard
432433

433-
Wildcards are used when part of the text is random.
434+
Wildcards are used when part of the text is random.
434435
You can use :
435436

436-
* `?` to replace a single mandatory character
437+
* `?` to replace a single mandatory character
437438
* `*` to replace an unbounded length wildcard
438439

439440
example :
@@ -608,7 +609,7 @@ multiple values.
608609
changes
609610
this to *AND*. This is useful if you want to express a command line invocation with different
610611
parameters where the order may vary and removes the need for some cumbersome workarounds.
611-
612+
612613
Single item values are not allowed to have an `all` modifier as some back-ends cannot support it.
613614
If you use it as a workaround to duplicate a field in a selection, use a new selection instead.
614615
* `base64`: The value is encoded with Base64.
@@ -628,7 +629,7 @@ multiple values.
628629
* `lte`: Field is less or egal than the value
629630
* `gt`: Field is Greater than the value
630631
* `gte`: Field is Greater or egal than the value
631-
* `expand`: Modifier for expansion of placeholders in values. It replaces placeholder strings
632+
* `expand`: Modifier for expansion of placeholders in values. It replaces placeholder strings
632633

633634
###### Types
634635

0 commit comments

Comments
 (0)