Skip to content

Commit

Permalink
[OPENJDK-3009] Behave test for masking passwords in logs
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed May 14, 2024
1 parent a5fc7fe commit 198f7e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/run/tests/features/run.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@ubi8
Feature: OpenJDK run script tests
Scenario: OPENJDK-3009: Ensure command-line options containing 'password' are masked in logs
Given container is started with env
| variable | value |
| JAVA_OPTS_APPEND | -Djavax.net.ssl.trustStorePassword=sensitiveString |
Then container log should not contain sensitiveString

0 comments on commit 198f7e2

Please sign in to comment.