mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 00:43:20 +01:00
type: add PythonPkg types for requirements-based packages
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
f8a2b7a626
commit
50eae46d37
@ -9,6 +9,7 @@ const (
|
|||||||
//PacmanPkg
|
//PacmanPkg
|
||||||
RpmPkg
|
RpmPkg
|
||||||
WheelPkg
|
WheelPkg
|
||||||
|
PythonRequirementsPkg
|
||||||
JavaPkg
|
JavaPkg
|
||||||
JenkinsPluginPkg
|
JenkinsPluginPkg
|
||||||
)
|
)
|
||||||
@ -24,6 +25,7 @@ var typeStr = []string{
|
|||||||
//"pacman",
|
//"pacman",
|
||||||
"rpm",
|
"rpm",
|
||||||
"wheel",
|
"wheel",
|
||||||
|
"python-requirements",
|
||||||
"java-archive",
|
"java-archive",
|
||||||
"jenkins-plugin",
|
"jenkins-plugin",
|
||||||
}
|
}
|
||||||
@ -36,6 +38,7 @@ var AllPkgs = []Type{
|
|||||||
//PacmanPkg,
|
//PacmanPkg,
|
||||||
RpmPkg,
|
RpmPkg,
|
||||||
WheelPkg,
|
WheelPkg,
|
||||||
|
PythonRequirementsPkg,
|
||||||
JavaPkg,
|
JavaPkg,
|
||||||
JenkinsPluginPkg,
|
JenkinsPluginPkg,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user