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

enhance testing around cyclonedx ingestion #940

Closed
wants to merge 1 commit into from

Conversation

JimFuller-RedHat
Copy link
Collaborator

No description provided.

@JimFuller-RedHat JimFuller-RedHat self-assigned this Oct 23, 2024
@@ -134,7 +134,7 @@ pub async fn get_relationships(
LEFT JOIN
sbom_package_purl_ref t2 ON sbom.sbom_id = t2.sbom_id AND t2.node_id = package_relates_to_package.right_node_id
WHERE
package_relates_to_package.relationship IN (0, 8, 14)
package_relates_to_package.relationship IN (0, 1, 8, 14)
Copy link
Contributor

Choose a reason for hiding this comment

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

What does the added 1 mean?

Copy link
Collaborator Author

@JimFuller-RedHat JimFuller-RedHat Oct 24, 2024

Choose a reason for hiding this comment

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

matches relationship enum (which in this case is what cyclonedx uses)

@JimFuller-RedHat JimFuller-RedHat marked this pull request as draft October 24, 2024 04:07
@JimFuller-RedHat JimFuller-RedHat deleted the cyclonedx-analysis-graph branch October 24, 2024 06:32
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.

2 participants