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

[Urlscan] Create an enrichment connector #2155

Merged
merged 6 commits into from
May 29, 2024
Merged

Conversation

Megafredo
Copy link
Member

Proposed changes

  • Creating an enrichment connector for URLScan

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

Further comments

@Megafredo Megafredo added the filigran team use to identify PR from the Filigran team label May 22, 2024
@Megafredo Megafredo self-assigned this May 22, 2024
@Megafredo Megafredo linked an issue May 22, 2024 that may be closed by this pull request
@helene-nguyen helene-nguyen added this to the Release 6.2.0 milestone May 29, 2024
Comment on lines +131 to +136
if is_submission is True:
prepared_file_png = (
self.utils.prepare_file_png(data)
if self.config.import_screenshot
else None
)
Copy link
Member

Choose a reason for hiding this comment

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

When import_screenshot configuration is false, sending None seems to cause an error when enriching an observable

image

In the worker:
image

@helene-nguyen
Copy link
Member

All good for me, tested locally and it works fine :)

@Megafredo Megafredo merged commit 0999fca into master May 29, 2024
3 checks passed
@Megafredo Megafredo deleted the opencti/issue/1103-urlscan branch May 29, 2024 14:06
@SamuelHassine SamuelHassine removed this from the Release 6.2.0 milestone May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create an enrichment connector for urlscan.io
3 participants