mirror of
https://github.com/j93es/oauth-backend.git
synced 2026-06-04 02:31:51 +09:00
코드 수정
This commit is contained in:
parent
9882a0586b
commit
d883441def
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ from typing import List, Dict, Any
|
|||
# file path는 'data/report.csv'로 고정
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue