Island: Remove config_passwords from report
Work being done in issue #1965 makes including config_passwords in the report unnecessary.
This commit is contained in:
parent
521396ff81
commit
60a1e79179
|
@ -3,16 +3,9 @@ from __future__ import annotations
|
|||
from bson import json_util
|
||||
|
||||
from monkey_island.cc.models.report.report import Report
|
||||
from monkey_island.cc.server_utils.encryption import (
|
||||
SensitiveField,
|
||||
StringListEncryptor,
|
||||
decrypt_dict,
|
||||
encrypt_dict,
|
||||
)
|
||||
from monkey_island.cc.server_utils.encryption import decrypt_dict, encrypt_dict
|
||||
|
||||
sensitive_fields = [
|
||||
SensitiveField(path="overview.config_passwords", field_encryptor=StringListEncryptor)
|
||||
]
|
||||
sensitive_fields = []
|
||||
|
||||
|
||||
def save_report(report_dict: dict):
|
||||
|
|
|
@ -504,7 +504,6 @@ class ReportService:
|
|||
report = {
|
||||
"overview": {
|
||||
"manual_monkeys": ReportService.get_manual_monkey_hostnames(),
|
||||
"config_passwords": config_passwords,
|
||||
"config_exploits": ReportService.get_config_exploits(),
|
||||
"config_ips": ReportService.get_config_ips(),
|
||||
"config_scan": ReportService.get_config_scan(),
|
||||
|
|
Loading…
Reference in New Issue