Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional G-Suite Admin Audit types. #1260

Merged
merged 3 commits into from
Jun 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions streamalert/apps/_apps/gsuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,13 @@ class GSuiteDriveReports(GSuiteReportsApp):
def _type(cls):
return 'drive'

@StreamAlertApp
class GSuiteUserGCPReports(GSuiteReportsApp):
"""G Suite GCP Accounts Activity Report app integration"""

@classmethod
def _type(cls):
return 'gcp'

@StreamAlertApp
class GSuiteGroupReports(GSuiteReportsApp):
Expand Down Expand Up @@ -312,6 +319,13 @@ class GSuiteLoginReports(GSuiteReportsApp):
def _type(cls):
return 'login'

@StreamAlertApp
class GSuiteMeetGCPReports(GSuiteReportsApp):
"""G Suite meet Accounts Activity Report app integration"""

@classmethod
def _type(cls):
return 'meet'

@StreamAlertApp
class GSuiteMobileReports(GSuiteReportsApp):
Expand All @@ -330,6 +344,14 @@ class GSuiteRulesReports(GSuiteReportsApp):
def _type(cls):
return 'rules'

@StreamAlertApp
class GSuiteSAMLGCPReports(GSuiteReportsApp):
"""G Suite SAML Accounts Activity Report app integration"""

@classmethod
def _type(cls):
return 'saml'


@StreamAlertApp
class GSuiteTokenReports(GSuiteReportsApp):
Expand Down
3 changes: 3 additions & 0 deletions tests/unit/streamalert/apps/test_apps/test_app_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,15 @@ def test_get_all_apps(self):
'gsuite_admin',
'gsuite_calendar',
'gsuite_drive',
'gsuite_gcp',
'gsuite_gplus',
'gsuite_groups',
'gsuite_groups_enterprise',
'gsuite_login',
'gsuite_meet',
'gsuite_mobile',
'gsuite_rules',
'gsuite_saml',
'gsuite_token',
'gsuite_user_accounts',
'intercom_admin_activity_logs',
Expand Down