Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 14.2.5
appVersion: 14.3.0
dependencies:
- name: common
repository: file://../common
Expand Down Expand Up @@ -30,4 +30,4 @@ sources:
- https://app.sysdigcloud.com/#/settings/user
- https://github.com/draios/sysdig
type: application
version: 2.3.7
version: 2.4.0
2 changes: 1 addition & 1 deletion charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ image:
overrideValue: null
registry: quay.io
repository: sysdig/agent
tag: 14.2.5
tag: 14.3.0
# Specify a imagePullPolicy
# Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
# ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down
2 changes: 1 addition & 1 deletion charts/shield/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: mavimo
email: marcovito.moscaritolo@sysdig.com
type: application
version: 1.24.1
version: 1.25.0
appVersion: "1.0.0"
3 changes: 2 additions & 1 deletion charts/shield/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ The following table lists the configurable parameters of the `shield` chart and
| features.detections.kubernetes_audit.http_port | The port that will be used to expose the audit endpoints | <code>6443</code> |
| features.detections.kubernetes_audit.excluded_namespaces | The list of namespaces that will be excluded from the audit feature | <code>[]</code> |
| features.detections.kubernetes_audit.webhook_rules | List of rules used to determine if a request should be audited | <code>[{"apiGroups":["","apps","autoscaling","batch","networking.k8s.io","rbac.authorization.k8s.io","extensions"],"apiVersions":["*"],"operations":["*"],"resources":["*/*"],"scope":"*"}]</code> |
| features.detections.file_integrity_monitoring.enabled | | <code>false</code> |
| features.investigations.activity_audit.enabled | | <code>false</code> |
| features.investigations.live_logs.enabled | | <code>false</code> |
| features.investigations.network_security.enabled | Enable the network security feature | <code>false</code> |
Expand Down Expand Up @@ -158,7 +159,7 @@ The following table lists the configurable parameters of the `shield` chart and
| host.image.repository | The repository where the host shield images are stored | <code>sysdig</code> |
| host.image.kmodule_name | The image name for the host shield kmodule drive | <code>agent-kmodule</code> |
| host.image.shield_name | The image name for the host shield | <code>agent-slim</code> |
| host.image.tag | The tag for the host shield images | <code>14.2.5</code> |
| host.image.tag | The tag for the host shield images | <code>14.3.0</code> |
| host.image.pull_policy | The pull policy for the host shield images | <code>IfNotPresent</code> |
| host.image.pull_secrets | The pull secrets for the host shield images | <code>[]</code> |
| host.priority_class.create | Create a priority class for the host shield | <code>false</code> |
Expand Down
2 changes: 1 addition & 1 deletion charts/shield/templates/host/_configmap_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{{- end }}
{{- define "host.configmap.detections" }}
{{- dict "detections" (pick . "ml_policies") | toYaml }}
{{- dict "detections" (pick . "ml_policies" "file_integrity_monitoring") | toYaml }}
{{- end }}
{{/* Generate the 'host_shield_config.yaml' content */}}
Expand Down
55 changes: 55 additions & 0 deletions charts/shield/tests/host/configmap-host-shield-config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ tests:
pattern: |
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -50,6 +52,8 @@ tests:
pattern: |
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -79,6 +83,8 @@ tests:
pattern: |
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -108,6 +114,8 @@ tests:
pattern: |
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -137,6 +145,8 @@ tests:
pattern: |
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand All @@ -161,6 +171,8 @@ tests:
pattern: |
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -193,6 +205,8 @@ tests:
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -224,6 +238,8 @@ tests:
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -271,6 +287,8 @@ tests:
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -339,6 +357,8 @@ tests:
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -427,6 +447,8 @@ tests:
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: false
posture:
Expand Down Expand Up @@ -457,6 +479,8 @@ tests:
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: false
ml_policies:
enabled: true
posture:
Expand All @@ -474,6 +498,37 @@ tests:
enabled: false
integration_enabled: false

- it: Enable File Integrity Monitoring
set:
features:
detections:
file_integrity_monitoring:
enabled: true
asserts:
- matchRegex:
path: data['host-shield.yaml']
pattern: |-
features:
detections:
file_integrity_monitoring:
enabled: true
ml_policies:
enabled: false
posture:
host_posture:
enabled: false
respond:
rapid_response:
enabled: false
response_actions:
enabled: false
vulnerability_management:
host_vulnerability_management:
enabled: false
in_use:
enabled: false
integration_enabled: false

- it: Ensure Local Forwarder
set:
features:
Expand Down
13 changes: 13 additions & 0 deletions charts/shield/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,9 @@
},
"kubernetes_audit": {
"$ref": "#/$defs/FeatureGroupDetections/$defs/KubernetesAudit"
},
"file_integrity_monitoring": {
"$ref": "#/$defs/FeatureGroupDetections/$defs/FileIntegrityMonitoring"
}
},
"$defs": {
Expand Down Expand Up @@ -972,6 +975,16 @@
]
}
}
},
"FileIntegrityMonitoring": {
"type": "object",
"additionalProperties": true,
"properties": {
"enabled": {
"type": "boolean",
"description": "Specify if the File Integrity Monitoring feature is enabled"
}
}
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion charts/shield/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ features:
resources:
- '*/*'
scope: '*'
file_integrity_monitoring:
enabled: false

investigations:
activity_audit:
Expand Down Expand Up @@ -270,7 +272,7 @@ host:
# The image name for the host shield
shield_name: agent-slim
# The tag for the host shield images
tag: 14.2.5
tag: 14.3.0
# The pull policy for the host shield images
pull_policy: IfNotPresent
# The pull secrets for the host shield images
Expand Down
4 changes: 2 additions & 2 deletions charts/sysdig-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sysdig-deploy
description: A chart with various Sysdig components for Kubernetes
type: application
version: 1.98.1
version: 1.99.0
maintainers:
- name: AlbertoBarba
email: alberto.barba@sysdig.com
Expand All @@ -26,7 +26,7 @@ dependencies:
- name: agent
# repository: https://charts.sysdig.com
repository: file://../agent
version: ~2.3.7
version: ~2.4.0
alias: agent
condition: agent.enabled
- name: common
Expand Down
Loading