Github-allow access to specific repository

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Github-allow access to specific repository

L4 Transporter

How do I block all Github but allow access to a specific repository? For eg. I want to allow https://github.com/cisagov and block all github using a single URL filtering policy. How can I do that? 

 

I added github.com/* to custom URL list and set it to block.Created another security policy with a custom URL list containing the specific github page and set the action to allow. I was able to get to the page but the contents inside the page are incomplete. I am showing github pages render content from different pages like avatars.githubusercontent.com, github.githubassets.com etc. 

How can I keep up with the change in future if I allow the extra sites for now? 

Is there are any best way I can achieve this?

 

TIA.

2 REPLIES 2

Community Team Member

Hi @SThatipelly ,

 

I don't see a way to have this automated. 

I can only think about making the changes manually.

 

Cheers,

-Kiwi.

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

L6 Presenter

You may try making custom app-id signature for a REFERER Header. The idea is if the request for example for  avatars.githubusercontent.com  was made by the main URL https://github.com/cisagov then to allow it. If the user tries to access directly avatars.githubusercontent.com they should be blocked.

 

 

I have made post suggesting how this can be done:

 

https://live.paloaltonetworks.com/t5/automation-api-discussions/version-10-no-7-byte-limit-for-sinat...

  • 4326 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!