[core] make whitelistRecord param required