You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chopeen
changed the title
Check if Azure alert exists fails because 'global' location name is lowercase
Checking Azure alert is failing because 'global' location name is lowercase
Jun 5, 2024
Describe the bug
When
azurerm_monitor_activity_log_alert
is used to create a new alert, the following spelling is used:When such an alert is created, ScoutSuite does not find it, because it checks for region
Global
(seeDisplayName
andName
spelling of region names):ScoutSuite/ScoutSuite/providers/azure/resources/loggingmonitoring/activity_log_alerts.py
Lines 44 to 47 in 7909f2f
Proposed fix
Make the string comparison case insensitive.
The text was updated successfully, but these errors were encountered: