-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Group-IB] Update Group-IB connector #3204
Conversation
@Kchekh Thank you for the updated changes! We will have a review on this. Could you just sign your commits as it is required for merging the PR? |
Hello @helene-nguyen, |
@Kchekh Yes, sorry if it wasn't clear, it's signing with GPG key all the commits :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making these changes! This is a great improvement for us. 🚀
Proposed changes
Change storage and change seqUpdate parameter in state OpenCTI
Global separation of environment parameters and config.yml to run locally or in docker
Small code edits
Related issues
Checklist
Further comments
I have made some changes to the code of our integration and would like to introduce them a bit.
The first thing that was done was to split the configs into config,yml to bring up the connector locally and .env file to run in Docker.
https://github.com/Kchekh/connectors/blob/update/external-import/group-ib/src/config.yml.sample
https://github.com/Kchekh/connectors/blob/update/external-import/group-ib/.env.sample
Since the formats of these files are different and our configuration has a lot of moment variables for the collection, we implemented a solution for automated collection in the file https://github.com/Kchekh/connectors/blob/update/external-import/group-ib/src/config.py.
The work with SeqUpdate storage for our API was completely moved to OpenCTI state and at the moment SeqUpdate does not appear in environment variables or config.yml file, all work with it is done in https://github.com/Kchekh/connectors/blob/update/external-import/group-ib/src/lib/external_import.py file and with the help of state.
I ask you to check mentioned and other changes I’ve made, there are now in my repository: https://github.com/Kchekh/connectors/tree/update/external-import/group-ib