SmartResponse-Framework / SmartResponse.Framework

PowerShell module for developing LogRhythm SmartResponse Plugins
Other
8 stars 2 forks source link

Decoupling REST calls & error handling from cmdlets #21

Open GeneCupstid opened 4 years ago

GeneCupstid commented 4 years ago

Supporting PS Core and PS Desktop necessitates two possible requests for each API call in each cmdlet. Each have the responsibility for managing potential errors that may be returned.

This functionality should be decoupled from the cmdlets themselves to reduce the duplication of significant amounts of code in each cmdlet, and standardize the way requests and responses are managed throughout the module.

GeneCupstid commented 4 years ago

SEE #6

The information in that issue should be taken into consideration in this topic.