Add AppJsonLogger warning message when Ubuntu version is not found for CVS for Container Scanning
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
As discussed here, we should add a Gitlab::AppJsonLogger warning message when the given version of ubuntu is not found:
[version, version.delete_suffix('-ESM')].each do |ver|
return ver if UBUNTU_VERSIONS.include?(ver)
end
Gitlab::AppJsonLogger.warn(class: self.class.name,
message: "Ubuntu version not found",
version: version)
version
We can then set up some type of monitoring for this warning message, to alert us that we need to update the UBUNTU_VERSIONS set.
Edited by 🤖 GitLab Bot 🤖