File tree Expand file tree Collapse file tree 3 files changed +2136
-0
lines changed
tools/codacy-enigma-cli/test Expand file tree Collapse file tree 3 files changed +2136
-0
lines changed Original file line number Diff line number Diff line change 5151 # Run Pylint tests with simple sorting
5252 run_test "pylint" "."
5353
54+ # Run Enigma tests with simple sorting
55+ run_test "codacy-enigma-cli" "."
56+
5457 # Run Semgrep tests with rules sorting
5558 run_test "semgrep" ".runs[0].tool.driver.rules |= if . then sort_by(.id) else . end"
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 2.1.0" ,
3+ "$schema" : " https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json" ,
4+ "runs" : [
5+ {
6+ "tool" : {
7+ "driver" : {
8+ "name" : " codacy-enigma-cli"
9+ }
10+ },
11+ "results" : [
12+ {
13+ "ruleId" : " hardcoded_password" ,
14+ "level" : " warning" ,
15+ "message" : {
16+ "text" : " const string PASSWORD=\" THIS_M1GHT_B3_@\" ;"
17+ },
18+ "locations" : [
19+ {
20+ "physicalLocation" : {
21+ "artifactLocation" : {
22+ "uri" : " cpp/include/ktbind/ktbind.hpp"
23+ },
24+ "region" : {
25+ "startLine" : 120
26+ }
27+ }
28+ }
29+ ]
30+ }
31+ ]
32+ }
33+ ]
34+ }
You can’t perform that action at this time.
0 commit comments