Skip to content

Commit 42dcd28

Browse files
committed
scenario updates
1 parent 7c72e23 commit 42dcd28

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
@@ -37,7 +37,7 @@ Use Microsoft Copilot for Azure to perform many basic tasks in the Azure portal
3737
- [Improve Azure SQL Database-driven applications](/azure/azure-sql/copilot/copilot-azure-sql-overview#microsoft-copilot-for-azure-enhanced-scenarios)
3838
- Write and optimize code:
3939
- [Generate Azure CLI scripts](generate-cli-scripts.md)
40-
- [Generate Azure PowerShell scripts](generate-powershell-scripts.md)
40+
- [Generate PowerShell scripts](generate-powershell-scripts.md)
4141
- [Discover performance recommendations with Code Optimizations](optimize-code-application-insights.md)
4242
- [Author API Management policies](author-api-management-policies.md)
4343
- [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,31 +1,31 @@
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
77
ms.author: jenhayes
88
author: JnHs
99
---
1010

11-
# Generate Azure PowerShell scripts using Microsoft Copilot for Azure
11+
# Generate PowerShell scripts using Microsoft Copilot for Azure
1212

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

15-
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.
15+
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.
1616

1717
[!INCLUDE [scenario-note](includes/scenario-note.md)]
1818

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

2121
## Sample prompts
2222

23-
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.
23+
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.
2424

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

3030
## Examples
3131

199 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
@@ -15,6 +15,11 @@ author: JnHs
1515

1616
[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.
1717

18+
> [!IMPORTANT]
19+
> 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).
20+
>
21+
> 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).
22+
1823
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.
1924

2025
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.
@@ -29,9 +34,19 @@ Here are a few examples of the kinds of prompts you can use to query attack surf
2934

3035
- "Tell me about Defender EASM high priority attack surface insights."
3136
- "What are my externally facing assets?"
32-
- "Find all the page and host assets in my inventory with the IP address `<address>`"
37+
- "Find all the page and host assets in my inventory with the IP address (address)"
3338
- "Show me all assets that require investigation."
3439
- "Do I have any domains that are expiring within 30 days?"
40+
- "What assets are using jQuery version 3.1.0?"
41+
- "Get the hosts with port X open in my attack surface?"
42+
- "Which of my assets have a registrant email of `[email protected]`?"
43+
- "Which of my assets have services containing 'Azure' and vulnerabilities on them?"
44+
45+
## Example
46+
47+
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.
48+
49+
:::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":::
3550

3651
## Next steps
3752

articles/copilot/troubleshoot-app-service.md

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

2525
## Sample prompts
2626

27-
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.
27+
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.
28+
29+
Troubleshooting:
2830

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

4058
## Examples

0 commit comments

Comments
 (0)