코드 수정

This commit is contained in:
seungyeoncherry 2025-06-07 22:49:55 +09:00
commit d883441def
2 changed files with 2 additions and 1 deletions

View file

@ -45,7 +45,7 @@ class ScopeDetection:
if result != 0:
report_data = [{
'target': target.load(),
'status': "WARNING!",
'status': "WARNING",
'title': "OAuth scope value issue",
'description': f"{method} {url}: {', '.join(result)}",
'uri': url

View file

@ -9,6 +9,7 @@ from typing import List, Dict, Any
def save_report(report_data: List[Dict[str, Any]], file_path: str = 'data/report.csv') -> None:
os.makedirs(os.path.dirname(file_path), exist_ok=True)
"""
Save the report data to a CSV file.