Skip to content

Commit 21fbfa0

Browse files
cdupuisanother-rex
andauthored
Add DHI ecosystem (#4388)
Adding new ecosystem for Docker Hardened Images. relates to #4387. Signed-off-by: Christian Dupuis <cd@docker.com> Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>
1 parent 27b976f commit 21fbfa0

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

osv/ecosystems/_ecosystems.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
'CRAN': CRAN,
4646
'crates.io': SemverEcosystem,
4747
'Debian': Debian,
48+
'Docker Hardened Images': SemverEcosystem,
4849
'Echo': DPKG,
4950
'GHC': GHC,
5051
'Go': SemverEcosystem,

osv/purl_helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
EcosystemPURL('deb', 'echo'),
4949
'Debian':
5050
EcosystemPURL('deb', 'debian'),
51+
'Docker Hardened Images':
52+
EcosystemPURL('dhi', None),
5153
# GHC
5254
# GIT
5355
# GitHub Actions

0 commit comments

Comments
 (0)