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
FeedTAXII2: return report object with the relationships #27860
FeedTAXII2: return report object with the relationships #27860
Conversation
name='related-to', | ||
entity_a=report_obj.get('name'), | ||
entity_a_type='Report', | ||
entity_b=relation_type_and_id[1], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't relate to a hash, its an invalid value for all types. We have to search the actual STIX envelope for the object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just need to check it live
…pe/XSUP-25648/return_report_with_relationships
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done
* retrun report with relationships * remove the sub reporct condition * add correct relationship * CR changes * test + changes * update RN * fix linter * Update Packs/FeedTAXII/ReleaseNotes/1_1_28.md Co-authored-by: Dean Arbel <darbel@paloaltonetworks.com> * fix RN * fix test * fix RN --------- Co-authored-by: Dean Arbel <darbel@paloaltonetworks.com>
Related Issues
fixes: https://jira-hq.paloaltonetworks.local/browse/XSUP-25648
Description
Return the report object with it's relationships.