An error occurred while fetching the assigned iteration of the selected issue.
Restructure gcs codebase with EE directory
Why are we doing this work
GitLab Enterprise Edition includes Container Scanning. We are will move it to Core to fulfill our stewardship promise.
This issue will address the updates needed in gcs analyzer to distinguish features that are allowed for EE and for free.
Relevant links
- Epic: &2233 (closed)
Non-functional requirements
- Documentation:
- Feature flag:
- Performance:
-
Testing:
- Test if Auto-Remediation and Vulnerability Allow-list works only for EE user
Implementation plan
-
backend Create directory
ee
in the project directory and move lib/gcs/remediations/* and lib/gcs/allow_list.rb to the new directory. Also move the respective specs -
backend Create
is_ee?
helper which checks ifcontainer_scanning
is available inGITLAB_FEATURES
environment variable and use it in lib/gcs/plugin/container_scan.rb and lib/gcs/converter.rb