Skip to content

Commit 2570379

Browse files
wilkinsonasbrannen
authored andcommitted
Obfuscate IP addresses in build scans
Closes gh-23690
1 parent e6678f4 commit 2570379

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if (System.getenv('GRADLE_ENTERPRISE_URL')) {
2222
apply from: "$rootDir/gradle/build-scan-user-data.gradle"
2323
buildScan {
2424
captureTaskInputFiles = true
25+
obfuscation {
26+
ipAddresses { addresses -> addresses.collect { address -> '0.0.0.0'} }
27+
}
2528
publishAlways()
2629
server = System.getenv('GRADLE_ENTERPRISE_URL')
2730
}

0 commit comments

Comments
 (0)