'List firewall policies.
:rtype: ``list`` of :class:`.CloudSigmaFirewallPolicy`'

def ex_list_firewall_policies(self):

    action = '/fwpolicies/detail/'
    response = self.connection.request(action=action, method='GET').object
    policies = [self._to_firewall_policy(data=item) for item in response['objects']]
    return policies
