Skip to content

Commit

Permalink
Merge pull request cloudflare#90 from pygrigori/master
Browse files Browse the repository at this point in the history
added support for account audit logs
  • Loading branch information
mahtin authored Apr 9, 2020
2 parents 513b92c + d7cdb0c commit c5d4890
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 c5d4890

Please sign in to comment.