code: def set_policy_attack_strength(self, policy_ids, attack_strength):
          
          for policy_id in policy_ids:
              self.logger.debug('Setting strength for policy {0} to {1}'.format(policy_id, attack_strength))
              result = self.zap.ascan.set_policy_attack_strength(policy_id, attack_strength)
              if result != 'OK':
                  raise ZAPError('Error setting strength for policy with ID {0}: {1}'.format(policy_id, result))
docs: Set the attack strength for the given policies.