From 04e0f7ae3dec1c87e9a5b771882fe97e0dc7977e Mon Sep 17 00:00:00 2001 From: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Date: Mon, 2 Jan 2023 18:35:42 +0300 Subject: [PATCH] feat(ghsa): add pub ecosystem (#186) --- ghsa/ghsa.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghsa/ghsa.go b/ghsa/ghsa.go index 771ec38..e12d904 100644 --- a/ghsa/ghsa.go +++ b/ghsa/ghsa.go @@ -31,7 +31,8 @@ var ( Go SecurityAdvisoryEcosystem = "GO" Rust SecurityAdvisoryEcosystem = "RUST" Erlang SecurityAdvisoryEcosystem = "ERLANG" - Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang, Rust} + Pub SecurityAdvisoryEcosystem = "PUB" + Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang, Rust, Pub} wait = func(i int) time.Duration { sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10)