Convert security CI jobs to the rules syntax
This is a temporary fix based on https://docs.gitlab.com/ee/user/application_security/#pin-your-templates-to-the-deprecated-versions
Edited by Alessio Caiazza
This is a temporary fix based on https://docs.gitlab.com/ee/user/application_security/#pin-your-templates-to-the-deprecated-versions