Skip to content

Commit

Permalink
[frontend] Add Attack pattern list in Knowledge/Attack pattern with m…
Browse files Browse the repository at this point in the history
…assive operations (#4230)

Co-authored-by: Samuel Hassine <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: A. Jard <[email protected]>
Co-authored-by: Julien Richard <[email protected]>
Co-authored-by: animedbz16 <[email protected]>
Co-authored-by: Filigran Automation <[email protected]>
Co-authored-by: Archidoit <[email protected]>
  • Loading branch information
8 people authored Oct 1, 2024
1 parent 841503b commit 32b6696
Show file tree
Hide file tree
Showing 57 changed files with 1,651 additions and 1,049 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ services:
- name: redis
image: redis:7.4.0
- name: elastic
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.1
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.2
environment:
discovery.type: single-node
xpack.security.enabled: false
Expand Down
51 changes: 49 additions & 2 deletions opencti-platform/opencti-dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- 5540:5540
opencti-dev-elasticsearch:
container_name: opencti-dev-elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.1
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.2
volumes:
- esdata:/usr/share/elasticsearch/data
- essnapshots:/usr/share/elasticsearch/snapshots
Expand All @@ -37,14 +37,57 @@ services:
- 9300:9300
opencti-dev-kibana:
container_name: opencti-dev-kibana
image: docker.elastic.co/kibana/kibana:8.15.1
image: docker.elastic.co/kibana/kibana:8.15.2
environment:
- ELASTICSEARCH_HOSTS=http://opencti-dev-elasticsearch:9200
restart: unless-stopped
ports:
- 5601:5601
depends_on:
- opencti-dev-elasticsearch

# Disabled by default, to run use:
# docker compose --profile opensearch up -d
# in opencti configuration:
# "elasticsearch": {
# "url": "http://localhost:9201",
# "username": "admin",
# "password": "GraceH00per!"
opencti-dev-opensearch:
profiles: [ opensearch ]
container_name: opencti-dev-opensearch
image: opensearchproject/opensearch:2.17.0
volumes:
- osdata:/usr/share/opensearch/data
- ossnapshots:/usr/share/opensearch/snapshots
environment:
- discovery.type=single-node
- plugins.security.disabled=true
- bootstrap.memory_lock=true
- OPENSEARCH_JAVA_OPTS=-Xms2G -Xmx2G
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=GraceH00per! # minimum 8 character password and must contain at least one uppercase letter, one lowercase letter, one digit, and one special character that is strong.
ulimits:
memlock:
soft: -1 # Set memlock to unlimited (no soft or hard limit)
hard: -1
nofile:
soft: 65536 # Maximum number of open files for the opensearch user - set to at least 65536
hard: 65536
ports:
- 9201:9200
- 9600:9600
opencti-dev-opensearch-dashboards:
profiles: [ opensearch ]
image: opensearchproject/opensearch-dashboards:2.17.0
container_name: opencti-dev-opensearch-dashboards
ports:
- 5602:5601 # Map host port 5601 to container port 5601
expose:
- 5602 # Expose port 5601 for web access to OpenSearch Dashboards
environment:
OPENSEARCH_HOSTS: '["http://opencti-dev-opensearch:9200"]' # Define the OpenSearch nodes that OpenSearch Dashboards will query
DISABLE_SECURITY_DASHBOARDS_PLUGIN: true

opencti-dev-minio:
container_name: opencti-dev-minio
image: minio/minio:latest
Expand Down Expand Up @@ -164,4 +207,8 @@ volumes:
esdata:
driver: local
essnapshots:
driver: local
osdata:
driver: local
ossnapshots:
driver: local
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "Beschreibung",
"Descriptions": "Beschreibungen",
"Detection": "Erkennung",
"Digest period": "Zusammenfassender Zeitraum",
"Disabled": "Deaktiviert",
"Display name": "Name anzeigen",
"DLL service": "DLL-Dienst",
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "Description",
"Descriptions": "Descriptions",
"Detection": "Detection",
"Digest period": "Digest period",
"Disabled": "Disabled",
"Display name": "Display name",
"DLL service": "DLL service",
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "Descripción",
"Descriptions": "Descripciones",
"Detection": "Detección",
"Digest period": "Período resumido",
"Disabled": "Desactivado",
"Display name": "Mostrar nombre",
"DLL service": "Servicio DLL",
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "Description",
"Descriptions": "Descriptions",
"Detection": "Détection",
"Digest period": "Période de résumé",
"Disabled": "Désactivé",
"Display name": "Nom d'affichage",
"DLL service": "Service DLL",
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "説明",
"Descriptions": "説明",
"Detection": "外部ID",
"Digest period": "サマリー期間",
"Disabled": "無効",
"Display name": "表示名",
"DLL service": "DLLサービス",
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "설명",
"Descriptions": "설명",
"Detection": "탐지",
"Digest period": "요약 기간",
"Disabled": "비활성화됨",
"Display name": "표시 이름",
"DLL service": "DLL 서비스",
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-front/lang/back/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"Description": "描述",
"Descriptions": "说明",
"Detection": "检测",
"Digest period": "總結期",
"Disabled": "禁用",
"Display name": "显示名称",
"DLL service": "DLL 服务",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "Töten",
"Kill all": "Alle löschen",
"Kill chain": "Tötungskette",
"Kill chain :": "Tötungskette :",
"Kill chain name": "Name der Tötungskette",
"Kill chain phase": "Phase der Tötungskette",
"Kill chain phases": "Kill-Chain-Phasen",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "Markierungen",
"Match": "Übereinstimmung",
"Matches all indicator main observable types if none is listed.": "Entspricht allen Indikator-Hauptbeobachtungstypen, wenn keiner aufgeführt ist.",
"Matrix in line view": "Matrix in line Ansicht",
"Matrix view": "Matrixansicht",
"Max Confidence": "Maximalvertrauen",
"Max Confidence is overridden for some entity types:": "Max Confidence wird für einige Entitätstypen außer Kraft gesetzt:",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "Kill",
"Kill all": "Kill all",
"Kill chain": "Kill chain",
"Kill chain :": "Kill chain :",
"Kill chain name": "Kill chain name",
"Kill chain phase": "Kill chain phase",
"Kill chain phases": "Kill chain phases",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "Markings",
"Match": "Match",
"Matches all indicator main observable types if none is listed.": "Matches all indicator main observable types if none is listed.",
"Matrix in line view": "Matrix in line view",
"Matrix view": "Matrix view",
"Max Confidence": "Max Confidence",
"Max Confidence is overridden for some entity types:": "Max Confidence is overridden for some entity types:",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "Matar",
"Kill all": "Matar a todos",
"Kill chain": "«Kill chain»",
"Kill chain :": "«Kill chain» :",
"Kill chain name": "Nombre de la «kill chain»",
"Kill chain phase": "Fase de la «kill chain»",
"Kill chain phases": "Fases de la «kill chain»",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "Marcas",
"Match": "Coincidencia",
"Matches all indicator main observable types if none is listed.": "Coincide con todos los tipos observables principales del indicador si no se enumera ninguno.",
"Matrix in line view": "Vista en línea de la matriz",
"Matrix view": "Vista en matriz",
"Max Confidence": "Max Confianza",
"Max Confidence is overridden for some entity types:": "La confianza máxima se anula para algunos tipos de entidad:",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "Tuer",
"Kill all": "Tuer tout",
"Kill chain": "Kill chain",
"Kill chain :": "Kill chain :",
"Kill chain name": "Nom de la kill chain",
"Kill chain phase": "Phase de kill chain",
"Kill chain phases": "Phases de kill chain",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "Marquages",
"Match": "Correspondance",
"Matches all indicator main observable types if none is listed.": "Correspond à tous les types d'observables principaux des indicateurs si aucun n'est listé.",
"Matrix in line view": "Vue en ligne de la matrice",
"Matrix view": "Vue matricielle",
"Max Confidence": "Confiance max",
"Max Confidence is overridden for some entity types:": "La confiance max est surchargée pour certains types d'entités :",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "殺す",
"Kill all": "すべてを殺す",
"Kill chain": "キルチェーン",
"Kill chain :": "キルチェーン",
"Kill chain name": "キルチェーン名",
"Kill chain phase": "キルチェーンフェーズ",
"Kill chain phases": "キルチェーンフェーズ",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "マーキング",
"Match": "一致",
"Matches all indicator main observable types if none is listed.": "もし何もリストされていなければ、全ての指標となる主要な観測可能な型にマッチします。",
"Matrix in line view": "マトリックス・インライン・ビュー",
"Matrix view": "マトリックス表示",
"Max Confidence": "マックス・コンフィデンス",
"Max Confidence is overridden for some entity types:": "エンティティの種類によっては、最大信頼度がオーバーライドされます:",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "종료",
"Kill all": "모두 종료",
"Kill chain": "킬 체인",
"Kill chain :": "킬 체인 :",
"Kill chain name": "킬 체인 이름",
"Kill chain phase": "킬 체인 단계",
"Kill chain phases": "킬 체인 단계",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "마킹",
"Match": "Match",
"Matches all indicator main observable types if none is listed.": "아무 것도 나열되지 않은 경우 모든 지표 주요 관찰 유형과 일치합니다.",
"Matrix in line view": "매트릭스 인라인 보기",
"Matrix view": "매트릭스 보기",
"Max Confidence": "최대 신뢰도",
"Max Confidence is overridden for some entity types:": "일부 엔터티 유형에 대해 최대 신뢰도가 재정의되었습니다:",
Expand Down
2 changes: 2 additions & 0 deletions opencti-platform/opencti-front/lang/front/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,7 @@
"Kill": "结束",
"Kill all": "全部结束",
"Kill chain": "杀伤链",
"Kill chain :": "杀伤链 :",
"Kill chain name": "杀伤链名称",
"Kill chain phase": "杀伤链阶段",
"Kill chain phases": "杀伤链阶段",
Expand Down Expand Up @@ -1634,6 +1635,7 @@
"Markings": "标记",
"Match": "匹配",
"Matches all indicator main observable types if none is listed.": "如果没有列出主要观测指标类型,则匹配所有指标类型。",
"Matrix in line view": "矩阵内联视图",
"Matrix view": "矩阵视图",
"Max Confidence": "最大置信度",
"Max Confidence is overridden for some entity types:": "对于某些实体类型,最大置信度会被覆盖:",
Expand Down
10 changes: 5 additions & 5 deletions opencti-platform/opencti-front/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencti-front",
"version": "6.3.3",
"version": "6.3.4",
"private": true,
"main": "src/front.tsx",
"dependencies": {
Expand All @@ -24,7 +24,7 @@
"@rjsf/utils": "5.18.1",
"analytics": "0.8.14",
"apexcharts": "3.53.0",
"axios": "1.7.4",
"axios": "1.7.7",
"ckeditor5-custom-build": "0.0.1",
"classnames": "2.5.1",
"convert": "5.4.0",
Expand All @@ -50,7 +50,7 @@
"mdi-material-ui": "7.9.1",
"moment": "2.30.1",
"moment-timezone": "0.5.45",
"pdfmake": "0.2.10",
"pdfmake": "0.2.13",
"prop-types": "15.8.1",
"qrcode": "1.5.3",
"ramda": "0.30.1",
Expand All @@ -64,7 +64,7 @@
"react-force-graph-2d": "1.25.5",
"react-force-graph-3d": "1.24.3",
"react-grid-layout": "1.4.4",
"react-intl": "6.6.8",
"react-intl": "6.7.0",
"react-leaflet": "4.2.1",
"react-markdown": "9.0.1",
"react-material-ui-carousel": "3.4.2",
Expand Down Expand Up @@ -92,7 +92,7 @@
"yup": "1.4.0"
},
"devDependencies": {
"@playwright/test": "1.45.3",
"@playwright/test": "1.47.2",
"@rollup/plugin-graphql": "2.0.4",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const WidgetListCoreObjects = ({
pageSize={pageSize.toString()}
disableNavigation={publicWidget}
rootRef={rootRef}
allowBackgroundtasks={false}
/>
);

Expand Down
Loading

0 comments on commit 32b6696

Please sign in to comment.