Inspect allows you to provide branch names so that you can distinguish analysis results for one branch from another.
To include branch in formation in the results generated by Inspect:
Obtain the branch name from your version control system. For example, Git allows you to do this using
git rev-parse --addrev-ref HEAD1.
Add the branch name you obtained in the previous step to the script you use to automate the running of Inspect using the
--tag option (i.e.,
sl analyze --tag branch=<branchname>
At this point, ShiftLeft will include the branch name when displaying results from your code analyses in the Dashboard.