Skip to content

Add model for auto-fix settings

Tetiana Chupryna requested to merge 215668-settings-auto-fix into master

What does this MR do?

For #215668 (closed) we need to store auto-fix settings.

In this MR, a separate mode ProjectSecuritySetting is created. In the future, it will contain as well other settings for Security & Compliance page.

Migration

➜  rails db:migrate 
== 20200519124252 CreateProjectSecuritySettings: migrating ====================
-- create_table(:project_security_settings)
   -> 0.0154s
== 20200519124252 CreateProjectSecuritySettings: migrated (0.0254s) ===========


➜  rails db:rollback
== 20200519124252 CreateProjectSecuritySettings: reverting ====================
-- drop_table(:project_security_settings)
   -> 0.0033s
== 20200519124252 CreateProjectSecuritySettings: reverted (0.0126s) ===========

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Mayra Cabrera

Merge request reports