pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
291 stars 91 forks source link

Issue 339 #346

Closed pspete closed 3 years ago

pspete commented 3 years ago

Summary

Adds support multiple RADIUS challenge responses.

This PR fixes/implements the following features:

When a RADIUS implementation presents a user with multiple sub options at multiple levels, this update presents each challenge back to the user allowing them to respond.

Abstracts code from 'New-PASSession' into new helper function, Send-RADIUSResponse , simplifying try\catch usage and allowing recursion when a challenge is received.

Test Plan

Tests updated to mock RADIUS responses featuring multiple challenge responses

Closes issues

Fixes #

Closes #339