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

add email-message translation to ecs #1621

Merged

Conversation

subbyte
Copy link
Member

@subbyte subbyte commented Nov 29, 2023

No description provided.

@subbyte
Copy link
Member Author

subbyte commented Nov 29, 2023

Partially resolve #1518

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fe810d0) 86.00% compared to head (a8486ac) 86.01%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1621   +/-   ##
========================================
  Coverage    86.00%   86.01%           
========================================
  Files          572      572           
  Lines        48676    48710   +34     
========================================
+ Hits         41862    41896   +34     
  Misses        6814     6814           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

observed_data = translation_objects[1]
stix_objects = observed_data.get("objects")
assert len(stix_objects) == 8
Copy link
Member

Choose a reason for hiding this comment

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

i would put more specific test to verify if the objects are created correctly.

Copy link
Member Author

Choose a reason for hiding this comment

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

More specific tests added.

@mdazam1942 mdazam1942 merged commit 30ba487 into opencybersecurityalliance:develop Nov 29, 2023
5 checks passed
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.

None yet

2 participants