r/GithubCopilot • u/torstenz_ • 24d ago
Help/Doubt ❓ Sandbox mode configuration
Hi! I am investigating how we can provide a basic setup which we can versioncontrol with sandbox settings for the copilot cli so that we all in our team gets the same basic hardening. Have looked everywhere but this seems really impossible without enterprise solutions. What paths can we go to try to solve this issue?
2
Upvotes
2
u/CommentFast5362 23d ago
you do not need an Enterprise license for this. The GitHub Copilot managed settings JSON file is read directly by the Copilot CLI, App, and VS Code clients. Commit that JSON configuration to your repository root. Every team member picks up those path restrictions automatically on their next session start without any extra admin setup or paid features
2
u/Lonsarg 24d ago edited 24d ago
Here in documentation it says Github Copilot Managed Settings can be deployed via json file that all Copilot Clients (CLI, App, VS) will read, meaning no need for Github Copilot Enterprise Licence/account: https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/use-managed-settings/deploy-managed-settings
(I have not investigated further so i do not know where exactly the details are documented)
You will have to make some custom manual or automatic deployment script to copy that file. Can be a simple powershell script living in some repo that everyone has to pull and run on every update (that is how we share LLM skills in our team at the moment, just a script that copies skills to C/Users/*).
0
u/AutoModerator 24d ago
Hello /u/torstenz_. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.