Sentinel Source Control Through ARM Template
Hi, I've been running into some issues while trying to build an ARM template which links a Sentinel instance to Azure DevOps using Microsoft.SecurityInsights/sourcecontrols. I've got it to the stage where it now seems to need authentication to access the private repo, outputting this error: "The repoOAuthCode field is required." this isn't referenced in any docs from what I can see.
I've looked into how the connection between Sentinel and the DevOps Repo is established in the UI by looking at the Network events via F12, I can see that the repoOAuthcode appears to be the same as the Authentication Bearer token in the API requests that Azure makes I was hoping that the PAT in Azure DevOps would work for this in the ARM template but it seems to instead be an Application client secret that you have to create and then I'm not confident that I could add in the token to the ARM template as there isn't any any authentication variables supported in the Schema for source control.
Any nudge in the right direction would be really appreciated.