Skip to content

Convert temporary constant to permament

Alexander Turinske requested to merge 365579-update-todo into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Convert temporary constant to permament

I no longer think creating an API to pass up the supported scanners is the right path forward for a couple of reasons:

  • this list would be used for the dropdown in rule mode, but by design, rule mode does not support everything yaml mode allows (e.g. cron). if the backend adds a new feature, we should not assume that rule mode will inherently support it, which is what we would be doing with this list of scanners
  • the list of supported scanners is already in the official schema, which is already retrieved by the frontend, so we could probably reuse that

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screen_Shot_2022-10-10_at_1.21.59_PM No visual change

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Security & Compliance => Policies => New policy => Scan execution
  3. Mess with the actions builder

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #365579 (closed)

Merge request reports

Loading