Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet committed Feb 14, 2025
1 parent 4cb0b26 commit 66d17ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions karton_moodle_scanner/moodle_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@ def process_moodle_json(result: Dict[str, Any]) -> List[MoodleMessage]:
return list(messages.values())


@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.MEDIUM)
@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.LOW)
class MoodleScanner(BaseNewerVersionComparerModule): # type: ignore
"""
Runs Moodle-Scanner -> A Moodle Vulnerability Analyzer and checks for obsolete versions
"""

identity: str = "moodle"
identity: str = "moodle_scanner"
filters: List[Dict[str, str]] = [
{"type": TaskType.WEBAPP.value, "webapp": WebApplication.MOODLE.value},
]
software_name = "moodle_scanner"
software_name = "moodle"

def process_output(self, output: str) -> Dict[str, Any]:
"""Process moodlescan output and extract relevant information."""
Expand Down

0 comments on commit 66d17ba

Please sign in to comment.