Skip to content

Commit 28bf2a2

Browse files
committed
test: add http.useragent to integration test masking
1 parent 1021458 commit 28bf2a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/run_integration_tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ for handler_name in "${LAMBDA_HANDLERS[@]}"; do
227227
sed -E "s/(\"request_id\"\: \")[a-z0-9\.\-]+/\1XXXX/g" |
228228
sed -E "s/(\"http.source_ip\"\: \")[a-z0-9\.\-]+/\1XXXX/g" |
229229
sed -E "s/(\"http.user_agent\"\: \")[a-z0-9\.\-]+/\1XXXX/g" |
230+
sed -E "s/(\"http.useragent\"\: \")[a-z0-9\.\-]+/\1XXXX/g" |
230231
sed -E "s/(\"function_trigger.event_source_arn\"\: \")[A-Za-z0-9\/\.\:\-]+/\1XXXX/g" |
231232
sed -E "s/(\"duration\"\: )[0-9\.\-]+/\1\"XXXX\"/g" |
232233
sed -E "s/(\"start\"\: )[0-9\.\-]+/\1\"XXXX\"/g" |

0 commit comments

Comments
 (0)