Skip to content

Commit 4cd6ae0

Browse files
committed
tiny changes in doc
1 parent a89bc0e commit 4cd6ae0

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

docs/cloud-workload-security/workload_protection_agent_config.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ The following settings can be configured under `runtime_security_config` in the
4848

4949
| Environment variable | `system-probe.yaml` attribute | Type | Default | Description |
5050
| -------------------- | ----------------------------- | ---- | ------- | ----------- |
51-
| `DD_RUNTIME_SECURITY_CONFIG_EBPFLESS_ENABLED` | `runtime_security_config.ebpfless.enabled` | bool | false | EBPFLessEnabled enables the ebpfless probe |
52-
| `DD_RUNTIME_SECURITY_CONFIG_SYSCALLS_CAPTURE_ALL_ERRORS_ENABLED` | `runtime_security_config.syscalls.capture_all_errors.enabled` | bool | false | CaptureAllSyscallErrorsEnabled, when true, sets the eBPF load-time constant so IS_UNHANDLED_ERROR treats every negative syscall return as handled. |
51+
| `DD_RUNTIME_SECURITY_CONFIG_SYSCALLS_CAPTURE_ALL_ERRORS_ENABLED` | `runtime_security_config.syscalls.capture_all_errors.enabled` | bool | false | CaptureAllSyscallErrorsEnabled defines if the agent should capture all syscall errors |
5352

5453
[1]: /security/workload_protection/

docs/cloud-workload-security/workload_protection_agent_config.schema.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,11 @@
110110
}
111111
],
112112
"warning_settings": [
113-
{
114-
"name": "EBPFLessEnabled",
115-
"config_key": "runtime_security_config.ebpfless.enabled",
116-
"env_var": "DD_RUNTIME_SECURITY_CONFIG_EBPFLESS_ENABLED",
117-
"description": "EBPFLessEnabled enables the ebpfless probe",
118-
"type": "bool",
119-
"default_value": "false",
120-
"visibility": "warning"
121-
},
122113
{
123114
"name": "CaptureAllSyscallErrorsEnabled",
124115
"config_key": "runtime_security_config.syscalls.capture_all_errors.enabled",
125116
"env_var": "DD_RUNTIME_SECURITY_CONFIG_SYSCALLS_CAPTURE_ALL_ERRORS_ENABLED",
126-
"description": "CaptureAllSyscallErrorsEnabled, when true, sets the eBPF load-time constant so IS_UNHANDLED_ERROR treats every negative syscall return as handled.",
117+
"description": "CaptureAllSyscallErrorsEnabled defines if the agent should capture all syscall errors",
127118
"type": "bool",
128119
"default_value": "false",
129120
"visibility": "warning"

pkg/security/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,13 +699,13 @@ type RuntimeSecurityConfig struct {
699699
// default_value: true
700700
SSHUserSessionsEnabled bool
701701

702-
// description: CaptureAllSyscallErrorsEnabled, when true, sets the eBPF load-time constant so IS_UNHANDLED_ERROR treats every negative syscall return as handled.
702+
// description: CaptureAllSyscallErrorsEnabled defines if the agent should capture all syscall errors
703703
// visibility: warning
704704
// default_value: false
705705
CaptureAllSyscallErrorsEnabled bool
706706

707707
// description: EBPFLessEnabled enables the ebpfless probe
708-
// visibility: warning
708+
// visibility: private
709709
// default_value: false
710710
EBPFLessEnabled bool
711711

0 commit comments

Comments
 (0)