google-workspace

v0.5.5 collector

Collects Google Workspace identity and security posture metrics

Install

epack install collector google-workspace

Adds to epack.yaml, resolves dependencies, downloads binary.

Usage

Run all configured collectors and build a pack:

epack collect

Runs all collectors in epack.yaml and outputs an evidence pack.

Configuration

Or add manually to epack.yaml:

collectors:
  google-workspace:
    source: https://github.com/locktivity/epack-collector-google-workspace

Then run epack install to lock and sync.

Google Workspace Collector Overview

The Google Workspace collector gathers security posture metrics from your Google Workspace tenant. It covers authentication strength, account hygiene, privileged access, password health, third-party app exposure, and positive-only Context-Aware Access deny evidence related to device state.

Output

The collector always emits a detailed artifact and a collector result, and emits a normalized artifact when it can read the tenant's primary domain:

  • artifacts/google-workspace.details.json: detailed Google Workspace posture metrics (always emitted)
  • artifacts/google-workspace.idp-posture.json: normalized evidencepack/idp-posture@v1 artifact for cross-provider comparison (omitted when the tenant record cannot be read, which takes a Super Admin)
  • artifacts/google-workspace.collector-result.json: the values the collector could not read, each with a code such as permission_denied or not_licensed, and the API calls it made (always emitted)

Values left out

A value the collector could not read is null in the detailed artifact, or absent in the normalized one, and the collector result says why. A percentage over no users is null in both. A normalized value Google Workspace has no data for is absent too, and the collector result lists it with the code unsupported. A normalized value Google reports through a read the collector does not make yet is absent with the code not_read. The usage report counts (users.total, suspended, archived) and the percentages derived from them are as of usage_report_date, two to three days back; users.active and the 2-step verification, activity, inactivity, and admin metrics come from the live Directory scan.

Google Workspace Artifact

{
  "schema_version": "1.0.0",
  "collected_at": "2026-04-08T12:00:00Z",
  "usage_report_date": "2026-04-07",
  "provider": "google-workspace",
  "org_domain": "example.com",
  "customer_id": "C123abc",
  "users": {
    "total": 120,
    "suspended": 10,
    "archived": 5,
    "active": 105,
    "locked_pct": 0.83,
    "inactive_pct": 4.76,
    "inactive_days": 90
  },
  "activity": {
    "active_7d_pct": 78.33,
    "active_30d_pct": 91.67
  },
  "authentication": {
    "2sv_enrolled_pct": 92.5,
    "2sv_enforced_pct": 88.33,
    "2sv_protected_pct": 90.0,
    "passkey_users_pct": 12.5,
    "security_keys_total": 35
  },
  "admins": {
    "privileged_users_count": 7,
    "super_admin_count": 3,
    "delegated_admin_count": 5,
    "privileged_users_2sv_enrolled_pct": 85.71,
    "privileged_users_2sv_enforced_pct": 100.0
  },
  "passwords": {
    "weak_password_pct": 4.17,
    "password_length_non_compliant_pct": 2.5,
    "policy": {
      "minimum_length": 8,
      "maximum_length": 100,
      "allowed_strength": "strong",
      "enforce_requirements_at_login": false,
      "allow_reuse": false,
      "expiration_days": 0,
      "distinct_policies": 2
    }
  },
  "sign_in": {
    "web_session_duration_max_minutes": 20160,
    "less_secure_apps_allowed": false
  },
  "apps": {
    "authorized_apps_count": 47
  },
  "device_access": {
    "lookback_days": 90,
    "context_aware_access_denied_events": 12,
    "device_state_denied_events": 4,
    "managed_device_requirement_evidenced": true,
    "access_context_manager": {
      "access_policy_name": "accessPolicies/123456789",
      "access_policy_parent": "organizations/987654321",
      "basic_access_levels_count": 6,
      "custom_access_levels_count": 1,
      "basic_device_policy_access_levels_count": 2,
      "basic_managed_device_access_levels_count": 1,
      "basic_device_policy_access_level_titles": ["Corp Device", "High Trust Device"]
    }
  }
}

customer_id, access_policy_name, and access_policy_parent are written from the audit level. A trust run leaves them out.

Normalized IDP Posture Artifact

{
  "schema_version": "1.0.0",
  "collected_at": "2026-04-08T12:00:00Z",
  "provider": "google_workspace",
  "org_domain": "example.com",
  "user_security": {
    "users_present": true,
    "user_count": 105,
    "inactive_user_count": 5,
    "mfa_coverage_pct": 92,
    "mfa_phishing_resistant_pct": 12,
    "inactive_pct": 5,
    "locked_out_pct": 1,
    "weak_password_pct": 5,
    "password_policy_noncompliant_pct": 3
  },
  "privileged_access": {
    "privileged_users_present": true,
    "privileged_users_count": 7,
    "super_admin_count": 3,
    "privileged_mfa_user_count": 6,
    "privileged_mfa_coverage_pct": 85
  },
  "policy": {
    "mfa_required": false,
    "mfa_required_user_count": 93,
    "mfa_required_coverage_pct": 88,
    "session_lifetime_max_min": 20160
  },
  "lifecycle": {
    "accounts_present": true,
    "account_count": 120,
    "suspended_account_count": 10,
    "archived_account_count": 5,
    "suspended_pct": 9,
    "archived_pct": 5
  },
  "device_access": {
    "managed_device_required": true
  }
}

The normalized artifact follows the evidencepack/idp-posture@v1 schema, matching the same shape used by the Okta and other IDP collectors. The example is an audit-level artifact. At the trust level the counts are left out and the *_present flags stay. app_security.authorized_third_party_apps_count is written at the internal level only.

Each normalized percentage is a whole number. A percentage where more is better, such as MFA coverage, rounds down. One where more is worse, such as inactive users, rounds up. The detailed artifact keeps two decimal places.

user_security.user_count is the live Directory scan's active users. inactive_pct is taken over it, and so is the 2SV share in mfa_coverage_pct. The other user_security percentages come from the usage report and are taken over its total users, which include suspended and archived accounts. Their counts are left out, because their total differs from user_count. When the user scan fails, users_present is unknown and those percentages are left out.

Normalized field Google Workspace source Notes
user_security.users_present, user_count users.active Users in the live Directory scan who are not suspended or archived
user_security.mfa_coverage_pct authentication.2sv_enrolled_pct, passkey_users_pct The larger of two shares. One is the active users enrolled in 2SV, over the live scan's active users. The other is the usage report's passkey users, over its total users. Suspended and archived users are left out of the 2SV share
user_security.mfa_phishing_resistant_pct passkey_users_pct Passkey adoption as phishing-resistant proxy
user_security.inactive_pct, inactive_user_count users.inactive_pct Over the live scan's active users
user_security.locked_out_pct users.locked_pct Over the usage report's total users
user_security.weak_password_pct weak_password_pct Over the usage report's total users
user_security.password_policy_noncompliant_pct password_length_non_compliant_pct Users that fail the tenant password length policy
app_security.authorized_third_party_apps_count authorized_apps_count OAuth-connected third-party application count
privileged_access.privileged_users_present, privileged_users_count privileged_users_count, admin roles Active super admins, and active delegated admins with a role that can change users, groups, org units, security, or settings, whether the role is assigned to them or to a group they are in. A role that can only retrieve or read does not count
privileged_access.super_admin_count super_admin_count Excludes suspended and archived admins
privileged_access.privileged_mfa_coverage_pct, privileged_mfa_user_count privileged_users_2sv_enrolled_pct Active privileged users with 2SV enrolled. Absent when a privileged delegated admin may sign in through a third-party SAML profile
privileged_access.standing_privileged_users_present, standing_privileged_users_count privileged_users_count false and 0 for a tenant with no admins, and absent otherwise
policy.mfa_required 2sv_enforced_pct true only when every active user has 2SV enforced by policy
policy.mfa_required_coverage_pct, mfa_required_user_count 2sv_enforced_pct Active users with 2SV enforced by policy
policy.session_lifetime_max_min sign_in.web_session_duration_max_minutes The longest web session any org unit or group allows
lifecycle.accounts_present, account_count users.total The usage report's total users, in every state
lifecycle.suspended_pct, suspended_account_count users.suspended Uses the usage report's suspended user count
lifecycle.archived_pct, archived_account_count users.archived Uses the usage report's archived user count
device_access.managed_device_required device_access.managed_device_requirement_evidenced Emitted only when Context-Aware Access deny events include a device-state parameter

The detailed artifact's admins.privileged_users_count counts every active user with isAdmin or isDelegatedAdmin. The normalized privileged_access counts a delegated admin only when a role assigned to them can change users, groups, org units, security, or settings, so the collector reads the admin roles and role assignments at every level when there is a delegated admin. The customer's list of role assignments holds only the roles assigned to a user directly, so the collector also lists each delegated admin's own assignments, which add the roles of the groups they are in. That is one more call for each delegated admin, under the same admin.directory.rolemanagement.readonly scope. When the roles or any of these assignments can't be read, the privileged counts are left out with a partial gap, and the super admins still make privileged_users_present true.

Users that an SSO assignment sends to a third-party SAML profile sign in through that identity provider, which decides their MFA, so Google 2-Step Verification does not cover them. The collector reads the SAML profiles and SSO assignments at every level. When an assignment sends an org unit or group to a SAML profile, the normalized MFA values (user_security.mfa_coverage_pct, mfa_phishing_resistant_pct, and the policy.mfa_required values) are left out with an unsupported gap that names the identity provider. The collector does not work out which users the assignments cover.

The password policy stays in the detailed artifact under passwords.policy, since the idp-posture schema has no password policy fields.

These normalized values are left out with an unsupported gap, since Google Workspace has no data for them:

  • app_security.sso_coverage_pct, provisioning_enabled_pct, deprovisioning_enabled_pct, and apps_present, with their counts. No Google Workspace API lists the apps set up for SSO or their provisioning settings.
  • policy.idle_timeout_max_min. Google Workspace has no idle timeout for sign-in sessions. Its session controls set only a web session length.
  • device_access.managed_device_required_for_admins. No API reports the Context-Aware Access levels assigned to apps.
  • policy.legacy_auth_blocked. Google stopped supporting less secure apps on May 1, 2025, so that setting has no effect on it. App passwords still allow password-only sign-in for users with 2-step verification, and no API reports whether they are in use.

These normalized values are left out with a not_read gap, since Google reports them through reads the collector does not make yet:

  • privileged_access.privileged_phishing_resistant_pct and its count. The Reports API's user usage report gives each user's passkeys as accounts:num_passkeys_enrolled, under admin.reports.usage.readonly.
  • policy.phishing_resistant_required_for_privileged. The Policy API gives each org unit's and group's allowed 2-Step Verification methods in security.two_step_verification_enforcement_factor, under cloud-identity.policies.readonly.
  • privileged_access.standing_privileged_users_present and its count, for a tenant with admins. An admin role can be assigned until a set time. The Directory API gives that time in a role assignment's expirationDetails.expireTime, under admin.directory.rolemanagement.readonly.

device_access.managed_device_required is positive-only evidence derived from Context-Aware Access audit logs. The collector sets it only when Google reports ACCESS_DENY_EVENT entries whose parameters include a device-state field. This is evidence that a device-state access level fired, not proof of complete policy coverage, and Google does not emit grant events for clean passes. Context-Aware Access monitor mode can also produce similar deny-style events, so the collector surfaces this as evidence with an explicit diagnostics caveat rather than as a full configuration truth.

When organization_id or access_policy is configured and the service account has roles/accesscontextmanager.policyReader, the detailed artifact also includes an access_context_manager summary under device_access. This summarizes basic access levels with devicePolicy conditions and counts any custom CEL access levels, but it still does not prove which Workspace apps those levels are attached to. A level's device requirements come only from conditions every request has to meet, so a condition joined with OR or set to Don't meet is left out of them.

Metrics Reference

users

User population and account health.

Metric Why It Matters
total Tenant size. Total user accounts including suspended and archived.
suspended Disabled accounts. Users administratively suspended from the tenant.
archived Retained accounts. Users archived but not deleted, often for compliance retention.
locked_pct Potential attack indicator. Spikes in lockout rates may indicate brute force or credential stuffing attacks.
active Live population. Users not suspended or archived in the live Directory scan. The inactivity, 2-step verification enrollment and enforcement, and activity percentages are calculated against it.
inactive_pct Orphan account risk. Inactive accounts (90+ days no login) are prime targets for attackers. They may belong to departed employees or unused service accounts.
inactive_days Inactivity threshold. The number of days used to classify a user as inactive (default: 90).

activity

Login activity rates across the tenant.

Metric Why It Matters
active_7d_pct Short-term engagement. Percentage of users who logged in within the last 7 days. Low values may indicate shadow IT or alternative access paths.
active_30d_pct Monthly engagement. Percentage of users active in the last 30 days. A large gap between this and 7-day activity may indicate periodic or seasonal users.

