Skip to content
Snippets Groups Projects

Extend DastSiteProfile with more config options

All threads resolved!
Compare and Show latest version
7 files
+ 28
13
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -11,16 +11,13 @@ def up
@@ -11,16 +11,13 @@ def up
with_lock_retries do
with_lock_retries do
add_column :dast_site_profiles, :authentication_enabled, :boolean, default: false, null: false
add_column :dast_site_profiles, :authentication_enabled, :boolean, default: false, null: false
add_column :dast_site_profiles, :excluded_urls, :text
add_column :dast_site_profiles, :excluded_urls, :text
add_column :dast_site_profiles, :request_headers, :text
end
end
add_text_limit :dast_site_profiles, :excluded_urls, 1024
add_text_limit :dast_site_profiles, :excluded_urls, 1024
add_text_limit :dast_site_profiles, :request_headers, 1024
end
end
def down
def down
with_lock_retries do
with_lock_retries do
remove_column :dast_site_profiles, :request_headers
remove_column :dast_site_profiles, :excluded_urls
remove_column :dast_site_profiles, :excluded_urls
remove_column :dast_site_profiles, :authentication_enabled
remove_column :dast_site_profiles, :authentication_enabled
end
end
Loading