RuleSeverity Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. RuleSeverity
- com.
- com.
public final class RuleSeverity
extends ExpandableStringEnum<RuleSeverity>
The rule severity.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
HIGH
High severity vulnerability requiring immediate attention. |
|
static final
Rule |
INFORMATIONAL
Informational finding that does not indicate a vulnerability. |
|
static final
Rule |
LOW
Low severity vulnerability with minimal risk. |
|
static final
Rule |
MEDIUM
Medium severity vulnerability that should be addressed. |
|
static final
Rule |
OBSOLETE
The rule is obsolete and no longer applicable. |
Constructor Summary
| Constructor | Description |
|---|---|
| RuleSeverity() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rule |
fromString(String name)
Creates or finds a Rule |
|
static
Collection<Rule |
values()
Gets known Rule |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HIGH
public static final RuleSeverity HIGH
High severity vulnerability requiring immediate attention.
INFORMATIONAL
public static final RuleSeverity INFORMATIONAL
Informational finding that does not indicate a vulnerability.
LOW
public static final RuleSeverity LOW
Low severity vulnerability with minimal risk.
MEDIUM
public static final RuleSeverity MEDIUM
Medium severity vulnerability that should be addressed.
OBSOLETE
public static final RuleSeverity OBSOLETE
The rule is obsolete and no longer applicable.
Constructor Details
RuleSeverity
@Deprecated
public RuleSeverity()
Deprecated
Creates a new instance of RuleSeverity value.
Method Details
fromString
public static RuleSeverity fromString(String name)
Creates or finds a RuleSeverity from its string representation.
Parameters:
Returns:
values
public static Collection<RuleSeverity> values()
Gets known RuleSeverity values.
Returns: