Skip to content

Conversation

mnitchie
Copy link

@mnitchie mnitchie commented Aug 4, 2025

Correct detector-arguments.md to show the correct category for Python detectors. When using Pip:

$ omponent-detection scan --SourceDirectory . --ManifestFile ./output.json --DetectorCategories Pip
[17:29:15 ERR] An error occurred while executing the command
Microsoft.ComponentDetection.Orchestrator.Exceptions.InvalidDetectorCategoriesException: Categories Pip did not match any available detectors.
   at Microsoft.ComponentDetection.Orchestrator.Services.DetectorRestrictionService.ApplyRestrictions(DetectorRestrictions restrictions, IEnumerable`1 detectors)
   at Microsoft.ComponentDetection.Orchestrator.Services.ScanExecutionService.ExecuteScanAsync(ScanSettings settings)
   at Microsoft.ComponentDetection.Orchestrator.Commands.ScanCommand.ExecuteAsync(CommandContext context, ScanSettings settings)
   at Spectre.Console.Cli.CommandExecutor.Execute(CommandTree leaf, CommandTree tree, CommandContext context, ITypeResolver resolver, IConfiguration configuration) in /_/src/Spectre.Console.Cli/Internal/CommandExecutor.cs:line 166

When using Python:

$ component-detection scan --SourceDirectory . --ManifestFile ./output.json --DetectorCategories Python
[17:41:47 INF] Finding components...

Correct detector-arguments.md to show the correct category for Python detectors
@mnitchie mnitchie requested a review from a team as a code owner August 4, 2025 17:48
@mnitchie mnitchie requested a review from AMaini503 August 4, 2025 17:48
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.

1 participant