Commit 1254c37f authored by Tetiana Chupryna's avatar Tetiana Chupryna

Move SAST path to CE

As SAST scanner became a free one,
we need to move it's configuration path to
CE section of the codebase.
parent 8f92de9c
...@@ -38,7 +38,9 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -38,7 +38,9 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end end
namespace :security do namespace :security do
resource :configuration, only: [:show], controller: :configuration resource :configuration, only: [:show], controller: :configuration do
resource :sast, only: [:show], controller: :sast_configuration
end
end end
resources :artifacts, only: [:index, :destroy] resources :artifacts, only: [:index, :destroy]
......
...@@ -64,7 +64,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -64,7 +64,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resource :configuration, only: [], controller: :configuration do resource :configuration, only: [], controller: :configuration do
post :auto_fix, on: :collection post :auto_fix, on: :collection
resource :corpus_management, only: [:show], controller: :corpus_management resource :corpus_management, only: [:show], controller: :corpus_management
resource :sast, only: [:show], controller: :sast_configuration
resource :api_fuzzing, only: :show, controller: :api_fuzzing_configuration resource :api_fuzzing, only: :show, controller: :api_fuzzing_configuration
resource :dast_scans, only: [:show], controller: :dast_profiles do resource :dast_scans, only: [:show], controller: :dast_profiles do
resources :dast_site_profiles, only: [:new, :edit] resources :dast_site_profiles, only: [:new, :edit]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment