pspete / psPAS

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

Radius menu formatting #338

Closed theOriginalKlaatu closed 3 years ago

theOriginalKlaatu commented 3 years ago

Using radius with multiple choices, it would be nice if the menu presented weren't all on one line: image

It would be nice to see each choice on a new line.

pspete commented 3 years ago

The string is received from the RADIUS server; not sure any provision to parse and format an unknown arbitrary string value can be developed easily.

theOriginalKlaatu commented 3 years ago

I was afraid of that. I tried, and failed miserably, to format the stream. It's just cosmetic, so if it's too difficult, kill the request

pspete commented 3 years ago

As far as I can tell (through albeit limited research), even if the RADIUS challenge message should be pre-formatted with line breaks, these appear to be removed before being returned as an exception message from the API.

Closing as the message format/options can change between implementations/solutions - current behaviour works in the same way for all.