  def _NormaliseFirewallL4Config(self, l4config: List[Any]) -> List[Any]:
    """Normalise l4config dict key names that differ between policies and
    firewalls.

    Args:
      l4config List[Any]: the l4config to be normalised

    Returns:
      List[Any]: the normalised l4config"""
    normalised_l4config = []
    for config in l4config:
      normalised = {}
      if 'ipProtocol' in config:
        normalised['ip_protocol'] = config['ipProtocol']
      elif 'IPProtocol' in config:
        normalised['ip_protocol'] = config['IPProtocol']
      if 'ports' in config:
        normalised['ports'] = config['ports']
      normalised_l4config.append(normalised)

    return normalised_l4config
Normalise l4config dict key names that differ between policies and
firewalls.

Args:
l4config List[Any]: the l4config to be normalised

Returns:
List[Any]: the normalised l4config
libcloudforensics/providers/gcp/internal/compute.py