Sucuri API v2 — Show Settings

API v2 - Show Settings

This action allows you to retrieve from our service your current account settings for the domain associated with the API Key passed in the request. Note that not all the settings of your account will be returned — only the ones we consider as public data.

sh curl 'https://waf.sucuri.net/api?v2' \ --data 'k=API_KEY' \ --data 's=API_SECRET' \ --data 'a=show_settings'

Output

Option Type Description
domain string The domain of the site.
internal_ip_main string The internal IP address of the site.
proxy_active integer One if the service is active, zero otherwise.
allowlist_list []string A list with all the IP addresses allowed so far.
blocklist_list []string A list with all the IP addresses blocked so far.
security_level string The security level chosen for the site.
cache_mode string The caching level chosen for the site.
admin_access string Admin panel access (open, restricted).
comment_access string Comments access (open, restricted).
internal_domain_ip string Firewall IP.
internal_domain_debug_list []string Debug URL.
compression_mode string Compression.
force_https string Protocol Redirection.
spdy_mode string HTTP/2 Support.
max_upload_size string Maximum Upload Size.
force_sec_headers string Add Additional Security Headers.
unfiltered_html string Stop unfiltered HTML from being sent to your site.
block_php_upload string Stop upload of PHP or executable content.
behind_cdn string Site is behind CDN.
http_flood_protection string Flood protection.
detect_adv_evasion string Advanced evasion detection.
aggressive_bot_filter string Aggressive bot filter.