Skip to content

Commit

Permalink
296 #295 not rated categories are safe, and else are info
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Sep 3, 2018
1 parent 54d3129 commit c1da18b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/Fortiguard/urlcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def summary(self, raw):
elif r in self.get_param('config.suspicious_categories', []):
level = "suspicious"
elif r == "Not Rated":
level = "info"
else:
level = "safe"
else:
level = "info"

taxonomies.append(self.build_taxonomy(level, "Fortiguard", "URLCat", value))

Expand Down

0 comments on commit c1da18b

Please sign in to comment.