cyberark / ansible-security-automation-collection

CyberArk Ansible Security Automation Collection
MIT License
60 stars 39 forks source link

concurrentSessions not working #34

Closed linionbb closed 3 years ago

linionbb commented 3 years ago

Summary

There is no support currently for having multiple sessions. Seems to be a bug in the code: concurrentSessions is not a valid body parameter for the API (v2). The field name is concurrentSession (without 's').

Steps to Reproduce

Try to use concurrentsessions in a play, does not work.

Expected Results

Multiple sessions allowed by same user

Actual Results

Session is logged out when another token is requested

Reproducible

Version/Tag number

v12.1

Environment setup

Additional Information

Add any other context about the problem here.

pint2oo commented 3 years ago

Commit c8eed7331850a11d456ed69eb22c450f1165b25d apparently includes the fix for this.

linionbb commented 3 years ago

Indeed... Could be useful if cyberark closes these issues after fixing...