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

Commit

Permalink
no waf metrics (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mendrugory committed May 21, 2020
1 parent 6effee0 commit 25ffa46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 104 deletions.
6 changes: 1 addition & 5 deletions pystackpath/stacks/wafsites/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from pystackpath.stacks.wafsites.policy_groups import PolicyGroups
from pystackpath.stacks.wafsites.rules import Rules
from pystackpath.stacks.wafsites.events import Events
from pystackpath.stacks.wafsites.metrics import Metrics
from pystackpath.stacks.wafsites.traffic import Traffic


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

def events(self):
return Events(self._client, f"{self._base_api}/sites/{self.id}")

def metrics(self):
return Events(self._client, f"{self._base_api}/sites/{self.id}")
return Events(self._client, f"{self._base_api}/sites/{self.id}")

def traffic(self):
return Traffic(self._client, f"{self._base_api}")
99 changes: 0 additions & 99 deletions pystackpath/stacks/wafsites/metrics.py

This file was deleted.

0 comments on commit 25ffa46

Please sign in to comment.