<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_all_policy_ids(zap_helper):
 """Get all policy IDs."""

    policies = zap_helper.zap.ascan.policies()
    return [p['id'] for p in policies]