logo

Database

Azure Secret Expiration Not Enabled

Description

Identifies Azure Key Vault secrets that are enabled but do not have an expiration date configured. Secrets without expiration dates can remain valid indefinitely, increasing security risk if compromised and violating security best practices for secret rotation.

Weakness:

446 - Insecure service configuration - Azure

Category: Functionality Abuse

Detection Strategy

    Scans all secrets in Azure Key Vault instances

    Checks if the secret is currently enabled (attributes.enabled = true)

    Verifies if the secret has no expiration date set (attributes.expires is null/empty)

    Reports a vulnerability for each enabled secret that lacks an expiration date

Severity v4.0

1.7

Low

Method ID

CSPM-ENT6U

Technique

CSPM

Target

AZURE

Technology

KEY_VAULT

CWE ID(s)

CWE-1188