Skip to content

Commit ea928a2

Browse files
committed
feat(shield): add file_integrity_monitoring
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
1 parent d19ad73 commit ea928a2

File tree

5 files changed

+36
-1
lines changed

5 files changed

+36
-1
lines changed

charts/shield/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ maintainers:
1313
- name: mavimo
1414
email: marcovito.moscaritolo@sysdig.com
1515
type: application
16-
version: 1.23.4
16+
version: 1.24.4
1717
appVersion: "1.0.0"

charts/shield/templates/host/_configmap_helpers.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ true
106106
(dict "enabled" .investigations.audit_tap.enabled)
107107
"drift_control"
108108
(dict "enabled" .detections.drift_control.enabled)
109+
"file_integrity_monitoring"
110+
(dict "enabled" .detections.file_integrity_monitoring.enabled)
109111
"jmx"
110112
(dict "enabled" (dig (include "host.monitor_key" .) "java_management_extensions" "enabled" false .))
111113
"live_logs"

charts/shield/tests/host/configmap-dragent-yaml_test.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,11 @@ tests:
645645
pattern: |
646646
drift_control:
647647
enabled: false
648+
- matchRegex:
649+
path: data['dragent.yaml']
650+
pattern: |
651+
file_integrity_monitoring:
652+
enabled: false
648653
- matchRegex:
649654
path: data['dragent.yaml']
650655
pattern: |
@@ -780,6 +785,19 @@ tests:
780785
malware_control:
781786
enabled: true
782787
788+
- it: Enable File Integrity Monitoring
789+
set:
790+
features:
791+
detections:
792+
file_integrity_monitoring:
793+
enabled: true
794+
asserts:
795+
- matchRegex:
796+
path: data['dragent.yaml']
797+
pattern: |
798+
file_integrity_monitoring:
799+
enabled: true
800+
783801
- it: Enable Network Security
784802
set:
785803
features:

charts/shield/values.schema.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,9 @@
883883
},
884884
"kubernetes_audit": {
885885
"$ref": "#/$defs/FeatureGroupDetections/$defs/KubernetesAudit"
886+
},
887+
"file_integrity_monitoring": {
888+
"$ref": "#/$defs/FeatureGroupDetections/$defs/FileIntegrityMonitoring"
886889
}
887890
},
888891
"$defs": {
@@ -972,6 +975,16 @@
972975
]
973976
}
974977
}
978+
},
979+
"FileIntegrityMonitoring": {
980+
"type": "object",
981+
"additionalProperties": true,
982+
"properties": {
983+
"enabled": {
984+
"type": "boolean",
985+
"description": "Specify if the File Integrity Monitoring feature is enabled"
986+
}
987+
}
975988
}
976989
}
977990
},

charts/shield/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ features:
128128
resources:
129129
- '*/*'
130130
scope: '*'
131+
file_integrity_monitoring:
132+
enabled: false
131133

132134
investigations:
133135
activity_audit:

0 commit comments

Comments
 (0)