diff --git a/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp b/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp index 5647add100b2..ded18a3816dc 100644 --- a/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp +++ b/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp @@ -65,7 +65,11 @@ std::string MapConnectionType(const FederatedQuery::ConnectionSetting::Connectio return "Monitoring"; case FederatedQuery::ConnectionSetting::ConnectionCase::kPostgresqlCluster: return "PostgreSQLCluster"; - default: + case FederatedQuery::ConnectionSetting::ConnectionCase::kGreenplumCluster: + return "GreenplumCluster"; + case FederatedQuery::ConnectionSetting::ConnectionCase::kMysqlCluster: + return "MySQLCluster"; + case FederatedQuery::ConnectionSetting::ConnectionCase::CONNECTION_NOT_SET: Y_ENSURE(false, "Invalid connection case " << i32(connectionCase)); } } @@ -76,8 +80,8 @@ std::string MapBindingType(const FederatedQuery::BindingSetting::BindingCase& bi return "YdbDataStreams"; case FederatedQuery::BindingSetting::BindingSetting::kObjectStorage: return "ObjectStorage"; - default: - Y_ENSURE(false, "Invalid connection case " << i32(bindingCase)); + case FederatedQuery::BindingSetting::BindingSetting::BINDING_NOT_SET: + Y_ENSURE(false, "Invalid binding case " << i32(bindingCase)); } }