# excludeSensitiveData
By default, Java Flight Recorder (JFR) recordings may contain environment variables and JVM system properties. These may include sensitive information such as passwords, API keys, authentication tokens, database credentials, and other confidential application configuration details. When set to true, the yc-360 script disables the jdk.InitialEnvironmentVariable and jdk.InitialSystemProperty events when starting the JFR recording. This ensures that these values are not captured in the JFR file or transferred to the yCrash server through that recording.
Disabling these events does not affect root cause analysis.
Type: boolean
Default: false
Example (YAML):
options:
excludeSensitiveData: true
2
Example (CLI):
./yc -excludeSensitiveData true
Note: If both excludeSensitiveData and jfrSettings arguments are specified, excludeSensitiveData takes priority. The two sensitive events remain disabled even if the specified JFR configuration enables them.