Skip to content

Commit 76a0870

Browse files
authored
Updates for strictKnownMarketplaces (#61879)
1 parent 34dbca9 commit 76a0870

1 file changed

Lines changed: 20 additions & 13 deletions

File tree

content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,29 @@ You can apply settings to control users' available plugin marketplaces and defau
2020
1. Add your plugin policy configuration to the file. The `{% data variables.copilot.managed_setting_file %}` file supports the following top-level properties:
2121

2222
```json copy
23-
{
24-
"extraKnownMarketplaces": {
25-
"MARKETPLACE-NAME": {
26-
"source": {
27-
"source": "github",
28-
"repo": "OWNER/REPO"
29-
}
30-
}
31-
},
32-
"enabledPlugins": {
33-
"PLUGIN-NAME@MARKETPLACE-NAME": true
34-
}
35-
}
23+
{
24+
"extraKnownMarketplaces": {
25+
"agent-skills": {
26+
"source": {
27+
"source": "github",
28+
"repo": "OWNER/REPO"
29+
}
30+
}
31+
},
32+
"strictKnownMarketplaces": [
33+
{
34+
"source": "github",
35+
"repo": "OWNER/REPO"
36+
}
37+
],
38+
"enabledPlugins": {
39+
"PLUGIN-NAME@MARKETPLACE-NAME": true
40+
}
41+
}
3642
```
3743

3844
* `extraKnownMarketplaces`: Defines additional plugin marketplaces available to users. Each entry is a named marketplace object containing a `source` property that specifies the provider (`"github"`) and the repository in `OWNER/REPO` format.
45+
* `strictKnownMarketplaces`: Restricts plugin installation to only the marketplaces explicitly defined by the enterprise. Each entry is a marketplace object containing a `source` property. The `source` specifies the provider as either `"github"` with a `repo` in `OWNER/REPO` format, or `"git"` with a `url` pointing to a git repository.
3946
* `enabledPlugins`: Defines plugins that are automatically installed for all enterprise users. Each entry uses the format `PLUGIN-NAME@MARKETPLACE-NAME` as the key, with a boolean value of `true` to enable the plugin.
4047

4148
1. Commit and push your changes to the default branch of the `.github-private` repository.

0 commit comments

Comments
 (0)