Sha256: dfe290a86fde145ff12cce7eadce41ce53cfb644fd8927fbd939fa023c0e0e51
Contents?: true
Size: 543 Bytes
Versions: 16
Compression:
Stored size: 543 Bytes
Contents
# If you use Gemnasium, you can pull CVE advisories in as Alerts. require_relative "../../lib/gemnasium-alert" Houston::Alerts.config.sync :open, "cve", every: "5m" do Gemnasium::Alert.open.map { |alert| advisory = alert["advisory"] { key: "#{alert["project_slug"]}-#{advisory["id"]}", number: advisory["id"], project_slug: alert["project_slug"], summary: advisory["title"], environment_name: "production", url: "https://gemnasium.com/#{alert["project_id"]}/alerts#advisory_#{advisory["id"]}" } } end
Version data entries
16 entries across 16 versions & 1 rubygems