-
Notifications
You must be signed in to change notification settings - Fork 12
Threat control LWRP #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Threat control LWRP #6
Conversation
…udFlare * Stores last action in a node attribute cache, CF API is only called once per day, or if status changes * IP attribute defaults to current's node IP address
|
||
private | ||
|
||
# this needs to be done at run time, not compile time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blargh. DRY that up in a lib file FFS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implying I should refactor that bit in the dns_record
resource as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…grant self-contained testing
Re-factored and merged as #7 |
Cf. first commit and README changes:
Add a threat_control LWRP, allowing to whitelist/blacklist IPs on CloudFlare