Skip to content

Commit

Permalink
ci - azure - public ip test filter to the ip the test created (#6343)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-dub committed Dec 10, 2020
1 parent c8e8519 commit 69ee23e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/c7n_azure/tests_azure/test_diagnostic_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ def test_filter_diagnostic_settings_absent(self):
'name': 'test-azure-tag',
'resource': 'azure.publicip',
'filters': [
{
'type': 'value',
'key': "name",
'value': 'cctestdiagnostic_loadbalancer_public_ip'
},
{
'type': 'diagnostic-settings',
'key': "logs[?category == 'DDoSProtectionNotifications'][].enabled",
Expand Down

0 comments on commit 69ee23e

Please sign in to comment.