Github with sonarqube CE

We are planning to setup a SonarQube CE on a AWS EC2 instances, and we wanted to restrict only GitHub in a security group. What are the ip-address or how can we restrict to use only GitHub, and we are using GitHub enterprise version