ISSUE
While attempting to set the "Advanced Security" to enabled for a public repo, it was noticed that this is explicitly denied in code. The assumption stated is that public repos have already been set to have Advanced Security, but this is not the case when the Terraform had run.