SHARES
Day-to-day operations can present many challenges. Whether you’re wearing multiple hats within the same department or a project lead managing dozens, even hundreds of web applications – time is always the concern.
How late do I need to stay up tonight?
How much longer will this take? What did I miss?
I’ve heard this communicated a number of different ways, but the one takeaway is that leveraging APIs is invaluable to your everyday workflow when working with third-party vendors.
Here are some of the benefits of using APIs:
It can feel like a challenge to be able to build around new content pushes (or other data changes) when you think about your website’s production needs vs. your security requirements.
Managed providers help to an extent because they alleviate the load of tasks – like updates and backups – but they may not necessarily provide a robust detection tool or the ability to adjust protection to fit your application’s needs.
However, Sucuri’s Website Security Platform has built over time APIs that can help communicate with our dashboard to accomplish just about anything you require it to as events like the following occur:
Here are some examples of our most popular API tools being used by developers and systems architects alike for events like these, respectively, and many others:
It whitelists your current IP address (or another defined IP address) so it won’t be blocked by some of our security rules. It will also have access to your admin panels if you have it restricted to only trusted IP addresses on our security settings. Here’s an example:
curl 'https://waf.sucuri.net/api?v2' --data 'k=API_KEY' --data 's=API_SECRET' --data 'a=whitelist_ip' --data 'ip=IP_ADDRESS'
You can use our API to directly change your account settings. Below are a few examples, but there are many more options in your dashboard.
This option can be used to clear the Sucuri Website Firewall cache after any website changes have been made. This will reflect live as soon as you call it. Here is an example:
curl 'https://waf.sucuri.net/api?v2' --data 'k=API_KEY' --data 's=API_SECRET' --data 'a=clear_cache'
You can also streamline being able to add/remove a site from our automated monitoring. You have to use the “add” or “delete” action in the API url, along with the hostname. Here is an example of adding it to our platform:
$ curl -q "https://monitor00.sucuri.net/api.php?k=1a2bc34d5e6f7g&a=add&host=www.google.com" .. OK: Added: http://google.com
If you’re a host or managed provider that thrives on API usage, we’d be happy to discuss the other type of opportunities you can take advantage through our Partner program.
SHARES
*** This is a Security Bloggers Network syndicated blog from Sucuri Blog authored by Victor Santoyo. Read the original post at: https://blog.sucuri.net/2018/06/how-apis-can-streamline-your-operations.html
Digital+ Partners Leads Continuation Funding Round in Growing Automated Threat Analysis & Detection Provider, Closing its Series B Round at…
For three years OpenWRT had a severe validation problem with its download package manager, until a fuzz tester found and…
It’s time to say a final “Goodbye” to Flash. (Or should that be “Good riddance”?) With earlier this week seeing…
This is the second in a series of blog posts that discuss how smart DNS resolvers can enhance ongoing network…
Security researchers detected a new spear-phishing attack that’s using an exact domain spoofing tactic in order to impersonate Microsoft. On…
Welcome back to the last part of our three-part blog series on how to leverage analytics to deliver an exceptional…