Skip to content

Commit 6a13fd5

Browse files
committed
feat: add CheckMfa event
1 parent 709bc08 commit 6a13fd5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/spaceone/monitoring/conf/monitoring_conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
'UpdateCertificateTag',
4242
'UpdateTagOption',
4343
'UpdateTagsForDomain',
44-
'ConsoleLogin'
44+
'ConsoleLogin',
45+
'CheckMfa'
4546
]

src/spaceone/monitoring/manager/monitoring_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def lookup_events(self, params):
4646
console_login_target_user_name = ''
4747
iam_user_params = copy.deepcopy(params)
4848
iam_user_params['query']['LookupAttributes'] = \
49-
[{'AttributeKey': 'EventName', 'AttributeValue': 'ConsoleLogin'}]
49+
[{'AttributeKey': 'EventSource', 'AttributeValue': 'signin.amazonaws.com'}]
5050

5151
_lookup_attr = params.get('query', {}).get('LookupAttributes', [])
5252
if _lookup_attr:

0 commit comments

Comments
 (0)