Skip to content

Commit ea4775b

Browse files
committed
test(COD-4237): no longer rely on SBOM eval for the integration tests
1 parent 8c0de50 commit ea4775b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

sample-repo/.lacework/codesec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
default:
2+
sca:
3+
scan:
4+
enableVulnEval: false

sample-repo/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class PulseTaintTests
77
[HttpPost]
88
static void httpPostSourceToSqlSink(string inputParameter)
99
{
10-
using var _ = new SqlCommand(inputParameter);
10+
string query = "SELECT * FROM " + inputParameter;
11+
using var _ = new SqlCommand(query);
1112
}
1213
}

0 commit comments

Comments
 (0)