data_importer/config/routes.rb

49 lines
2 KiB
Ruby
Raw Permalink Normal View History

2022-04-19 02:37:27 -05:00
# frozen_string_literal: true
2022-03-30 22:12:56 -05:00
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
2022-04-19 02:37:27 -05:00
get '/cves', to: 'cves#index'
get '/cves/:cve_id', to: 'cves#show'
get '/cves/years/:year', to: 'cves#show_year'
2022-04-19 02:37:27 -05:00
get '/cpes', to: 'cpes#index'
get '/cpes/:id', to: 'cpes#show'
2022-04-19 02:37:27 -05:00
get '/github_pocs', to: 'github_pocs#index'
get '/github_pocs/:id', to: 'github_pocs#show'
get '/github_pocs/cve/:cve_id', to: 'github_pocs#show_for_cve'
get '/github_pocs/years/:year', to: 'github_pocs#show_year'
2022-04-19 02:37:27 -05:00
get '/inthewild_cve_exploits', to: 'inthewild_cve_exploits#index'
get '/inthewild_cve_exploits/:cve_id', to: 'inthewild_cve_exploits#show'
2022-04-19 02:37:27 -05:00
get '/trickest_poc_cves', to: 'trickest_poc_cves#index'
get '/trickest_poc_cves/:id', to: 'trickest_poc_cves#show'
get '/trickest_poc_cves/cve/:cve_id', to: 'trickest_poc_cves#show_for_cve'
get '/trickest_poc_cves/years/:year', to: 'trickest_poc_cves#show_year'
2022-04-07 04:32:08 -05:00
2022-04-19 02:37:27 -05:00
get '/cvemon_cves', to: 'cvemon_cves#index'
get '/cvemon_cves/:id', to: 'cvemon_cves#show'
get '/cvemon_cves/cve/:cve_id', to: 'cvemon_cves#show_for_cve'
get '/cvemon_cves/years/:year', to: 'cvemon_cves#show_year'
2022-04-07 18:15:21 -05:00
2022-04-19 02:37:27 -05:00
get '/cnas', to: 'cnas#index'
get '/cnas/:id', to: 'cnas#show'
get '/cnas/cna/:cna_id', to: 'cnas#show_for_cna'
get '/cnas/organization_name/:organization_name', to: 'cnas#show_for_orgname'
2022-04-11 18:45:02 -05:00
2022-04-19 02:37:27 -05:00
get '/github_advisories', to: 'github_advisories#index'
get '/github_advisories/:ghsa_id', to: 'github_advisories#show'
2022-04-19 02:37:27 -05:00
get '/github_users', to: 'github_users#index'
get '/github_users/:username', to: 'github_users#show'
2022-04-20 00:22:45 -05:00
get '/gsds', to: 'gsds#index'
get '/gsds/:gsd_id', to: 'gsds#show'
2022-04-20 13:22:22 -05:00
get '/gsds/years/:year', to: 'gsds#show_year'
2022-04-27 01:11:36 -05:00
get '/cisa_known_exploits', to: 'cisa_known_exploits#index'
2022-04-27 01:31:57 -05:00
get '/cisa_known_exploits/vulnerabilities/:cve_id', to: 'cisa_known_exploits#show'
get '/cisa_known_exploits/vulnerabilities/product/:product_name', to: 'cisa_known_exploits#show_product'
2022-03-30 22:12:56 -05:00
end