Skip to content

Commit

Permalink
added support for account audit logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerasimov committed Mar 13, 2020
1 parent 102286e commit d7cdb0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CloudFlare/api_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def api_v4(self):
# The API commands for /accounts/
accounts(self)
accounts_addressing(self)
accounts_audit_logs(self)
accounts_firewall(self)
accounts_secondary_dns(self)

Expand Down Expand Up @@ -409,6 +410,11 @@ def accounts_addressing(self):
self.add('VOID', "accounts", "addressing/prefixes", "bgp")
self.add('AUTH', "accounts", "addressing/prefixes", "bgp/status")

def accounts_audit_logs(self):
""" API core commands for Cloudflare API"""

self.add('AUTH', "accounts", "audit_logs")

def accounts_firewall(self):
""" API core commands for Cloudflare API"""

Expand Down

0 comments on commit d7cdb0c

Please sign in to comment.