Security Assessment for Cloudflare
Read-only security checks for Cloudflare account settings, zones, R2, and WAF.
Cloudflare
Service SE.CF.Api. Its tests are skipped while it is not connected.
PowerShell
Connect-Maester -Service SE.CF.Api | Setting | Environment variable | Notes |
|---|---|---|
AccountId | MAESTER_SE_CF_API_ACCOUNTID | Or Connections.SE.CF.Api.AccountId in maester-config.json. |
ZoneId | MAESTER_SE_CF_API_ZONEID | Or Connections.SE.CF.Api.ZoneId in maester-config.json. |
BucketName | MAESTER_SE_CF_API_BUCKETNAME | Or Connections.SE.CF.Api.BucketName in maester-config.json. |
ApiToken | MAESTER_SE_CF_API_APITOKEN | Secret: pass with -ServiceSetting or the environment variable, never the config. |
Install
Install-MtPack SamErde/maester-pack-for-cloudflare Assumes Maester is installed. New to Maester? Get started.
Next: connect and run
Connect
$env:MAESTER_SE_CF_API_APITOKEN = Read-Host 'Cloudflare API token' -MaskInputConnect-Maester -Service SE.CF.Api -ServiceSetting @{ AccountId = (Read-Host 'Cloudflare account ID').Trim() } Run
Invoke-Maester -Path . -Pack SE.CF -SkipBuiltIn -NonInteractiveRemove-Item Env:MAESTER_SE_CF_API_APITOKEN -ErrorAction SilentlyContinueDisconnect-Maester