diff --git a/opencti-documentation/docs/clients/python/overview.md b/opencti-documentation/docs/clients/python/overview.md index 329c33f76a8b..f84b339cb37b 100644 --- a/opencti-documentation/docs/clients/python/overview.md +++ b/opencti-documentation/docs/clients/python/overview.md @@ -27,8 +27,8 @@ from pycti import OpenCTIApiClient opencti_api_client = OpenCTIApiClient(api_url, api_token, log_level, ssl_verify) ``` -| Argument | Type | Description | -| ------------------------ | ------------------ | --------------------------------------------------------------------| +| Argument | Type | Description | +| -------------------------- | ------------------ | --------------------------------------------------------------------| | api_url (*required*) | String | The URL of the OpenCTI instance | | api_token (*required*) | String | The OpenCTI token | | log_level (*optional*) | String | Log level, could be 'debug', 'info', 'warning' or 'error' | diff --git a/opencti-documentation/docs/development/installation.md b/opencti-documentation/docs/development/installation.md index e37d7e7e64d0..3114ee5bdfb4 100644 --- a/opencti-documentation/docs/development/installation.md +++ b/opencti-documentation/docs/development/installation.md @@ -7,7 +7,7 @@ sidebar_label: Development environment ## Prerequisites - Docker -- Node.JS (>= 10) +- Node.JS (>= 12) - Python (>= 3) - Yarn (>= 1.16) diff --git a/opencti-documentation/docs/installation/manual.md b/opencti-documentation/docs/installation/manual.md index 24aa8a27bb20..9dbc1675520d 100644 --- a/opencti-documentation/docs/installation/manual.md +++ b/opencti-documentation/docs/installation/manual.md @@ -6,10 +6,10 @@ sidebar_label: Manual deployment ## Prerequisites -- Node.JS (>= 10) -- Grakn (>= 1.5.78 +- Node.JS (>= 12) +- Grakn (>= 1.5.9) - Redis (>= 3.0) -- ElasticSearch (>= 7.x) +- ElasticSearch (>= 7.5) - Minio (>= 20191012) - RabbitMQ (>= 3.7) diff --git a/opencti-platform/opencti-front/package.json b/opencti-platform/opencti-front/package.json index 5ee257140077..56bf29d013d4 100644 --- a/opencti-platform/opencti-front/package.json +++ b/opencti-platform/opencti-front/package.json @@ -1,6 +1,6 @@ { "name": "opencti-front", - "version": "2.0.2", + "version": "2.1.1", "author": "Luatix", "license": "AGPL-3.0-or-later", "dependencies": { @@ -84,7 +84,7 @@ "**/lodash": "4.17.15" }, "engines": { - "node": ">= 10.*" + "node": ">= 12.*" }, "scripts": { "start": "yarn relay && react-app-rewired start", diff --git a/opencti-platform/opencti-graphql/package.json b/opencti-platform/opencti-graphql/package.json index 3a0fc0735a75..92bf1d3d2e7a 100644 --- a/opencti-platform/opencti-graphql/package.json +++ b/opencti-platform/opencti-graphql/package.json @@ -1,6 +1,6 @@ { "name": "opencti-graphql", - "version": "2.1.0", + "version": "2.1.1", "main": "src/server.js", "author": "Luatix", "license": "AGPL-3.0-or-later", diff --git a/opencti-platform/opencti-graphql/src/migrations/1574546664194-reindex.js b/opencti-platform/opencti-graphql/src/migrations/1574546664194-reindex.js index b11a940aa291..1deff7f06edd 100644 --- a/opencti-platform/opencti-graphql/src/migrations/1574546664194-reindex.js +++ b/opencti-platform/opencti-graphql/src/migrations/1574546664194-reindex.js @@ -17,6 +17,9 @@ module.exports.up = async next => { wTx.tx.query(`match $r isa stix_relation; not {$r ($x, $y) isa stix_relation;}; delete;`); }); logger.info(`[MIGRATION] reindex > Delete orphan stix_relation_embedded`); + await executeWrite(wTx => { + wTx.tx.query(`match $r isa stix_relation_embedded; not {$r ($x, $y) isa stix_relation_embedded;}; delete;`); + }); } catch (err) { logger.info(`[MIGRATION] reindex > Error during deleting orphan relations (${err}), try to index...`); }