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

Framework Changes for Handling Nested List of Dictionaries #1516

Merged

Conversation

SharmilaMS-Hcl
Copy link
Contributor

  1. Added changes in json_to_stix_tranlsator.py file to handle the nested list of dictionaries.
  2. Handled the failed unit test cases of the connectors based on the framework changes.

1. Added changes in json_to_stix_tranlsator.py file to handle the nested list of dictionaries.
2. Handled the failed unit test cases of the connectors based on the framework changes.
@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Patch coverage: 97.61% and no project coverage change.

Comparison is base (eab6c5b) 85.32% compared to head (ebc3b40) 85.32%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1516   +/-   ##
========================================
  Coverage    85.32%   85.32%           
========================================
  Files          672      672           
  Lines        54071    54088   +17     
========================================
+ Hits         46136    46152   +16     
- Misses        7935     7936    +1     
Impacted Files Coverage Δ
...lation/src/json_to_stix/json_to_stix_translator.py 88.32% <96.96%> (+0.38%) ⬆️
...tix_translation/test_gcp_chronicle_json_to_stix.py 100.00% <100.00%> (ø)
.../test/stix_translation/test_reaqta_json_to_stix.py 99.49% <100.00%> (-0.01%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Updated stix_shifter.py file which has the changes to  handle serialization failure of datetime.datetime object
@mdazam1942
Copy link
Member

looks like there's conflict in stix_shifter_utils/stix_translation/src/json_to_stix/json_to_stix_translator.py

…e/stix-shifter into aws_guarddduty_v1

# Conflicts:
#	stix_shifter_utils/stix_translation/src/json_to_stix/json_to_stix_translator.py
1. Removed Guardduty related changes.
2. Retained Framework related changes alone for Handling Nested objects.
3. Fixed the failing unit tests related to Framework/common file changes.
SharmilaMS-Hcl added a commit to SharmilaMS-Hcl/stix-shifter that referenced this pull request Jul 11, 2023
1. Added files for AWS GuardDuty UDI Connector module
2. Added the following files related to PR opencybersecurityalliance#1516  to avoid CI failures.
   1. json_to_stix_translator.py
   2. gcp chronicle Read me, to-stix and unit test case files
   3.  Reaqta unit test case file.
3.  Updated stix_shifter.py file for handling serialization failure of datetime.datetime object.
@SharmilaMS-Hcl SharmilaMS-Hcl marked this pull request as ready for review July 11, 2023 17:17
@mdazam1942 mdazam1942 requested a review from baulus July 14, 2023 15:22
@mdazam1942 mdazam1942 merged commit 60c24b2 into opencybersecurityalliance:develop Jul 18, 2023
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.

3 participants