authentication

Two-step verification and phishing-resistant credential adoption.

Metric Why It Matters
2sv_enrolled_pct Account takeover protection. 2-step verification significantly reduces credential-based attacks. Low enrollment leaves accounts vulnerable to password spraying and phishing.
2sv_enforced_pct Policy enforcement. Users with 2SV enforced by admin policy, not just voluntarily enrolled. The gap between enrolled and enforced indicates reliance on user opt-in.
2sv_protected_pct Protected users. Share of users protected by 2SV in the usage report. It includes users still in an enrollment grace period, who have not set up a second factor yet.
passkey_users_pct Passwordless adoption. Passkeys are phishing-resistant by design. Tracks progress toward eliminating password-based authentication.
security_keys_total Hardware key inventory. Total registered security keys (FIDO2/U2F). Useful for tracking hardware rollout across the organization.

admins

Privileged account exposure and enforcement.

Metric Why It Matters
privileged_users_count Unique privileged identities. Counts active users with any privileged role without double-counting users that hold multiple admin role types.
super_admin_count Blast radius. Super admins have unrestricted access. Fewer is better. Industry guidance recommends 2-4 for business continuity without excess risk.
delegated_admin_count Delegated access scope. Delegated admins have subset privileges. High counts may indicate over-delegation.
privileged_users_2sv_enrolled_pct Admin MFA coverage. Tracks whether privileged users have actually enrolled in 2SV, which is the closest Google Workspace signal to real privileged MFA coverage.
privileged_users_2sv_enforced_pct Admin MFA enforcement. The single most important metric for third-party risk. 100% means all active privileged users have 2SV enforced by policy.

passwords

Password hygiene across the tenant.

Metric Why It Matters
weak_password_pct Credential strength. Users with passwords classified as weak by Google. Indicates exposure to brute force and dictionary attacks.
password_length_non_compliant_pct Policy compliance. Users whose passwords don't meet the configured minimum length requirement. Non-zero values indicate policy enforcement gaps.
policy.minimum_length The requirement itself. The shortest password the tenant will accept. Without it, a zero non-compliance rate is ambiguous: it reads the same whether the minimum is 14 or Google's floor of 8.
policy.maximum_length Upper bound. Informational.
policy.allowed_strength Strength requirement. strong means Google rejects passwords its strength algorithm rates weak. Google Workspace has no character-class complexity setting; this is the equivalent control.
policy.enforce_requirements_at_login Does the policy bind existing users? False means a password that predates the policy survives until its owner chooses to change it. This is what makes the non-compliance percentage interpretable: with enforcement off, a zero rate is voluntary compliance rather than a forced migration.
policy.allow_reuse Reuse restriction. True means a previous password can be set again.
policy.expiration_days Rotation. 0 means passwords never expire, which is the weakest setting rather than the strongest.
policy.distinct_policies Uniformity. Greater than 1 means org units or groups have different policies and every value above describes the weakest one in force.

The policy values describe the weakest policy anywhere in the tenant, so a
reviewer can rely on them holding everywhere. The whole policy object is
omitted when it could not be read: absence never means permissive.

Google does not apply these requirements to passwords set through the Directory
API, the bulk upload tool, sync tools, or an administrator reset. That is why
the outcome percentages stay alongside the policy rather than being replaced by
it: the percentages observe what the policy bypasses.

sign_in

Sign-in settings from the Policy API. Each value is the weakest one any org unit or group gets. A value is absent, with a gap, when its policies could not be read or the Policy API returned none.

Metric Why It Matters
web_session_duration_max_minutes Session length. The longest time anyone stays signed in on the web before Google asks them to sign in again. A shorter session limits how long a stolen session cookie works. Rounded up to whole minutes.
less_secure_apps_allowed Retired setting. True when any org unit or group still has the less secure apps setting turned on. Google stopped supporting less secure apps on May 1, 2025, so the value no longer means people can sign in with only a username and password.

apps

Third-party application exposure.

Metric Why It Matters
authorized_apps_count OAuth exposure surface. Number of third-party apps authorized to access tenant data. High counts increase data exfiltration risk and expand the supply chain attack surface.

device_access

Context-Aware Access deny evidence.

Metric Why It Matters
lookback_days Evidence window. Number of days of audit history searched for device-state-based denials.
context_aware_access_denied_events Control activity. Total Context-Aware Access deny events seen in the audit window.
device_state_denied_events Managed-device evidence. Denials that specifically included a device-state parameter, indicating device posture was part of the access decision.
managed_device_requirement_evidenced Positive-only signal. true means Google audit logs show device-state access levels firing somewhere in the tenant; it is not proof of full policy coverage, and monitor-mode events can look similar.
access_context_manager.* Config enrichment. Optional Google Cloud access-level summary that helps you see whether the org has basic device-policy access levels configured, even though Workspace-side app assignment is still API-thin.

Not Collected

Google offers the following through its APIs, and the collector does not read them.

  • Desktop devices. Windows, macOS and Linux devices in the Cloud Identity Devices API, with their encryption state and the antivirus and firewall signals from Endpoint Verification. The detailed artifact holds mobile and ChromeOS devices from the audit level. The collector writes no endpoint-posture file.

Use Cases

  • Third-Party Risk Assessment: Share aggregated posture metrics under NDA without exposing user-level details
  • Security Baseline Monitoring: Track 2SV enrollment, admin MFA enforcement, and password hygiene over time
  • Compliance Evidence: Demonstrate MFA coverage and account lifecycle controls for SOC 2, ISO 27001, and similar frameworks
  • Privileged Access Review: Monitor super admin counts and admin 2SV enforcement as a leading indicator of identity risk

Setting up the Google Workspace collector

Follow these steps once. Steps 1 to 3 and 5 to 6 are the same whichever
authentication mode you use; step 4 is where they differ.

Step 1: Create a Cloud project

  1. Open the Google Cloud console.
  2. Create or select a project for the collector.
  3. Go to APIs & Services > Enabled APIs and enable the APIs below.
API Enable it for
Admin SDK API Every run
Cloud Identity API Every run (password policy, web session length, and less secure apps; SAML profiles at audit and above)
IAM Service Account Credentials API auth_mode: oidc only
Groups Settings API audit and internal
Google Vault API audit and internal (also needs a Vault license)
Access Context Manager API Optional device_access enrichment

APIs are separate from OAuth scopes. If an API is off, its surface fails with a
SERVICE_DISABLED diagnostic even when the scope is granted, and the rest of
the run continues.

Step 2: Create a service account

  1. Go to IAM & Admin > Service Accounts.
  2. Click Create Service Account.
  3. Name it, for example epack-collector.
  4. Click Create and Continue, then Done. It needs no project-level roles.

Step 3: Enable domain-wide delegation

  1. Open the service account you just created.
  2. On the Details tab, under Advanced settings, click Enable Domain-wide Delegation.
  3. Copy the Client ID. Step 5 needs it.

Step 4: Set up authentication

Choose one. oidc creates no key and is preferred on CI.

Option A: auth_mode oidc

Everything here is in the same Cloud project as the service account.

  1. Create a workload identity pool.
  2. Create a provider in that pool trusting your CI provider's OIDC issuer.
  3. Add an attribute condition restricting the provider to your repository or organization. Without one, any repository on that issuer can assume the identity.
  4. Grant the workload identity principal roles/iam.workloadIdentityUser on the service account. This lets the runner act as it.
  5. Grant the service account roles/iam.serviceAccountTokenCreator on itself. This lets it sign delegation assertions with the Google-managed key.
  6. In epack.yaml, set auth_mode: oidc, workload_identity_provider, and service_account, and list ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN under secrets:.
  7. In the workflow, grant the id-token: write permission.

Step 5 is easy to miss. The service account holds a role on itself, which looks
odd but is what allows signing without a downloaded key.

The collector builds the exchange and impersonation endpoints from the two
config keys, so no credential file is involved and no auth step is needed in the
workflow.

Option B: auth_mode service_account_key

Skip this if you followed Option A. Some organizations block key creation with
the iam.disableServiceAccountKeyCreation policy.

  1. Open the service account's Keys tab.
  2. Click Add Key > Create new key > JSON.
  3. Store the downloaded file securely and pass its contents as GOOGLE_SERVICE_ACCOUNT_JSON.

This key grants access to your tenant. Treat it as a credential.

Step 5: Authorize scopes in Google Workspace

  1. Open the Google Workspace admin console.
  2. Go to Security > Access and data control > API controls > Domain-wide delegation.
  3. Click Add new.
  4. Enter the Client ID from step 3.
  5. Add the scopes for the levels you plan to collect, from the table below.
  6. Click Authorize.
Surface Scope Needed at
Customer + Users admin.directory.user.readonly, admin.directory.customer.readonly trust
Activity / usage admin.reports.usage.readonly trust
Context-Aware Access (device_access) admin.reports.audit.readonly trust
Password policy, web session length, less secure apps cloud-identity.policies.readonly trust
Audit logs (admin, login, token, drive sharing) admin.reports.audit.readonly audit / internal
Admin roles admin.directory.rolemanagement.readonly trust, when a delegated admin exists; audit / internal
Groups admin.directory.group.readonly, admin.directory.group.member.readonly, apps.groups.settings audit / internal
Org units admin.directory.orgunit.readonly audit / internal
Endpoint (devices) admin.directory.device.mobile.readonly, admin.directory.device.chromeos.readonly audit / internal
Domain settings admin.directory.domain.readonly audit / internal
SSO (SAML profiles and SSO assignments) cloud-identity.inboundsso.readonly trust
Vault (eDiscovery) ediscovery.readonly audit / internal (requires a Vault license)

All scopes as one comma-separated list, for pasting into the admin console:

https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.customer.readonly,https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.group.member.readonly,https://www.googleapis.com/auth/admin.directory.orgunit.readonly,https://www.googleapis.com/auth/admin.directory.device.mobile.readonly,https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly,https://www.googleapis.com/auth/admin.directory.domain.readonly,https://www.googleapis.com/auth/admin.reports.usage.readonly,https://www.googleapis.com/auth/admin.reports.audit.readonly,https://www.googleapis.com/auth/apps.groups.settings,https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly,https://www.googleapis.com/auth/cloud-identity.policies.readonly,https://www.googleapis.com/auth/ediscovery.readonly

Grants are not retroactive. If you add a scope later, re-grant it here.

Step 6: Choose the admin user to impersonate

Set admin_email to a Super Admin account; several of the admin API reads
require one. The read-only scopes from step 5 still limit what the collector
can read. A common setup is a dedicated epack-collector@<domain> user.

With a narrower admin role the run still succeeds, but org_domain is null,
and so is customer_id, which runs write from the audit level. The
normalized artifact is not emitted, and the surfaces that role cannot read are
left out with a diagnostic.

Optional: Access Context Manager enrichment

Adds access-level config to the detailed artifact alongside Context-Aware Access
deny evidence.

  1. Grant the service account roles/accesscontextmanager.policyReader on the Cloud organization.
  2. Set one of:
    • organization_id, to discover the policy under organizations/{id}.
    • access_policy, an explicit policy resource such as accessPolicies/123456789 or its numeric ID. Takes precedence.

The normalized artifact stays conservative either way, because Workspace-side
app assignment and monitor-mode details are not fully exposed by API.

Config options

Option Required Description
admin_email Yes Workspace admin account to impersonate
auth_mode No oidc, or service_account_key when omitted
workload_identity_provider With oidc Full provider resource path
service_account With oidc Account to impersonate and sign as
customer No Google customer key. Defaults to my_customer
organization_id No Cloud organization ID for device_access enrichment
access_policy No Explicit Access Context Manager policy. Takes precedence over organization_id

Environment variables

Variable Description
GOOGLE_SERVICE_ACCOUNT_JSON Key file contents, not a path. Required for service_account_key, unused for oidc
ACTIONS_ID_TOKEN_REQUEST_URL Set by GitHub Actions when the workflow grants id-token: write. Required for oidc
ACTIONS_ID_TOKEN_REQUEST_TOKEN Set alongside the URL. Authorizes fetching one identity token per run. Required for oidc

Troubleshooting

A missing scope, API, or role never fails the run: the affected surface is
omitted and a diagnostic says which of the three is missing, because each is
fixed in a different console. The collector result,
artifacts/google-workspace.collector-result.json, lists every value left out
with a code. The run fails only when it cannot sign in, which exits 3, or when
the configuration is invalid, which exits 2.

The run fails to start

