The return type of `GetDefaultCodeSecurityConfigurations` should return `[]*CodeSecurityConfigurationWithDefaultForNewRepos` to align with the API response schema: https://docs.github.com/en/rest/code-security/configurations?apiVersion=2022-11-28#get-default-code-security-configurations I can create a PR for this if you agree with the problem, this would also be a breaking change I guess.