Skip to content
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

[WIZ] Init Connector #2893

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Renizmy
Copy link
Contributor

@Renizmy Renizmy commented Nov 1, 2024

Proposed changes

  • Create Wiz external import connector

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality using different use cases
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

@yassine-ouaamou yassine-ouaamou added the community use to identify PR from community label Nov 12, 2024
external-import/wiz/entrypoint.sh Outdated Show resolved Hide resolved
external-import/wiz/README.md Outdated Show resolved Hide resolved
@Renizmy
Copy link
Contributor Author

Renizmy commented Nov 17, 2024

Done,

I noticed an issue. In the UI, the number of operation inside a work is not correct:

image

Do you have an idea how I could fix it ?

@helene-nguyen
Copy link
Member

@Renizmy yes, we can help. To better assist you, could you clarify what you’re expecting here?

Done,

I noticed an issue. In the UI, the number of operation inside a work is not correct:

image

Do you have an idea how I could fix it ?

@Renizmy
Copy link
Contributor Author

Renizmy commented Nov 20, 2024

@helene-nguyen, I am maybe wrong but I expect to see the number of bundles sent in this work context (run) ?

Comment on lines 138 to 147
bundles_sent = self.helper.send_stix2_bundle(
stix_objects_bundle, update=True
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Renizmy Ok, I see. You need to add the work ID that you have initiated before to allow OpenCTI to identify the job to be processed

Suggested change
bundles_sent = self.helper.send_stix2_bundle(
stix_objects_bundle, update=True
)
bundles_sent = self.helper.send_stix2_bundle(
stix_objects_bundle,
work_id=work_id
update=True
)

@Renizmy Renizmy force-pushed the feat/wiz-create-connector branch from 15645cb to 188aebb Compare November 22, 2024 14:07
@Renizmy
Copy link
Contributor Author

Renizmy commented Dec 10, 2024

@helene-nguyen, I had to force push all commits to sign each of them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community use to identify PR from community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants