You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The underlying structure is populated using the core [net_packet_dns](../../../events/builtin/man/network/net_packet_dns.md) event and its payload.
15
15
16
16
## Command Line Option
17
17
18
18
```bash
19
-
$ tracee --dnscache help
20
-
Select different options for the DNS cache.
21
-
22
19
Example:
23
-
--dnscache enable|enablewith default values (see below).
24
-
--dnscache size=X | will cache up to X dns query trees - further queries may be cached regardless (default: 5000).
20
+
--stores dns.enabled|enablethe DNS cache.
21
+
--stores dns.size=X| will cache up to X dns query trees - further queries may be cached regardless (default: 5000).
25
22
26
-
Use comma OR use the flag multiple times to choose multiple options:
27
-
--dnscache size=A
28
-
--dnscache enable
23
+
Use the flag multiple times to choose multiple options:
24
+
--stores dns.enabled --stores dns.size=5000
29
25
```
30
26
31
27
Consider for your usecase, how many query trees would you like to store? If you will frequently check only a few addresses, consider lowering the size.
The underlying structure is populated using the core `sched_process_fork`, `sched_process_exec`, and `sched_process_exit` events and their data. There's also an option to bootstrap the process tree through a secondary route using internal signal events.
@@ -27,19 +27,18 @@ The process tree query the procfs upon initialization and during runtime to fill
27
27
28
28
```bash
29
29
Example:
30
-
--proctree source=[none|events|signals|both]
31
-
none | process tree is disabled (default).
30
+
--stores process.enabled |enable the process tree.
Copy file name to clipboardExpand all lines: docs/docs/install/config/index.md
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,17 +50,21 @@ A complete config file with all available options can be found [here](https://gi
50
50
pyroscope: true
51
51
```
52
52
53
-
### Process Tree
53
+
### Stores (Process Tree and DNS Cache)
54
54
55
-
- **`--proctree` (`-t`)**: Controls process tree options.
55
+
- **`--stores`**: Controls process tree and DNS cache options.
56
56
57
57
58
-
__NOTE__: You can view more in the [Process Tree section](../../advanced/data-sources/builtin/process-tree.md).
58
+
__NOTE__: You can view more in the [Process Tree section](../../advanced/data-sources/builtin/process-tree.md) and [DNS Cache section](../../advanced/data-sources/builtin/dns.md).
59
59
60
60
YAML:
61
61
```yaml
62
-
proctree:
63
-
- process
62
+
stores:
63
+
process:
64
+
enabled: true
65
+
source: both
66
+
dns:
67
+
enabled: true
64
68
```
65
69
66
70
### Install Path
@@ -109,17 +113,6 @@ A complete config file with all available options can be found [here](https://gi
109
113
socket: /var/run/docker.sock
110
114
```
111
115
112
-
### DNS Cache
113
-
114
-
- **`--dnscache`**: Enables DNS caching in Tracee.
115
-
116
-
__NOTE__: You can view more in the [DNS Cache section](../../advanced/data-sources/builtin/dns.md).
117
-
118
-
YAML:
119
-
```yaml
120
-
dnscache: enable
121
-
```
122
-
123
116
### Capabilities
124
117
125
118
- **`--capabilities` (`-C`)**: Define specific capabilities for Tracee to run with. This allows you to either bypass, add, or drop certain capabilities based on your security and operational needs.
0 commit comments