Move security report parameters from HAML to helper

We should move the code creating all the attributes for the vue app from HAML to a helper:

https://gitlab.com/gitlab-org/gitlab-ee/blob/c27f388e59734288c76e21eccb2755de1569663f/ee/app/views/projects/pipelines/_tabs_content.html.haml

The following discussion from !6688 (merged) should be addressed:

  • @kushalpandya started a discussion: (+4 comments)

    I know this entire block was there since beginning, but would it make sense to make entire declaration to rails helper and just use helper name here? since all of our sources are coming from Rails any way so having this chunk on HAML side is not necessary. 🙂

Assignee Loading
Time tracking Loading