Pure-Storage-Ansible / FlashArray-Collection

Ansible Collection for Pure Storage FlashArray
GNU General Public License v3.0
19 stars 21 forks source link

Add purefa_sessions module #585

Closed sdodsley closed 1 week ago

sdodsley commented 1 week ago
SUMMARY

Add module purefa_sessions to get data from the FlashArray sessions log. Parameters are: start - Human readable time in format %Y-%m-%d %H:%M:%S. If not provided will default to Null. end - Human readable time in format %Y-%m-%d %H:%M:%S. If not provided will default to Null. timezone - Official pytz timezone name, eg America/Los_Angeles, for the human readable timestamps. If not provided and the FlashArray is running an appropriate version of Purity//FA this will be obtained from the FlashArray, otherwise the timezone of the system running the Ansible playbook will be used. Add new function to common module

ISSUE TYPE
COMPONENT NAME

purefa_sessions module_utils/common.py