Skip to content

Commit 64788a0

Browse files
committed
[CSPM] implement directSendFromSystemProbeFeature
1 parent 43cb394 commit 64788a0

12 files changed

+137
-23
lines changed

api/datadoghq/v2alpha1/datadogagent_types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,12 @@ type CSPMFeatureConfig struct {
446446
// HostBenchmarks contains configuration for host benchmarks.
447447
// +optional
448448
HostBenchmarks *CSPMHostBenchmarksConfig `json:"hostBenchmarks,omitempty"`
449+
450+
// DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
451+
// This is an experimental feature. Contact support before using.
452+
// Default: false
453+
// +optional
454+
DirectSendFromSystemProbe *bool `json:"directSendFromSystemProbe,omitempty"`
449455
}
450456

451457
// CSPMHostBenchmarksConfig contains configuration for host benchmarks.

api/datadoghq/v2alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/v1/datadoghq.com_datadogagentinternals.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,12 @@ spec:
11401140
type: string
11411141
type: object
11421142
type: object
1143+
directSendFromSystemProbe:
1144+
description: |-
1145+
DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
1146+
This is an experimental feature. Contact support before using.
1147+
Default: false
1148+
type: boolean
11431149
enabled:
11441150
description: |-
11451151
Enabled enables Cloud Security Posture Management.
@@ -9080,6 +9086,12 @@ spec:
90809086
type: string
90819087
type: object
90829088
type: object
9089+
directSendFromSystemProbe:
9090+
description: |-
9091+
DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
9092+
This is an experimental feature. Contact support before using.
9093+
Default: false
9094+
type: boolean
90839095
enabled:
90849096
description: |-
90859097
Enabled enables Cloud Security Posture Management.

config/crd/bases/v1/datadoghq.com_datadogagentinternals_v1alpha1.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,10 @@
11451145
},
11461146
"type": "object"
11471147
},
1148+
"directSendFromSystemProbe": {
1149+
"description": "DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.\nThis is an experimental feature. Contact support before using.\nDefault: false",
1150+
"type": "boolean"
1151+
},
11481152
"enabled": {
11491153
"description": "Enabled enables Cloud Security Posture Management.\nDefault: false",
11501154
"type": "boolean"
@@ -8939,6 +8943,10 @@
89398943
},
89408944
"type": "object"
89418945
},
8946+
"directSendFromSystemProbe": {
8947+
"description": "DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.\nThis is an experimental feature. Contact support before using.\nDefault: false",
8948+
"type": "boolean"
8949+
},
89428950
"enabled": {
89438951
"description": "Enabled enables Cloud Security Posture Management.\nDefault: false",
89448952
"type": "boolean"

config/crd/bases/v1/datadoghq.com_datadogagentprofiles.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,12 @@ spec:
11401140
type: string
11411141
type: object
11421142
type: object
1143+
directSendFromSystemProbe:
1144+
description: |-
1145+
DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
1146+
This is an experimental feature. Contact support before using.
1147+
Default: false
1148+
type: boolean
11431149
enabled:
11441150
description: |-
11451151
Enabled enables Cloud Security Posture Management.

config/crd/bases/v1/datadoghq.com_datadogagentprofiles_v1alpha1.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,10 @@
11491149
},
11501150
"type": "object"
11511151
},
1152+
"directSendFromSystemProbe": {
1153+
"description": "DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.\nThis is an experimental feature. Contact support before using.\nDefault: false",
1154+
"type": "boolean"
1155+
},
11521156
"enabled": {
11531157
"description": "Enabled enables Cloud Security Posture Management.\nDefault: false",
11541158
"type": "boolean"

config/crd/bases/v1/datadoghq.com_datadogagents.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,12 @@ spec:
11401140
type: string
11411141
type: object
11421142
type: object
1143+
directSendFromSystemProbe:
1144+
description: |-
1145+
DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
1146+
This is an experimental feature. Contact support before using.
1147+
Default: false
1148+
type: boolean
11431149
enabled:
11441150
description: |-
11451151
Enabled enables Cloud Security Posture Management.
@@ -9130,6 +9136,12 @@ spec:
91309136
type: string
91319137
type: object
91329138
type: object
9139+
directSendFromSystemProbe:
9140+
description: |-
9141+
DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
9142+
This is an experimental feature. Contact support before using.
9143+
Default: false
9144+
type: boolean
91339145
enabled:
91349146
description: |-
91359147
Enabled enables Cloud Security Posture Management.

config/crd/bases/v1/datadoghq.com_datadogagents_v2alpha1.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,10 @@
11451145
},
11461146
"type": "object"
11471147
},
1148+
"directSendFromSystemProbe": {
1149+
"description": "DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.\nThis is an experimental feature. Contact support before using.\nDefault: false",
1150+
"type": "boolean"
1151+
},
11481152
"enabled": {
11491153
"description": "Enabled enables Cloud Security Posture Management.\nDefault: false",
11501154
"type": "boolean"
@@ -9004,6 +9008,10 @@
90049008
},
90059009
"type": "object"
90069010
},
9011+
"directSendFromSystemProbe": {
9012+
"description": "DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.\nThis is an experimental feature. Contact support before using.\nDefault: false",
9013+
"type": "boolean"
9014+
},
90079015
"enabled": {
90089016
"description": "Enabled enables Cloud Security Posture Management.\nDefault: false",
90099017
"type": "boolean"

docs/configuration.v2alpha1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ spec:
8181
| features.cspm.customBenchmarks.configData | ConfigData corresponds to the configuration file content. |
8282
| features.cspm.customBenchmarks.configMap.items | Maps a ConfigMap data `key` to a file `path` mount. |
8383
| features.cspm.customBenchmarks.configMap.name | Is the name of the ConfigMap. |
84+
| features.cspm.directSendFromSystemProbe | DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent. This is an experimental feature. Contact support before using. Default: false |
8485
| features.cspm.enabled | Enables Cloud Security Posture Management. Default: false |
8586
| features.cspm.hostBenchmarks.enabled | Enables host benchmarks. Default: true |
8687
| features.cws.customPolicies.configData | ConfigData corresponds to the configuration file content. |

docs/configuration_public.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ spec:
126126
`features.cspm.customBenchmarks`
127127
: CustomBenchmarks contains CSPM benchmarks. The content of the ConfigMap will be merged with the benchmarks bundled with the agent. Any benchmarks with the same name as those existing in the agent will take precedence.
128128

129+
`features.cspm.directSendFromSystemProbe`
130+
: DirectSendFromSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent. This is an experimental feature. Contact support before using. Default: false
131+
129132
`features.cspm.enabled`
130133
: Enables Cloud Security Posture Management. Default: false
131134

0 commit comments

Comments
 (0)