wazuh-ruleset icon indicating copy to clipboard operation
wazuh-ruleset copied to clipboard

[IMP] getawslog.py - move to boto3, logging, file in memory

Open mpucholblasco opened this issue 8 years ago • 1 comments

Changes

  • Moved from boto to boto3
  • Applied logging
  • Files content just handled in memory (no disk writes)
  • Changed content to adapt to pylint
  • Removed count a whole table rows to know if a table exists. Changed by a SELECT 1 FROM table.

Testing

By executing on a cloudtrail bucket.

Incompatibilities

  • Changed options flag -l | --log meaning. Now this flag represents the log output filename. Previous meaning has been moved to -o | --output.

mpucholblasco avatar Aug 23 '17 15:08 mpucholblasco

Hi @mpucholblasco,

sorry for the late response. We are working on this script too. We will consider your recommendations.

Thanks very much for your contribution.

jesuslinares avatar Oct 31 '17 12:10 jesuslinares