From d555692c5908807139220edaf2cab809e241b41e Mon Sep 17 00:00:00 2001 From: Adam Roberts Date: Wed, 31 May 2023 09:31:45 -0400 Subject: [PATCH] feat: remove memdump from vars schema The `memdump` functionality is an internal component that is enabled when needed based on configured policy events. --- defaults/main.yml | 1 - filter_plugins/dragent.py | 8 +------- meta/argument_specs.yml | 4 ---- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 498339aa1..014b82e90 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -13,7 +13,6 @@ features: captures: ~ drift_detection: ~ falcobaseline: ~ - memdump: ~ configuration: monitoring: standard security: standard diff --git a/filter_plugins/dragent.py b/filter_plugins/dragent.py index 43d6ffd3d..e70f47cdc 100644 --- a/filter_plugins/dragent.py +++ b/filter_plugins/dragent.py @@ -62,10 +62,6 @@ def drift_detection(self) -> dict: def falcobaseline(self) -> dict: return self._features.get("falcobaseline", {}) - @property - def memdump(self) -> dict: - return self._features.get("memdump", {}) - class UserConnectionSettings(UserSettings): @property @@ -187,7 +183,6 @@ def generate(self) -> dict: "drift_control", "drift_killer", "falcobaseline", - "memdump", "network_topology", "secure_audit_streams" ]) @@ -196,12 +191,11 @@ def generate(self) -> dict: "drift_control", "drift_killer", "falcobaseline", - "memdump", "network_topology" ]) res = self._get_config(["commandlines_capture", "drift_detection", - "falcobaseline", "memdump", "secure_audit_streams"]) + "falcobaseline", "secure_audit_streams"]) res.update({feature: {"enabled": False} for feature in disabled_features}) return res diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml index a069e0c32..277e91aba 100644 --- a/meta/argument_specs.yml +++ b/meta/argument_specs.yml @@ -173,7 +173,3 @@ argument_specs: type: dict required: false description: "Sysdig Secure Falco Baseliner configuration" - memdump: - type: dict - required: false - description: "Sysdig Secure Memdump configuration"