Message Fix
authentication required: provide GOOGLE_SERVICE_ACCOUNT_JSON Pass the key contents, or set auth_mode: oidc
invalid auth_mode Use oidc or service_account_key
workload_identity_provider is not set auth_mode: oidc needs it and service_account
the runner exposes no OIDC identity Add id-token: write to the workflow, and list the two request variables under secrets:
creating JWT config GOOGLE_SERVICE_ACCOUNT_JSON is not valid JSON. Copy-paste often truncates it

Authentication fails on the first API call

With auth_mode: oidc, the exchange and the signing are deferred until
something is collected, so setup mistakes appear here rather than at startup.

Message mentions Fix
roles/iam.serviceAccountTokenCreator Grant that role to the service account on itself (step 4, item 5)
iamcredentials.googleapis.com Enable the IAM Service Account Credentials API
the workload identity exchange was rejected Check the pool, the provider's attribute condition, and roles/iam.workloadIdentityUser
invalid_grant Google rejected the assertion: check that the key is current, admin_email is a real user, delegation is enabled, and the Client ID matches
unauthorized_client The delegation grant lacks admin.directory.user.readonly, which every run reads: re-check the scope list from step 5

A surface is missing from the artifact

Check the diagnostics block. It names which of the three grants is missing.

Diagnostic Fix
surface customer: impersonation user lacks required admin role: Super Admin Impersonate a Super Admin (step 6); narrower admin roles, including custom ones, cannot read the tenant record
scope denied Add that scope in the admin console and re-grant
SERVICE_DISABLED Enable that API in the Cloud project
admin role Give the impersonated user a role that can read the surface
feature requires a license The tenant's edition does not include it, for example Vault

The password policy is missing

passwords.policy is omitted rather than zeroed when it cannot be read, so an
absent policy never reads as a permissive one. The diagnostics distinguish a
missing scope, a disabled API, an insufficient role, an edition without the
Policy API, and a tenant that exposes no policy.

sign_in.web_session_duration_max_minutes and less_secure_apps_allowed come
from the same Policy API, so they are left out for the same reasons, each with
a gap. A tenant whose Policy API returns no password, session or less secure
apps policy gets a vendor_error gap on that value.

Which permission a gap names

A permission_denied gap names what to grant as missing_permission, when
Google's refusal shows it. For a delegation grant without a surface's scope,
that is the scope, such as
https://www.googleapis.com/auth/cloud-identity.policies.readonly. For Access
Context Manager, it is the IAM permission, such as
accesscontextmanager.policies.list. A refusal for an admin role without the
privilege names none, since the scope is already granted. Each operation in the
collector result lists the permission its call needs as permission.

Usage report data is empty

Usage reports cover the previous day, and very new tenants may have none yet.
The collector skips a day Google marks as partial and uses the newest complete
report. The usage_report_date field shows which day the artifact covers. When
none of the last 10 days has a complete report, usage_report_date and the
values from the report are null.

Examples

Basic Usage

stream: myorg/google-workspace-posture

collectors:
  google-workspace:
    source: locktivity/epack-collector-google-workspace@^0.2
    config:
      admin_email: admin@example.com
    secrets:
      - GOOGLE_SERVICE_ACCOUNT_JSON

Then run:

export GOOGLE_SERVICE_ACCOUNT_JSON="$(cat /path/to/service-account.json)"
epack collect

See Configuration for service account setup instructions.

Explicit Customer Key

If your service account has access to a specific Google Workspace tenant, set the customer key explicitly:

collectors:
  google-workspace:
    source: locktivity/epack-collector-google-workspace@^0.2
    config:
      customer: C0123abc
      organization_id: "987654321"
      admin_email: admin@example.com
    secrets:
      - GOOGLE_SERVICE_ACCOUNT_JSON

Sample Output

The collector always emits the detailed artifact. The normalized artifact is included when the tenant's primary domain can be read, which takes a Super Admin.

artifacts/google-workspace.details.json

{
  "schema_version": "1.0.0",
  "collected_at": "2026-04-08T12:00:00Z",
  "usage_report_date": "2026-04-07",
  "provider": "google-workspace",
  "org_domain": "example.com",
  "customer_id": "C123abc",
  "users": {
    "total": 120,
    "suspended": 10,
    "archived": 5,
    "active": 105,
    "locked_pct": 0.83,
    "inactive_pct": 4.76,
    "inactive_days": 90
  },
  "activity": {
    "active_7d_pct": 78.33,
    "active_30d_pct": 91.67
  },
  "authentication": {
    "2sv_enrolled_pct": 92.5,
    "2sv_enforced_pct": 88.33,
    "2sv_protected_pct": 90.0,
    "passkey_users_pct": 12.5,
    "security_keys_total": 35
  },
  "admins": {
    "privileged_users_count": 7,
    "super_admin_count": 3,
    "delegated_admin_count": 5,
    "privileged_users_2sv_enrolled_pct": 85.71,
    "privileged_users_2sv_enforced_pct": 100.0
  },
  "passwords": {
    "weak_password_pct": 4.17,
    "password_length_non_compliant_pct": 2.5,
    "policy": {
      "minimum_length": 8,
      "maximum_length": 100,
      "allowed_strength": "strong",
      "enforce_requirements_at_login": false,
      "allow_reuse": false,
      "expiration_days": 0,
      "distinct_policies": 2
    }
  },
  "sign_in": {
    "web_session_duration_max_minutes": 20160,
    "less_secure_apps_allowed": false
  },
  "apps": {
    "authorized_apps_count": 47
  },
  "device_access": {
    "lookback_days": 90,
    "context_aware_access_denied_events": 12,
    "device_state_denied_events": 4,
    "managed_device_requirement_evidenced": true,
    "access_context_manager": {
      "access_policy_name": "accessPolicies/123456789",
      "access_policy_parent": "organizations/987654321",
      "basic_access_levels_count": 6,
      "custom_access_levels_count": 1,
      "basic_device_policy_access_levels_count": 2,
      "basic_managed_device_access_levels_count": 1,
      "basic_device_policy_access_level_titles": ["Corp Device", "High Trust Device"]
    }
  }
}

artifacts/google-workspace.idp-posture.json

{
  "schema_version": "1.0.0",
  "collected_at": "2026-04-08T12:00:00Z",
  "provider": "google_workspace",
  "org_domain": "example.com",
  "user_security": {
    "users_present": true,
    "user_count": 105,
    "inactive_user_count": 5,
    "mfa_coverage_pct": 92,
    "mfa_phishing_resistant_pct": 12,
    "inactive_pct": 5,
    "locked_out_pct": 1,
    "weak_password_pct": 5,
    "password_policy_noncompliant_pct": 3
  },
  "privileged_access": {
    "privileged_users_present": true,
    "privileged_users_count": 7,
    "super_admin_count": 3,
    "privileged_mfa_user_count": 6,
    "privileged_mfa_coverage_pct": 85
  },
  "policy": {
    "mfa_required": false,
    "mfa_required_user_count": 93,
    "mfa_required_coverage_pct": 88,
    "session_lifetime_max_min": 20160
  },
  "lifecycle": {
    "accounts_present": true,
    "account_count": 120,
    "suspended_account_count": 10,
    "archived_account_count": 5,
    "suspended_pct": 9,
    "archived_pct": 5
  },
  "device_access": {
    "managed_device_required": true
  }
}

All coverage values are percentages (0-100). See Overview for detailed metric descriptions.

CI/CD Integration

GitHub Actions

name: Collect Google Workspace Posture

on:
  schedule:
    - cron: "0 6 * * *"
  workflow_dispatch:

jobs:
  collect:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install epack
        run: |
          curl -sSL https://install.epack.dev | bash

      - name: Collect evidence
        run: epack collect --frozen
        env:
          GOOGLE_SERVICE_ACCOUNT_JSON: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }}

Store the service account JSON as a repository secret named GOOGLE_SERVICE_ACCOUNT_JSON.

Multiple Google Workspace Tenants

If a single service account has domain-wide delegation across tenants, use the customer key to target each one in its own epack.yaml:

# epack-prod.yaml
collectors:
  google-workspace:
    source: locktivity/epack-collector-google-workspace@^0.2
    config:
      customer: C0abc123
      admin_email: admin@company.com
    secrets:
      - GOOGLE_SERVICE_ACCOUNT_JSON
# epack-subsidiary.yaml
collectors:
  google-workspace:
    source: locktivity/epack-collector-google-workspace@^0.2
    config:
      customer: C0def456
      admin_email: admin@subsidiary.com
    secrets:
      - GOOGLE_SERVICE_ACCOUNT_JSON
export GOOGLE_SERVICE_ACCOUNT_JSON="$(cat service-account.json)"
epack collect -c epack-prod.yaml
epack collect -c epack-subsidiary.yaml

If each tenant requires its own service account, run separate invocations with different credentials:

GOOGLE_SERVICE_ACCOUNT_JSON="$(cat prod-sa.json)" epack collect -c epack-prod.yaml
GOOGLE_SERVICE_ACCOUNT_JSON="$(cat subsidiary-sa.json)" epack collect -c epack-subsidiary.yaml
v0.5.5 Latest
2026-11-13
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.5.4
2026-11-12
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.5.3
2026-11-12

What's Changed

Full Changelog: https://github.com/locktivity/epack-collector-google-workspace/compare/v0.5.2...v0.5.3

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.5.2
2026-11-12
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.5.1
2026-11-10
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.5.0
2026-11-05
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.4.2
2026-08-25
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.4.1
2026-08-20
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.4.0
2026-08-18
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.3.1
2026-07-16
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.3.0
2026-07-16

What's Changed

New Contributors

Full Changelog: https://github.com/locktivity/epack-collector-google-workspace/compare/v0.2.0...v0.3.0

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.2.0
2026-05-20
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.1.2
2026-04-22
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.1.1
2026-04-22
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64
v0.1.0
2026-04-21
darwin/amd64 darwin/arm64 linux/amd64 linux/arm64

Field reference

375 fields. No test account checks this collector yet.

Summary values google-workspace.idp-posture.json

The values Foundational Controls and other profiles read.

General 4 fields · from trust
Collected at collected_at ISO 8601 timestamp when data was collected
Trust
Collected in
Trust, audit, and internal runs
Type
string

ISO 8601 timestamp when data was collected

Org domain org_domain Organization domain or tenant identifier
Trust
Collected in
Trust, audit, and internal runs
Type
string

Organization domain or tenant identifier

Provider provider Identity provider vendor
Trust
Collected in
Trust, audit, and internal runs
Type
string

Identity provider vendor

Schema version schema_version Version of this schema, always 1.0.0.
Trust
Collected in
Trust, audit, and internal runs
Type
string

Version of this schema, always 1.0.0.

App security 9 fields · 4 trust, 5 audit
App count app_security.app_count Applications the app_security percentages count
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Applications the app_security percentages count

Apps present app_security.apps_present Whether the provider has any applications the app_security percentages count. When false, those percentages are null
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether the provider has any applications the app_security percentages count. When false, those percentages are null

Authorized third party apps count app_security.authorized_third_party_apps_count Count of authorized third-party applications or OAuth integrations
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Count of authorized third-party applications or OAuth integrations

Deprovisioning app count app_security.deprovisioning_app_count Applications with automated deprovisioning
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Applications with automated deprovisioning

Deprovisioning enabled app_security.deprovisioning_enabled_pct Percentage of applications with automated deprovisioning
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
app_security.app_count

Percentage of applications with automated deprovisioning

Provisioning app count app_security.provisioning_app_count Applications with automated provisioning
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Applications with automated provisioning

Provisioning enabled app_security.provisioning_enabled_pct Percentage of applications with automated provisioning
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
app_security.app_count

Percentage of applications with automated provisioning

SSO app count app_security.sso_app_count Applications using federated SSO (SAML or OIDC)
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Applications using federated SSO (SAML or OIDC)

SSO coverage app_security.sso_coverage_pct Percentage of applications using federated SSO (SAML/OIDC)
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
app_security.app_count

Percentage of applications using federated SSO (SAML/OIDC)

Device access 2 fields · from trust
Managed device required device_access.managed_device_required Whether access to core corporate resources requires a managed or compliant device
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether access to core corporate resources requires a managed or compliant device

Managed device required for admins device_access.managed_device_required_for_admins Whether privileged access requires a managed or compliant device
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether privileged access requires a managed or compliant device

Lifecycle 6 fields · 3 trust, 3 audit
Account count lifecycle.account_count Accounts in every state, including suspended and archived accounts. The lifecycle percentages count these
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Accounts in every state, including suspended and archived accounts. The lifecycle percentages count these

Accounts present lifecycle.accounts_present Whether the provider has any accounts, in any state. When false, the lifecycle percentages are null
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether the provider has any accounts, in any state. When false, the lifecycle percentages are null

Archived account count lifecycle.archived_account_count Accounts in an archived, retained, or soft-deleted state
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Accounts in an archived, retained, or soft-deleted state

