Back to Checks
e2enetworks

E2E Networks database clusters are in RUNNING status

database_cluster_running
Service: databaseSeverity: low
OfficialBuilt-inVerified
Resource Type:NotDefined

E2E Networks database clusters should be in the RUNNING state, confirming they are operational rather than stopped, failed, or stuck in a transitional status.

Risk

Database clusters that are not RUNNING may indicate outages, failed provisioning, or misconfiguration that impacts availability and the ability to recover data.

Run this check with Prowler

Run in Prowler Cloud
Run
prowler e2enetworks --checks database_cluster_running

Recommendation

Start database clusters that are not in the RUNNING state and investigate the root cause of any stopped or failed clusters.

Check Code

from prowler.lib.check.models import Check, CheckReportE2eNetworks
from prowler.providers.e2enetworks.services.database.database_client import (
    database_client,
)


class database_cluster_running(Check):
    """Check if E2E Networks database clusters are in RUNNING status."""

    def execute(self) -> list[CheckReportE2eNetworks]:
        findings = []
        for cluster in database_client.clusters:
            report = CheckReportE2eNetworks(metadata=self.metadata(), resource=cluster)
            report.status = "PASS"
            report.status_extended = f"Database cluster {cluster.name} is running."
            if cluster.status != "RUNNING":
                report.status = "FAIL"
                report.status_extended = f"Database cluster {cluster.name} is not running (status: {cluster.status})."
            findings.append(report)
        return findings