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); } }