Archived lifecycle.archived_pct Percentage of accounts in archived, retained, or soft-deleted state
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
lifecycle.account_count

Percentage of accounts in archived, retained, or soft-deleted state

Suspended account count lifecycle.suspended_account_count Accounts in a suspended or disabled state
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Accounts in a suspended or disabled state

Suspended lifecycle.suspended_pct Percentage of accounts in suspended or disabled state
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
lifecycle.account_count

Percentage of accounts in suspended or disabled state

Policy 7 fields · 6 trust, 1 audit
Idle timeout max min policy.idle_timeout_max_min Maximum idle timeout across all policies (minutes)
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Maximum idle timeout across all policies (minutes)

Legacy auth blocked policy.legacy_auth_blocked Whether legacy authentication protocols are blocked for every user and every app, by one enforced policy or several together
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether legacy authentication protocols are blocked for every user and every app, by one enforced policy or several together

MFA required policy.mfa_required Whether enforced sign-in policies, one or several together, require MFA of every user on every sign-in, or block the sign-in, whatever th...
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether enforced sign-in policies, one or several together, require MFA of every user on every sign-in, or block the sign-in, whatever the app, client type, device, location or risk. Report-only policies do not count. Users a policy names as exceptions, such as break-glass accounts, do not make this false, and count as not covered in mfa_required_user_count. mfa_required_coverage_pct gives the share of users the requirement covers. A group or organizational unit excluded by name counts as a named exception. A setting that remembers a device and skips MFA on later sign-ins from it does not make those sign-ins uncovered. When some users sign in through another identity provider, this and mfa_required_user_count are left out, as the user_security MFA values are.

MFA required coverage policy.mfa_required_coverage_pct Percentage of users whose every sign-in requires MFA or is blocked
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users whose every sign-in requires MFA or is blocked

MFA required user count policy.mfa_required_user_count Users whose every sign-in requires MFA or is blocked, by one enforced policy or several together, out of user_security.user_count
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users whose every sign-in requires MFA or is blocked, by one enforced policy or several together, out of user_security.user_count

Phishing resistant required for privileged policy.phishing_resistant_required_for_privileged Whether phishing-resistant authentication is required for privileged users
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether phishing-resistant authentication is required for privileged users

Session lifetime max min policy.session_lifetime_max_min Maximum session lifetime across all policies (minutes)
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Maximum session lifetime across all policies (minutes)

Privileged access 9 fields · 4 trust, 5 audit
Privileged MFA coverage privileged_access.privileged_mfa_coverage_pct Percentage of privileged users with MFA enabled or enforced
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
privileged_access.privileged_users_count

Percentage of privileged users with MFA enabled or enforced

Privileged MFA user count privileged_access.privileged_mfa_user_count Privileged users with MFA enabled or enforced
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Privileged users with MFA enabled or enforced

Privileged phishing resistant privileged_access.privileged_phishing_resistant_pct Percentage of privileged users with phishing-resistant MFA
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
privileged_access.privileged_users_count

Percentage of privileged users with phishing-resistant MFA

Privileged phishing resistant user count privileged_access.privileged_phishing_resistant_user_count Privileged users with phishing-resistant MFA
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Privileged users with phishing-resistant MFA

Privileged users count privileged_access.privileged_users_count Count of users who hold a role that can change who has access, reset another user's credentials, or change sign-in or security settings....
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Count of users who hold a role that can change who has access, reset another user's credentials, or change sign-in or security settings. Roles that can only read are not counted. A guest with such a role counts. Roles that manage devices, API access or identity providers, or that can run commands on managed devices, count too.

Privileged users present privileged_access.privileged_users_present Whether the provider has any users privileged_users_count counts. When false, the privileged percentages are null
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether the provider has any users privileged_users_count counts. When false, the privileged percentages are null

Standing privileged users count privileged_access.standing_privileged_users_count Count of users with standing privileged access instead of just-in-time or eligible access
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Count of users with standing privileged access instead of just-in-time or eligible access

Standing privileged users present privileged_access.standing_privileged_users_present Whether any user holds standing privileged access, as standing_privileged_users_count defines it
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether any user holds standing privileged access, as standing_privileged_users_count defines it

Super admin count privileged_access.super_admin_count Count of highest-privilege administrative accounts (for example Global Admin or Super Admin)
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Count of highest-privilege administrative accounts (for example Global Admin or Super Admin)

User security 14 fields · 7 trust, 7 audit
Inactive user_security.inactive_pct Percentage of users inactive for 90+ days
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users inactive for 90+ days

Inactive user count user_security.inactive_user_count Users inactive for 90 days or more
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users inactive for 90 days or more

Locked out user_security.locked_out_pct Percentage of users currently locked out
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users currently locked out

Locked out user count user_security.locked_out_user_count Users currently locked out
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users currently locked out

MFA coverage user_security.mfa_coverage_pct Percentage of users with any MFA factor enrolled
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users with any MFA factor enrolled

MFA phishing resistant user_security.mfa_phishing_resistant_pct Percentage of users with phishing-resistant MFA (WebAuthn/FIDO2)
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users with phishing-resistant MFA (WebAuthn/FIDO2)

MFA user count user_security.mfa_user_count Users with any MFA factor enrolled
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users with any MFA factor enrolled

Password policy noncompliant user_security.password_policy_noncompliant_pct Percentage of users whose passwords do not meet current password policy requirements
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users whose passwords do not meet current password policy requirements

Password policy noncompliant user count user_security.password_policy_noncompliant_user_count Users whose passwords do not meet current password policy requirements
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users whose passwords do not meet current password policy requirements

Phishing resistant user count user_security.phishing_resistant_user_count Users with phishing-resistant MFA (WebAuthn or FIDO2) enrolled
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users with phishing-resistant MFA (WebAuthn or FIDO2) enrolled

User count user_security.user_count Enabled accounts of people in the organization. Guests from other organizations and disabled accounts are not counted. The user_security...
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Enabled accounts of people in the organization. Guests from other organizations and disabled accounts are not counted. The user_security percentages and policy.mfa_required_coverage_pct count these

Users present user_security.users_present Whether the provider has any users the user_security percentages count. When false, those percentages are null
Trust
Collected in
Trust, audit, and internal runs
Type
boolean, can be null

Whether the provider has any users the user_security percentages count. When false, those percentages are null

Weak password user_security.weak_password_pct Percentage of users with weak passwords
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
user_security.user_count

Percentage of users with weak passwords

Weak password user count user_security.weak_password_user_count Users with weak passwords
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users with weak passwords

Detailed output google-workspace.details.json

Everything this collector reads, grouped by area. Each field lists the lowest level that collects it.

General 7 fields · 6 trust, 1 audit
Collected at collected_at Timestamp when the collector ran.
Trust
Collected in
Trust, audit, and internal runs
Type
string

Timestamp when the collector ran.

Collected at level collected_at_level Collection level the artifact was produced at. Audit and internal additions are strictly additive; the schema version stays 1.0.0 (the co...
Trust
Collected in
Trust, audit, and internal runs
Type
string

Collection level the artifact was produced at. Audit and internal additions are strictly additive; the schema version stays 1.0.0 (the collector binary version carries the level-aware signal).

Customer ID customer_id Google Workspace customer ID (audit and above). Null when the tenant record could not be read; only a Super Admin can read it.
Audit
Collected in
Audit and internal runs
Type
string, can be null

Google Workspace customer ID (audit and above). Null when the tenant record could not be read; only a Super Admin can read it.

Org domain org_domain Primary domain of the Google Workspace tenant. Null when the tenant record could not be read; only a Super Admin can read it.
Trust
Collected in
Trust, audit, and internal runs
Type
string, can be null

Primary domain of the Google Workspace tenant. Null when the tenant record could not be read; only a Super Admin can read it.

Provider provider
Trust
Collected in
Trust, audit, and internal runs
Type
string
Schema version schema_version
Trust
Collected in
Trust, audit, and internal runs
Type
string
Usage report date usage_report_date Date of the Google Workspace usage report snapshot (typically yesterday). Null when no usage report could be read.
Trust
Collected in
Trust, audit, and internal runs
Type
string, can be null

Date of the Google Workspace usage report snapshot (typically yesterday). Null when no usage report could be read.

Activity 2 fields · from audit
Active 30d activity.active_30d_pct Percentage of active users who logged in within the last 30 days, from the live Directory scan.
Audit
Collected in
Audit and internal runs
Type
number, can be null
Counted over
users.active

Percentage of active users who logged in within the last 30 days, from the live Directory scan.

Active 7d activity.active_7d_pct Percentage of active users who logged in within the last 7 days, from the live Directory scan.
Audit
Collected in
Audit and internal runs
Type
number, can be null
Counted over
users.active

Percentage of active users who logged in within the last 7 days, from the live Directory scan.

Admin audit log 8 fields · 2 audit, 6 internal
Counts by category admin_audit_log.counts_by_category Security-relevant admin actions in the window, by category.
Audit
Collected in
Audit and internal runs
Type
object

Security-relevant admin actions in the window, by category.

Actor email admin_audit_log.events[].actor_email Email address of the admin who acted.
Internal
Collected in
Internal runs only
Type
string

Email address of the admin who acted.

Category admin_audit_log.events[].category Category the action is counted under.
Internal
Collected in
Internal runs only
Type
string

Category the action is counted under.

Name admin_audit_log.events[].name Google's event name for the action.
Internal
Collected in
Internal runs only
Type
string

Google's event name for the action.

Time admin_audit_log.events[].time When the action happened.
Internal
Collected in
Internal runs only
Type
string

When the action happened.

Truncated events admin_audit_log.truncated_events Whether the event list was capped at 5,000 rows.
Internal
Collected in
Internal runs only
Type
boolean

Whether the event list was capped at 5,000 rows.

Truncated events dropped admin_audit_log.truncated_events_dropped Events left out of the list by the cap.
Internal
Collected in
Internal runs only
Type
integer

Events left out of the list by the cap.

Window days admin_audit_log.window_days Days of admin audit history the counts cover.
Audit
Collected in
Audit and internal runs
Type
integer

Days of admin audit history the counts cover.

Admins 15 fields · 5 trust, 9 audit, 1 internal
Description admins.custom_roles[].description Role description.
Audit
Collected in
Audit and internal runs
Type
string

Role description.

Name admins.custom_roles[].name Role name.
Audit
Collected in
Audit and internal runs
Type
string

Role name.

Privilege count admins.custom_roles[].privilege_count Number of privileges the role grants.
Audit
Collected in
Audit and internal runs
Type
integer

Number of privileges the role grants.

Delegated admin count admins.delegated_admin_count Number of active delegated administrators.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Number of active delegated administrators.

2sv enforced admins.inventory[].2sv_enforced Whether a policy requires 2-step verification for the admin.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether a policy requires 2-step verification for the admin.

2sv enrolled admins.inventory[].2sv_enrolled Whether the admin is enrolled in 2-step verification.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the admin is enrolled in 2-step verification.

Delegated admin admins.inventory[].delegated_admin Whether the user holds a delegated admin role.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user holds a delegated admin role.

Org unit scoped admins.inventory[].org_unit_scoped Whether any of the admin role grants is limited to an org unit.
Internal
Collected in
Internal runs only
Type
boolean

Whether any of the admin role grants is limited to an org unit.

Primary email admins.inventory[].primary_email The admin's primary email address.
Audit
Collected in
Audit and internal runs
Type
string

The admin's primary email address.

Roles admins.inventory[].roles Names of the admin roles assigned to the user, and for a delegated admin those assigned to a group the user is in. Absent when the role a...
Audit
Collected in
Audit and internal runs
Type
list of strings

Names of the admin roles assigned to the user, and for a delegated admin those assigned to a group the user is in. Absent when the role assignments could not be read.

Super admin admins.inventory[].super_admin Whether the user is a super administrator.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user is a super administrator.

Privileged users 2sv enforced admins.privileged_users_2sv_enforced_pct Percentage of active privileged users with 2-step verification enforced.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
admins.privileged_users_count

Percentage of active privileged users with 2-step verification enforced.

Privileged users 2sv enrolled admins.privileged_users_2sv_enrolled_pct Percentage of active privileged users enrolled in 2-step verification.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
admins.privileged_users_count

Percentage of active privileged users enrolled in 2-step verification.

Privileged users count admins.privileged_users_count Number of unique active privileged users across super admin and delegated admin roles.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Number of unique active privileged users across super admin and delegated admin roles.

Super admin count admins.super_admin_count Number of active super administrators.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Number of active super administrators.

Apps 1 field · internal only
Authorized apps count apps.authorized_apps_count Number of third-party apps authorized in the tenant.
Internal
Collected in
Internal runs only
Type
integer, can be null

Number of third-party apps authorized in the tenant.

Authentication 5 fields · from trust
2sv enforced authentication.2sv_enforced_pct Percentage of active users with 2-step verification enforced by policy, from the live Directory scan.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.active

Percentage of active users with 2-step verification enforced by policy, from the live Directory scan.

2sv enrolled authentication.2sv_enrolled_pct Percentage of active users enrolled in 2-step verification, from the live Directory scan.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.active

Percentage of active users enrolled in 2-step verification, from the live Directory scan.

2sv protected authentication.2sv_protected_pct Percentage of users actually protected by 2-step verification.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.total

Percentage of users actually protected by 2-step verification.

Passkey users authentication.passkey_users_pct Percentage of users with passkeys enrolled.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.total

Percentage of users with passkeys enrolled.

Security keys total authentication.security_keys_total Total number of registered security keys across the tenant.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Total number of registered security keys across the tenant.

Device access 23 fields · 9 trust, 9 audit, 5 internal
Access policy name device_access.access_context_manager.access_policy_name Access Context Manager policy resource used for config enrichment (audit and above).
Audit
Collected in
Audit and internal runs
Type
string

Access Context Manager policy resource used for config enrichment (audit and above).

Access policy parent device_access.access_context_manager.access_policy_parent Parent organization resource for the access policy (audit and above).
Audit
Collected in
Audit and internal runs
Type
string

Parent organization resource for the access policy (audit and above).

Basic access levels count device_access.access_context_manager.basic_access_levels_count Number of basic Access Context Manager access levels in the resolved policy.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of basic Access Context Manager access levels in the resolved policy.

Basic device policy access level titles device_access.access_context_manager.basic_device_policy_access_level_titles Titles of basic access levels that include a devicePolicy condition.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

Titles of basic access levels that include a devicePolicy condition.

Basic device policy access levels count device_access.access_context_manager.basic_device_policy_access_levels_count Number of basic access levels that include a devicePolicy condition.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of basic access levels that include a devicePolicy condition.

Basic managed device access levels count device_access.access_context_manager.basic_managed_device_access_levels_count Number of basic access levels whose required device policies restrict allowed device management levels to managed devices.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of basic access levels whose required device policies restrict allowed device management levels to managed devices.

Custom access levels count device_access.access_context_manager.custom_access_levels_count Number of custom CEL-based access levels in the resolved policy. These are not deeply analyzed by the collector.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of custom CEL-based access levels in the resolved policy. These are not deeply analyzed by the collector.

Allowed device management levels device_access.access_context_manager.levels[].allowed_device_management_levels Device management levels the required device policies allow.
Internal
Collected in
Internal runs only
Type
list of strings

Device management levels the required device policies allow.

Allowed encryption statuses device_access.access_context_manager.levels[].allowed_encryption_statuses Encryption statuses the required device policies allow.
Internal
Collected in
Internal runs only
Type
list of strings

Encryption statuses the required device policies allow.

Custom device_access.access_context_manager.levels[].custom Whether the access level is a custom CEL level.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the access level is a custom CEL level.

Has device policy device_access.access_context_manager.levels[].has_device_policy Whether the access level has a devicePolicy condition.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the access level has a devicePolicy condition.

IP subnetworks device_access.access_context_manager.levels[].ip_subnetworks IP ranges the access level allows.
Internal
Collected in
Internal runs only
Type
list of strings

IP ranges the access level allows.

OS constraint count device_access.access_context_manager.levels[].os_constraint_count Number of operating system constraints in the required device policies.
Audit
Collected in
Audit and internal runs
Type
integer

Number of operating system constraints in the required device policies.

Regions device_access.access_context_manager.levels[].regions Regions the access level allows.
Internal
Collected in
Internal runs only
Type
list of strings

Regions the access level allows.

Required access levels device_access.access_context_manager.levels[].required_access_levels Other access levels this level requires.
Internal
Collected in
Internal runs only
Type
list of strings

Other access levels this level requires.

Requires admin approval device_access.access_context_manager.levels[].requires_admin_approval Whether a required device policy asks for a device an admin has approved.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether a required device policy asks for a device an admin has approved.

Requires corp owned device_access.access_context_manager.levels[].requires_corp_owned Whether a required device policy asks for a company-owned device.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether a required device policy asks for a company-owned device.

Requires screenlock device_access.access_context_manager.levels[].requires_screenlock Whether a required device policy asks for a screen lock.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether a required device policy asks for a screen lock.

Title device_access.access_context_manager.levels[].title The access level's title, or its resource name when it has no title.
Audit
Collected in
Audit and internal runs
Type
string

The access level's title, or its resource name when it has no title.

Context aware access denied events device_access.context_aware_access_denied_events Total Context-Aware Access deny events observed in the lookback window.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Total Context-Aware Access deny events observed in the lookback window.

Device state denied events device_access.device_state_denied_events Count of deny events that included a device-state parameter, which is positive evidence that a device-state access level fired.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Count of deny events that included a device-state parameter, which is positive evidence that a device-state access level fired.

Lookback days device_access.lookback_days Number of days of Context-Aware Access audit history searched for device-state deny events.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of days of Context-Aware Access audit history searched for device-state deny events.

Managed device requirement evidenced device_access.managed_device_requirement_evidenced Whether Context-Aware Access audit logs show device-state-based access denials. This is deny-event evidence, not proof of complete policy...
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

Whether Context-Aware Access audit logs show device-state-based access denials. This is deny-event evidence, not proof of complete policy coverage.

Diagnostics 2 fields · from trust
Permission errors diagnostics.permission_errors Surfaces skipped because an OAuth scope or admin role is missing (a permission the customer can grant).
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

Surfaces skipped because an OAuth scope or admin role is missing (a permission the customer can grant).

Warnings diagnostics.warnings Informational warnings about data gaps or caveats (licensing, report lag, truncation). Below the audit level a warning names no customer,...
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

Informational warnings about data gaps or caveats (licensing, report lag, truncation). Below the audit level a warning names no customer, organization, or access policy ID, and gives a failed call's error code in place of Google's message.

Domain settings 10 fields · 9 audit, 1 internal
Domain name domain_settings.domains[].domain_name Domain name.
Audit
Collected in
Audit and internal runs
Type
string

Domain name.

Primary domain_settings.domains[].primary Whether the domain is the tenant's primary domain.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the domain is the tenant's primary domain.

Verified domain_settings.domains[].verified Whether the domain is verified.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the domain is verified.

Primary domain domain_settings.primary_domain The tenant's primary domain, from the domain list.
Audit
Collected in
Audit and internal runs
Type
string

The tenant's primary domain, from the domain list.

SAML profile count domain_settings.saml_profile_count SAML SSO profiles the tenant has.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

SAML SSO profiles the tenant has.

Display name domain_settings.saml_profiles[].display_name Profile name.
Audit
Collected in
Audit and internal runs
Type
string

Profile name.

IdP entity ID domain_settings.saml_profiles[].idp_entity_id The identity provider's entity ID.
Audit
Collected in
Audit and internal runs
Type
string

The identity provider's entity ID.

SSO service host domain_settings.saml_profiles[].sso_service_host Host of the identity provider's sign-in URL. The full URL is never collected.
Internal
Collected in
Internal runs only
Type
string

Host of the identity provider's sign-in URL. The full URL is never collected.

SSO configured domain_settings.sso_configured Whether the tenant has a SAML SSO profile. Null when the profiles could not be read.
Audit
Collected in
Audit and internal runs
Type
boolean, can be null

Whether the tenant has a SAML SSO profile. Null when the profiles could not be read.

Verified domain count domain_settings.verified_domain_count Domains the tenant has verified.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Domains the tenant has verified.

Drive external sharing 11 fields · 3 audit, 8 internal
Count window days drive_external_sharing.count_window_days Days of Drive audit history the counts cover.
Audit
Collected in
Audit and internal runs
Type
integer

Days of Drive audit history the counts cover.

Event window days drive_external_sharing.event_window_days Days of Drive audit history the event list covers.
Internal
Collected in
Internal runs only
Type
integer

Days of Drive audit history the event list covers.

File ID drive_external_sharing.events[].file_id The shared file's ID.
Internal
Collected in
Internal runs only
Type
string

The shared file's ID.

Recipient domain drive_external_sharing.events[].recipient_domain The recipient's email domain, or the domain itself when the file was shared with a whole domain. The full address is never collected.
Internal
Collected in
Internal runs only
Type
string

The recipient's email domain, or the domain itself when the file was shared with a whole domain. The full address is never collected.

Sharer email drive_external_sharing.events[].sharer_email Email address of the user who shared the file.
Internal
Collected in
Internal runs only
Type
string

Email address of the user who shared the file.

Target role drive_external_sharing.events[].target_role Access the share grants, such as reader or writer.
Internal
Collected in
Internal runs only
Type
string

Access the share grants, such as reader or writer.

Time drive_external_sharing.events[].time When the event happened.
Internal
Collected in
Internal runs only
Type
string

When the event happened.

External share events drive_external_sharing.external_share_events Drive events in the count window that gave an address or a whole domain outside the primary domain access to a file. An event that remove...
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Drive events in the count window that gave an address or a whole domain outside the primary domain access to a file. An event that removed access does not count. Null when the primary domain could not be read.

Public on web events drive_external_sharing.public_on_web_events Drive events in the count window that made a file public or open to anyone with the link.
Audit
Collected in
Audit and internal runs
Type
integer

Drive events in the count window that made a file public or open to anyone with the link.

Truncated events drive_external_sharing.truncated_events Whether the event list was capped at 5,000 rows.
Internal
Collected in
Internal runs only
Type
boolean

Whether the event list was capped at 5,000 rows.

Truncated events dropped drive_external_sharing.truncated_events_dropped Events left out of the list by the cap.
Internal
Collected in
Internal runs only
Type
integer

Events left out of the list by the cap.

Endpoint 16 fields · 5 audit, 11 internal
Compliant by OS endpoint.compliant_by_os Managed devices that count as compliant, by operating system. A mobile device counts when no compromise is detected, and a Chrome OS devi...
Audit
Collected in
Audit and internal runs
Type
object

Managed devices that count as compliant, by operating system. A mobile device counts when no compromise is detected, and a Chrome OS device when its status is active. A mobile device Google reports no compromise status for is in neither this nor non_compliant_by_os.

Compliant endpoint.inventory[].compliant Whether the device counts as compliant. A mobile device counts when no compromise is detected, and a Chrome OS device when its status is...
Internal
Collected in
Internal runs only
Type
boolean, can be null

Whether the device counts as compliant. A mobile device counts when no compromise is detected, and a Chrome OS device when its status is active. Null when Google reports no compromise status for a mobile device.

Encrypted endpoint.inventory[].encrypted Whether the device is encrypted.
Internal
Collected in
Internal runs only
Type
boolean

Whether the device is encrypted.

Last sync endpoint.inventory[].last_sync When the device last synced.
Internal
Collected in
Internal runs only
Type
string

When the device last synced.

Model endpoint.inventory[].model Device model.
Internal
Collected in
Internal runs only
Type
string

Device model.

OS endpoint.inventory[].os Operating system.
Internal
Collected in
Internal runs only
Type
string

Operating system.

OS version endpoint.inventory[].os_version Operating system version.
Internal
Collected in
Internal runs only
Type
string

Operating system version.

Owner email endpoint.inventory[].owner_email The device owner's email address. For a Chrome OS device it is the annotatedUser an admin set, kept only when it is an email address.
Internal
Collected in
Internal runs only
Type
string

The device owner's email address. For a Chrome OS device it is the annotatedUser an admin set, kept only when it is an email address.

Platform endpoint.inventory[].platform Device platform, mobile or Chrome OS.
Internal
Collected in
Internal runs only
Type
string

Device platform, mobile or Chrome OS.

Screen lock enforced endpoint.inventory[].screen_lock_enforced Whether the device enforces a screen lock.
Internal
Collected in
Internal runs only
Type
boolean

Whether the device enforces a screen lock.

Managed by OS endpoint.managed_by_os Managed devices by operating system.
Audit
Collected in
Audit and internal runs
Type
object

Managed devices by operating system.

Non compliant by OS endpoint.non_compliant_by_os Managed devices that do not count as compliant, by operating system. A mobile device Google reports no compromise status for is in neithe...
Audit
Collected in
Audit and internal runs
Type
object

Managed devices that do not count as compliant, by operating system. A mobile device Google reports no compromise status for is in neither this nor compliant_by_os.

Not synced 30d endpoint.not_synced_30d Managed devices that have not synced in the 30 days before the run, or have never synced.
Audit
Collected in
Audit and internal runs
Type
integer

Managed devices that have not synced in the 30 days before the run, or have never synced.

Total endpoint.total Mobile and Chrome OS devices the tenant manages.
Audit
Collected in
Audit and internal runs
Type
integer

Mobile and Chrome OS devices the tenant manages.

Truncated devices endpoint.truncated_devices Whether the device list was capped at 5,000 rows.
Internal
Collected in
Internal runs only
Type
boolean

Whether the device list was capped at 5,000 rows.

Truncated devices dropped endpoint.truncated_devices_dropped Devices left out of the list by the cap.
Internal
Collected in
Internal runs only
Type
integer

Devices left out of the list by the cap.

Groups 20 fields · 14 audit, 6 internal
Admin created groups.admin_created Groups an admin created.
Audit
Collected in
Audit and internal runs
Type
integer

Groups an admin created.

External members allowed groups.external_members_allowed Groups whose settings allow external members. Null when the settings of some groups could not be read.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Groups whose settings allow external members. Null when the settings of some groups could not be read.

Admin created groups.inventory[].admin_created Whether an admin created the group.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether an admin created the group.

Allow external members groups.inventory[].allow_external_members Whether the group settings allow members from outside the tenant. Null when the settings could not be read.
Audit
Collected in
Audit and internal runs
Type
boolean, can be null

Whether the group settings allow members from outside the tenant. Null when the settings could not be read.

Description groups.inventory[].description Group description.
Audit
Collected in
Audit and internal runs
Type
string

Group description.

Email groups.inventory[].email The group's email address.
Audit
Collected in
Audit and internal runs
Type
string

The group's email address.

Member count groups.inventory[].member_count Direct members of the group.
Audit
Collected in
Audit and internal runs
Type
integer

Direct members of the group.

Delivery settings groups.inventory[].members[].delivery_settings How the member gets mail sent to the group.
Internal
Collected in
Internal runs only
Type
string

How the member gets mail sent to the group.

Email groups.inventory[].members[].email The member's email address.
Internal
Collected in
Internal runs only
Type
string

The member's email address.

Role groups.inventory[].members[].role Role in the group, such as OWNER, MANAGER, or MEMBER.
Internal
Collected in
Internal runs only
Type
string

Role in the group, such as OWNER, MANAGER, or MEMBER.

Status groups.inventory[].members[].status The member's account status.
Internal
Collected in
Internal runs only
Type
string

The member's account status.

Type groups.inventory[].members[].type Kind of member, such as USER or GROUP.
Internal
Collected in
Internal runs only
Type
string

Kind of member, such as USER or GROUP.

Name groups.inventory[].name Group name.
Audit
Collected in
Audit and internal runs
Type
string

Group name.

Who can join groups.inventory[].who_can_join Who can join the group.
Audit
Collected in
Audit and internal runs
Type
string

Who can join the group.

Who can post message groups.inventory[].who_can_post_message Who can post to the group.
Audit
Collected in
Audit and internal runs
Type
string

Who can post to the group.

Total groups.total Groups in the tenant.
Audit
Collected in
Audit and internal runs
Type
integer

Groups in the tenant.

Truncated group memberships groups.truncated_group_memberships Whether the member lists were capped at 200,000 rows across all groups.
Internal
Collected in
Internal runs only
Type
boolean

Whether the member lists were capped at 200,000 rows across all groups.

Truncated inventory groups.truncated_inventory Whether the group list was capped at 10,000 rows.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the group list was capped at 10,000 rows.

Truncated inventory dropped groups.truncated_inventory_dropped Groups left out of the list by the cap.
Audit
Collected in
Audit and internal runs
Type
integer

Groups left out of the list by the cap.

User created groups.user_created Groups a user created.
Audit
Collected in
Audit and internal runs
Type
integer

Groups a user created.

Login audit log 10 fields · 4 audit, 6 internal
Actor email login_audit_log.events[].actor_email Email address of the user signing in.
Internal
Collected in
Internal runs only
Type
string

Email address of the user signing in.

IP address login_audit_log.events[].ip_address IP address the sign-in came from.
Internal
Collected in
Internal runs only
Type
string

IP address the sign-in came from.

Name login_audit_log.events[].name Google's event name.
Internal
Collected in
Internal runs only
Type
string

Google's event name.

Time login_audit_log.events[].time When the event happened.
Internal
Collected in
Internal runs only
Type
string

When the event happened.

Failed logins login_audit_log.failed_logins Failed sign-ins in the window.
Audit
Collected in
Audit and internal runs
Type
integer

Failed sign-ins in the window.

Password leak events login_audit_log.password_leak_events Accounts disabled in the window after their password was found in a leak.
Audit
Collected in
Audit and internal runs
Type
integer

Accounts disabled in the window after their password was found in a leak.

Suspicious logins login_audit_log.suspicious_logins Sign-ins Google flagged as suspicious in the window.
Audit
Collected in
Audit and internal runs
Type
integer

Sign-ins Google flagged as suspicious in the window.

Truncated events login_audit_log.truncated_events Whether the event list was capped at 5,000 rows.
Internal
Collected in
Internal runs only
Type
boolean

Whether the event list was capped at 5,000 rows.

Truncated events dropped login_audit_log.truncated_events_dropped Events left out of the list by the cap.
Internal
Collected in
Internal runs only
Type
integer

Events left out of the list by the cap.

Window days login_audit_log.window_days Days of login audit history the counts cover.
Audit
Collected in
Audit and internal runs
Type
integer

Days of login audit history the counts cover.

Oauth tokens 12 fields · internal only
Apps with new tokens oauth_tokens.apps_with_new_tokens Apps, by OAuth client ID, with at least one grant in the window.
Internal
Collected in
Internal runs only
Type
integer

Apps, by OAuth client ID, with at least one grant in the window.

Counts by app oauth_tokens.counts_by_app Grants in the window, by app name or, when the app has none, its client ID.
Internal
Collected in
Internal runs only
Type
object

Grants in the window, by app name or, when the app has none, its client ID.

Counts by scope sensitivity oauth_tokens.counts_by_scope_sensitivity Grants in the window, by the most sensitive scope each grant includes, which is low, medium, or high. A scope that is not known to be rea...
Internal
Collected in
Internal runs only
Type
object

Grants in the window, by the most sensitive scope each grant includes, which is low, medium, or high. A scope that is not known to be read-only or sign-in only counts as high.

Client ID oauth_tokens.tokens[].client_id The app's OAuth client ID.
Internal
Collected in
Internal runs only
Type
string

The app's OAuth client ID.

Display name oauth_tokens.tokens[].display_name The app's name.
Internal
Collected in
Internal runs only
Type
string

The app's name.

Granted at oauth_tokens.tokens[].granted_at When the grant happened.
Internal
Collected in
Internal runs only
Type
string

When the grant happened.

Scopes oauth_tokens.tokens[].scopes OAuth scopes the grant includes.
Internal
Collected in
Internal runs only
Type
list of strings

OAuth scopes the grant includes.

User email oauth_tokens.tokens[].user_email Email address of the user who granted access.
Internal
Collected in
Internal runs only
Type
string

Email address of the user who granted access.

Tokens issued oauth_tokens.tokens_issued OAuth grants users made to apps in the window.
Internal
Collected in
Internal runs only
Type
integer

OAuth grants users made to apps in the window.

Truncated tokens oauth_tokens.truncated_tokens Whether the grant list was capped at 5,000 rows.
Internal
Collected in
Internal runs only
Type
boolean

Whether the grant list was capped at 5,000 rows.

Truncated tokens dropped oauth_tokens.truncated_tokens_dropped Grants left out of the list by the cap.
Internal
Collected in
Internal runs only
Type
integer

Grants left out of the list by the cap.

Window days oauth_tokens.window_days Days of token audit history the counts cover.
Internal
Collected in
Internal runs only
Type
integer

Days of token audit history the counts cover.

Org units 7 fields · from audit
Block inheritance org_units.inventory[].block_inheritance Whether the org unit blocks settings inherited from its parent.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the org unit blocks settings inherited from its parent.

Description org_units.inventory[].description Org unit description.
Audit
Collected in
Audit and internal runs
Type
string

Org unit description.

Parent path org_units.inventory[].parent_path The parent org unit's path.
Audit
Collected in
Audit and internal runs
Type
string

The parent org unit's path.

Path org_units.inventory[].path The org unit's path.
Audit
Collected in
Audit and internal runs
Type
string

The org unit's path.

User count org_units.inventory[].user_count Users in the org unit, from the live Directory scan. Null when the scan failed.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Users in the org unit, from the live Directory scan. Null when the scan failed.

Max depth org_units.max_depth Deepest nesting of an org unit below the root, which is depth 0.
Audit
Collected in
Audit and internal runs
Type
integer

Deepest nesting of an org unit below the root, which is depth 0.

Total org_units.total Org units in the tenant.
Audit
Collected in
Audit and internal runs
Type
integer

Org units in the tenant.

Passwords 9 fields · from trust
Password length non compliant passwords.password_length_non_compliant_pct Percentage of users with passwords that do not meet length requirements.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.total

Percentage of users with passwords that do not meet length requirements.

Allow reuse passwords.policy.allow_reuse True when any policy in force permits reusing a previous password.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when any policy in force permits reusing a previous password.

Allowed strength passwords.policy.allowed_strength strong only when every policy in force requires strong passwords. weak when any policy permits weak ones.
Trust
Collected in
Trust, audit, and internal runs
Type
string

strong only when every policy in force requires strong passwords. weak when any policy permits weak ones.

Distinct policies passwords.policy.distinct_policies Number of distinct password policies found. Greater than 1 means the tenant is not uniform and the values in this object describe the floor.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of distinct password policies found. Greater than 1 means the tenant is not uniform and the values in this object describe the floor.

Enforce requirements at login passwords.policy.enforce_requirements_at_login True only when every policy in force binds users who already have a password. False means a non-compliant password survives until its own...
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True only when every policy in force binds users who already have a password. False means a non-compliant password survives until its owner changes it.

Expiration days passwords.policy.expiration_days Longest password expiration across every policy in force. 0 means passwords never expire, which is the weakest setting.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Longest password expiration across every policy in force. 0 means passwords never expire, which is the weakest setting.

Maximum length passwords.policy.maximum_length Largest maximum password length across every policy in force.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Largest maximum password length across every policy in force.

Minimum length passwords.policy.minimum_length Smallest minimum password length across every policy in force.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Smallest minimum password length across every policy in force.

Weak password passwords.weak_password_pct Percentage of users with weak passwords.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.total

Percentage of users with weak passwords.

Sign in 2 fields · from trust
Less secure apps allowed sign_in.less_secure_apps_allowed True when any less secure apps policy still sets allowLessSecureApps. Google stopped supporting less secure apps on May 1, 2025.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when any less secure apps policy still sets allowLessSecureApps. Google stopped supporting less secure apps on May 1, 2025.

Web session duration max minutes sign_in.web_session_duration_max_minutes Longest web session duration any session controls policy sets, in minutes.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Longest web session duration any session controls policy sets, in minutes.

Users 22 fields · 7 trust, 13 audit, 2 internal
Active users.active Active (not suspended or archived) users in the live Directory scan. The live percentages are calculated against it.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Active (not suspended or archived) users in the live Directory scan. The live percentages are calculated against it.

Archived users.archived Archived user accounts, from the usage report.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Archived user accounts, from the usage report.

Inactive days users.inactive_days Inactivity threshold in days.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Inactivity threshold in days.

Inactive users.inactive_pct Percentage of active users inactive for 90+ days (from Directory API lastLoginTime).
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.active

Percentage of active users inactive for 90+ days (from Directory API lastLoginTime).

2sv enforced users.inventory[].2sv_enforced Whether a policy requires 2-step verification for the user.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether a policy requires 2-step verification for the user.

2sv enrolled users.inventory[].2sv_enrolled Whether the user is enrolled in 2-step verification.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user is enrolled in 2-step verification.

Active 30d users.inventory[].active_30d Whether the user last signed in within the 30 days before the run.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user last signed in within the 30 days before the run.

Active 7d users.inventory[].active_7d Whether the user last signed in within the 7 days before the run.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user last signed in within the 7 days before the run.

Agreed to terms users.inventory[].agreed_to_terms Whether the user has accepted the Google Workspace terms of service.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user has accepted the Google Workspace terms of service.

Archived users.inventory[].archived Whether the account is archived.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the account is archived.

Change password at next login users.inventory[].change_password_at_next_login Whether the user must change their password at the next sign-in.
Internal
Collected in
Internal runs only
Type
boolean

Whether the user must change their password at the next sign-in.

Created at users.inventory[].created_at When the account was created.
Audit
Collected in
Audit and internal runs
Type
string

When the account was created.

IP allowlisted users.inventory[].ip_allowlisted Whether the user's IP address is subject to Google's deprecated IP allowlist setting.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the user's IP address is subject to Google's deprecated IP allowlist setting.

Last login at users.inventory[].last_login_at When the user last signed in. Absent when the user has never signed in.
Internal
Collected in
Internal runs only
Type
string

When the user last signed in. Absent when the user has never signed in.

Org unit path users.inventory[].org_unit_path Path of the org unit the user belongs to.
Audit
Collected in
Audit and internal runs
Type
string

Path of the org unit the user belongs to.

Primary email users.inventory[].primary_email The user's primary email address.
Audit
Collected in
Audit and internal runs
Type
string

The user's primary email address.

Suspended users.inventory[].suspended Whether the account is suspended.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the account is suspended.

Locked users.locked_pct Percentage of users currently locked out.
Trust
Collected in
Trust, audit, and internal runs
Type
number, can be null
Counted over
users.total

Percentage of users currently locked out.

Suspended users.suspended Suspended user accounts, from the usage report.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Suspended user accounts, from the usage report.

Total users.total Total user accounts, from the usage report.
Trust
Collected in
Trust, audit, and internal runs
Type
integer, can be null

Total user accounts, from the usage report.

Truncated inventory users.truncated_inventory True when the per-user inventory was capped (50,000 rows, ACTIVE-first then email ascending). Omitted when within the cap.
Audit
Collected in
Audit and internal runs
Type
boolean

True when the per-user inventory was capped (50,000 rows, ACTIVE-first then email ascending). Omitted when within the cap.

Truncated inventory dropped users.truncated_inventory_dropped Number of user inventory rows dropped by the cap. Omitted when within the cap.
Audit
Collected in
Audit and internal runs
Type
integer

Number of user inventory rows dropped by the cap. Omitted when within the cap.

Vault 13 fields · 7 audit, 6 internal
Account count vault.holds[].account_count Accounts the hold names.
Internal
Collected in
Internal runs only
Type
integer

Accounts the hold names.

Corpus vault.holds[].corpus Service the hold covers, such as MAIL or DRIVE.
Internal
Collected in
Internal runs only
Type
string

Service the hold covers, such as MAIL or DRIVE.

Hold ID vault.holds[].hold_id The hold's ID.
Internal
Collected in
Internal runs only
Type
string

The hold's ID.

Matter ID vault.holds[].matter_id ID of the matter the hold belongs to.
Internal
Collected in
Internal runs only
Type
string

ID of the matter the hold belongs to.

Org unit scoped vault.holds[].org_unit_scoped Whether the hold covers an org unit instead of named accounts.
Internal
Collected in
Internal runs only
Type
boolean

Whether the hold covers an org unit instead of named accounts.

Updated at vault.holds[].updated_at When the hold last changed.
Internal
Collected in
Internal runs only
Type
string

When the hold last changed.

Holds count vault.holds_count Legal holds across all matters. Null when the tenant has no Vault license.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Legal holds across all matters. Null when the tenant has no Vault license.

Licensed vault.licensed Whether the tenant's edition includes Vault.
Audit
Collected in
Audit and internal runs
Type
boolean

Whether the tenant's edition includes Vault.

Hold count vault.matters[].hold_count Legal holds in the matter. Null when its holds could not be read.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Legal holds in the matter. Null when its holds could not be read.

Matter ID vault.matters[].matter_id The matter's ID.
Audit
Collected in
Audit and internal runs
Type
string

The matter's ID.

Name vault.matters[].name Matter name.
Audit
Collected in
Audit and internal runs
Type
string

Matter name.

State vault.matters[].state Matter state, such as OPEN or CLOSED.
Audit
Collected in
Audit and internal runs
Type
string

Matter state, such as OPEN or CLOSED.

Matters count vault.matters_count Vault matters in the tenant. Null when the tenant has no Vault license.
Audit
Collected in
Audit and internal runs
Type
integer, can be null

Vault matters in the tenant. Null when the tenant has no Vault license.

Run details google-workspace.collector-result.json

The status of each run, and any value it couldn't read and why.

General 1 field · from trust
Checks dropped checks_dropped Number of findings left out after the first 100.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

Number of findings left out after the first 100.

Assessed 3 fields · from trust
Path targets[].assessed.path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].assessed.pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].assessed.schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

