Skip to content

Resolve "[DevOps Adoption] Migrate table to a configuration object"

What does this MR do?

This MR migrates the Devops Adoption table to an model where we can control the entire table using an object.

Screenshots (strongly suggested)

There are no visual changes here, but this MR allows us to easily modify and iterate on the DEVOPS_ADOPTION_TABLE_CONFIGURATION array, generating tables on the fly. This will be needed in order to auto build the required Dev Sec Ops tables as referenced in the related issue.

See example below;

Split configuration Iterating the config object (instead of forcing the first index - this iteration) Auto generated tests
Screenshot_2021-05-06_at_17.43.26 Screenshot_2021-05-06_at_17.43.10 Screenshot_2021-05-07_at_14.12.14

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

Related to #326480 (closed)

Edited by Brandon Labuschagne

Merge request reports