Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8367

securing-azure-with-microsoft-defender

Skill này làm gì

Công cụ này cấu hình Microsoft Defender for Cloud để bảo vệ môi trường đám mây của bạn (Azure, AWS, GCP). Nó bật các tính năng bảo mật cho máy chủ, container, cơ sở dữ liệu và nhiều thứ khác, giúp tìm và sửa các vấn đề bảo mật.

Khi nào nên dùng

  • ✓Khi bạn thiết lập bảo mật đám mây lần đầu.
  • ✓Khi bạn muốn có cái nhìn tổng quan về bảo mật trên tất cả dịch vụ đám mây.
  • ✓Khi bạn thêm máy chủ hoặc cơ sở dữ liệu mới cần được bảo vệ.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/securing-azure-with-microsoft-defender/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/securing-azure-with-microsoft-defender/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập Microsoft Defender for Cloud để bảo vệ máy chủ và cơ sở dữ liệu của tôi trong Azure.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kích hoạt các 'gói' bảo mật khác nhau trong Defender for Cloud, giống như các gói bảo vệ. Nó cũng kết nối các đám mây khác như AWS và GCP để bạn thấy mọi thứ ở một nơi và giúp ưu tiên các việc sửa quan trọng nhất.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Securing Azure with Microsoft Defender

When to Use

  • When deploying cloud workload protection across Azure subscriptions and resource groups
  • When establishing a Secure Score baseline and prioritizing security recommendations
  • When extending threat protection to multi-cloud environments including AWS and GCP
  • When enabling container security for AKS clusters and Azure Container Registry
  • When integrating AI workload security with the Data and AI security dashboard

Do not use for AWS-only environments (see implementing-aws-security-hub), for identity provider configuration (see managing-cloud-identity-with-okta), or for network-level firewall rule management (see implementing-cloud-waf-rules).

Prerequisites

  • Azure subscription with Security Admin or Contributor role
  • Azure Policy initiative for Defender for Cloud enabled at the management group level
  • Log Analytics workspace provisioned for security data collection
  • Microsoft Defender for Cloud plans licensed (P1 or P2 for server protection)

Workflow

Step 1: Enable Defender for Cloud Plans

Activate Defender plans for each workload type: Servers, Containers, App Service, Storage, Databases, Key Vault, Resource Manager, and DNS. Each plan provides specialized threat detection and vulnerability assessment.

# Enable Defender for Servers Plan 2
az security pricing create --name VirtualMachines --tier Standard --subplan P2

# Enable Defender for Containers
az security pricing create --name Containers --tier Standard

# Enable Defender for Storage with malware scanning
az security pricing create --name StorageAccounts --tier Standard \
  --extensions '[{"name":"OnUploadMalwareScanning","isEnabled":"True",
  "additionalExtensionProperties":{"CapGBPerMonthPerStorageAccount":"5000"}}]'

# Enable Defender for Databases
az security pricing create --name SqlServers --tier Standard
az security pricing create --name CosmosDbs --tier Standard

# Enable Defender for Key Vault
az security pricing create --name KeyVaults --tier Standard

# Verify all enabled plans
az security pricing list --query "[?pricingTier=='Standard'].{Plan:name, Tier:pricingTier, SubPlan:subPlan}" -o table

Step 2: Configure Environment Connectors for Multi-Cloud

Connect AWS accounts and GCP projects to Defender for Cloud for unified security posture management across cloud providers.

# Create AWS connector for CSPM
az security security-connector create \
  --name aws-production-connector \
  --resource-group security-rg \
  --environment-name AWS \
  --hierarchy-identifier "123456789012" \
  --offerings '[{
    "offeringType": "CspmMonitorAws",
    "nativeCloudConnection": {"cloudRoleArn": "arn:aws:iam::123456789012:role/DefenderForCloudRole"}
  }]'

# Create GCP connector
az security security-connector create \
  --name gcp-production-connector \
  --resource-group security-rg \
  --environment-name GCP \
  --hierarchy-identifier "my-gcp-project-id" \
  --offerings '[{"offeringType": "CspmMonitorGcp"}]'

Step 3: Review and Prioritize Secure Score Recommendations

Analyze the Secure Score across all subscriptions. Each recommendation includes a risk priority based on asset exposure, internet exposure, and threat intelligence context.

# Get current Secure Score
az security secure-score list \
  --query "[].{Name:displayName, Score:current, Max:max, Percentage:percentage}" -o table

# List unhealthy recommendations sorted by severity
az security assessment list \
  --query "[?properties.status.code=='Unhealthy'].{Name:properties.displayName, Severity:properties.metadata.severity, Resources:properties.resourceDetails.id}" \
  --output table

# Get specific recommendation details
az security assessment show \
  --assessment-name "4fb67663-9ab9-475d-b026-8c544cced439" \
  --query "{Name:properties.displayName, Description:properties.metadata.description, Remediation:properties.metadata.remediationDescription}"

Step 4: Configure Adaptive Application Controls and JIT Access

Enable Just-In-Time VM access to reduce the attack surface by opening management ports only when needed, and deploy adaptive application controls to whitelist approved executables.

# Enable JIT VM access policy
az security jit-policy create \
  --resource-group production-rg \
  --location eastus \
  --name default \
  --virtual-machines '[{

…
Câu hỏi thường gặp

Tôi có phải trả tiền không?

Microsoft Defender for Cloud có tùy chọn miễn phí và trả phí. Một số tính năng bảo vệ và giám sát nâng cao cần giấy phép (như gói P1 hoặc P2).

Tôi có thể chỉ dùng cho AWS hoặc GCP không?

Không, công cụ này tập trung vào việc cấu hình Defender for Cloud, một sản phẩm của Microsoft. Với bảo mật chỉ dành cho AWS hoặc GCP, có các công cụ khác.

“Secure Score” là gì?

Secure Score là điểm số Defender for Cloud dùng để cho biết đám mây của bạn an toàn đến mức nào. Điểm càng cao càng tốt. Công cụ giúp cải thiện điểm này bằng cách làm theo các khuyến nghị.

Chi tiết

Mô tả gốc của tác giả

Deploys and configures Microsoft Defender for Cloud as a CNAPP for Azure, multi-cloud, and hybrid environments: enabling Defender plans for servers, containers, storage, and databases, configuring recommendations, and managing Secure Score via the unified Defender portal. Use when onboarding workloads to Defender for Cloud or setting up cloud workload protection and threat monitoring. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8367
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự