Methods to use prompts in Microsoft Copilot for Safety


The method of writing, refining, and optimizing inputs—or “prompts”—to encourage generative AI techniques to create particular, high-quality outputs is named immediate engineering. It helps generative AI fashions arrange higher responses to a variety of queries—from the straightforward to the extremely technical. The fundamental rule is that good prompts equal good outcomes.

Immediate engineering is a approach to “program” generative AI fashions in pure language, with out requiring coding expertise or deep data of datasets, statistics, and modeling methods. Immediate engineers play a pivotal function in crafting queries that assist generative AI fashions study not simply the language, but additionally the nuance and intent behind the question. A high-quality, thorough, and educated immediate in flip influences the standard of AI-generated content material, whether or not it’s photos, code, knowledge summaries, or textual content.

Immediate engineering is essential as a result of it permits AI fashions to provide extra correct and related outputs. By creating exact and complete prompts, an AI mannequin is healthier in a position to synthesize the duty it’s performing and generate responses which can be extra helpful to people.

The advantages of immediate engineering embrace:

Icon of an odometer.

Enhancing the velocity and effectivity of generative AI duties, similar to writing complicated queries, summarizing knowledge, and producing content material.

Graphic icon of two text bubbles.

Enhancing the abilities and confidence of generative AI customers—particularly novices—by offering steerage and suggestions in pure language.

Graphic icon of three building blocks.

Leveraging the facility of basis fashions, that are giant language fashions constructed on transformer structure and filled with data, to provide optimum outputs with few revisions.

Icon of a sliding graph chart.

Serving to mitigate biases, confusion, and errors in generative AI outputs by fine-tuning efficient prompts.

Icon of a bridge.

Serving to bridge the hole between uncooked queries and significant AI-generated responses—and cut back the necessity for handbook evaluate and post-generation modifying.

Why good prompts are essential

Immediate engineering is a talent that may be discovered and improved over time by experimenting with completely different prompts and observing the outcomes. There are additionally instruments and assets that may assist folks with immediate engineering, similar to immediate libraries, immediate mills, or immediate evaluators.

The next examples show the significance of readability, specificity, and context in crafting efficient prompts for generative AI.

Examples of poor prompts for Copilot for Security.

Methods to use prompts in safety

Prompting is essential in Copilot, as it’s the important approach to question the generative AI system and get the specified outputs. Prompting is the method of writing, refining, and optimizing inputs—or “prompts”—to encourage Copilot for Safety to create particular, high-quality outputs.

Example of an optimal prompt providing specific instructions for the “top Microsoft Sentinel incidents created overnight.”

Efficient prompts give Copilot for Safety sufficient and helpful parameters to generate worthwhile responses. Safety analysts or researchers ought to embrace the next components when writing a immediate:

  • Purpose: Particular, security-related data that you just want.
  • Context: Why you want this data or the way you’ll use it.
  • Expectations: Format or audience you need the response tailor-made to.
  • Supply: Identified data, knowledge supply(s), or plugins Copilot for Safety ought to use.

By creating exact and complete prompts, Copilot for Safety can higher perceive the duty it’s performing and generate responses which can be extra helpful to people. Prompting additionally helps mitigate biases, confusion, and errors in Copilot for Safety outputs by fine-tuning efficient prompts.

Output of the “top 5 Microsoft Sentinel Incidents created overnight” prompt output showing list of the requested incidents.

Save time with prime prompts

Featured prompts are a set of predefined prompts which can be designed that can assist you accomplish widespread security-related duties with Copilot for Safety. They’re primarily based on greatest practices and suggestions from safety specialists and clients.

Featured prompts are a set of predefined prompts which can be designed that can assist you accomplish widespread security-related duties with Copilot for Safety. They’re primarily based on greatest practices and suggestions from safety specialists and clients.

You may also entry the featured prompts by typing a ahead slash (/) within the immediate bar and choosing the one which matches your goal. For instance, you need to use the featured immediate “Analyze a script or command” to get data on a suspicious script or command.

