question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why `Manufacturing` sector is not present ?

See original GitHub issue

Prerequisites

  • I read the Deployment and Setup section of the OpenCTI documentation as well as the Troubleshooting page and didn’t find anything relevant to my problem.
  • I went through old GitHub issues and couldn’t find anything relevant
  • I googled the issue and didn’t find anything relevant

Description

Manufacturing sector is not present. But it should be present by default. https://github.com/OpenCTI-Platform/datasets/blob/master/data/sectors.json image

I tried to add it manually (ImportFileStix) without success. I tried to add it via the UI too without success.

opencti-connector logs:

INFO:root:Initiate work for ca2cdb8c-c97c-4491-bd08-6b2b3293c1c8
INFO:root:Update action expectations work_ca2cdb8c-c97c-4491-bd08-6b2b3293c1c8_2022-09-06T08:31:22.528Z - 121
INFO:root:Update action expectations work_ca2cdb8c-c97c-4491-bd08-6b2b3293c1c8_2022-09-06T08:31:22.528Z - 539
INFO:root:Connector successfully run, storing last_run as 1662453082
INFO:root:Reporting work update_received work_ca2cdb8c-c97c-4491-bd08-6b2b3293c1c8_2022-09-06T08:31:22.528Z
INFO:root:Last_run stored, next run in: 7.0 days

connector-import-file-stix logs:

Update action expectations work_c26b9396-683c-4563-8ace-33f4286a3dac_2022-09-06T11:25:34.042Z - 1
Reporting work update_received work_c26b9396-683c-4563-8ace-33f4286a3dac_2022-09-06T11:25:34.042Z
Message (delivery_tag=4) processed, thread terminated

Environment

  1. OS (where OpenCTI server runs): Debian 11
  2. OpenCTI version: 5.3.8
  3. OpenCTI client: WEB
  4. Other environment details:

connector-opencti connector configuration

  connector-opencti:
    image: opencti/connector-opencti:5.3.8
    environment:
      OPENCTI_URL: http://opencti.:8080/opencti
      OPENCTI_TOKEN: ${OPENCTI_C_OPENCTI_TOKEN}
      CONNECTOR_ID: ca2cdb8c-c97c-4491-bd08-6b2b3293c1c8
      CONNECTOR_TYPE: EXTERNAL_IMPORT
      CONNECTOR_NAME: OpenCTI
      CONNECTOR_SCOPE: marking-definition,identity,location,sector,region,country,city
      CONNECTOR_CONFIDENCE_LEVEL: 5
      CONNECTOR_UPDATE_EXISTING_DATA: "true"
      CONNECTOR_RUN_AND_TERMINATE: "false" # update  v5.1.4
      CONNECTOR_LOG_LEVEL: info
      CONFIG_SECTORS_FILE_URL: https://raw.githubusercontent.com/OpenCTI-Platform/datasets/master/data/sectors.json
      CONFIG_GEOGRAPHY_FILE_URL: https://raw.githubusercontent.com/OpenCTI-Platform/datasets/master/data/geography.json
      CONFIG_INTERVAL: 7 # Days

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SamuelHassinecommented, Sep 19, 2022

Solution is:

  • Remove the alias
  • Increase the confidence level of the “OpenCTI Datasets” connector to 90
  • Decrease the confidence level of the “MISP” connector lower than 90
  • Reset the OpenCTI Dataset connector state to re-inject the sectors

You will be good!

0reactions
SamuelHassinecommented, Sep 19, 2022

(and be sure to be in the latest version so the confidence levels are taken into account everywhere)

Read more comments on GitHub >

github_iconTop Results From Across the Web

US manufacturing decline and the rise of new production ...
The decline of US manufacturing–traditionally a route to the middle class–hit these groups particularly hard. There is now a major income inequality problem....
Read more >
The Decline in Manufacturing Jobs: Not Necessarily a Cause ...
The decline in manufacturing jobs is often met with anxiety. People are concerned that a smaller manufacturing sector implies slower economic ...
Read more >
Resurgent Manufacturing Sector Faces Labor Constraints
In an environment where many manufacturers are weighing whether to reshore production, labor shortages may be the greatest long-term obstacle to ...
Read more >
Where Manufacturing Is Growing (and Where It Is Not) | NIST
As the chart below suggests, productivity across the manufacturing sector has been relatively flat since a sharp increase as we emerged from ...
Read more >
Understanding the Decline in Manufacturing Employment
The U.S. manufacturing sector started shedding jobs in huge numbers in the ... not globalization, as the main cause of manufacturing's sharp job...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found