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

Added new property internal:siemens:clearing:sw360:exclude to exclude components from Sw360, but retain them in the SBOM #245

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

crvreddy
Copy link
Collaborator

@crvreddy crvreddy commented Jan 31, 2025

Added logic to handle Purl exclusion for components in appsettings.
Introduced a new property, internal:siemens:clearing:sw360:exclude, to exclude components from SW360 while retaining them in the SBOM.
Updated test cases accordingly.

@adityanarayanp adityanarayanp changed the title Added new property while Exclude components contain Purl Added new property internal:siemens:clearing:sw360:exclude to exclude components from Sw360, but retain them in the SBOM Jan 31, 2025
@@ -297,25 +297,32 @@ private static string Sw360URL(string sw360Env, string releaseId)
return sw360URL;
}

private static List<Component> RemoveExcludedComponentsFromPurl(List<Component> ComponentList, List<string> ExcludedComponentsFromPurl, ref int noOfExcludedComponents)
private static List<Component> ValidateExcludedComponentsFromPurl(List<Component> ComponentList, List<string> ExcludedComponentsFromPurl, ref int noOfExcludedComponents)
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be add

@adityanarayanp adityanarayanp self-assigned this Jan 31, 2025
@adityanarayanp adityanarayanp added enhancement New feature or request Importance Low Minor Impact labels Jan 31, 2025
@adityanarayanp adityanarayanp added this to the 8.0.0 milestone Jan 31, 2025
@crvreddy crvreddy merged commit 536e1be into development Jan 31, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Importance Low Minor Impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants