Boolean Fields in Log Datasets and Extension API Properties
How bool and boolean fields are defined in Cloudflare Logpush datasets and Chrome extension APIs, with meanings, defaults, and how to read them.
Most of the material in this cluster comes from Cloudflare Logpush dataset field references and Chrome extension API references. Both document many boolean-valued fields: Logpush uses the type name bool; Chrome’s extension platform uses boolean for properties and method parameters. The page explains what those flags mean in practice, where they appear (HTTP, DNS, Zero Trust, device telemetry), and how Chrome documents optional booleans with defaults.
bool in Cloudflare Logpush datasets
Section titled “bool in Cloudflare Logpush datasets”Logpush jobs export structured log lines; each dataset lists fields with a Type. When the type is bool, the field is a true/false indicator for a single condition at event time—not a counter or enum.
Type: bool
If request was allowed or denied.
— Cloudflare, Access Requests — Allowed
Similar patterns appear across account- and zone-level datasets: success of an action, cache behavior, security posture, and client capabilities.
Access, audit, and AI traffic
Section titled “Access, audit, and AI traffic”| Field | Dataset | Meaning |
|---|---|---|
Allowed |
Access Requests | Whether the request was allowed or denied |
ActionResult |
Audit Logs | Whether the action was successful |
Cached |
AI Gateway Events | Whether the request was cached |
Success |
MCP Portal Logs | Whether the request succeeded |
For policy and compliance analysis, Allowed and ActionResult are the usual filters: denied access attempts vs successful admin changes.
HTTP requests: cache and Workers (not only bool)
Section titled “HTTP requests: cache and Workers (not only bool)”HTTP Requests (account and zone variants) mix string enums with booleans. Cache outcome is CacheCacheStatus (string), not a bool:
Cache status.
Possible values are unknown | miss | expired | updating | stale | hit | ignored | bypass | revalidated | dynamic | stream_hit | deferred
“dynamic” means that a request is not eligible for cache.
— Cloudflare, HTTP Requests — CacheCacheStatus
Boolean fields on the same dataset answer narrower yes/no questions:
| Field | Meaning |
|---|---|
CacheReserveUsed |
Cache Reserve was used to serve this request |
CacheTieredFill |
Tiered Cache was used to serve this request |
EdgeCFConnectingO2O |
Request looped through multiple zones on the edge (O2O) |
WorkerSubrequest |
Whether this request was a Worker subrequest |
Do not treat CacheCacheStatus as a boolean; use the dedicated bool fields when you need “was tiered cache involved?” style logic.
DNS and Gateway
Section titled “DNS and Gateway”DNS-related booleans describe client capability and cache state:
| Field | Dataset | Meaning |
|---|---|---|
QueryDO |
DNS Firewall Logs | Client can handle a signed response (DNSSEC AD OK) |
QueryRD |
DNS Firewall Logs | Client requested recursion (RD) |
ResponseCached |
DNS Firewall Logs, DNS Logs | Whether the response was cached |
ResponseCachedStale |
DNS Firewall Logs | Cached but stale (TTL expired, upstream unreachable) |
IsResponseCached |
Gateway DNS | Response came from cache or not |
Gateway HTTP adds isolation and quarantine flags: IsIsolated (request from an isolated browser) and Quarantined (content quarantined).
Zero Trust, devices, and network sessions
Section titled “Zero Trust, devices, and network sessions”Device and session datasets pack several independent booleans per row. DEX Device State Events include, among others:
Type: bool
Whether the WARP daemon is configured to reconnect automatically or not.
— Cloudflare, DEX Device State Events — AlwaysOn
The same dataset documents AppFirewallEnabled, BatteryCharging, FirewallEnabled, and SwitchLocked (WARP configured to always be enabled)—each a separate bool, not a bitmask.
Device Posture Results expose PostureEvaluatedResult: whether the upload passed the posture check at that timestamp. Zero Trust Network Session Logs include ConnectionReuse (TCP reused for multiple HTTP requests). WARP Toggle Changes use Toggled for whether the device was toggled.
Spectrum and other zone events
Section titled “Spectrum and other zone events”Spectrum Events record IpFirewall: whether IP Firewall was enabled at connection time—a snapshot bool, not a rule outcome string.
boolean in Chrome extension APIs
Section titled “boolean in Chrome extension APIs”Chrome documents extension surfaces with the ECMAScript-style name boolean, usually on property bags and call options. MV3 APIs live under browser.*; MV2 mirrors appear under chrome.*.
Toolbar visibility and UI toggles
Section titled “Toolbar visibility and UI toggles”browser.action exposes whether the action icon is pinned to the toolbar:
isOnToolbar
boolean
Whether the extension’s action icon is visible on browser windows’ top-level toolbar (i.e., whether the extension has been ‘pinned’ by the user).
— Google Chrome, browser.action — Properties
The same page also lists isOnToolbar as boolean optional when it is not always present on the type—read “optional” as “may be omitted from the object,” not as a third logical value.
browser.downloads and MV2 chrome.downloads use enabled (boolean) to enable or disable the download UI, as both a property and a parameter—same name, same type in different API shapes.
Optional booleans and defaults
Section titled “Optional booleans and defaults”Extension docs often pair optional with default behavior. On browser.management:
showConfirmDialog
boolean optional
Whether or not a confirm-uninstall dialog should prompt the user. Defaults to false for self uninstalls. If an extension uninstalls another extension, this parameter is ignored and the dialog is always shown.
— Google Chrome, browser.management — Properties
MV2 chrome.management documents the same semantics—when migrating MV2 → MV3, match defaults and ignore rules, not only the type name.
browser.system.display shows two related flags: singleUnified (optional, default false—only one DisplayUnitInfo in unified desktop mode) and parameter enabled for enableUnifiedDesktop (“True if unified desktop should be enabled”). MV2 chrome.system.display mirrors this pattern.
Legacy and app APIs
Section titled “Legacy and app APIs”chrome.webviewTag (Chrome Apps) documents parameter enabled as boolean for spatial navigation state—useful mainly for maintaining legacy apps; new work typically follows MV3 service worker APIs.
Documentation site booleans (Cloudflare style guide)
Section titled “Documentation site booleans (Cloudflare style guide)”A smaller slice of the cluster is authoring configuration, not runtime logs. Custom properties use Type: boolean for frontmatter such as feedback (show FeedbackPrompt, default true) and optional hideChildren (sidebar grouping). Directory listing, Stream, Width, and Product changelog components expose boolean props (button, descriptions, expandChapters, showMoreVideos, center, publish future dated entry) with documented defaults—same logical type as Logpush bool, different schema name.
Cloudflare One MDM deployment parameters use Value Type: boolean for client policy, e.g. onboarding controls first-launch privacy screens (false hidden, true default visible). That is device policy configuration, not a field inside a Logpush row.
bool vs boolean: how to read both
Section titled “bool vs boolean: how to read both”| Aspect | Cloudflare Logpush | Chrome extension APIs | Cloudflare docs components |
|---|---|---|---|
| Type label | bool |
boolean |
boolean / type: boolean |
| Values | true/false in exported logs | true/false in JS | true/false in frontmatter and component props |
| Optional | Implied by presence of field in schema docs | Often marked optional with defaults |
Often default: true/false in component tables |
| Pitfall | Confusing string status fields with bools | Assuming omitted optional means false |
Mixing runtime logs with build-time props |
Common conclusion: In all three families, a boolean field answers one yes/no question. For Logpush, filter and aggregate on the named field and keep string enums separate. For extensions, honor optional, default, and ignored when wording in the same sentence as the type. For MDM and style-guide booleans, treat them as configuration switches, not as columns in HTTP request logs.
Mistakes to avoid
Section titled “Mistakes to avoid”- Mapping
CacheCacheStatusto a single true/false “cached” flag instead of usinghit/miss/staleorCacheReserveUsed/CacheTieredFillwhere appropriate. - Treating missing optional Chrome properties as
falsewithout reading the documented default. - Assuming every “enabled” field means the same thing—
FirewallEnabledon a device event vsenabledon downloads UI vs WARPSwitchLockedare unrelated semantics. - Building dashboards on deprecated bool columns without checking the dataset page (e.g. Page Shield).
How to check this on your site
Section titled “How to check this on your site”- In your Logpush destination, sample one row from an HTTP Requests or Access Requests job and confirm bool fields serialize as JSON booleans (not
0/1strings unless your pipeline casts them). - Cross-check each field you parse against the official dataset page for that field’s Type and description so you do not mis-handle string fields like
CacheCacheStatus. - For a Chrome extension, log or inspect API return objects (e.g.
browser.actionisOnToolbar) and compare with documented optional/default rules onbrowser.management. - If you ship Cloudflare One via MDM, verify the
onboardingboolean in MDM deployment parameters matches the first-launch behavior you expect. - You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match the linked provider documentation, email yimasynthetic@gmail.com with the page URL and the exact sentence or field definition you think is wrong, and we will correct or clarify it.