fix(purpur): apply log4j mitigations specific to Purpur (#1280)

This commit is contained in:
Geoff Bourne
2022-01-16 20:49:15 -06:00
committed by GitHub
parent f29f098b26
commit e4c575c130
13 changed files with 43 additions and 32 deletions

View File

@@ -178,5 +178,14 @@ function isFamily() {
return 0
fi
done
return 1
}
function isType() {
for t in "${@}"; do
if [[ $TYPE == "$t" ]]; then
return 0
fi
done
return 1
}