From 80fc5a2c35276c68d502142a5614438a64dd34ce Mon Sep 17 00:00:00 2001 From: MaineK00n Date: Wed, 29 Jun 2022 14:27:31 +0000 Subject: [PATCH] feat(ghsa): add Erlang/Elixir advisory (#165) --- ghsa/ghsa.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghsa/ghsa.go b/ghsa/ghsa.go index 2858363..b7f3f38 100644 --- a/ghsa/ghsa.go +++ b/ghsa/ghsa.go @@ -29,7 +29,8 @@ var ( Pip SecurityAdvisoryEcosystem = "PIP" Rubygems SecurityAdvisoryEcosystem = "RUBYGEMS" Go SecurityAdvisoryEcosystem = "GO" - Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go} + Erlang SecurityAdvisoryEcosystem = "ERLANG" + Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang} wait = func(i int) time.Duration { sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10)