Skip to content

Commit

Permalink
Merge pull request #6767 from ministryofjustice/issue-13-e
Browse files Browse the repository at this point in the history
Issue 13 - Adds additional sed statements to the redact-output script.
  • Loading branch information
mikereiddigital authored Jun 27, 2024
2 parents 183fd40 + 3db986b commit c142141
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/redact-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ sed -e 's/AWS_SECRET_ACCESS_KEY".*/<REDACTED>/g' \
-e 's/AWS_ACCESS_KEY_ID".*/<REDACTED>/g' \
-e 's/$AWS_SECRET_ACCESS_KEY".*/<REDACTED>/g' \
-e 's/$AWS_ACCESS_KEY_ID".*/<REDACTED>/g' \
-e 's/\[id=.*\]/\[id=<REDACTED>\]/g'
-e 's/\[id=.*\]/\[id=<REDACTED>\]/g' \
-e 's/::[0-9]\{12\}:/::REDACTED:/g' \
-e 's/:[0-9]\{12\}:/:REDACTED:/g'

0 comments on commit c142141

Please sign in to comment.