From ea4775b97fc9387ec0ad9816f209b41b81e6621a Mon Sep 17 00:00:00 2001 From: Jeremy Dubreil Date: Tue, 21 Jan 2025 22:20:27 +0000 Subject: [PATCH] test(COD-4237): no longer rely on SBOM eval for the integration tests --- sample-repo/.lacework/codesec.yaml | 4 ++++ sample-repo/Program.cs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 sample-repo/.lacework/codesec.yaml diff --git a/sample-repo/.lacework/codesec.yaml b/sample-repo/.lacework/codesec.yaml new file mode 100644 index 00000000..61a96f0a --- /dev/null +++ b/sample-repo/.lacework/codesec.yaml @@ -0,0 +1,4 @@ +default: + sca: + scan: + enableVulnEval: false diff --git a/sample-repo/Program.cs b/sample-repo/Program.cs index 7f391280..e34794c5 100644 --- a/sample-repo/Program.cs +++ b/sample-repo/Program.cs @@ -7,6 +7,7 @@ class PulseTaintTests [HttpPost] static void httpPostSourceToSqlSink(string inputParameter) { - using var _ = new SqlCommand(inputParameter); + string query = "SELECT * FROM " + inputParameter; + using var _ = new SqlCommand(query); } }