Files
nuclei-templates/cloud/alibaba/ecs/unattached-disk-encryption-disabled.yaml
2024-12-23 14:49:56 +05:30

39 lines
1.2 KiB
YAML

id: unattached-disk-encryption-disabled
info:
name: Encryption for Unattached Disks - Disabled
author: DhiyaneshDK
severity: high
description: |
Unencrypted unattached disks in Alibaba Cloud pose a risk of data exposure if accessed by unauthorized users. Enabling encryption ensures the security of sensitive data at rest.
reference:
- https://www.trendmicro.com/cloudoneconformity/knowledge-base/alibaba-cloud/AlibabaCloud-ECS/encrypt-unattached-disks.html
- https://www.alibabacloud.com/help/en/ecs/user-guide/encrypt-a-data-disk
metadata:
max-request: 1
verified: true
tags: cloud,devops,aliyun,alibaba,alibaba-cloud-config,ecs
variables:
region: "cn-hangzhou"
self-contained: true
code:
- engine:
- sh
- bash
source: |
aliyun ecs DescribeDisks --Status Available --region $region
matchers:
- type: word
part: body
words:
- '"Encrypted": false'
extractors:
- type: dsl
dsl:
- '" Encryption for Unattached Disks is Disabled "'
# digest: 490a0046304402205c50e797b22e8053998c7c320225b3f3a3d819862ac9e13948b185a5f998273302202f88bba32f7966c19c684b00116b8fccd60714f0983af50a519fffc2b092c1ce:922c64590222798bb761d5b6d8e72950