跳到主要内容
版本:0.4 · 当前版

云安全检查

参考审阅日期:2026年10月11日
适用于:Excubius 0.4角色: 操作员, 编辑者, 实体管理员
计划Pro · Enterprise部署自托管

security_cloud 模块有 8 项检查。云安全态势(Azure Resource Graph、Defender for Cloud)以及可选的 Wazuh 发现,均为只读。Resource Graph 检查只查看资源的 resource_id(一个资源、一个资源组或整个订阅);params.scope = resource 使该属性成为必填项,params.scope = all 则查看该标识可以读取的每个订阅。Defender for Cloud 和 Wazuh 需要分别启用(功能开关 security.defender 和 security.wazuh);建议可以隐藏(security.recommendations)。

本页在构建文档时根据产品的检查目录生成,因此规则、间隔和默认严重性始终与你正在阅读的版本一致。阈值是默认值;实体和资源可以覆盖这些阈值。

检查间隔默认严重性规则
security_cloud.nsg_exposed_ports
Management ports open to the Internet
900scriticalwarning >= 1 count / critical >= 1 count
security_cloud.public_storage
Storage accounts allowing anonymous blob access or weak transport
3600swarningpublicBlob = false, httpsOnly = true, minTls = TLS1_2
security_cloud.keyvault_protection
Key Vault purge protection and soft delete
3600swarningpurge = true, softDelete = true
security_cloud.rsv_protection
Recovery Services Vault soft delete and immutability
3600swarningsoftDelete = Enabled,AlwaysON
security_cloud.role_assignment_changes
RBAC Owner / Contributor assignment changes
600scriticalany change
security_cloud.defender_assessments
Defender for Cloud recommendations and secure score
3600swarningwarning >= 1 count
security_cloud.wazuh_alerts
Wazuh alerts (HIDS, FIM, CVE, CIS)
300swarningwarning >= 1 count
security_cloud.platform_images
Platform container images and dependencies (CVE scan)
3600swarningwarning >= 1 count / critical >= 1 count

检查​

security_cloud.nsg_exposed_ports

Management ports open to the Internet

度量
exposed_rules (count) · 每 900s · azure_graph
规则
warning >= 1 count / critical >= 1 count · 默认严重性: critical
措施
Find who needs the access. Replace the rule with Azure Bastion, a VPN or Defender for Cloud just-in-time VM access; if a public rule must stay, restrict its source to known addresses. Change the NSG in a change window and confirm the service is still reachable from where it should be.
基线
CIS Microsoft Azure Foundations Benchmark 6.x: never expose 22/3389/1433/5432/5985/5986 to the Internet; use Bastion, a VPN or just-in-time access. · 来源

security_cloud.public_storage

Storage accounts allowing anonymous blob access or weak transport

度量
posture · 每 3600s · azure_graph
规则
publicBlob = false, httpsOnly = true, minTls = TLS1_2 · 默认严重性: warning
措施
Check with the application owner that no client reads blobs anonymously (storage metrics show anonymous requests), then set "Allow Blob anonymous access" to Disabled, "Secure transfer required" to Enabled and the minimum TLS version to 1.2 on the account, in a change window.
基线
CIS Azure Foundations 3.x. An unset allowBlobPublicAccess is reported for review (older accounts may still allow it). · 来源

security_cloud.keyvault_protection

Key Vault purge protection and soft delete

度量
posture · 每 3600s · azure_graph
规则
purge = true, softDelete = true · 默认严重性: warning
措施
Enable purge protection on the vault (it cannot be turned off again, and a deleted vault then stays recoverable for its retention period). Plan it with the vault owner, since automation that deletes and recreates vaults with the same name will stop working.
基线
CIS Azure Foundations 8.x. Soft delete can no longer be turned off on new vaults; purge protection is off unless enabled. · 来源

security_cloud.rsv_protection

Recovery Services Vault soft delete and immutability

度量
posture · 每 3600s · azure_graph
规则
softDelete = Enabled,AlwaysON · 默认严重性: warning
措施
Turn soft delete on for the vault (Properties › Security settings) and, for production vaults, consider "always on" soft delete and an immutable vault. Coordinate with the backup owner because deleted backup data is then kept (and billed) for the retention period.
基线
Soft delete protects backups from ransomware deletion; immutability is recommended for production vaults. · 来源

security_cloud.role_assignment_changes

RBAC Owner / Contributor assignment changes

度量
assignments · 每 600s · azure_graph
规则
any change · 默认严重性: critical
措施
Look up the change in the subscription's Activity Log (operation "Create role assignment") to see who made it, and confirm an approved request exists. Remove an unapproved assignment and review the principal's activity; prefer PIM-eligible assignments for Owner. Resolve the event once reviewed.
基线
Owner (8e3af657…) and Contributor (b24988ac…) assignments added or removed raise an event (the first run only records the baseline); the Activity Log names the actor. · 来源

security_cloud.defender_assessments

Defender for Cloud recommendations and secure score

度量
unhealthy_assessments (count) · 每 3600s · defender
规则
warning >= 1 count · 默认严重性: warning
措施
Follow the remediation steps Defender for Cloud gives for the recommendation (shown with the finding), with the owner of the resource and in a change window. Exempt it in Defender, or accept the risk here, when it does not apply.
基线
Category 'recommendation'; hidden when the entity disables recommendations. High severity maps to critical findings. · 来源

security_cloud.wazuh_alerts

Wazuh alerts (HIDS, FIM, CVE, CIS)

度量
alerts (count) · 每 300s · wazuh
规则
warning >= 1 count · 默认严重性: warning
措施
Open the alert in the Wazuh dashboard (agent and rule shown with the finding) and follow the rule's guidance; for a vulnerability, update the package named in the evidence through your patching process. Tune or silence a rule in Wazuh when it is noise.
基线
Rule level 7–11 → warning, 12+ → critical; vulnerabilities Critical → critical, High → warning. Wazuh agents are deployed by NinjaOne, never by the platform. Source can be disabled per entity. · 来源

security_cloud.platform_images

Platform container images and dependencies (CVE scan)

度量
critical_cves (count) · 每 3600s · manual
规则
warning >= 1 count / critical >= 1 count · 默认严重性: warning
措施
Upgrade to the newest release of the platform, which rebuilds the images with fixed packages; if none fixes the vulnerability yet, check whether the affected package is reachable in this deployment and accept the risk with that reason until a release does.
基线
Trivy and pip-audit run in CI; the report is posted to the API and shown as the platform self-check area. · 来源