Skip to content

Commit cb70d46

Browse files
Merge pull request #275587 from JnHs/jh-cob-pbu
scenario updates
2 parents f922ce9 + 670d8f3 commit cb70d46

11 files changed

+77
-18
lines changed

articles/copilot/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
href: troubleshoot-app-service.md
3737
- name: Generate Azure CLI scripts
3838
href: generate-cli-scripts.md
39-
- name: Generate Azure PowerShell scripts
39+
- name: Generate PowerShell scripts
4040
href: generate-powershell-scripts.md
4141
- name: Author API Management policies
4242
href: author-api-management-policies.md

articles/copilot/capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Use Microsoft Copilot for Azure to perform many basic tasks in the Azure portal
3838
- [Improve Azure SQL Database-driven applications](/azure/azure-sql/copilot/copilot-azure-sql-overview#microsoft-copilot-for-azure-enhanced-scenarios)
3939
- Write and optimize code:
4040
- [Generate Azure CLI scripts](generate-cli-scripts.md)
41-
- [Generate Azure PowerShell scripts](generate-powershell-scripts.md)
41+
- [Generate PowerShell scripts](generate-powershell-scripts.md)
4242
- [Discover performance recommendations with Code Optimizations](optimize-code-application-insights.md)
4343
- [Author API Management policies](author-api-management-policies.md)
4444
- [Create Kubernetes YAML files](generate-kubernetes-yaml.md)

articles/copilot/generate-powershell-scripts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Generate Azure PowerShell scripts using Microsoft Copilot for Azure
3-
description: Learn about scenarios where Microsoft Copilot for Azure can generate Azure PowerShell scripts for you to customize and use.
2+
title: Generate PowerShell scripts using Microsoft Copilot for Azure
3+
description: Learn about scenarios where Microsoft Copilot for Azure can generate PowerShell scripts for you to customize and use.
44
ms.date: 05/21/2024
55
ms.topic: conceptual
66
ms.service: copilot-for-azure
@@ -10,24 +10,24 @@ ms.author: jenhayes
1010
author: JnHs
1111
---
1212

13-
# Generate Azure PowerShell scripts using Microsoft Copilot for Azure
13+
# Generate PowerShell scripts using Microsoft Copilot for Azure
1414

15-
Microsoft Copilot for Azure (preview) can generate [Azure PowerShell](/powershell/azure/) scripts that you can use to create or manage resources.
15+
Microsoft Copilot for Azure (preview) can generate [PowerShell](/powershell/azure/) scripts that you can use to create or manage resources.
1616

17-
When you tell Microsoft Copilot for Azure about a task you want to perform by using Azure PowerShell, it provides a script with the necessary cmdlets. You'll see which placeholder values that you need to update with the actual values based on your environment.
17+
When you tell Microsoft Copilot for Azure about a task you want to perform by using PowerShell, it provides a script with the necessary cmdlets. You'll see which placeholder values that you need to update with the actual values based on your environment.
1818

1919
[!INCLUDE [scenario-note](includes/scenario-note.md)]
2020

2121
[!INCLUDE [preview-note](includes/preview-note.md)]
2222

2323
## Sample prompts
2424

25-
Here are a few examples of the kinds of prompts you can use to generate Azure PowerShell scripts. Some prompts return a single cmdlet, while others provide multiple steps walking through the full scenario. Modify these prompts based on your real-life scenarios, or try additional prompts to create different kinds of queries.
25+
Here are a few examples of the kinds of prompts you can use to generate PowerShell scripts. Some prompts return a single cmdlet, while others provide multiple steps walking through the full scenario. Modify these prompts based on your real-life scenarios, or try additional prompts to create different kinds of queries.
2626

2727
- "How do I list the VMs I have running in Azure using PowerShell?"
2828
- "Create a storage account using PowerShell."
2929
- "How do I get all quota limits for a subscription using Azure PowerShell?"
30-
- "Can you show me how to stop all virtual machines in a specific resource group using Azure PowerShell?"
30+
- "Can you show me how to stop all virtual machines in a specific resource group using PowerShell?"
3131

3232
## Examples
3333

270 KB
Loading
2.02 KB
Loading
31.2 KB
Loading
243 KB
Loading
-19.8 KB
Loading

articles/copilot/query-attack-surface.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ author: JnHs
1616

1717
[Microsoft Defender External Attack Surface Management (Defender EASM)](/azure/external-attack-surface-management/overview) scans inventory assets and collects robust contextual metadata that powers Attack Surface Insights. These insights help an organization understand what their attack surface looks like, where the risk resides, and what assets they need to focus on.
1818

19+
> [!IMPORTANT]
20+
> Use of Copilot for Azure to query Defender EASM is included with Copilot for Security and requires [security compute units (SCUs)](/copilot/security/get-started-security-copilot#security-compute-units). You can provision SCUs and increase or decrease them at any time. For more information on SCUs, see [Get started with Microsoft Copilot](/copilot/security/get-started-security-copilot) and [Manage usage of security compute units](/copilot/security/manage-usage).
21+
>
22+
> To use Copilot for Azure to query Defender EASM, you or your admin team must be a member of the appropriate role in Copilot for Security and must have access to a Defender EASM resource. For information on supported roles, see [Understand authentication in Microsoft Copilot for Security](/copilot/security/authentication).
23+
1924
With Microsoft Copilot for Azure (preview), you can use natural language to ask questions and better understand your organization's attack surface. Through Defender EASM's extensive querying capabilities, you can extract asset metadata and key asset information, even if you don't have an advanced Defender EASM querying skillset.
2025

2126
When you ask Microsoft Copilot for Azure about your attack surface, it automatically pulls context when possible, based on the current conversation or on the page you're viewing in the Azure portal. If the context isn't clear, you'll be prompted to specify which Defender EASM resource to use.
@@ -30,9 +35,19 @@ Here are a few examples of the kinds of prompts you can use to query attack surf
3035

3136
- "Tell me about Defender EASM high priority attack surface insights."
3237
- "What are my externally facing assets?"
33-
- "Find all the page and host assets in my inventory with the IP address `<address>`"
38+
- "Find all the page and host assets in my inventory with the IP address (address)"
3439
- "Show me all assets that require investigation."
3540
- "Do I have any domains that are expiring within 30 days?"
41+
- "What assets are using jQuery version 3.1.0?"
42+
- "Get the hosts with port X open in my attack surface?"
43+
- "Which of my assets have a registrant email of `[email protected]`?"
44+
- "Which of my assets have services containing 'Azure' and vulnerabilities on them?"
45+
46+
## Example
47+
48+
You can use a natural language query to better understand your attack surface. In this example, the query is "**find all the page and host assets in my inventory with an ip address that is (list of IP addresses)**". Copilot for Azure queries your Defender EASM inventory and provides details about the assets matching your criteria. You can then follow up with additional questions as needed.
49+
50+
:::image type="content" source="media/query-attack-surface/query-assets-inventory.png" alt-text="Screenshot showing Copilot in Azure providing results for a natural language attack surface query." lightbox="media/query-attack-surface/query-assets-inventory.png":::
3651

3752
## Next steps
3853

articles/copilot/troubleshoot-app-service.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,35 @@ When you ask Microsoft Copilot for Azure for troubleshooting help, it automatica
2626

2727
## Sample prompts
2828

29-
Here are a few examples of the kinds of prompts you can use to get help with App Service troubleshooting. Modify these prompts based on your real-life scenarios, or try additional prompts to get help with different types of issues.
29+
Here are a few examples of the kinds of prompts you can use to access troubleshooting tools and understand diagnostic information. Modify these prompts based on your real-life scenarios, or try additional prompts to get help with different types of issues.
30+
31+
Troubleshooting:
3032

3133
- "My web app is down"
32-
- "My web app is slow"
34+
- "Why is my web app slow?"
3335
- "Enable auto heal"
34-
- "Take a memory dump"
3536
- "High CPU issue"
3637
- "Troubleshoot performance issues with my app"
3738
- "Analyze app latency?"
39+
- "Take a memory dump"
40+
41+
Understanding available tools:
42+
43+
- "Can I track uptime and downtime of my web app over a specific time period?"
44+
- "Is there a tool that can help me view event logs for my web app?"
45+
46+
Proactive practices:
47+
48+
- "Risk alerts for my app"
49+
- "Are there any best practices for availability for this app?"
50+
- "How can I make my app future-proof"
51+
52+
Summarization and explanation:
53+
3854
- "Give me a summary of these diagnostics."
55+
- "Summarize this page."
3956
- "What does this error mean?"
57+
- "Can you tell me more about the 3rd diagnostic on this page?"
4058
- "What are the next steps to resolve this error?"
4159

4260
## Examples

0 commit comments

Comments
 (0)