Skip to content
This repository was archived by the owner on Jul 15, 2022. It is now read-only.

Commit 25ffa46

Browse files
authored
no waf metrics (#48)
1 parent 6effee0 commit 25ffa46

2 files changed

Lines changed: 1 addition & 104 deletions

File tree

pystackpath/stacks/wafsites/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from pystackpath.stacks.wafsites.policy_groups import PolicyGroups
77
from pystackpath.stacks.wafsites.rules import Rules
88
from pystackpath.stacks.wafsites.events import Events
9-
from pystackpath.stacks.wafsites.metrics import Metrics
109
from pystackpath.stacks.wafsites.traffic import Traffic
1110

1211

@@ -30,10 +29,7 @@ def set_monitoring(self):
3029
return Monitoring(self._client, f"{self._base_api}/sites/{self.id}")
3130

3231
def events(self):
33-
return Events(self._client, f"{self._base_api}/sites/{self.id}")
34-
35-
def metrics(self):
36-
return Events(self._client, f"{self._base_api}/sites/{self.id}")
32+
return Events(self._client, f"{self._base_api}/sites/{self.id}")
3733

3834
def traffic(self):
3935
return Traffic(self._client, f"{self._base_api}")

pystackpath/stacks/wafsites/metrics.py

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)