Enabling and Configuring Plugins
This lesson explains the kinds of plugin, who can manage them, and how to add a custom one safely.
Learning outcomes
After completing this lesson, you will be able to:
- Explain what plugins provide.
- Identify the plugin settings.
- Describe a custom plugin.
- Apply security practices to plugins.
What plugins do
By itself, a language model knows nothing about an organization's alerts. Plugins give Security Copilot access to data and capabilities, and each plugin provides skills that the system can call. When a user asks about an incident, the orchestrator decides which skill to use, and retrieves the information.
Plugins are managed through the sources icon in the prompt bar, and owners manage availability under Plugin settings. The following table shows the kinds of plugin.
| Type | Examples | Notes |
|---|---|---|
| Preinstalled Microsoft plugins | Microsoft Defender XDR, Microsoft Sentinel, Microsoft Entra, Microsoft Purview, Microsoft Intune | Some need per-user setup |
| Preinstalled non-Microsoft plugins | Partner security products | May need a partner account or API key |
| Custom plugins | An organization's own API or KQL | Uploaded by an authorized person |
Preinstalled plugins such as Microsoft Sentinel and Azure AI Search are set up per user, for example by choosing a workspace. Agent-required plugins are enabled automatically, for that agent only.
Who can do what
Owners control plugin behaviour through three settings, as the following table describes.
| Setting | Options | Effect |
|---|---|---|
| Preinstalled plugin availability | All users, or Owners only | Decides who can use a plugin; the default is all owners and contributors |
| Personal custom plugin scope | Owners only, or Contributors and Owners | Decides who can add a plugin for themselves |
| Tenant custom plugin scope | Owners only, or Owners and Contributors | Decides who can add a plugin for everyone |
By default, contributors do not manage personal custom plugins. Restricting access takes effect immediately.
Plugin settings
Custom plugins
A custom plugin lets Copilot reach data that no existing plugin covers. It is uploaded under the Custom section, as a Security Copilot plugin, from a YAML or JSON file or a link, or as an OpenAI plugin. A plugin's manifest describes its skills, and three formats are common: KQL, which runs a query against a workspace, API, which calls a REST endpoint, and GPT, which uses a prompt.
The following outline shows a simple plugin with a KQL skill.
Descriptor:
Name: ContosoFailedSignIns
DisplayName: Contoso failed sign-ins
Description: Lists recent failed sign-ins for a user
SkillGroups:
- Format: KQL
Skills:
- Name: GetFailedSignIns
DisplayName: Get failed sign-ins
Description: Returns failed sign-ins for the given user
Inputs:
- Name: user
Description: The user principal name
Required: true
Settings:
Target: Sentinel
Template: |-
SigninLogs
| where UserPrincipalName == "{{user}}" and ResultType != 0
| take 20A good description matters, as the orchestrator chooses a skill by reading it.
Plugin skill formats
Security of plugins
A plugin is a connection between an AI system and data, so treat it with the care that applies to any integration.
- Limit who can add tenant-wide plugins, usually to owners.
- Review each custom plugin's manifest, and identify what data it reaches and where it sends that data.
- Store credentials securely, using the authentication settings rather than embedding them.
- Prefer read-only skills, unless an action is truly needed.
- Disable preinstalled plugins that the organization does not use, which reduces the data that the system can reach.
- Review activity through Purview audit logs.
Securing plugins
Limiting plugins
A company wants analysts to be able to add custom plugins for their own experiments, but only security engineers, who are Security Copilot owners, should be able to add plugins for everyone. A partner's preinstalled plugin must be limited to owners during a review. What settings should you use?
Set personal custom plugin scope to Contributors and Owners, and tenant custom plugin scope to Owners only. Set the partner plugin's availability to Owners only, which takes effect immediately.
Making all users owners would give them control of capacity and data sharing too. Removing the plugin would stop the review. Making both scopes owners only would block the analysts' experiments.
Why does a custom skill need a clear description?
Show answer
The orchestrator reads it to decide when to use the skill.
Exam Tips
Remember for the exam
- Plugins provide skills, and the orchestrator selects them by description.
- Contributors cannot add custom plugins by default.
- Some preinstalled plugins need per-user setup.
- Restricting a plugin takes effect immediately.