add pattern excludes for binary files
Original commit: elastic/x-pack-elasticsearch@f1077e35f8
This commit is contained in:
parent
f3ec4a5208
commit
0bc496ae04
|
@ -10,5 +10,12 @@ dependencies {
|
|||
// add test resources from security, so certificate tool tests can use example certs
|
||||
sourceSets.test.resources.srcDirs(project(':x-pack-elasticsearch:plugin:security').sourceSets.test.resources.srcDirs)
|
||||
|
||||
// we have to repeate these patterns because the security test resources are effectively in the src of this project
|
||||
forbiddenPatterns {
|
||||
exclude '**/*.key'
|
||||
exclude '**/*.p12'
|
||||
exclude '**/*.der'
|
||||
}
|
||||
|
||||
// these are just tests, no need to audit
|
||||
thirdPartyAudit.enabled = false
|
||||
|
|
Loading…
Reference in New Issue