Skip to content

Commit e9fd469

Browse files
committed
update
1 parent d395709 commit e9fd469

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

src/codeaudit/ci_workflowscan.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
1717
from codeaudit.api_interfaces import filescan
1818
from codeaudit.dashboard_reports import SAST_REPORT_CSS
1919

20-
PYTHON_CODE_AUDIT_TEXT = '<a href="https://github.com/nocomplexity/codeaudit" target="_blank"><b>Python Code Audit</b></a>'
21-
DISCLAIMER_TEXT = (
22-
'<div class="sast-report"><p><b>Disclaimer:</b> <i>This SAST tool '
23-
+ PYTHON_CODE_AUDIT_TEXT
24-
+ " provides a powerful, automatic security analysis for Python source code. However, it's not a substitute for human review in combination with business knowledge. Undetected vulnerabilities may still exist.</i></p></div>"
25-
)
20+
# PYTHON_CODE_AUDIT_TEXT = '<a href="https://github.com/nocomplexity/codeaudit" target="_blank"><b>Python Code Audit</b></a>'
21+
# DISCLAIMER_TEXT = (
22+
# '<div class="sast-report"><p><b>Disclaimer:</b> <i>This SAST tool '
23+
# + PYTHON_CODE_AUDIT_TEXT
24+
# + " provides a powerful, automatic security analysis for Python source code. However, it's not a substitute for human review in combination with business knowledge. Undetected vulnerabilities may still exist.</i></p></div>"
25+
# )
2626

2727
NOSEC_WARNING = '<div class="sast-report"><p><b>INFO</b>: The --nosec flag is active. Security findings with in-line suppressions will be excluded from the report.</p></div>'
2828

29-
HTML_FOOTER = (
30-
'<div class="sast-report"><p><hr>'
31-
+ 'Check the <a href="https://nocomplexity.com/documents/codeaudit/intro.html" '
32-
+ 'target="_blank">documentation</a> for help on found issues.<br>'
33-
+ "</p></div>"
34-
)
29+
# HTML_FOOTER = (
30+
# '<div class="sast-report"><p><hr>'
31+
# + 'Check the <a href="https://nocomplexity.com/documents/codeaudit/intro.html" '
32+
# + 'target="_blank">documentation</a> for help on found issues.<br>'
33+
# + "</p></div>"
34+
# )
3535

3636

3737
def ci_scan(input_path, output="text", nosec=True):
@@ -279,7 +279,7 @@ def safe_line(x):
279279
html += "</tbody></table>"
280280
html += "</details><br>"
281281
html += "</div>"
282-
html += DISCLAIMER_TEXT
283-
html += HTML_FOOTER
282+
# html += DISCLAIMER_TEXT
283+
# html += HTML_FOOTER
284284

285285
return html, 1

0 commit comments

Comments
 (0)