Hello,
I am using shared array with scenario.iterationInTest as I can’t re-use data in my tests. Using this however is generating a security error on CWE scans, semgrep (configured in pipeline scans) as Semgrep
I am using the standard bracket object notation as below to get the data from shared array as documented
data[scenario.iterationInTest].accountNumber
How do we mitigate this ? Since scenario.iterationInTest is an index (not a property that I can replace with dot notation or put some checks prior accessing the object key)
Thanks,
Sumanta