From ea064dac6a96d70a2f13e2b582ac271e56fcc440 Mon Sep 17 00:00:00 2001 From: afdesk Date: Thu, 25 Aug 2022 12:49:16 +0600 Subject: [PATCH] feat: add Rust ecosystem from GitHub Advisory Database (#174) --- ghsa/ghsa.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghsa/ghsa.go b/ghsa/ghsa.go index b7f3f38..771ec38 100644 --- a/ghsa/ghsa.go +++ b/ghsa/ghsa.go @@ -29,8 +29,9 @@ var ( Pip SecurityAdvisoryEcosystem = "PIP" Rubygems SecurityAdvisoryEcosystem = "RUBYGEMS" Go SecurityAdvisoryEcosystem = "GO" + Rust SecurityAdvisoryEcosystem = "RUST" Erlang SecurityAdvisoryEcosystem = "ERLANG" - Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang} + Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang, Rust} wait = func(i int) time.Duration { sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10)