Skip to content

Commit 0950bc4

Browse files
committed
[CSPM] implement RunInSystemProbe
1 parent cab4ef9 commit 0950bc4

12 files changed

+133
-19
lines changed

api/datadoghq/v2alpha1/datadogagent_types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,12 @@ type CSPMFeatureConfig struct {
448448
// HostBenchmarks contains configuration for host benchmarks.
449449
// +optional
450450
HostBenchmarks *CSPMHostBenchmarksConfig `json:"hostBenchmarks,omitempty"`
451+
452+
// RunInSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
453+
// This is an experimental feature. Contact support before using.
454+
// Default: false
455+
// +optional
456+
RunInSystemProbe *bool `json:"runInSystemProbe,omitempty"`
451457
}
452458

453459
// 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
@@ -1154,6 +1154,12 @@ spec:
11541154
Default: true
11551155
type: boolean
11561156
type: object
1157+
runInSystemProbe:
1158+
description: |-
1159+
RunInSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
1160+
This is an experimental feature. Contact support before using.
1161+
Default: false
1162+
type: boolean
11571163
type: object
11581164
cws:
11591165
description: CWS (Cloud Workload Security) configuration.
@@ -9142,6 +9148,12 @@ spec:
91429148
Default: true
91439149
type: boolean
91449150
type: object
9151+
runInSystemProbe:
9152+
description: |-
9153+
RunInSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
9154+
This is an experimental feature. Contact support before using.
9155+
Default: false
9156+
type: boolean
91459157
type: object
91469158
cws:
91479159
description: CWS (Cloud Workload Security) configuration.

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,10 @@
11591159
}
11601160
},
11611161
"type": "object"
1162+
},
1163+
"runInSystemProbe": {
1164+
"description": "RunInSystemProbe 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",
1165+
"type": "boolean"
11621166
}
11631167
},
11641168
"type": "object"
@@ -9010,6 +9014,10 @@
90109014
}
90119015
},
90129016
"type": "object"
9017+
},
9018+
"runInSystemProbe": {
9019+
"description": "RunInSystemProbe 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",
9020+
"type": "boolean"
90139021
}
90149022
},
90159023
"type": "object"

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,12 @@ spec:
11541154
Default: true
11551155
type: boolean
11561156
type: object
1157+
runInSystemProbe:
1158+
description: |-
1159+
RunInSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
1160+
This is an experimental feature. Contact support before using.
1161+
Default: false
1162+
type: boolean
11571163
type: object
11581164
cws:
11591165
description: CWS (Cloud Workload Security) configuration.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,10 @@
11631163
}
11641164
},
11651165
"type": "object"
1166+
},
1167+
"runInSystemProbe": {
1168+
"description": "RunInSystemProbe 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",
1169+
"type": "boolean"
11661170
}
11671171
},
11681172
"type": "object"

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,12 @@ spec:
11541154
Default: true
11551155
type: boolean
11561156
type: object
1157+
runInSystemProbe:
1158+
description: |-
1159+
RunInSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
1160+
This is an experimental feature. Contact support before using.
1161+
Default: false
1162+
type: boolean
11571163
type: object
11581164
cws:
11591165
description: CWS (Cloud Workload Security) configuration.
@@ -9192,6 +9198,12 @@ spec:
91929198
Default: true
91939199
type: boolean
91949200
type: object
9201+
runInSystemProbe:
9202+
description: |-
9203+
RunInSystemProbe configures CSPM to send payloads directly from the system-probe, without using the security-agent.
9204+
This is an experimental feature. Contact support before using.
9205+
Default: false
9206+
type: boolean
91959207
type: object
91969208
cws:
91979209
description: CWS (Cloud Workload Security) configuration.

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,10 @@
11591159
}
11601160
},
11611161
"type": "object"
1162+
},
1163+
"runInSystemProbe": {
1164+
"description": "RunInSystemProbe 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",
1165+
"type": "boolean"
11621166
}
11631167
},
11641168
"type": "object"
@@ -9075,6 +9079,10 @@
90759079
}
90769080
},
90779081
"type": "object"
9082+
},
9083+
"runInSystemProbe": {
9084+
"description": "RunInSystemProbe 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",
9085+
"type": "boolean"
90789086
}
90799087
},
90809088
"type": "object"

docs/configuration.v2alpha1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ spec:
8383
| features.cspm.customBenchmarks.configMap.name | Is the name of the ConfigMap. |
8484
| features.cspm.enabled | Enables Cloud Security Posture Management. Default: false |
8585
| features.cspm.hostBenchmarks.enabled | Enables host benchmarks. Default: true |
86+
| features.cspm.runInSystemProbe | RunInSystemProbe 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 |
8687
| features.cws.customPolicies.configData | ConfigData corresponds to the configuration file content. |
8788
| features.cws.customPolicies.configMap.items | Maps a ConfigMap data `key` to a file `path` mount. |
8889
| features.cws.customPolicies.configMap.name | Is the name of the ConfigMap. |

docs/configuration_public.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ spec:
132132
`features.cspm.hostBenchmarks.enabled`
133133
: Enables host benchmarks. Default: true
134134

135+
`features.cspm.runInSystemProbe`
136+
: RunInSystemProbe 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
137+
135138
`features.cws.customPolicies.configData`
136139
: ConfigData corresponds to the configuration file content.
137140

0 commit comments

Comments
 (0)