Skip to content
Open
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
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "Verbindungsabbruch?",
"Close registration process?": "Den Registrierungsprozess abschließen?",
"Close unregistration process?": "Den Abmeldevorgang abschließen?",
"Closed": "Geschlossen",
"Cloud": "Wolke",
"Cloud Control Plane": "Cloud Control Plane",
"club": "Informelle Gruppe",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "Möchten Sie die Verknüpfung dieser Aufgabe aufheben?",
"Do you want to unlink this task template ?": "Möchten Sie die Verknüpfung dieser Aufgabenvorlage aufheben?",
"Do you want to unlink this task?": "Möchten Sie die Verknüpfung dieser Aufgabe aufheben?",
"Document count": "Anzahl der Dokumente",
"documentation": "dokumentation",
"Documents": "Dokumente",
"does not exist in the main knowledge base": "nicht in der Hauptwissensbasis vorhanden ist",
"Domain": "Bereich",
"Domain names": "Domänennamen",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "Einbindung Ihrer Nachricht…",
"Increasing": "Steigend",
"independent": "unabhängig",
"Index health": "Indexgesundheit",
"Index metrics": "Indexmetriken",
"Index name": "Index Name",
"Index size": "Indexgröße",
"Index status": "Index-Status",
"Indexed files": "Indizierte Dateien",
"Indexing": "Indizierung",
"Indexing manager start": "Indizierungsmanager Start",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "Close disconnection process?",
"Close registration process?": "Close registration process?",
"Close unregistration process?": "Close unregistration process?",
"Closed": "Closed",
"Cloud": "Cloud",
"Cloud Control Plane": "Cloud Control Plane",
"club": "Informal group",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "Do you want to unlink this task ?",
"Do you want to unlink this task template ?": "Do you want to unlink this task template ?",
"Do you want to unlink this task?": "Do you want to unlink this task?",
"Document count": "Document count",
"documentation": "documentation",
"Documents": "Documents",
"does not exist in the main knowledge base": "does not exist in the main knowledge base",
"Domain": "Domain",
"Domain names": "Domain names",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "Incorporating your message…",
"Increasing": "Increasing",
"independent": "independent",
"Index health": "Index health",
"Index metrics": "Index metrics",
"Index name": "Index name",
"Index size": "Index size",
"Index status": "Index status",
"Indexed files": "Indexed files",
"Indexing": "Indexing",
"Indexing manager start": "Indexing manager start",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "¿Cerrar el proceso de desconexión?",
"Close registration process?": "Cerrar el proceso de registro",
"Close unregistration process?": "¿Cerrar el proceso de desregistro?",
"Closed": "Cerrado",
"Cloud": "Nube",
"Cloud Control Plane": "Plano de control de nube",
"club": "Grupo informal",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "¿Desea desvincular esta tarea?",
"Do you want to unlink this task template ?": "¿Desea desvincular esta plantilla de tarea?",
"Do you want to unlink this task?": "¿Quieres desvincular esta tarea?",
"Document count": "Recuento de documentos",
"documentation": "documentación",
"Documents": "Documentos",
"does not exist in the main knowledge base": "no existe en la base de conocimiento principal",
"Domain": "Nombre de dominio",
"Domain names": "Nombres de dominio",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "Incorporando tu mensaje…",
"Increasing": "Aumentando",
"independent": "Independiente",
"Index health": "Índice de salud",
"Index metrics": "Métricas del índice",
"Index name": "Índice nombre",
"Index size": "Tamaño del índice",
"Index status": "Estado del índice",
"Indexed files": "Ficheros indexados",
"Indexing": "Indexación",
"Indexing manager start": "Inicio del gestor de indexación",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "Fermer le processus de déconnexion ?",
"Close registration process?": "Fermer le processus d'enregistrement ?",
"Close unregistration process?": "Fermer le processus de désenregistrement ?",
"Closed": "Fermés",
"Cloud": "Nuage",
"Cloud Control Plane": "Plan de contrôle Cloud",
"club": "Groupe informel",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "Voulez-vous dissocier cette tâche ?",
"Do you want to unlink this task template ?": "Voulez-vous dissocier ce modèle de tâche ?",
"Do you want to unlink this task?": "Voulez-vous dissocier cette tâche ?",
"Document count": "Nombre de documents",
"documentation": "documentation",
"Documents": "Documents",
"does not exist in the main knowledge base": "n'existe pas dans la base de connaissances principale",
"Domain": "Nom de domaine",
"Domain names": "Noms de domaine",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "Intégration de votre message…",
"Increasing": "En hausse",
"independent": "indépendant",
"Index health": "Indice santé",
"Index metrics": "Indicateurs de l'indice",
"Index name": "Nom de l’index",
"Index size": "Taille de l’index",
"Index status": "Index Status",
"Indexed files": "Fichiers indexés",
"Indexing": "Indexation",
"Indexing manager start": "Démarrage du moteur d'indexation",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "Chiudere la procedura di disconnessione?",
"Close registration process?": "Chiudere il processo di registrazione?",
"Close unregistration process?": "Chiudere il processo di disregistrazione?",
"Closed": "Chiuso",
"Cloud": "Nuvola",
"Cloud Control Plane": "Piano di controllo cloud",
"club": "Club",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "Vuoi scollegare questo task ?",
"Do you want to unlink this task template ?": "Vuoi scollegare questo template di task ?",
"Do you want to unlink this task?": "Vuoi scollegare questo task?",
"Document count": "Conteggio documenti",
"documentation": "documentazione",
"Documents": "Documenti",
"does not exist in the main knowledge base": "non esiste nella base di conoscenza principale",
"Domain": "Dominio",
"Domain names": "Nomi di dominio",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "Inserimento del messaggio…",
"Increasing": "Crescente",
"independent": "indipendente",
"Index health": "Indice salute",
"Index metrics": "Indice metriche",
"Index name": "Nome indice",
"Index size": "Dimensioni dell'indice",
"Index status": "Stato indice",
"Indexed files": "File indicizzati",
"Indexing": "Indicizzazione",
"Indexing manager start": "Avvio del gestore dell'indicizzazione",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "切断プロセスを終了しますか?",
"Close registration process?": "登録プロセスを終了しますか?",
"Close unregistration process?": "登録を解除しますか?",
"Closed": "閉じた",
"Cloud": "クラウド",
"Cloud Control Plane": "クラウドコントロールプレーン",
"club": "インフォーマルグループ",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "このタスクのリンクを解除しますか?",
"Do you want to unlink this task template ?": "このタスクテンプレートのリンクを解除しますか?",
"Do you want to unlink this task?": "このタスクのリンクを解除しますか?",
"Document count": "文書リストカウント",
"documentation": "ドキュメンテーション",
"Documents": "ドキュメント",
"does not exist in the main knowledge base": "メイン知識ベースに存在しない",
"Domain": "ドメイン",
"Domain names": "ドメイン名",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "メッセージを組み込んでいます…",
"Increasing": "増加",
"independent": "無所属",
"Index health": "インデックスの健全性",
"Index metrics": "インデックスメトリクス",
"Index name": "インデックス名",
"Index size": "インデックスサイズ",
"Index status": "インデックスの状態",
"Indexed files": "索引的文件",
"Indexing": "インデックス作成",
"Indexing manager start": "インデックスマネージャ開始",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "연결 해제 과정을 종료하시겠습니까?",
"Close registration process?": "등록 절차를 닫으시겠습니까?",
"Close unregistration process?": "등록 취소 프로세스를 닫으시겠습니까?",
"Closed": "닫힘",
"Cloud": "클라우드",
"Cloud Control Plane": "클라우드 제어 평면",
"club": "비공식 그룹",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "이 작업의 연결을 해제하시겠습니까?",
"Do you want to unlink this task template ?": "이 작업 템플릿의 연결을 해제하시겠습니까?",
"Do you want to unlink this task?": "이 작업의 연결을 해제하시겠습니까?",
"Document count": "문서 수",
"documentation": "문서",
"Documents": "문서",
"does not exist in the main knowledge base": "기본 지식창고에 존재하지 않음",
"Domain": "도메인",
"Domain names": "도메인 이름",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "메시지를 반영 중…",
"Increasing": "증가",
"independent": "독립적",
"Index health": "색인 상태",
"Index metrics": "색인 메트릭",
"Index name": "색인 이름",
"Index size": "인덱스 크기",
"Index status": "인덱스 상태",
"Indexed files": "인덱싱된 파일",
"Indexing": "인덱싱",
"Indexing manager start": "인덱싱 관리자 시작",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "Закрыть процесс отключения?",
"Close registration process?": "Закрыть процесс регистрации?",
"Close unregistration process?": "Закрыть процесс снятия с регистрации?",
"Closed": "Закрыт",
"Cloud": "Облако",
"Cloud Control Plane": "Плоскость управления облаками",
"club": "клуб",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "Вы хотите отвязать эту задачу?",
"Do you want to unlink this task template ?": "Вы хотите отвязать этот шаблон задачи?",
"Do you want to unlink this task?": "Вы хотите отвязать эту задачу?",
"Document count": "Подсчет количества документов",
"documentation": "документация",
"Documents": "документации",
"does not exist in the main knowledge base": "не существует в основной базе знаний",
"Domain": "Домен",
"Domain names": "Доменные имена",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "Включение вашего сообщения…",
"Increasing": "Увеличение",
"independent": "независимый",
"Index health": "Индекс работоспособности",
"Index metrics": "Метрики индекса",
"Index name": "Имя индекса",
"Index size": "Размер индекса",
"Index status": "Статус индекса",
"Indexed files": "Индексированные файлы",
"Indexing": "Индексирование",
"Indexing manager start": "Запуск менеджера индексирования",
Expand Down
8 changes: 8 additions & 0 deletions opencti-platform/opencti-front/lang/front/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"Close disconnection process?": "关闭断开连接过程?",
"Close registration process?": "关闭注册程序?",
"Close unregistration process?": "关闭取消注册程序?",
"Closed": "闭门",
"Cloud": "云",
"Cloud Control Plane": "云控制平面",
"club": "俱乐部",
Expand Down Expand Up @@ -1618,7 +1619,9 @@
"Do you want to unlink this task ?": "您要取消链接此任务吗?",
"Do you want to unlink this task template ?": "要取消链接此任务模板吗?",
"Do you want to unlink this task?": "您想取消这项任务的链接吗?",
"Document count": "文档相对计数",
"documentation": "文档",
"Documents": "文档",
"does not exist in the main knowledge base": "在主知识库中不存在",
"Domain": "域",
"Domain names": "域名",
Expand Down Expand Up @@ -2575,6 +2578,11 @@
"Incorporating your message…": "正在整合您的消息……",
"Increasing": "增加",
"independent": "独立研究员",
"Index health": "索引健康状况",
"Index metrics": "索引指标",
"Index name": "索引名称",
"Index size": "索引大小",
"Index status": "索引状态",
"Indexed files": "索引文件",
"Indexing": "索引",
"Indexing manager start": "索引管理器启动",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ const useNavMenu = (): NavGroup[] => {
{ granted: isGrantedToTaxonomies, link: '/dashboard/settings/vocabularies', label: t_i18n('Taxonomies') },
{ granted: isGrantedToAudit, link: '/dashboard/settings/activity', label: t_i18n('Activity') },
{ granted: isGrantedToFileIndexing, link: '/dashboard/settings/file_indexing', label: t_i18n('File indexing') },
{ granted: isGrantedToManage, link: '/dashboard/settings/indexmetrics', label: t_i18n('Index metrics') },
{ granted: isGrantedToExperience, link: '/dashboard/settings/experience', label: t_i18n('Filigran Experience') },
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const RootAccesses = lazy(() => import('./accesses/Root'));
const RootActivity = lazy(() => import('./activity/Root'));
const RootCustomization = lazy(() => import('./customization/Root'));
const RootVocabularies = lazy(() => import('./vocabularies/Root'));
const IndexMetrics = lazy(() => import('./index_metrics/IndexMetrics'));

const ExperienceUnauthorizedRedirect = ({ fallbackUrl }: { fallbackUrl: string }) => {
const location = useLocation();
Expand Down Expand Up @@ -123,6 +124,17 @@ const Root = () => {
</Security>
)}
/>
<Route
path="/indexmetrics/*"
element={(
<Security
needs={[SETTINGS_SUPPORT]}
placeholder={<Navigate to={fallbackUrl} />}
>
<IndexMetrics />
</Security>
)}
/>
</Routes>
</Suspense>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import React, { Suspense } from 'react';
import Breadcrumbs from '../../../../components/Breadcrumbs';
import { useFormatter } from '../../../../components/i18n';
import Loader, { LoaderVariant } from '../../../../components/Loader';
import useConnectedDocumentModifier from '../../../../utils/hooks/useConnectedDocumentModifier';
import IndexMetricsSummary from './IndexMetricsSummary';
import IndexMetricsTable from './IndexMetricsTable';

const IndexMetricsComponent = () => {
const { t_i18n } = useFormatter();

return (
<div data-testid="index-metrics-page" style={{ height: '100%' }}>
<Breadcrumbs elements={[
{ label: t_i18n('Settings') },
{ label: t_i18n('Index metrics'), current: true },
]}
/>
<IndexMetricsSummary />
<IndexMetricsTable />
</div>
);
};

const IndexMetrics = () => {
const { t_i18n } = useFormatter();
const { setTitle } = useConnectedDocumentModifier();
setTitle(t_i18n('Index metrics'));

return (
<Suspense fallback={<Loader variant={LoaderVariant.container} />}>
<IndexMetricsComponent />
</Suspense>
);
};

export default IndexMetrics;
Loading