It looks like the supported properties in [`App.InstallationPermissions`](https://github.com/google/go-github/blob/master/github/apps.go#L60) struct used by [`App.CreateInstallationToken`](https://github.com/google/go-github/blob/master/github/apps.go#L264)[(Doc)](https://docs.github.com/en/rest/reference/apps#create-an-installation-access-token-for-an-app) is out of date. Properties listed in API document (same for both Enterprise v3 and Github.com version) but missing in implementation are: - `environments` - `secret_scanning_alerts` - `secrets` - `security_events` - `workflows` - `organization_secrets` - `organization_self_hosted_runners` ### Docs API references can be found in **_Properties of the permissions object_** section in both [Enterprise 3.0](https://docs.github.com/en/rest/reference/apps#create-an-installation-access-token-for-an-app) and [Github.com](https://docs.github.com/en/enterprise-server@3.0/rest/reference/apps#create-an-installation-access-token-for-an-app) ### Proposal Update permission properties list to add new fields included in latest API Documents to [`App.InstallationPermissions`](https://github.com/google/go-github/blob/master/github/apps.go#L60)