|
| 1 | +{ |
| 2 | + "name": "appsec-iast", |
| 3 | + "cachegrind": false, |
| 4 | + "instructions": true, |
| 5 | + "iterations": 40, |
| 6 | + "variants": { |
| 7 | + "no-vulnerability-control": { |
| 8 | + "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
| 9 | + "run": "node --require ../../../init.js server-without-vulnerability.js", |
| 10 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js server-without-vulnerability.js\"", |
| 11 | + "env": { |
| 12 | + "DD_IAST_ENABLED": "0" |
| 13 | + } |
| 14 | + }, |
| 15 | + "no-vulnerability-iast-enabled-default-config": { |
| 16 | + "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
| 17 | + "run": "node --require ../../../init.js server-without-vulnerability.js", |
| 18 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js server-without-vulnerability.js\"", |
| 19 | + "baseline": "no-vulnerability-control", |
| 20 | + "env": { |
| 21 | + "DD_IAST_ENABLED": "1" |
| 22 | + } |
| 23 | + }, |
| 24 | + "no-vulnerability-iast-enabled-always-active": { |
| 25 | + "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
| 26 | + "run": "node --require ../../../init.js server-without-vulnerability.js", |
| 27 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js server-without-vulnerability.js\"", |
| 28 | + "baseline": "no-vulnerability-control", |
| 29 | + "env": { |
| 30 | + "DD_IAST_ENABLED": "1", |
| 31 | + "DD_IAST_REQUEST_SAMPLING": "100", |
| 32 | + "DD_IAST_MAX_CONCURRENT_REQUESTS": "1000", |
| 33 | + "DD_IAST_MAX_CONTEXT_OPERATIONS": "100" |
| 34 | + } |
| 35 | + }, |
| 36 | + "with-vulnerability-control": { |
| 37 | + "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
| 38 | + "run": "node --require ../../../init.js server-with-vulnerability.js", |
| 39 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js server-with-vulnerability.js\"", |
| 40 | + "env": { |
| 41 | + "DD_IAST_ENABLED": "0" |
| 42 | + } |
| 43 | + }, |
| 44 | + "with-vulnerability-iast-enabled-default-config": { |
| 45 | + "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
| 46 | + "run": "node --require ../../../init.js server-with-vulnerability.js", |
| 47 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js server-with-vulnerability.js\"", |
| 48 | + "baseline": "with-vulnerability-control", |
| 49 | + "env": { |
| 50 | + "DD_IAST_ENABLED": "1" |
| 51 | + } |
| 52 | + }, |
| 53 | + "with-vulnerability-iast-enabled-always-active": { |
| 54 | + "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
| 55 | + "run": "node --require ../../../init.js server-with-vulnerability.js", |
| 56 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js server-with-vulnerability.js\"", |
| 57 | + "baseline": "with-vulnerability-control", |
| 58 | + "env": { |
| 59 | + "DD_IAST_ENABLED": "1", |
| 60 | + "DD_IAST_REQUEST_SAMPLING": "100", |
| 61 | + "DD_IAST_MAX_CONCURRENT_REQUESTS": "1000", |
| 62 | + "DD_IAST_MAX_CONTEXT_OPERATIONS": "100" |
| 63 | + } |
| 64 | + } |
| 65 | + } |
| 66 | +} |
0 commit comments