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

Remove KeyError bug #67

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Remove KeyError bug #67

merged 1 commit into from
Sep 17, 2024

Conversation

castaples
Copy link
Contributor

When attempting to import a STIX file to MISP we got a KeyError, traced to the file external_stix2_to_misp.py, checking if the key exists before trying to access it removes the unhandled error, we were then able to import our STIX file.

@castaples
Copy link
Contributor Author

@chrisr3d please can you review

@chrisr3d chrisr3d merged commit 1b3909b into MISP:main Sep 17, 2024
4 checks passed
@chrisr3d
Copy link
Member

That makes sense, thank you

@castaples castaples deleted the remove-keyerror branch September 17, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants