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

FeedTAXII2: return report object with the relationships #27860

Merged
merged 12 commits into from Jul 4, 2023

Conversation

ilappe
Copy link
Contributor

@ilappe ilappe commented Jul 2, 2023

Related Issues

fixes: https://jira-hq.paloaltonetworks.local/browse/XSUP-25648

Description

Return the report object with it's relationships.

@ilappe ilappe requested a review from Ni-Knight July 2, 2023 20:44
@ilappe ilappe self-assigned this Jul 2, 2023
name='related-to',
entity_a=report_obj.get('name'),
entity_a_type='Report',
entity_b=relation_type_and_id[1],
Copy link
Contributor

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.

@ilappe ilappe requested a review from Ni-Knight July 3, 2023 10:22
Copy link
Contributor

@Ni-Knight Ni-Knight left a 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

@ilappe ilappe marked this pull request as ready for review July 4, 2023 11:23
@ilappe ilappe requested a review from DeanArbel July 4, 2023 11:23
Copy link
Contributor

@DeanArbel DeanArbel left a comment

Choose a reason for hiding this comment

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

Well done

Packs/FeedTAXII/ReleaseNotes/1_1_28.md Outdated Show resolved Hide resolved
ilappe and others added 4 commits July 4, 2023 14:30
@ilappe ilappe merged commit 91cf200 into master Jul 4, 2023
14 checks passed
@ilappe ilappe deleted the ilappe/XSUP-25648/return_report_with_relationships branch July 4, 2023 20:24
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Jul 26, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants