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

[backend] Improve id generation for STIX elements #8671

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

richard-julien
Copy link
Member

@richard-julien richard-julien commented Oct 15, 2024

Improve id generation for STIX elements
Add more dependencies
Adapt the graphql model
Add relationship and sighting generation

Related PR
OpenCTI-Platform/connectors#2786
OpenCTI-Platform/client-python#748

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.11%. Comparing base (66fa73c) to head (cc267d4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8671      +/-   ##
==========================================
+ Coverage   66.06%   66.11%   +0.05%     
==========================================
  Files         597      597              
  Lines       60913    60962      +49     
  Branches     6206     6221      +15     
==========================================
+ Hits        40241    40305      +64     
+ Misses      20672    20657      -15     

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

const relationshipLocatedAt = objects.filter((o) => o.relationship_type === 'located-at');
expect(relationshipLocatedAt.length)
.toBe(130);
.toBe(125);
Copy link
Member

Choose a reason for hiding this comment

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

why do we get less relationships in this test ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants