Lesson 3 of 4 Microsoft Security Copilot

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.

TypeExamplesNotes
Preinstalled Microsoft pluginsMicrosoft Defender XDR, Microsoft Sentinel, Microsoft Entra, Microsoft Purview, Microsoft IntuneSome need per-user setup
Preinstalled non-Microsoft pluginsPartner security productsMay need a partner account or API key
Custom pluginsAn organization's own API or KQLUploaded 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.

SettingOptionsEffect
Preinstalled plugin availabilityAll users, or Owners onlyDecides who can use a plugin; the default is all owners and contributors
Personal custom plugin scopeOwners only, or Contributors and OwnersDecides who can add a plugin for themselves
Tenant custom plugin scopeOwners only, or Owners and ContributorsDecides who can add a plugin for everyone

By default, contributors do not manage personal custom plugins. Restricting access takes effect immediately.

True or false

Plugin settings

Exam skills 4.3.3

Check how owners control plugin behaviour.

Log in to try this activity Interactive activities are free with an account.

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 20

A good description matters, as the orchestrator chooses a skill by reading it.

Match the pairs

Plugin skill formats

Exam skills 4.3.3

Match each custom plugin skill format with what it does.

Log in to try this activity Interactive activities are free with an account.

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.
Select all that apply

Securing plugins

Exam skills 4.3.3

Identify sound practices for Security Copilot plugins.

Log in to try this activity Interactive activities are free with an account.
Worked example

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.

Check yourself

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.