Sentinel GitHub Repositories Contribution

Copper Contributor

Hi everyone,


I've connected a GitHub repository to sentinel and I really like this feature. It is in preview still, and I've found a small bug and added some more functionality (for example support for bicep files and csv watchlists). Is there an easy way I could make a request to contribute these changes? I could not find the source for this script in the community repository of sentinel, so I thought I'll ask here. 


About the bug:

The script uses TrimEnd(".json") on filenames when trying to find parameter files. This fails to find the correct parameters.json when the ARM template end with either one of the letters from ".json" because it does not remove words, but all matching letters (TrimEnd doc). I.e. when having a template file called "Logs.json" the script would search for "Log.parameters.json" instead of "Logs.parameters.json".

0 Replies