At 3 fields · from trust
Path targets[].at.path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].at.pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].at.schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

Calls 30 fields · 7 trust, 23 audit
Attempts calls.operations[].attempts Number of requests sent, including retries. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

Number of requests sent, including retries. Present at the audit and internal levels only.

Calls calls.operations[].calls Number of times the collector made the call, not counting retries. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

Number of times the collector made the call, not counting retries. Present at the audit and internal levels only.

Deprecation calls.operations[].deprecation The Deprecation header from the vendor's most recent response that carried one.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The Deprecation header from the vendor's most recent response that carried one.

Error codes calls.operations[].error_codes The codes of the operation's failed attempts, without their counts.
Trust
Collected in
Trust, audit, and internal runs
Type
list

The codes of the operation's failed attempts, without their counts.

Errors calls.operations[].errors Number of failed attempts per code. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
object

Number of failed attempts per code. Present at the audit and internal levels only.

Name calls.operations[].name The operation's name, such as okta.users.list.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The operation's name, such as okta.users.list.

Permission calls.operations[].permission The permission the call needs, in the vendor's terms. The collector declares it with Operation.Permission. A permission_denied gap from t...
Trust
Collected in
Trust, audit, and internal runs
Type
string

The permission the call needs, in the vendor's terms. The collector declares it with Operation.Permission. A permission_denied gap from the call records it as its missing_permission.

