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

Fix fsct relationship issue #340

Merged

Conversation

viveksahu26
Copy link
Collaborator

@viveksahu26 viveksahu26 commented Oct 31, 2024

This PR includes the following checks:

  • It verifies if a component is part of the primary dependencies:
    • If it is:
      • The compIsPartOfPrimaryDependency flag is set to true.
      • It then checks if the component has direct dependencies:
        • If it does, the compWithDirectDependency flag is set to true.
    • If it is not:
      • The compIsPartOfPrimaryDependency flag is set to false.

Other:

  • ValidRelationshipProvidedForPrimaryComp set to true: if the dependencies of primary comp is provided as well as those dependencies are listed in the SBOM component list.

Maturity Level:

  • Recommended: if a comp is a part of primary comp dependencies as well as comp has direct dependencies && ValidRelationshipProvidedForPrimaryComp as true.
  • Minimum: if a comp is a part of primary comp dependencies with zero direct dependencies && ValidRelationshipProvidedForPrimaryComp as true.
  • NONE: if comp is not a part of primary comp dependencies or ValidRelationshipProvidedForPrimaryComp as false.

NOTE: In some cases, the maturity level may be labeled as "Minimum," with the Component Relationship field left empty. This indicates that the component is part of the primary component's dependencies but has no additional direct or indirect dependencies. Here, the term "included-in" can be used. By replacing the empty Component Relationship field with "included-in," it becomes self-explanatory and clarifies the component’s relationship. For now it's empty, but if you suggest then we can add it. Also reference for that.

@riteshnoronha riteshnoronha merged commit ecf0046 into interlynk-io:main Oct 31, 2024
1 of 2 checks passed
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