A few of the featured prompts out there in Copilot for Safety are:

  • Analyze a script or command: This immediate helps you analyze and interpret a command or script. It identifies the script language, the aim of the script, the potential dangers, and the really helpful actions.
  • Summarize a safety article: This immediate helps you summarize a safety article or weblog submit. It extracts the details, the important thing takeaways, and the implications on your group.
  • Generate a safety question: This immediate helps you generate a safety question for a selected knowledge supply, similar to Microsoft Sentinel, Microsoft Defender XDR, or Microsoft Azure Monitor. It converts your pure language request into a question language, similar to Kusto Question Language (KQL) or Microsoft Graph API.
  • Generate a safety report: This immediate helps you generate a safety report for a selected viewers, similar to executives, managers, or analysts. It makes use of the data out of your earlier prompts and responses to create a concise and informative report.
Example of the “featured prompts” tab within Microsoft Security for Copilot.

Use promptbooks to save lots of time

A promptbook is a group of prompts which were put collectively to perform a selected security-related process—similar to incident investigation, menace actor profile, suspicious script evaluation, or vulnerability influence evaluation. You should utilize the present promptbooks as templates or examples and modify them to fit your wants.

Dashboard view of Promptbook examples in Microsoft Copilot for Security.

Utilizing promptbooks in Copilot is a approach to accomplish particular security-related duties with a collection of prompts that run in sequence. Every promptbook requires a selected enter—similar to an incident quantity, a menace actor identify, or a script string—after which generates a response primarily based on the enter and the earlier prompts. For instance, the incident investigation promptbook can assist you summarize an incident, assess its influence, and supply remediation steps.

A few of the promptbooks out there in Copilot for Safety are:

  • Incident investigation: This promptbook helps you examine an incident by utilizing both the Microsoft Sentinel or Microsoft Defender XDR plugin. It generates an government report for a nontechnical viewers that summarizes the investigation.
  • Menace actor profile: This promptbook helps you get an government abstract a few particular menace actor. It searches for any current menace intelligence articles in regards to the actor, together with identified instruments, techniques, and procedures (TTPs) and indicators, and offers remediation options.
  • Suspicious script evaluation: This promptbook helps you analyze and interpret a command or script. It identifies the script language, the aim of the script, the potential dangers, and the really helpful actions.
  • Vulnerability influence evaluation: This promptbook helps you assess the influence of a publicly disclosed vulnerability in your group. It offers data on the vulnerability, the affected merchandise, the exploitation standing, and the mitigation steps.

To make use of a promptbook, you possibly can both sort an asterisk (*) within the immediate bar and choose the promptbook you need to use or choose the Promptbooks button above the immediate space. Then you possibly can present the required enter and await Copilot for Safety to generate the response. You may also ask follow-up questions or present suggestions in the identical session.

Dashboard view of how to access and search for Promptbooks within Microsoft Copilot for Security.

Frequent Copilot prompts

The next checklist of prompts is an excerpt of the Prime 10 prompts infographic, which offers prompts utilized and really helpful by clients and companions with nice success. Use them to spark concepts for creating your individual prompts.

Ten examples of suggested prompts within Microsoft Copilot for Security.

Get began with prompts in Copilot

We all know creating exact and complete prompts produces correct, related responses. By understanding the basics of fine immediate engineering, safety analysts can enhance the velocity and effectivity of generative AI duties, mitigate biases, cut back output errors, and extra—all with out requiring coding expertise or deep data of datasets, statistics, and modeling methods. The immediate engineering greatest practices described right here, together with featured prompts and promptbooks included in Copilot for Safety, can assist safety groups make the most of the facility of generative AI to enhance their workflow, concentrate on higher-level duties, and reduce tedious work.

Be taught extra about Microsoft Copilot for Safety.

To study extra about Microsoft Safety options, go to our web site. Bookmark the Safety weblog to maintain up with our knowledgeable protection on safety issues. Additionally, observe us on LinkedIn (Microsoft Safety) and X (@MSFTSecurity) for the newest information and updates on cybersecurity.