Retried calls.operations[].retried True when a request for the operation was a retry.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when a request for the operation was a retry.

Retries calls.operations[].retries Number of requests that were retries. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

Number of requests that were retries. Present at the audit and internal levels only.

Status codes calls.operations[].status_codes The HTTP status codes, or DNS response codes for a lookup, that the operation's responses had, without their counts.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

The HTTP status codes, or DNS response codes for a lookup, that the operation's responses had, without their counts.

Statuses calls.operations[].statuses Number of responses per HTTP status code, or per DNS response code for a lookup. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
object

Number of responses per HTTP status code, or per DNS response code for a lookup. Present at the audit and internal levels only.

Sunset calls.operations[].sunset The Sunset header from the vendor's most recent response that carried one.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The Sunset header from the vendor's most recent response that carried one.

Problem requests dropped calls.problem_requests_dropped Number of the rows left out whose attempt failed or was a retry. Present wherever the rows are; 0 means every failed or retried request h...
Audit
Collected in
Audit and internal runs
Type
integer

Number of the rows left out whose attempt failed or was a retry. Present wherever the rows are; 0 means every failed or retried request has a row.

Attempt calls.requests[].attempt Which attempt the request was: 1 for the first, higher for a retry.
Audit
Collected in
Audit and internal runs
Type
integer

Which attempt the request was: 1 for the first, higher for a retry.

Call calls.requests[].call The call's number in the run, counting from 1 in the order calls start. Every attempt of one call has the same number.
Audit
Collected in
Audit and internal runs
Type
integer

The call's number in the run, counting from 1 in the order calls start. Every attempt of one call has the same number.

Duration ms calls.requests[].duration_ms How long the request took, in milliseconds.
Audit
Collected in
Audit and internal runs
Type
integer

How long the request took, in milliseconds.

Error calls.requests[].error The code for a request that failed. Absent when it succeeded.
Audit
Collected in
Audit and internal runs
Type
value

The code for a request that failed. Absent when it succeeded.

Host calls.requests[].host The request's host, the name a DNS lookup queried, or the host dialed.
Audit
Collected in
Audit and internal runs
Type
string

The request's host, the name a DNS lookup queried, or the host dialed.

Method calls.requests[].method The HTTP method, DNS and the record type looked up, such as DNS TXT, or DIAL.
Audit
Collected in
Audit and internal runs
Type
string

The HTTP method, DNS and the record type looked up, such as DNS TXT, or DIAL.

Operation calls.requests[].operation The operation the request belongs to.
Audit
Collected in
Audit and internal runs
Type
string

The operation the request belongs to.

Query keys calls.requests[].query_keys Names of the request's query parameters. Their values are not recorded.
Audit
Collected in
Audit and internal runs
Type
list of strings

Names of the request's query parameters. Their values are not recorded.

Rcode calls.requests[].rcode DNS lookups only: the response code. A lookup that got no response has none.
Audit
Collected in
Audit and internal runs
Type
value

DNS lookups only: the response code. A lookup that got no response has none.

Request ID calls.requests[].request_id The vendor's request ID from the response headers, when it sent one.
Audit
Collected in
Audit and internal runs
Type
string

The vendor's request ID from the response headers, when it sent one.

Route calls.requests[].route HTTP requests only.
Audit
Collected in
Audit and internal runs
Type
string

HTTP requests only.

Start ms calls.requests[].start_ms When the attempt was sent, in milliseconds after the run's started_at.
Audit
Collected in
Audit and internal runs
Type
integer

When the attempt was sent, in milliseconds after the run's started_at.

Status calls.requests[].status The response's HTTP status code. Absent when no response arrived.
Audit
Collected in
Audit and internal runs
Type
integer

The response's HTTP status code. Absent when no response arrived.

Step calls.requests[].step The step the call was made in. Absent for a call made outside every step.
Audit
Collected in
Audit and internal runs
Type
string

The step the call was made in. Absent for a call made outside every step.

Vendor code calls.requests[].vendor_code The vendor's own error code from a failed response, such as E0000047. Never the vendor's message. Absent for collectors that do not read...
Audit
Collected in
Audit and internal runs
Type
string

The vendor's own error code from a failed response, such as E0000047. Never the vendor's message. Absent for collectors that do not read one.

Waited ms calls.requests[].waited_ms On a retry, how long the SDK waited before sending it: the Retry-After value, the rate limit reset, or its own backoff. Absent on a first...
Audit
Collected in
Audit and internal runs
Type
integer

On a retry, how long the SDK waited before sending it: the Retry-After value, the rate limit reset, or its own backoff. Absent on a first attempt and on a retry sent at once.

Requests dropped calls.requests_dropped Number of request rows left out.
Audit
Collected in
Audit and internal runs
Type
integer

Number of request rows left out.

Checks 4 fields · from trust
Check checks[].check schema, schema_unusable, population, nulls, rollups, ratios, guidance, levels, or targets.
Trust
Collected in
Trust, audit, and internal runs
Type
string

schema, schema_unusable, population, nulls, rollups, ratios, guidance, levels, or targets.

Message checks[].message What the check found.
Trust
Collected in
Trust, audit, and internal runs
Type
string

What the check found.

Path checks[].path The artifact the finding is about. A schema_unusable finding has none.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact the finding is about. A schema_unusable finding has none.

Pointer checks[].pointer JSON pointer to the value the finding is about.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value the finding is about.

Choice 6 fields · from trust
Consequence gaps[].choice.options[].consequence What happens if the customer picks the option, including its cost and what stays Not collected.
Trust
Collected in
Trust, audit, and internal runs
Type
string

What happens if the customer picks the option, including its cost and what stays Not collected.

Label gaps[].choice.options[].label
Trust
Collected in
Trust, audit, and internal runs
Type
string
Question gaps[].choice.question
Trust
Collected in
Trust, audit, and internal runs
Type
string
Consequence warnings[].choice.options[].consequence What happens if the customer picks the option, including its cost and what stays Not collected.
Trust
Collected in
Trust, audit, and internal runs
Type
string

What happens if the customer picks the option, including its cost and what stays Not collected.

Label warnings[].choice.options[].label
Trust
Collected in
Trust, audit, and internal runs
Type
string
Question warnings[].choice.question
Trust
Collected in
Trust, audit, and internal runs
Type
string
Collect 3 fields · from trust
Left out collect.left_out Each kind the collector could write that the key left out. Each has a not_shared gap.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

Each kind the collector could write that the key left out. Each has a not_shared gap.

Listed collect.listed The kinds of evidence the collect config key listed, such as cloud-posture.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

The kinds of evidence the collect config key listed, such as cloud-posture.

Unmatched collect.unmatched Each kind the key listed that the run never wrote, such as a misspelled one.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

Each kind the key listed that the run never wrote, such as a misspelled one.

Collector 3 fields · from trust
Commit collector.commit The source commit the collector was built from. Absent when the build set none.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The source commit the collector was built from. Absent when the build set none.

Name collector.name The collector's name, as its spec declares it.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The collector's name, as its spec declares it.

Version collector.version The collector's version, such as v0.3.0. Absent when the build set none.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The collector's version, such as v0.3.0. Absent when the build set none.

Coverage 3 fields · from trust
Path targets[].coverage.path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].coverage.pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].coverage.schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

Exclude 3 fields · from trust
Path targets[].exclude.path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].exclude.pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].exclude.schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

For 3 fields · from trust
Path targets[].for[].path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].for[].pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].for[].schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

Found 3 fields · from trust
Path targets[].found.path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].found.pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].found.schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

