def get_ip_restrictions(self, subject, repo):
        """ Gets whitelisted and blacklisted CIDRs.

        :param subject: repository owner
        :param repo: repository name