howtos:enable_or_disable_certificate_transparency_monitoring_via_api
Differences
This shows you the differences between two versions of the page.
howtos:enable_or_disable_certificate_transparency_monitoring_via_api [24/06/2022 14:53] – created domingo | howtos:enable_or_disable_certificate_transparency_monitoring_via_api [24/06/2022 14:59] (current) – [The Solution] domingo | ||
---|---|---|---|
Line 32: | Line 32: | ||
It was then trivial to make a script to go through all the zones and set the flag. | It was then trivial to make a script to go through all the zones and set the flag. | ||
+ | |||
+ | As Cloudflare paginates the output from the zone query I've accounted for the output to span multiple pages. The max amount of zones you can get per page is only 50, so if you have more than that you will not get all the zones in one call. The script takes the default per_page value (20) and then makes the required calls to get all pages. | ||
+ | You can modify the calls to get more per page by adding "& | ||
+ | < | ||
+ | / | ||
+ | </ | ||
==== The Script ==== | ==== The Script ==== |
howtos/enable_or_disable_certificate_transparency_monitoring_via_api.txt · Last modified: 24/06/2022 14:59 by domingo