diff --git a/internal/service/guardduty/organization_configuration.go b/internal/service/guardduty/organization_configuration.go index b2c577285eb..3733172befe 100644 --- a/internal/service/guardduty/organization_configuration.go +++ b/internal/service/guardduty/organization_configuration.go @@ -197,6 +197,10 @@ func expandOrganizationDataSourceConfigurations(tfMap map[string]interface{}) *g apiObject.Kubernetes = expandOrganizationKubernetesConfiguration(v[0].(map[string]interface{})) } + if v, ok := tfMap["malware_protection"].([]interface{}); ok && len(v) > 0 { + apiObject.MalwareProtection = expandOrganizationMalwareProtectionConfiguration(v[0].(map[string]interface{})) + } + return apiObject }