Skip to content

Commit 459a5c9

Browse files
feat(output)!: remove relative-time
1 parent c2d5e78 commit 459a5c9

File tree

23 files changed

+19
-118
lines changed

23 files changed

+19
-118
lines changed

builder/entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ run_tracee() {
3535
--capabilities drop=$CAPABILITIES_DROP \
3636
--output=json \
3737
--output=option:parse-arguments \
38-
--output=option:relative-time \
3938
--events signatures,container_create,container_remove
4039
fi
4140

deploy/helm/tracee/templates/tracee-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ data:
3636
parse-arguments: {{ .Values.config.output.options.parseArguments }}
3737
stack-addresses: {{ .Values.config.output.options.stackAddresses }}
3838
exec-env: {{ .Values.config.output.options.execEnv }}
39-
relative-time: {{ .Values.config.output.options.relativeTime }}
4039
exec-hash: {{ .Values.config.output.options.execHash }}
4140
sort-events: {{ .Values.config.output.options.sortEvents }}
4241
{{- with .Values.config.output.webhook }}

deploy/helm/tracee/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ config:
101101
parseArguments: true
102102
stackAddresses: false
103103
execEnv: false
104-
relativeTime: true
105104
execHash: dev-inode
106105
sortEvents: false
107106
# uncomment config.output.webhook to enable a single webhook

deploy/kubernetes/tracee/tracee.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ data:
5555
parse-arguments: true
5656
stack-addresses: false
5757
exec-env: false
58-
relative-time: true
5958
exec-hash: dev-inode
6059
sort-events: false
6160
---

docs/docs/flags/output.1.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tracee **\-\-output** - Control how and where output is printed
1111

1212
## SYNOPSIS
1313

14-
tracee **\-\-output** <format[:file,...]\> | gotemplate=template[:file,...] | forward:url | webhook:url | option:{stack-addresses,exec-env,relative-time,exec-hash[={inode,dev-inode,digest-inode}],parse-arguments,parse-arguments-fds,sort-events} ...
14+
tracee **\-\-output** <format[:file,...]\> | gotemplate=template[:file,...] | forward:url | webhook:url | option:{stack-addresses,exec-env,exec-hash[={inode,dev-inode,digest-inode}],parse-arguments,parse-arguments-fds,sort-events} ...
1515

1616

1717
## DESCRIPTION
@@ -40,11 +40,10 @@ Webhook options:
4040

4141
Other options:
4242

43-
- **option:{stack-addresses,exec-env,relative-time,exec-hash,parse-arguments,sort-events}**: Augment output according to the given options. The default is none. Multiple options can be specified, separated by commas.
43+
- **option:{stack-addresses,exec-env,exec-hash,parse-arguments,sort-events}**: Augment output according to the given options. The default is none. Multiple options can be specified, separated by commas.
4444

4545
- **stack-addresses**: Include stack memory addresses for each event.
4646
- **exec-env**: When tracing execve/execveat, show the environment variables that were used for execution.
47-
- **relative-time**: Use relative timestamp instead of wall timestamp for events.
4847
- **exec-hash**: When tracing some file related events, show the file hash (sha256).
4948
- Affected events: *sched_process_exec*, *shared_object_loaded*
5049
- **inode** option recalculates the file hash if the inode's creation time (ctime) differs, which can occur in different namespaces even for identical inode. This option is performant, but not recommended and should only be used if container enrichment can't be enabled for digest-inode, and if performance is preferred over correctness.

docs/docs/install/config/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ output:
129129
none: false
130130
stack-addresses: true
131131
exec-env: false
132-
relative-time: true
133132
exec-hash: dev-inode
134133
parse-arguments: true
135134
sort-events: false

docs/docs/outputs/output-options.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,7 @@ Available options:
5151
exec-hash: dev-inode
5252
```
5353
54-
5. **relative-time**
55-
56-
The `relative-time` output option enables relative timestamp instead of wall timestamp for events.
57-
58-
```
59-
output:
60-
options:
61-
relative-time: true
62-
```
63-
64-
6. **sort-events**
54+
5. **sort-events**
6555
6656
This makes it possible to sort the events as they happened. Especially in systems where Tracee tracks lots of events, it can happen that they are received unordered. More information is provided in the [deep-dive](../deep-dive/ordering-events.md) section of the documentation.
6757

docs/docs/policies/usage/cli.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ output:
9191
none: false
9292
stack-addresses: false
9393
exec-env: true
94-
relative-time: true
9594
exec-hash: dev-inode
9695
parse-arguments: true
9796
parse-arguments-fds: true

docs/man/output.1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tracee \f[B]\-\-output\f[R] \- Control how and where output is printed
77
tracee \f[B]\-\-output\f[R] <format[:file,\&...]> |
88
gotemplate=template[:file,\&...]
99
| forward:url | webhook:url |
10-
option:{stack\-addresses,exec\-env,relative\-time,exec\-hash[={inode,dev\-inode,digest\-inode}],parse\-arguments,parse\-arguments\-fds,sort\-events}
10+
option:{stack\-addresses,exec\-env,exec\-hash[={inode,dev\-inode,digest\-inode}],parse\-arguments,parse\-arguments\-fds,sort\-events}
1111
\&...
1212
.SS DESCRIPTION
1313
The \f[B]\-\-output\f[R] flag allows you to control how and where the
@@ -49,7 +49,7 @@ webhook URL.
4949
.PP
5050
Other options:
5151
.IP \[bu] 2
52-
\f[B]option:{stack\-addresses,exec\-env,relative\-time,exec\-hash,parse\-arguments,sort\-events}\f[R]:
52+
\f[B]option:{stack\-addresses,exec\-env,exec\-hash,parse\-arguments,sort\-events}\f[R]:
5353
Augment output according to the given options.
5454
The default is none.
5555
Multiple options can be specified, separated by commas.
@@ -61,9 +61,6 @@ event.
6161
\f[B]exec\-env\f[R]: When tracing execve/execveat, show the environment
6262
variables that were used for execution.
6363
.IP \[bu] 2
64-
\f[B]relative\-time\f[R]: Use relative timestamp instead of wall
65-
timestamp for events.
66-
.IP \[bu] 2
6764
\f[B]exec\-hash\f[R]: When tracing some file related events, show the
6865
file hash (sha256).
6966
.RS 2

examples/config/global_config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ output:
121121
# none: false
122122
# stack-addresses: true
123123
# exec-env: false
124-
# relative-time: true
125124
# exec-hash: dev-inode
126125
# parse-arguments: true
127126
# sort-events: false

0 commit comments

Comments
 (0)