elastic / SWAT

Simple Workspace Attack Tool (SWAT) is a tool for simulating malicious behavior against Google Workspace in reference to the MITRE ATT&CK framework.
Apache License 2.0
161 stars 7 forks source link

[Maintenance] Review SWAT Authentication `authenticate.py` #27

Closed terrancedejesus closed 1 year ago

terrancedejesus commented 1 year ago

Overview

This issue is used to track adjustments to the authentication workflow of SWAT. The suggestions/tasks listed were discussed during a peer code review.

Suggestions:

### Tasks
- [x] expose option to store access token and credentials or not
- [x] check for file or environment variable
- [x] Add missing `argparse` library
- [x] Add capability to authenticate with external Google account for adversary emulation