Gaps 17 fields · 12 trust, 5 audit
Call gaps[].call The number of that call, matching the call on its request rows. A partial gap names the first failed call among those it counts. Present...
Audit
Collected in
Audit and internal runs
Type
integer

The number of that call, matching the call on its request rows. A partial gap names the first failed call among those it counts. Present at the audit and internal levels only.

Code gaps[].code Why the value was left out: auth_failed, permission_denied, config_invalid, not_licensed, unsupported, not_read, rate_limited, vendor_err...
Trust
Collected in
Trust, audit, and internal runs
Type
value

Why the value was left out: auth_failed, permission_denied, config_invalid, not_licensed, unsupported, not_read, rate_limited, vendor_error, timeout, invalid_response, too_large, internal, or not_shared. unsupported means the vendor does not report the value. too_large means the vendor holds more than the collector reads. not_shared means the customer left it out of this pack with the collect config key.

Detail gaps[].detail Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

Present at the audit and internal levels only.

Fix gaps[].fix The one instruction that fixes collection. It uses fixed wording plus permission, plan, and region names. A gap has at most one of fix, n...
Trust
Collected in
Trust, audit, and internal runs
Type
string

The one instruction that fixes collection. It uses fixed wording plus permission, plan, and region names. A gap has at most one of fix, no_action, and choice.

Missing permission gaps[].missing_permission For a permission_denied gap, the permission to grant, in the vendor's own terms, such as okta.logs.read.
Trust
Collected in
Trust, audit, and internal runs
Type
string

For a permission_denied gap, the permission to grant, in the vendor's own terms, such as okta.logs.read.

No action gaps[].no_action True when nothing needs changing now. It does not clear the gap.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when nothing needs changing now. It does not clear the gap.

Operation gaps[].operation The operation whose failed call left the value out. Absent when no call's error caused the gap, such as for a feature the plan lacks.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The operation whose failed call left the value out. Absent when no call's error caused the gap, such as for a feature the plan lacks.

Owner gaps[].owner Who can act on the code: customer, nobody for an expected gap such as a feature the plan lacks, vendor, vendor_or_runner, or publisher.
Trust
Collected in
Trust, audit, and internal runs
Type
value

Who can act on the code: customer, nobody for an expected gap such as a feature the plan lacks, vendor, vendor_or_runner, or publisher.

Path gaps[].path The artifact the value belongs in. Absent when the run wrote no such artifact, in which case schema names it.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact the value belongs in. Absent when the run wrote no such artifact, in which case schema names it.

Pointer gaps[].pointer JSON pointer to the value within the artifact. Items are addressed by array index.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value within the artifact. Items are addressed by array index.

Schema gaps[].schema The schema of the artifact the value belongs in, when the run wrote no such artifact.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The schema of the artifact the value belongs in, when the run wrote no such artifact.

Scope gaps[].scope The account, tenant, or region affected. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

The account, tenant, or region affected. Present at the audit and internal levels only.

Source gaps[].source The file and line in the collector's own source that recorded the gap, relative to its module root, such as internal/collector/system_log...
Trust
Collected in
Trust, audit, and internal runs
Type
string

The file and line in the collector's own source that recorded the gap, relative to its module root, such as internal/collector/system_log.go:155.

Status gaps[].status not_collected when the collector could not read the value. partial when a rollup was left out because some of the items it covers could n...
Trust
Collected in
Trust, audit, and internal runs
Type
value

not_collected when the collector could not read the value. partial when a rollup was left out because some of the items it covers could not be read, or when a list or object holds only the items that could be.

Unmeasured gaps[].unmeasured For a partial gap, the number of items that could not be read. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

For a partial gap, the number of items that could not be read. Present at the audit and internal levels only.

Vendor code gaps[].vendor_code The vendor's own error code, when its response included one.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The vendor's own error code, when its response included one.

Warning gaps[].warning The collector's message to the operator about the gap, redacted. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

The collector's message to the operator about the gap, redacted. Present at the audit and internal levels only.

Include 3 fields · from trust
Path targets[].include.path The artifact's path in the pack.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's path in the pack.

Pointer targets[].include.pointer JSON pointer to the value.
Trust
Collected in
Trust, audit, and internal runs
Type
string

JSON pointer to the value.

Schema targets[].include.schema The artifact's schema.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The artifact's schema.

Operations 2 fields · 1 trust, 1 audit
Calls steps[].operations[].calls Its calls in the step. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

Its calls in the step. Present at the audit and internal levels only.

Name steps[].operations[].name The operation.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The operation.

Outcome 3 fields · from trust
Code outcome.code For a partial run, the code of the first gap other than a not_shared, unsupported, or not_read one, saying why its value was left out.
Trust
Collected in
Trust, audit, and internal runs
Type
value

For a partial run, the code of the first gap other than a not_shared, unsupported, or not_read one, saying why its value was left out.

Owner outcome.owner For a partial run, who can act on that code.
Trust
Collected in
Trust, audit, and internal runs
Type
value

For a partial run, who can act on that code.

Status outcome.status collected when the run read every value its level collects, or partial when it left values out. gaps lists each one. A not_shared or unsu...
Trust
Collected in
Trust, audit, and internal runs
Type
value

collected when the run read every value its level collects, or partial when it left values out. gaps lists each one. A not_shared or unsupported gap does not make a run partial.

Run 6 fields · from trust
Custom ca run.custom_ca True when SSL_CERT_FILE or SSL_CERT_DIR was set for the run.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when SSL_CERT_FILE or SSL_CERT_DIR was set for the run.

Finished at run.finished_at When the run finished, in RFC 3339 UTC.
Trust
Collected in
Trust, audit, and internal runs
Type
string

When the run finished, in RFC 3339 UTC.

Level run.level The level the run collected at, at every level. A reader uses it to tell a value the level left out from one the collector could not read...
Trust
Collected in
Trust, audit, and internal runs
Type
string

The level the run collected at, at every level. A reader uses it to tell a value the level left out from one the collector could not read. Absent from results of older SDKs.

Proxy run.proxy True when a proxy variable such as HTTPS_PROXY was set for the run.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when a proxy variable such as HTTPS_PROXY was set for the run.

Run ID run.run_id The run ID the runner passed in EPACK_RUN_ID. Absent when it passed none.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The run ID the runner passed in EPACK_RUN_ID. Absent when it passed none.

Started at run.started_at When the run started, in RFC 3339 UTC.
Trust
Collected in
Trust, audit, and internal runs
Type
string

When the run started, in RFC 3339 UTC.

Signed in as 8 fields · 6 trust, 2 audit
Auth method signed_in_as.auth_method How the collector proved its identity, such as private_key_jwt for OAuth 2.0 client credentials with a signed key assertion or api_token...
Trust
Collected in
Trust, audit, and internal runs
Type
string

How the collector proved its identity, such as private_key_jwt for OAuth 2.0 client credentials with a signed key assertion or api_token for an API token.

ID signed_in_as.id Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

Present at the audit and internal levels only.

Kind signed_in_as.kind The kind of principal, such as service_app, service_principal, or user.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The kind of principal, such as service_app, service_principal, or user.

Provider signed_in_as.provider The identity system, such as okta or microsoft-entra.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The identity system, such as okta or microsoft-entra.

Read only signed_in_as.read_only Present when the collector can show that its credential could only read.
Trust
Collected in
Trust, audit, and internal runs
Type
value

Present when the collector can show that its credential could only read.

Requested scopes signed_in_as.requested_scopes The scopes the collector asked for. A scope here and missing from scopes was not granted.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

The scopes the collector asked for. A scope here and missing from scopes was not granted.

Scopes signed_in_as.scopes The permissions the sign-in carried.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

The permissions the sign-in carried.

Tenant ID signed_in_as.tenant_id The tenant, account, or organization signed in to. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

The tenant, account, or organization signed in to. Present at the audit and internal levels only.

Steps 9 fields · 3 trust, 6 audit
Any failed steps[].any_failed True when an attempt in the step failed: one with an error code or a status of 400 or more.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when an attempt in the step failed: one with an error code or a status of 400 or more.

Calls steps[].calls The calls those requests belong to. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

The calls those requests belong to. Present at the audit and internal levels only.

End ms steps[].end_ms When the step ended, in milliseconds after the run's started_at. A step still open when the collector emitted ended then. Present at the...
Audit
Collected in
Audit and internal runs
Type
integer

When the step ended, in milliseconds after the run's started_at. A step still open when the collector emitted ended then. Present at the audit and internal levels only.

Failed steps[].failed The attempts that failed: those with an error code or a status of 400 or more. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

The attempts that failed: those with an error code or a status of 400 or more. Present at the audit and internal levels only.

Name steps[].name The step's name, such as people. Step names are part of the collector's contract, like operation names.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The step's name, such as people. Step names are part of the collector's contract, like operation names.

Requests steps[].requests The requests sent in the step, including rows left out of calls.requests. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

The requests sent in the step, including rows left out of calls.requests. Present at the audit and internal levels only.

Retries steps[].retries The requests that were retries. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

The requests that were retries. Present at the audit and internal levels only.

Start ms steps[].start_ms When the step started, in milliseconds after the run's started_at. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

When the step started, in milliseconds after the run's started_at. Present at the audit and internal levels only.

Title steps[].title The step's title, such as People and sign-in methods.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The step's title, such as People and sign-in methods.

Targets 8 fields · 7 trust, 1 audit
Chosen by targets[].chosen_by config_list when a person listed the targets in the config, discovery when the collector found every one its credential can see, discover...
Trust
Collected in
Trust, audit, and internal runs
Type
value

config_list when a person listed the targets in the config, discovery when the collector found every one its credential can see, discovery_filtered when the config narrowed what it found, granted when the credential was given only some, so others may exist, granted_filtered when the config also narrowed those, and collector when the collector picked them itself, such as a default region.

Complete targets[].complete True when every target was reached and has no gap that makes the run partial, at every level. Absent when at is.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when every target was reached and has no gap that makes the run partial, at every level. Absent when at is.

Config key targets[].config_key The config key that listed or narrowed the targets.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The config key that listed or narrowed the targets.

Count targets[].count How many targets the artifact holds. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
integer

How many targets the artifact holds. Present at the audit and internal levels only.

Kind targets[].kind What the targets are. A container the run signed in to or was configured for, or a resource it assessed in it.
Trust
Collected in
Trust, audit, and internal runs
Type
value

What the targets are. A container the run signed in to or was configured for, or a resource it assessed in it.

Label targets[].label A pointer inside each target to the name people know it by, to show beside its name, or alone when the run's level leaves the name out.
Trust
Collected in
Trust, audit, and internal runs
Type
string

A pointer inside each target to the name people know it by, to show beside its name, or alone when the run's level leaves the name out.

Name targets[].name Pointers inside each target whose values, joined with a colon, name it. Absent when a target is itself its name.
Trust
Collected in
Trust, audit, and internal runs
Type
list of strings

Pointers inside each target whose values, joined with a colon, name it. Absent when a target is itself its name.

Reached targets[].reached A pointer inside each target to a boolean that is false when the target did not answer.
Trust
Collected in
Trust, audit, and internal runs
Type
string

A pointer inside each target to a boolean that is false when the target did not answer.

Unrecognized 3 fields · 2 trust, 1 audit
Count unrecognized[].count How many distinct values the run read that the vocabulary lacks.
Trust
Collected in
Trust, audit, and internal runs
Type
integer

How many distinct values the run read that the vocabulary lacks.

Values unrecognized[].values The first 50 of those values, sorted. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
list of strings

The first 50 of those values, sorted. Present at the audit and internal levels only.

Vocabulary unrecognized[].vocabulary The vocabulary's name, such as okta.event_types.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The vocabulary's name, such as okta.event_types.

Warnings 5 fields · 3 trust, 2 audit
Fix warnings[].fix The one instruction that fixes collection. A warning has at most one of fix, no_action, and choice.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The one instruction that fixes collection. A warning has at most one of fix, no_action, and choice.

Message warnings[].message The collector's message about what happened. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

The collector's message about what happened. Present at the audit and internal levels only.

Missing permission warnings[].missing_permission The permission to grant, in the vendor's own terms.
Trust
Collected in
Trust, audit, and internal runs
Type
string

The permission to grant, in the vendor's own terms.

No action warnings[].no_action True when nothing needs changing now.
Trust
Collected in
Trust, audit, and internal runs
Type
boolean

True when nothing needs changing now.

Scope warnings[].scope The account, tenant, or region affected. Present at the audit and internal levels only.
Audit
Collected in
Audit and internal runs
Type
string

The account, tenant, or region affected. Present at the audit and internal levels only.

Details

Publisher
locktivity
Latest
v0.5.5
Protocol
v1

Platforms

darwin/amd64 darwin/arm64 linux/amd64 linux/arm64

Links