How to integrate OpenBAS into OpenCTI #2006
-
Hi all, Any help would be greatly appreciated. Keep up the excellent work on these superb products. best, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Hi @divemaster1201, To integrate OpenCTI with OpenBAS, you need to set two parameters in your environment file: XTM__OPENBAS_URL and XTM__OPENBAS_TOKEN (You can obtain the token from your profile in the API access section). These environment variables are equivalent to xtm:openbas_url and xtm:openbas_token in the default.json file. For more details, refer to the documentation here: Additionally, you can find more information about creating scenarios from OpenCTI here: Feel free to reach out to the Slack community if you have any more questions or need help! |
Beta Was this translation helpful? Give feedback.
-
Hello there :) , i need some help please ! I have already set the variable XTM in opencti and openbas , bu i got error when querying openbas with opencti during scenario scenarios emulation . Here is my docker-compose about OpenCTI and OpenBAS :
Plus i put caldera directly in the same compose, but i got errors in OpenBAS "Executor Caldera might not be working" My .env (no worries it's only for test) :
Thank you :) |
Beta Was this translation helpful? Give feedback.
-
I tested your health check and get an auth error. Error connection refused. Sorry on my phone and can't send logs, Docker logs opencti-openbas-1 |
Beta Was this translation helpful? Give feedback.
-
I also get the same error when attempting to 'Simulate' via opencti |
Beta Was this translation helpful? Give feedback.
-
I am getting this in opencti logs: {"level":"info","message":"[MIGRATION] Read 0 migrations from the database","timestamp":"2025-05-14T19:55:09.598Z"} openbas: ## ## ## ## ### ## ## ## ## ## #### ## ## ## #### ## ## ## ## #### ######## ###### ## ## ## ######## ## #### ## ## ## #### ## ## ########### ## ## ## ### ## ## ## ## ######### ## ######## ## ## ######## ## ## ###### |
Beta Was this translation helpful? Give feedback.
-
I changes all of the url's to the host IP besides 'OPENBAS_XTM_OPENCTI_URL' whichi left as http://opencti. This is working now |
Beta Was this translation helpful? Give feedback.
Hi @divemaster1201,
To integrate OpenCTI with OpenBAS, you need to set two parameters in your environment file: XTM__OPENBAS_URL and XTM__OPENBAS_TOKEN (You can obtain the token from your profile in the API access section). These environment variables are equivalent to xtm:openbas_url and xtm:openbas_token in the default.json file. For more details, refer to the documentation here:
Additionally, you can find more information about creating scenarios from OpenCTI here:
Feel free to reach out to the Slack community if you have any more questions or need help!