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

implement STIX2 support #4

Merged
merged 6 commits into from
Mar 22, 2021
Merged

implement STIX2 support #4

merged 6 commits into from
Mar 22, 2021

Conversation

satta
Copy link
Member

@satta satta commented Mar 18, 2021

This PR adds support for the STIX2 data transfer format required by newer Threat Bus versions. It adds config item threatbus.format to switch between legacy and stix2 behaviour.

Currently, STIX2 indicators for the TIE types DomainName, URLVerbatim, IPv4, IPv6, FileName and EMail are implemented.

Closes #3.

@satta satta added the enhancement New feature or request label Mar 18, 2021
@satta satta requested a review from 0snap March 18, 2021 18:48
Copy link

@0snap 0snap left a comment

Choose a reason for hiding this comment

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

Tests check out for me, looking good!

ioc_converter_stix.go Outdated Show resolved Hide resolved
Copy link

@0snap 0snap left a comment

Choose a reason for hiding this comment

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

I ran the tests and all check out for me.

@satta satta merged commit 1c8274d into main Mar 22, 2021
@satta satta deleted the stix2 branch March 22, 2021 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for STIX-2 submissions
2 participants