severity
function used to detect vulnerabilities TBD
severity
fn severity(&self) -> IssueSeverityDefinition: https://github.com/Cyfrin/aderyn/blob/dev/aderyn_core/src/detect/detector.rs#L195
Returns the severity level of the issue detected by the implementor of this trait.
Returns:
IssueSeverity: The severity of the issue, which could beLow,Medium, orHigh.
Example
fn severity(&self) -> IssueSeverity {
IssueSeverity::High
}Issue Severity Enum
pub enum IssueSeverity {
Low,
High,
}source: https://github.com/Cyfrin/aderyn/blob/dev/aderyn_core/src/detect/detector.rs#L186
Last updated