Skip to content

Commit 3b0948b

Browse files
rabbitstackrabbitstack
authored andcommitted
chore(rules): Add rename_file and read_file macros
1 parent 1e951d5 commit 3b0948b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rules/macros/macros.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
- macro: create_file
2626
expr: kevt.name = 'CreateFile' and file.operation != 'OPEN' and file.status = 'Success'
2727

28+
- macro: rename_file
29+
expr: kevt.name = 'RenameFile'
30+
31+
- macro: read_file
32+
expr: kevt.name = 'ReadFile'
33+
2834
- macro: delete_file
2935
expr: kevt.name = 'DeleteFile'
3036

0 commit comments

Comments
 (0)