Skip to content

Commit f7b7a1f

Browse files
authored
Merge pull request #15 from Achiefs/14-exclude-param
Adding allowed and exclude parameters to documentation of configuration file
2 parents e6b1e2a + 2319051 commit f7b7a1f

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

docs/configuration-file.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,28 @@ This parameter will come on each event produced by the process.
194194
195195
Available formats Array or List. Consult the note at the end of the section.
196196

197+
- #### allowed
198+
199+
Array
200+
{: .label .label-yellow }
201+
String
202+
{: .label}
203+
204+
Set the allowed strings to trigger events, events in this path will trigger if the file contains any of configured strings.
205+
206+
Available formats Array or List. Consult the note at the end of the section.
207+
208+
- #### exclude
209+
210+
Array
211+
{: .label .label-yellow }
212+
String
213+
{: .label}
214+
215+
Set the excluded folders inside the Audit path given. Set a path outside of the Audit parent path will produce unexpected behaviour.
216+
217+
Available formats Array or List. Consult the note at the end of the section.
218+
197219
- #### labels
198220

199221
Array
@@ -253,6 +275,28 @@ This parameter will come on each event produced by the process.
253275
254276
Available formats Array or List. Consult the note at the end of the section.
255277

278+
- #### allowed
279+
280+
Array
281+
{: .label .label-yellow }
282+
String
283+
{: .label}
284+
285+
Set the allowed strings to trigger events, events in this path will trigger if the file contains any of configured strings.
286+
287+
Available formats Array or List. Consult the note at the end of the section.
288+
289+
- #### exclude
290+
291+
Array
292+
{: .label .label-yellow }
293+
String
294+
{: .label}
295+
296+
Set the excluded folders inside the Monitor path given. Set a path outside of the Monitor parent path will produce unexpected behaviour.
297+
298+
Available formats Array or List. Consult the note at the end of the section.
299+
256300
- #### labels
257301

258302
Array
@@ -292,7 +336,7 @@ This parameter will come on each event produced by the process.
292336
The supported options are [debug, info, error and warning].
293337

294338
{: .note }
295-
> The `ignore` parameter has two different formats:
339+
> The `ignore`,`allowed` and `exclude` parameters has two different formats:
296340
> ```
297341
> - path: /tmp/dir
298342
> ignore: [.txt, .tmp]
@@ -348,6 +392,9 @@ monitor:
348392
labels: ["Program Files", "windows"]
349393
- path: C:\Users\
350394
labels: ["Users", "windows"]
395+
allowed: [".txt", ".doc"]
396+
exclude:
397+
- C:\Users\Temp
351398

352399
# App procedure and errors logging
353400
log:
@@ -378,6 +425,7 @@ audit:
378425
- path: /tmp
379426
labels: ["tmp", "linux"]
380427
ignore: [".swp"]
428+
allowed: [ ".txt", ".odt" ]
381429

382430
# Simple files and folders information
383431
monitor:
@@ -386,6 +434,7 @@ monitor:
386434
labels: ["usr/bin", "linux"]
387435
- path: /etc
388436
labels: ["etc", "linux"]
437+
exclude: [ "/etc/libvirt/qemu" ]
389438

390439
# App procedure and errors logging
391440
log:

0 commit comments

Comments
 (0)