Skip to content

Commit

Permalink
sarif fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Oct 5, 2022
1 parent 0f1e3ba commit f005a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion njsscan/formatters/sarif.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def create_result(rule_id, issue_dict, rules, rule_indices):
name=get_rule_name(rule_id),
help_uri=doc,
properties={
'tags': ['security', f'external/cwe{cwe_id}'],
'tags': ['security', f'external/cwe/{cwe_id}'],
},
)
rule_index = len(rules)
Expand Down

0 comments on commit f005a35

Please sign in to comment.