Integration of GhAS in Copilot for Security - Configuration
This article is part of a series of articles related to how to install and use two custom (unofficial!) plugins just released for the integration of GitHub Advanced Security (GhAS) in Copilot for Security. Please start from here: Copilot for Security Custom Plugin for GitHub Advanced Security | LinkedIn
Let's see how to install the 2 custom plugins for GitHub Advanced Security.
At the time of this writing, they are published it my own personal GitHub repo: cfs/GitHubAdvancedSecurity-CustomPlugins at main · stefanpems/cfs. From this repo, download the 2 manifest files (*manifest.yaml).
Now, open the Copilot for Security portal at https://securitycopilot.microsoft.com/.
On the prompt bar, click on the sources icon:
On the "Custom" section, click on the "Upload plugin" icon:
Make your choice for the plugin visibility (note: you may not change it if you have not the right to do so) and then select the "Copilot for Security plugin" button:
Add the first of the 2 yaml files. For example, start with the GitHubAdvancedSecurityPlugin-Repo-Manifest.yaml file:?
A message will quickly appears confirming that the plugin was successfully loaded in Copilot. A new panel appears requesting to insert the name of your GitHub Organization and the value of the "Personal access token (classic)" key (please refer to my other article dedicated on how to retrieve that key):
领英推荐
For example:
Close the panel by clicking on the "Setup" button.
The plugin should now be visible in the list of the custom plugins. It will be visibile for others if you selected the visibility at organization level.
Repeat the same steps for adding the second manifest yaml file. After this, you should have these 2 custom plugins:
Please note that for a few seconds, on the right of the plugin name, you may see the button "Set up"...
...instead of the toggle set on "On" (= configured):
If so, just wait for some additional seconds. If necessary, close and reopen the list of plugins. Ensure that the two plugins appear as correctly configured.