Comprobaciones de seguridad en la nube
El módulo security_cloud tiene 8 comprobaciones. Postura en la nube (Azure Resource Graph, Defender for Cloud) y hallazgos opcionales de Wazuh, de solo lectura. Las comprobaciones de Resource Graph solo examinan el resource_id del recurso (un recurso, un grupo de recursos o una suscripción completa); params.scope = resource hace obligatorio ese atributo y params.scope = all examina todas las suscripciones que la identidad puede leer. Defender for Cloud y Wazuh se activan por separado (funciones security.defender, security.wazuh); las recomendaciones se pueden ocultar (security.recommendations).
Esta página se genera a partir del catálogo de comprobaciones del producto al compilar la documentación, así que las reglas, los intervalos y las severidades predeterminadas siempre coinciden con la versión que estás leyendo. Los umbrales son valores predeterminados; las entidades y los recursos pueden reemplazarlos.
| Comprobación | Cada | Severidad predeterminada | Regla |
|---|---|---|---|
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 |
Comprobaciones
security_cloud.nsg_exposed_ports
Management ports open to the Internet
- Mide
exposed_rules(count) · cada900s·azure_graph- Regla
warning >= 1 count / critical >= 1 count· Severidad predeterminada: critical- Acción
- 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.
- Línea base
- 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. · origen
security_cloud.public_storage
Storage accounts allowing anonymous blob access or weak transport
- Mide
posture· cada3600s·azure_graph- Regla
publicBlob = false, httpsOnly = true, minTls = TLS1_2· Severidad predeterminada: warning- Acción
- 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.
- Línea base
- CIS Azure Foundations 3.x. An unset allowBlobPublicAccess is reported for review (older accounts may still allow it). · origen
security_cloud.keyvault_protection
Key Vault purge protection and soft delete
- Mide
posture· cada3600s·azure_graph- Regla
purge = true, softDelete = true· Severidad predeterminada: warning- Acción
- 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.
- Línea base
- CIS Azure Foundations 8.x. Soft delete can no longer be turned off on new vaults; purge protection is off unless enabled. · origen
security_cloud.rsv_protection
Recovery Services Vault soft delete and immutability
- Mide
posture· cada3600s·azure_graph- Regla
softDelete = Enabled,AlwaysON· Severidad predeterminada: warning- Acción
- 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.
- Línea base
- Soft delete protects backups from ransomware deletion; immutability is recommended for production vaults. · origen
security_cloud.role_assignment_changes
RBAC Owner / Contributor assignment changes
- Mide
assignments· cada600s·azure_graph- Regla
any change· Severidad predeterminada: critical- Acción
- 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.
- Línea base
- 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. · origen
security_cloud.defender_assessments
Defender for Cloud recommendations and secure score
- Mide
unhealthy_assessments(count) · cada3600s·defender- Regla
warning >= 1 count· Severidad predeterminada: warning- Acción
- 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.
- Línea base
- Category 'recommendation'; hidden when the entity disables recommendations. High severity maps to critical findings. · origen
security_cloud.wazuh_alerts
Wazuh alerts (HIDS, FIM, CVE, CIS)
- Mide
alerts(count) · cada300s·wazuh- Regla
warning >= 1 count· Severidad predeterminada: warning- Acción
- 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.
- Línea base
- 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. · origen
security_cloud.platform_images
Platform container images and dependencies (CVE scan)
- Mide
critical_cves(count) · cada3600s·manual- Regla
warning >= 1 count / critical >= 1 count· Severidad predeterminada: warning- Acción
- 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.
- Línea base
- Trivy and pip-audit run in CI; the report is posted to the API and shown as the platform self-check area. · origen
Contenido relacionado
- Seguridad en la nube: requisitos previos y cómo agregar recursos
- Umbrales y líneas base: cómo se reemplaza un umbral predeterminado