fix: remove deprecated squid filebeat module tutorial from integrations (#191115)

## Summary

This PR removes the deprecated `squid` integration based on the Filebeat
module (deprecation issue
[here](https://github.com/elastic/beats/issues/37746)). Instead, as of
now, a user that wants to use the `squad` integration needs to tick the
`Display beta integrations` and install the "new" squid integration


### Risk Matrix

N/A


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
Panos Koutsovasilis 2024-08-23 16:47:49 +03:00 committed by GitHub
parent f9c43f61c9
commit bd9dde8ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1 additions and 76 deletions

View file

@ -98,7 +98,6 @@ import { redisenterpriseMetricsSpecProvider } from './redisenterprise_metrics';
import { santaLogsSpecProvider } from './santa_logs';
import { sonicwallLogsSpecProvider } from './sonicwall_logs';
import { sophosLogsSpecProvider } from './sophos_logs';
import { squidLogsSpecProvider } from './squid_logs';
import { stanMetricsSpecProvider } from './stan_metrics';
import { statsdMetricsSpecProvider } from './statsd_metrics';
import { suricataLogsSpecProvider } from './suricata_logs';
@ -223,7 +222,6 @@ export const builtInTutorials = [
santaLogsSpecProvider,
sonicwallLogsSpecProvider,
sophosLogsSpecProvider,
squidLogsSpecProvider,
tomcatLogsSpecProvider,
zscalerLogsSpecProvider,
];

View file

@ -1,61 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
import { i18n } from '@kbn/i18n';
import { TutorialsCategory } from '../../services/tutorials';
import {
onPremInstructions,
cloudInstructions,
onPremCloudInstructions,
} from '../instructions/filebeat_instructions';
import {
TutorialContext,
TutorialSchema,
} from '../../services/tutorials/lib/tutorials_registry_types';
export function squidLogsSpecProvider(context: TutorialContext): TutorialSchema {
const moduleName = 'squid';
const platforms = ['OSX', 'DEB', 'RPM', 'WINDOWS'] as const;
return {
id: 'squidLogs',
name: i18n.translate('home.tutorials.squidLogs.nameTitle', {
defaultMessage: 'Squid Logs',
}),
moduleName,
category: TutorialsCategory.SECURITY_SOLUTION,
shortDescription: i18n.translate('home.tutorials.squidLogs.shortDescription', {
defaultMessage: 'Collect and parse logs from Squid servers with Filebeat.',
}),
longDescription: i18n.translate('home.tutorials.squidLogs.longDescription', {
defaultMessage:
'This is a module for receiving Squid logs over Syslog or a file. \
[Learn more]({learnMoreLink}).',
values: {
learnMoreLink: '{config.docs.beats.filebeat}/filebeat-module-squid.html',
},
}),
euiIconType: 'logoLogging',
artifacts: {
dashboards: [],
application: {
path: '/app/security',
label: i18n.translate('home.tutorials.squidLogs.artifacts.dashboards.linkLabel', {
defaultMessage: 'Security App',
}),
},
exportedFields: {
documentationUrl: '{config.docs.beats.filebeat}/exported-fields-squid.html',
},
},
completionTimeMinutes: 10,
onPrem: onPremInstructions(moduleName, platforms, context),
elasticCloud: cloudInstructions(moduleName, platforms, context),
onPremElasticCloud: onPremCloudInstructions(moduleName, platforms, context),
integrationBrowserCategories: ['security', 'network', 'proxy_security'],
};
}

View file

@ -40,7 +40,7 @@ export default function ({ getService }: FtrProviderContext) {
expect(resp.body).to.be.an('array');
expect(resp.body.length).to.be(109); // the beats
expect(resp.body.length).to.be(108); // the beats
});
});
});

View file

@ -4540,10 +4540,6 @@
"home.tutorials.sophosLogs.longDescription": "Il s'agit d'un module pour les produits Sophos. Actuellement, il prend en charge les logs XG SFOS envoyés au format Syslog. [En savoir plus]({learnMoreLink}).",
"home.tutorials.sophosLogs.nameTitle": "Logs Sophos",
"home.tutorials.sophosLogs.shortDescription": "Collectez et analysez les logs à partir de Sophos XG SFOS avec Filebeat.",
"home.tutorials.squidLogs.artifacts.dashboards.linkLabel": "Application Security",
"home.tutorials.squidLogs.longDescription": "Ce module permet de recevoir des logs Squid par le biais de Syslog ou d'un fichier. [En savoir plus]({learnMoreLink}).",
"home.tutorials.squidLogs.nameTitle": "Logs Squid",
"home.tutorials.squidLogs.shortDescription": "Collectez et analysez les logs à partir de serveurs Squid avec Filebeat.",
"home.tutorials.stanMetrics.artifacts.dashboards.linkLabel": "Tableau de bord des indicateurs Stan",
"home.tutorials.stanMetrics.longDescription": "Le module Metricbeat `stan` récupère des indicateurs depuis STAN. [En savoir plus]({learnMoreLink}).",
"home.tutorials.stanMetrics.nameTitle": "Indicateurs STAN",

View file

@ -4536,10 +4536,6 @@
"home.tutorials.sophosLogs.longDescription": "これは Sophos 製品用モジュールであり、Syslog 形式で送信された XG SFOS ログが現在サポートされています。[詳細]{learnMoreLink})。",
"home.tutorials.sophosLogs.nameTitle": "Sophosログ",
"home.tutorials.sophosLogs.shortDescription": "Filebeatを使用してSophos XG SFOSからログを収集して解析します。",
"home.tutorials.squidLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ",
"home.tutorials.squidLogs.longDescription": "これは、Syslog またはファイルで Squid ログを受信するためのモジュールです。[詳細]{learnMoreLink})。",
"home.tutorials.squidLogs.nameTitle": "Squidログ",
"home.tutorials.squidLogs.shortDescription": "Filebeatを使用してSquidサーバーからログを収集して解析します。",
"home.tutorials.stanMetrics.artifacts.dashboards.linkLabel": "Stan メトリックダッシュボード",
"home.tutorials.stanMetrics.longDescription": "Metricbeat モジュール「stan」は、STAN からメトリックを取得します。[詳細]{learnMoreLink})。",
"home.tutorials.stanMetrics.nameTitle": "STANメトリック",

View file

@ -4544,10 +4544,6 @@
"home.tutorials.sophosLogs.longDescription": "这是用于 Sophos Products 的模块,当前支持以 syslog 格式发送的 XG SFOS 日志。[了解详情]({learnMoreLink})。",
"home.tutorials.sophosLogs.nameTitle": "Sophos 日志",
"home.tutorials.sophosLogs.shortDescription": "使用 Filebeat 从 Sophos XG SFOS 收集并解析日志。",
"home.tutorials.squidLogs.artifacts.dashboards.linkLabel": "Security 应用",
"home.tutorials.squidLogs.longDescription": "这是用于通过 Syslog 或文件接收 Squid 日志的模块。[了解详情]({learnMoreLink})。",
"home.tutorials.squidLogs.nameTitle": "Squid 日志",
"home.tutorials.squidLogs.shortDescription": "使用 Filebeat 从 Squid 服务器收集并解析日志。",
"home.tutorials.stanMetrics.artifacts.dashboards.linkLabel": "Stan 指标仪表板",
"home.tutorials.stanMetrics.longDescription": "Metricbeat 模块 `stan` 从 STAN 提取指标。[了解详情]({learnMoreLink})。",
"home.tutorials.stanMetrics.nameTitle": "STAN 指标",