File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
77[project]
88name = "socketsecurity"
9- version = "2.0.42 "
9+ version = "2.0.43 "
1010requires-python = ">= 3.10"
1111license = {"file" = "LICENSE"}
1212dependencies = [
Original file line number Diff line number Diff line change 11__author__ = 'socket.dev'
2- __version__ = '2.0.42 '
2+ __version__ = '2.0.43 '
Original file line number Diff line number Diff line change 22import logging
33import re
44from pathlib import Path
5-
6- from docutils.nodes import title
75from mdutils import MdUtils
86from prettytable import PrettyTable
97
@@ -235,7 +233,7 @@ def create_security_comment_sarif(diff) -> dict:
235233 unique_rule_id = f"{base_rule_id} ({mf})"
236234 rule_name = f"Alert {base_rule_id} ({mf})"
237235 props = {}
238- if hasattr(alert, 'props'):
236+ if hasattr(alert, 'props') and alert.props :
239237 props = alert.props
240238 suggestion = ''
241239 if hasattr(alert, 'suggestion'):
You can’t perform that action at this time.
0 commit comments