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 bson import json_util
|
||||||
|
|
||||||
from monkey_island.cc.models.report.report import Report
|
from monkey_island.cc.models.report.report import Report
|
||||||
from monkey_island.cc.server_utils.encryption import (
|
from monkey_island.cc.server_utils.encryption import decrypt_dict, encrypt_dict
|
||||||
SensitiveField,
|
|
||||||
StringListEncryptor,
|
|
||||||
decrypt_dict,
|
|
||||||
encrypt_dict,
|
|
||||||
)
|
|
||||||
|
|
||||||
sensitive_fields = [
|
sensitive_fields = []
|
||||||
SensitiveField(path="overview.config_passwords", field_encryptor=StringListEncryptor)
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def save_report(report_dict: dict):
|
def save_report(report_dict: dict):
|
||||||
|
|
|
@ -504,7 +504,6 @@ class ReportService:
|
||||||
report = {
|
report = {
|
||||||
"overview": {
|
"overview": {
|
||||||
"manual_monkeys": ReportService.get_manual_monkey_hostnames(),
|
"manual_monkeys": ReportService.get_manual_monkey_hostnames(),
|
||||||
"config_passwords": config_passwords,
|
|
||||||
"config_exploits": ReportService.get_config_exploits(),
|
"config_exploits": ReportService.get_config_exploits(),
|
||||||
"config_ips": ReportService.get_config_ips(),
|
"config_ips": ReportService.get_config_ips(),
|
||||||
"config_scan": ReportService.get_config_scan(),
|
"config_scan": ReportService.get_config_scan(),
|
||||||
|
|
Loading…
Reference in New Issue