diff --git a/tools/osv-linter/internal/pkgchecker/ecosystems.go b/tools/osv-linter/internal/pkgchecker/ecosystems.go index bc406b9..941b829 100644 --- a/tools/osv-linter/internal/pkgchecker/ecosystems.go +++ b/tools/osv-linter/internal/pkgchecker/ecosystems.go @@ -29,7 +29,7 @@ func ExistsInEcosystem(pkg string, ecosystem string) bool { return true case "Bitnami": return true - case "ChainGuard": + case "Chainguard": return true case "CRAN": return true @@ -92,7 +92,7 @@ func VersionsExistInEcosystem(pkg string, versions []string, ecosystem string) e return nil case "Bitnami": return nil - case "ChainGuard": + case "Chainguard": return nil case "CRAN": return nil diff --git a/validation/schema.json b/validation/schema.json index 9a1520e..9645387 100644 --- a/validation/schema.json +++ b/validation/schema.json @@ -300,7 +300,7 @@ "type": "string", "title": "Currently supported ecosystems", "description": "These ecosystems are also documented at https://ossf.github.io/osv-schema/#affectedpackage-field", - "pattern": "^(AlmaLinux|Alpine|Android|Bioconductor|Bitnami|Chainguard|ConanCenter|CRAN|crates.io|Debian|GHC|GitHub Actions|GIT|Go|Hackage|Hex|Linux|Maven|npm|NuGet|openSUSE|OSS-Fuzz|Packagist|Photon OS|Pub|PyPI|Red Hat|Rocky Linux|RubyGems|SUSE|SwiftURL|Ubuntu)(:[[:digit:]]+)?" + "pattern": "^(AlmaLinux|Alpine|Android|Bioconductor|Bitnami|Chainguard|ConanCenter|CRAN|crates.io|Debian|GHC|GitHub Actions|GIT|Go|Hackage|Hex|Linux|Maven|npm|NuGet|openSUSE|OSS-Fuzz|Packagist|Photon OS|Pub|PyPI|Red Hat|Rocky Linux|RubyGems|SUSE|SwiftURL|Ubuntu|Wolfi)(:[[:digit:]]+)?" }, "prefix": { "type": "string",