diff --git a/checkov/common/bridgecrew/integration_features/features/suppressions_integration.py b/checkov/common/bridgecrew/integration_features/features/suppressions_integration.py index 95642b69c33..24b2158e515 100644 --- a/checkov/common/bridgecrew/integration_features/features/suppressions_integration.py +++ b/checkov/common/bridgecrew/integration_features/features/suppressions_integration.py @@ -182,7 +182,7 @@ def _check_suppression(self, record: Record, suppression: dict[str, Any]) -> boo elif type == 'LicenseType': return any(record.vulnerability_details and record.vulnerability_details['license'] == license_type - for license_type in suppression['licenseTypes']) + for license_type in suppression.get('licenseTypes', [])) return False