Skip to content

Commit 302e352

Browse files
Fixes threat profile spam and phishing risk score bug.
1 parent 55d2c99 commit 302e352

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

analyzers/DomainToolsIris/domaintoolsiris_analyzer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ def format_single_domain(self, domain_data):
153153
] = DomainToolsAnalyzer.get_threat_level_class(
154154
domain_risk["tpm"]["value"]
155155
)
156-
threat_profile_phshing_data = DomainToolsAnalyzer.get_threat_component(
156+
threat_profile_phishing_data = DomainToolsAnalyzer.get_threat_component(
157157
risk_components, "threat_profile_phishing"
158158
)
159-
if threat_profile_phshing_data:
159+
if threat_profile_phishing_data:
160160
domain_risk["tpp"] = {}
161-
domain_risk["tpp"]["value"] = threat_profile_malware_data.get(
161+
domain_risk["tpp"]["value"] = threat_profile_phishing_data.get(
162162
"risk_score", 0
163163
)
164164
domain_risk["tpp"][
@@ -171,7 +171,7 @@ def format_single_domain(self, domain_data):
171171
)
172172
if threat_profile_spam_data:
173173
domain_risk["tps"] = {}
174-
domain_risk["tps"]["value"] = threat_profile_malware_data.get(
174+
domain_risk["tps"]["value"] = threat_profile_spam_data.get(
175175
"risk_score", 0
176176
)
177177
domain_risk["tps"][

0 commit comments

Comments
 (0)