Skip to content

Conversation

@sebasgomez238
Copy link
Contributor

Proposal to add a DI extension method that adds the sbom-tool services separately from the component-detection servicees.

This is not a breaking change since any uses of .AddSbomTool() will continue to work the same as before.

@sebasgomez238 sebasgomez238 requested a review from a team as a code owner December 19, 2025 17:37
return services;
}

public static IServiceCollection AddSbomTool(this IServiceCollection services, LogEventLevel logLevel = LogEventLevel.Information)
Copy link
Member

Choose a reason for hiding this comment

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

The fact that registering AddComponentDetection twice breaks things feels like a CD bug, and therefore should be fixed on the CD side. We should not have to account for this issue as the consumer.

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