[Frontend] CSfR value not being used correctly in Security inventory
The container scanning for registry (CSfR) setting is stored in the database under security_setting, and is not tracked or maintained in the analyzer_statuses table.
The Project type will expose this setting once [Backend] Add container scanning for registry G... (#547607 - closed) • Gal Katz • 18.1 will be merged.
Currently, the frontend renders CSfR as if it's a pipeline-based analyzer, showing fields like "last scan" and "pipeline job" even though CSfR does not provide those fields.
Example:
We should:
- Add the new GraphQL field to the
SubgroupsAndProjectsGraphQL query. - Use this value to determine CSfR scanner status (enabled/disabled).
- Update the CS popover to exclude "last scan" and "pipeline job" fields.
Edited by 🤖 GitLab Bot 🤖
