Update detector-arguments.md to show correct argument for Python detectors#1456
Open
mnitchie wants to merge 2 commits intomicrosoft:mainfrom
Open
Update detector-arguments.md to show correct argument for Python detectors#1456mnitchie wants to merge 2 commits intomicrosoft:mainfrom
mnitchie wants to merge 2 commits intomicrosoft:mainfrom
Conversation
Correct detector-arguments.md to show the correct category for Python detectors
FernandoRojo
approved these changes
Mar 24, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the CLI documentation for --DetectorCategories to reflect the correct category name used by Python-related detectors in Component Detection.
Changes:
- Replace
PipwithPythonin the documented list of supported--DetectorCategoriesvalues.
| detectors that are going to run are the ones that | ||
| belongs to the categories.The possible values are: | ||
| Npm, NuGet, Maven, RubyGems, Cargo, Pip, GoMod, | ||
| Npm, NuGet, Maven, RubyGems, Cargo, Python, GoMod, |
There was a problem hiding this comment.
This section is presented as the output of ... help scan, but the actual CLI help text for --DetectorCategories is sourced from ScanSettings and still lists Pip (not Python). As-is, the docs will no longer match what users see when they run the command shown above; consider updating the ScanSettings option description to Python as well (or adjust this doc to avoid implying the snippet is verbatim CLI output).
Suggested change
| Npm, NuGet, Maven, RubyGems, Cargo, Python, GoMod, | |
| Npm, NuGet, Maven, RubyGems, Cargo, Pip, GoMod, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct detector-arguments.md to show the correct category for Python detectors. When using
Pip:When using
Python:$ component-detection scan --SourceDirectory . --ManifestFile ./output.json --DetectorCategories Python [17:41:47 INF] Finding components...