diff --git a/plugins/google/compute/instanceNetworkExposure.js b/plugins/google/compute/instanceNetworkExposure.js index 6e631c258f..6a601b8c1a 100644 --- a/plugins/google/compute/instanceNetworkExposure.js +++ b/plugins/google/compute/instanceNetworkExposure.js @@ -67,7 +67,7 @@ module.exports = { instances.data.forEach(instance => { let networks = instance.networkInterfaces.map(nic => nic.network); - let tags = instance.tags?.items || []; + let tags = instance.tags && instance.tags.items ? instance.tags.items : []; let serviceAccount = instance.serviceAccounts[0]?.email || ''; let firewallRules = firewalls.data.filter(rule => {