Building deb package

Hello, our company uses grafana, I am working on static analysis. Right now I have a task to scan grafana(because our company use grafana) with static analyser, that catch files through the command, which builds deb packages. Is there any guide how to build grafana deb package?

might this be of help?

also there is a deb already built for you, any reason you want to do it?

https://dl.grafana.com/enterprise/release/grafana-enterprise_11.3.0_amd64.deb