Backport of EE "Show secure results on environments page, backend"
What does this MR do?
Introduce needed changes in CE for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6987
Edited by Gilbert Roulot
Introduce needed changes in CE for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6987