Проверки безопасности облака
Модуль 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_portsManagement ports open to the Internet | 900s | critical | warning >= 1 count / critical >= 1 count |
security_cloud.public_storageStorage accounts allowing anonymous blob access or weak transport | 3600s | warning | publicBlob = false, httpsOnly = true, minTls = TLS1_2 |
security_cloud.keyvault_protectionKey Vault purge protection and soft delete | 3600s | warning | purge = true, softDelete = true |
security_cloud.rsv_protectionRecovery Services Vault soft delete and immutability | 3600s | warning | softDelete = Enabled,AlwaysON |
security_cloud.role_assignment_changesRBAC Owner / Contributor assignment changes | 600s | critical | any change |
security_cloud.defender_assessmentsDefender for Cloud recommendations and secure score | 3600s | warning | warning >= 1 count |
security_cloud.wazuh_alertsWazuh alerts (HIDS, FIM, CVE, CIS) | 300s | warning | warning >= 1 count |
security_cloud.platform_imagesPlatform container images and dependencies (CVE scan) | 3600s | warning | warning >= 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. · источник
Связанное содержимое
- Безопасность облака: предварительные требования и добавление ресурсов
- Пороговые значения и базовые уровни: как переопределить пороговое значение по умолчанию