Skip to content
PHP Ecosystem
Explore

Severity

API reference › Foxy › Audit › Severity

enumFoxy\Audit\Severity
Backed bystring
Sourcesrc/Audit/Severity.php

Normalized security advisory severity levels.

CaseValueDescription
CRITICAL'critical'
HIGH'high'
INFO'info'
LOW'low'
MODERATE'moderate'
MethodDescriptionDefined by
isAtLeast()Whether this severity meets or exceeds the threshold.Severity
weight()Returns the relative ordering weight of this severity.Severity
public function isAtLeast(self $threshold): bool

Whether this severity meets or exceeds the threshold.

Parameters

ParameterTypeDescription
$thresholdself

Returns

bool

public function weight(): int

Returns the relative ordering weight of this severity.

Returns

int