epack install collector gitlab
Adds to epack.yaml, resolves dependencies, downloads binary.
Run all configured collectors and build a pack:
epack collect
Runs all collectors in epack.yaml and outputs an evidence pack.
Or add manually to epack.yaml:
collectors:
gitlab:
source: https://github.com/locktivity/epack-collector-gitlab
Then run epack install to lock and sync.
The collector reads the GitLab REST API v4 and GraphQL API for a configured group and emits security posture evidence. It includes projects in subgroups and excludes projects shared into the group.
It does not inspect repository contents, CI configuration, or CODEOWNERS files. See collection levels for the emitted fields and limits.
GitLab offers the following through its API, and the collector does not read them.
vuln-scanning output has no entry for either scanner.base_urlThe available fields depend on GitLab version, license, and token permissions.
Successful runs emit five artifacts at every collection level:
artifacts/gitlab.details.json: detailed GitLab-specific posture, described by schema/v1.0.0.jsonartifacts/gitlab.vcs-posture.json: normalized evidencepack/vcs-posture@v1 postureartifacts/gitlab.access-posture.json: normalized evidencepack/access-posture@v1 access to the groupartifacts/gitlab.vuln-scanning.json: normalized evidencepack/vuln-scanning@v1 scanner coverage and open findingsartifacts/gitlab.collector-result.json: the collector result, which lists each value left out with a code that says why, counts the calls made to each GitLab endpoint, and names the group the token signed in toThe collect config key can leave out any of the first four. The collector then skips the calls that only that artifact needs.
The vcs-posture output maps project selection coverage, MR/approval percentages, and pipeline-required percentages from the detailed artifact. A value the detailed artifact left out is absent from the normalized artifact too, with the same gap. The collector does not read GitLab's push rules, which have reject_unsigned_commits. The signed commit values are absent, each with a not_read gap.
The access-posture output has the group's 2FA requirement, its members and Owners, and its machine credentials. Members are the active users in the group's member list, including inherited and invited members, and for a top-level group the active users in its billable members list, which adds the people who hold a role only in a subgroup or a project. Bot users for access tokens and service accounts are not counted as members. The admins are the Owners and the members whose custom role can manage the group's members or delete the group. The group's member list has a SAML identity and two-factor authentication only for the people it lists, so when someone holds a role only in a subgroup or a project, the MFA values, and the SSO values in a group with SAML identities, are left out with a partial gap. A member with a SAML identity counts as linked to SSO. GitLab's API has no field for whether a group enforces SSO-only sign-in, so every member also counts as able to sign in without SSO. The local MFA percentages therefore cover every member and every Owner.
A member is inactive when their last_activity_on in the group's billable members list is empty or before the date 90 days before the run. A sign-in sets last_activity_on, and so does Git or API use. GitLab has this list only for a top-level group, and only an Owner can read it. The list has no Guests on GitLab Ultimate, so a group on Ultimate with a Guest has its inactive values left out.
A GitLab group has no built-in root account. So root.root_accounts_present and root.root_access_keys_present are false and root.root_mfa_coverage_pct is null. From the audit level the root counts are 0.
Credentials are the active access tokens of the group and of the assessed projects. They also include the deploy keys enabled in those projects. A deploy key enabled in several projects counts once, and an expired deploy key is not counted. GitLab access tokens always expire, so the never-expiring credentials are deploy keys without an expiry date. An access token with the api scope counts as unrestricted. When the group restricts access by IP address, the restriction applies to every token and deploy key, so none counts as unrestricted.
The vuln-scanning output has one entry each for dependency scanning, SAST, and secret detection. A project counts as scanned when the scanner's job succeeded in its latest pipeline on the default branch. A scanner is enabled when it scanned at least one assessed project. Open findings are the detected and confirmed vulnerabilities in the group's vulnerability report, for the assessed projects. A finding is overdue when it is critical and open more than 30 days, or high and open more than 90 days.
These values have no source in GitLab's API, so each is left out with an unsupported gap:
sign_in.sso_required, since the API does not say whether a group enforces SAML SSOsign_in.sso_configured and sign_in.scim_enabled when no member has a SAML or SCIM identityThese values come from GitLab API calls the collector does not make, so each is left out with a not_read gap that names the call:
members.external_members_present, which the Users API's external filter hasconnected_apps, which the group integrations API listsmembers.inactive_pct for a subgroup, since the billable members list is only for a top-level groupmembers.inactive_pct when a member is not in the billable members list. GitLab's GraphQL API has their lastActivityOn.credentials.unrestricted_pct for a subgroup, since the top-level group's IP restriction applies to its credentialsPercentages describe the projects visible to the token after filtering. projects_coverage is the percentage of API-listed projects selected by the filters, not a measurement of all projects the organization owns. scope.project_count and scope.included_project_count give the two counts. Archived and empty projects remain in the denominator. A percentage over no projects is null. security_features_coverage is the arithmetic mean of secret push protection and pipeline-required coverage, rounded down to an integer.
Pipeline coverage reports the project's only_allow_merge_if_pipeline_succeeds flag. It does not inspect pipeline contents or prove that every change ran checks. Code owner coverage reports the branch flag; it does not verify that a CODEOWNERS file exists or covers all paths. Approval inventory records the maximum applicable approval count, not a complete copy of approval rules or approver identities. A rule from a merge request approval policy or Coverage-Check counts only when its report type is any_merge_request. Other rules of that kind need approval only when their condition is met.
The normalized signed_commits_pct is left out because this collector does not read push rules. It is listed in unavailable_sources with an explanation. unavailable_sources also includes runtime diagnostics from permission errors and endpoint failures. When projects omit secret_push_protection_enabled (due to tier or role restrictions), secret_push_protection is left out, with a diagnostic noting how many projects could not report the field. Its gap is not_licensed when no project reports it and permission_denied when only some do.
A value the collector could not read is left out, as null or an absent field, with a gap in the collector result; a failed endpoint never lowers a percentage or a count. A percentage needs an answer for every included project: when one project's protected branches, approval settings, or approval rules could not be read, the percentage is left out with a partial gap that counts the projects left unmeasured. The same project's row in the audit inventory leaves out branch_protection or approval_settings with a gap. Diagnostics still describe skipped surfaces in prose. Only a failure reading the configured group fails the run; HTTP 401 from any other endpoint leaves that endpoint's values out with auth_failed. A 401 from an access token list means the token's role cannot read it, so its gap is permission_denied.
Group members, group hooks, runners, and group audit events retain their group scope when projects are filtered. For complete group audit events, use Owner: lower roles can return an apparently successful list containing only the token owner's actions.
The access-posture MFA, SSO, and inactive values need a token with the Owner role, and the 2FA values need GitLab 19.4 or later. With another role they are left out with a permission_denied gap. On GitLab before 19.4, an Owner token whose group has SAML or SCIM identities gets the SSO values, and the MFA values are left out as unsupported. A request for billable members from another role gets HTTP 400, and its gap is permission_denied. Only an Owner can list the group's access tokens, so the credential values are left out the same way for any other role. The vulnerability values need GitLab Ultimate and the Developer role or above. Without Ultimate they are left out as not_licensed, and the coverage values stay.
Set GITLAB_TOKEN to a group or personal access token with read_api scope. A group access token creates its own bot identity; a personal token can belong to a dedicated service account. Assign a role appropriate to the surfaces you need. The access-posture values need the Owner role. Each call's scope or role is in the collector result, and a permission_denied gap names it. The collector reads scanners and vulnerabilities through the GraphQL API, which read_api also covers.
For a group access token, navigate to your GitLab group > Settings > Access tokens, create the token, and provide it through the GITLAB_TOKEN environment variable and the secrets entry below. Personal tokens can be created under your GitLab profile's access-token settings.
The collector does not call the Users API, so it does not require read_user. Adding that scope does not make hidden member 2FA fields available.
stream: myorg/gitlab-posture
collectors:
gitlab:
source: locktivity/epack-collector-gitlab@^0.1
config:
group: my-organization
level: trust
# base_url: https://gitlab.example.com
# include_patterns: ["backend-*"]
# exclude_patterns: ["archived-*"]
secrets:
- GITLAB_TOKEN
| Key | Required | Default | Description |
|---|---|---|---|
group |
Yes | Group path, including a subgroup path, or numeric ID supplied as a string | |
base_url |
No | https://gitlab.com |
Instance URL over https; the collector appends /api/v4 |
level |
No | trust |
trust, audit, or internal; unknown values fall back to trust with an SDK warning |
include_patterns |
No | ["*"] |
Case-sensitive globs matching project display names |
exclude_patterns |
No | [] |
Project display-name globs evaluated before includes |
collect |
No | every kind | The artifacts to collect, from details, vcs-posture, access-posture, and vuln-scanning |
Filters match name, not path_with_namespace. For example, backend-* matches a project named backend-api, regardless of its namespace. Projects in subgroups are included; projects shared into the group are excluded. Archived projects are included unless filtered out. Percentages use all included projects as their denominator.
Project filters apply to project metrics, project inventory, project webhooks, deploy keys, project access tokens, scanner coverage, and vulnerabilities. Group members, group access tokens, group webhooks, runners, and group audit events keep their group scope. The configured group and filter patterns appear in trust output too. Below the audit level, a group configured by its numeric ID appears by its full path.
Supply pattern lists as arrays of strings with valid glob syntax. Invalid globs and non-string list entries are rejected before collection begins.
| Secret | Required | Description |
|---|---|---|
GITLAB_TOKEN |
Yes | GitLab access token; never written into the artifacts |
Set base_url to the instance URL, without an /api/v4 suffix:
config:
group: my-org
base_url: https://gitlab.example.com
The collector never sends the token over plain http, so an http:// URL is invalid configuration unless it names a loopback host such as localhost.
For GitLab Dedicated, use the URL of your dedicated instance in the same way.
| Surface | Collection level | Requirements and limitations |
|---|---|---|
| Group settings, projects, branch protection | trust+ | read_api; visibility depends on token membership and role. With Premium or Ultimate the group settings include its IP restriction, which applies to every access token and deploy key |
| Approval settings and rules | trust+ | Premium+; permissions can vary between the two endpoints |
| Secret push protection status | trust+ | Ultimate; status is exposed to Developer, Security Manager, Maintainer, or Owner where supported |
| Members | trust+ | read_api; inherited and invited membership follows the API's visibility rules. The detailed member inventory is audit+ |
| Member 2FA status and SAML and SCIM identities | trust+ | Owner. 2FA status needs GitLab 19.4 or later. The identities appear only in groups with SAML SSO. Without them the access-posture MFA and SSO values are left out as permission_denied. On GitLab before 19.4, an Owner token whose group has SAML or SCIM identities gets the SSO values, and the MFA values are left out as unsupported. In the detailed inventory, missing 2FA values remain null |
| Billable members, for each member's last activity and the people with a role only in a subgroup or a project | trust+ | Owner, and a top-level group. Other roles get HTTP 400, which leaves the member counts, the percentages over every member, and the inactive values out as permission_denied. A subgroup has no list of its own, so its inactive values are left out as not_read |
| Custom roles, when a member has one | trust+ | Owner, GitLab Ultimate on GitLab.com. A GitLab Self-Managed instance lists custom roles only to an administrator. Without them, the admin counts are left out with a partial gap |
| Group access tokens | trust+ | Owner. Other roles get HTTP 401, which leaves the credential values out as permission_denied |
| Project access tokens | trust+ | Maintainer or above |
| Deploy keys | trust+ | Maintainer or above. The detailed counts are audit+ |
| Security scanners of each project | trust+ | read_api, through the GraphQL API |
| Vulnerabilities | trust+ | Ultimate, and Developer or above, through the GraphQL API. Without Ultimate the finding values are left out as not_licensed |
| Project webhooks | audit+ | Maintainer or above |
| Group webhooks | audit+ | Premium+, Owner or administrator |
| Runners available to the group | audit+ | Current API documentation requires Owner/Auditor or custom admin_runners, and manage_runner scope |
| Group audit events | internal | Premium+; Owner for all users' events; Developer/Maintainer can receive only their own events |
Requirements vary with GitLab version. Consult the Projects API, Groups members API, billable members, Group access tokens API, Project access tokens API, Deploy keys API, Runners API, Audit events API, and GraphQL API.
Reading the configured group is the collector's sign-in, and the only read whose failure fails the run: a rejected token exits 3 with auth_failed, and a group GitLab says does not exist exits 2 with config_invalid. Any other endpoint that fails, including with HTTP 401, leaves its values out with a gap in artifacts/gitlab.collector-result.json and a diagnostic, and collection continues. GitLab Free answers the Premium endpoints (approval settings and rules, group webhooks, and group audit events) as routes it does not have, so those values are left out as not_licensed. A successful response can omit restricted fields: a missing group setting or project setting is left out with a gap rather than read as false. Group webhook and audit-event HTTP 403 diagnostics currently mention Premium even when the cause is insufficient role. Runner permission diagnostics currently mention Maintainer, although the group-list endpoint has stricter documented requirements.
# epack.yaml
stream: myorg/gitlab-posture
collectors:
gitlab:
source: locktivity/epack-collector-gitlab@^0.1
config:
group: my-organization
secrets:
- GITLAB_TOKEN
export GITLAB_TOKEN="glpat-xxxxxxxxxxxxxxxxxxxx"
epack collect
collectors:
gitlab:
source: locktivity/epack-collector-gitlab@^0.1
config:
group: engineering
base_url: https://gitlab.internal.company.com
secrets:
- GITLAB_TOKEN
collectors:
gitlab:
source: locktivity/epack-collector-gitlab@^0.1
config:
group: my-organization
include_patterns:
- "backend-*"
- "frontend-*"
exclude_patterns:
- "*-archived"
secrets:
- GITLAB_TOKEN
Set the collection level in the collector configuration:
stream: myorg/gitlab-posture
collectors:
gitlab:
source: locktivity/epack-collector-gitlab@^0.1
config:
group: my-organization
level: audit
secrets:
- GITLAB_TOKEN
epack collect
{
"schema_version": "1.0.0",
"collected_at": "2026-09-18T12:00:00Z",
"collected_at_level": "trust",
"group": "my-organization",
"scope": {
"include_patterns": ["*"],
"exclude_patterns": [],
"projects_coverage": 100,
"project_count": 50,
"included_project_count": 50
},
"posture": {
"branch_protection_coverage": 94,
"security_features_coverage": 72
},
"access_control": {
"two_factor_required": true
},
"branch_protection_rules": {
"merge_request_required": 92,
"approving_reviews": 78,
"code_owner_approval": 44,
"no_force_push": 94
},
"security_features": {
"secret_push_protection": 60,
"pipeline_required": 84
}
}
This is an illustrative output. diagnostics is omitted when there are no warnings or permission errors. The 72% security-features coverage above is the mean of 60% secret push protection and 84% pipeline-required coverage. A value the collector could not read is null, with a gap in artifacts/gitlab.collector-result.json that says why; see output limitations.
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.2.5...v0.2.6
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.2.4...v0.2.5
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.2.3...v0.2.4
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.2.2...v0.2.3
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.2.1...v0.2.2
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.2.0...v0.2.1
Full Changelog: https://github.com/locktivity/epack-collector-gitlab/compare/v0.1.0...v0.2.0
367 fields. No test account checks this collector yet.
Every field this collector can write, each tagged with the lowest level that collects it. Each level includes everything in the level before it.
No fields match these filters.
The values Foundational Controls and other profiles read.
The system's vendor, such as github, aws, or clickhouse
The kind of system
Admins, as this section defines them. admin_share_pct divides these by member_count.
Whether the system has any admins
Admins who can sign in without SSO. An admin linked to SSO counts when the system still lets them sign in another way
Percentage of admins who can sign in without SSO and have MFA. Null when no admin can sign in without SSO
Whether any admins can sign in without SSO. An admin linked to SSO counts too when the system still lets them sign in another way. When false, local_admin_mfa_coverage_pct has no admins to count
Admins counted in local_admin_count who have MFA
Admins, as this section defines them. admin_share_pct divides these by member_count.
Whether the system has any admins
Admins who can sign in without SSO. An admin linked to SSO counts when the system still lets them sign in another way
Percentage of admins who can sign in without SSO and have MFA. Null when no admin can sign in without SSO
Whether any admins can sign in without SSO. An admin linked to SSO counts too when the system still lets them sign in another way. When false, local_admin_mfa_coverage_pct has no admins to count
Admins counted in local_admin_count who have MFA
Third-party apps with access
Whether any third-party app has access
Machine credentials: API keys, tokens, deploy keys, service users and access keys, including access keys on a user who cannot sign in. The credential percentages count these.
Whether the system has any machine credentials. When false, the credential percentages have none to count
Credentials that never expire
Percentage of credentials that never expire. Null when there are none
Credentials older than 90 days. When the system does not record when a credential was created, this is left out with a gap
Percentage of credentials older than 90 days. Left out with a gap when the system does not record when a credential was created. Null when there are none
Credentials with neither an IP limit nor a scope narrower than full access. A credential limited to chosen permissions or resources has a narrower scope. A credential with either limit is restricted
Percentage of credentials with neither an IP limit nor a scope narrower than full access. Null when there are none
Credentials never used, or unused in the last 90 days
Percentage of credentials never used, or unused in the last 90 days. Null when there are none
Credentials that can write or administer
Percentage of credentials that can write or administer. Null when there are none
Machine credentials: API keys, tokens, deploy keys, service users and access keys, including access keys on a user who cannot sign in. The credential percentages count these.
Whether the system has any machine credentials. When false, the credential percentages have none to count
Credentials that never expire
Percentage of credentials that never expire. Null when there are none
Credentials older than 90 days. When the system does not record when a credential was created, this is left out with a gap
Percentage of credentials older than 90 days. Left out with a gap when the system does not record when a credential was created. Null when there are none
Credentials with neither an IP limit nor a scope narrower than full access. A credential limited to chosen permissions or resources has a narrower scope. A credential with either limit is restricted
Percentage of credentials with neither an IP limit nor a scope narrower than full access. Null when there are none
Credentials never used, or unused in the last 90 days
Percentage of credentials never used, or unused in the last 90 days. Null when there are none
Credentials that can write or administer
Percentage of credentials that can write or administer. Null when there are none
Members from outside the organization
Whether any members come from outside the organization, such as outside collaborators or guests
Members with no sign-in or other recorded activity in the last 90 days
Percentage of members with no sign-in or other recorded activity in the last 90 days. Null when there are no members
Members who can sign in without SSO. A member linked to SSO counts when the system still lets them sign in another way
Whether any members can sign in without SSO, with a password or a social login. A member linked to SSO counts too when the system still lets them sign in another way, so local and SSO members can overlap. When false, local_mfa_coverage_pct has no members to count
Percentage of members who can sign in without SSO and have MFA. Null when no member can sign in without SSO
Members counted in local_member_count who have MFA
Members, as this section defines them. The member percentages count these.
Whether the system has any members. When false, the member percentages have no members to count
Percentage of members whose account is linked to SSO. Null when there are no members
Members whose account is linked to SSO
Members from outside the organization
Whether any members come from outside the organization, such as outside collaborators or guests
Members with no sign-in or other recorded activity in the last 90 days
Percentage of members with no sign-in or other recorded activity in the last 90 days. Null when there are no members
Members who can sign in without SSO. A member linked to SSO counts when the system still lets them sign in another way
Whether any members can sign in without SSO, with a password or a social login. A member linked to SSO counts too when the system still lets them sign in another way, so local and SSO members can overlap. When false, local_mfa_coverage_pct has no members to count
Percentage of members who can sign in without SSO and have MFA. Null when no member can sign in without SSO
Members counted in local_member_count who have MFA
Members, as this section defines them. The member percentages count these.
Whether the system has any members. When false, the member percentages have no members to count
Percentage of members whose account is linked to SSO. Null when there are no members
Members whose account is linked to SSO
Whether any root account has access keys
Root accounts. A system with scopes has one per scope
Whether the system has a built-in root account. When false, root_mfa_coverage_pct has no accounts to count
Root accounts that have MFA turned on.
Percentage of root accounts with MFA. Null when there are none
Whether any root account has access keys
Root accounts. A system with scopes has one per scope
Whether the system has a built-in root account. When false, root_mfa_coverage_pct has no accounts to count
Root accounts that have MFA turned on.
Percentage of root accounts with MFA. Null when there are none
The account or subscription ID
The account or subscription name
Whether the system requires MFA from anyone who signs in without SSO
Whether accounts are created and removed through SCIM
Whether SSO is set up for the system
Whether everyone must sign in through SSO
Whether the system requires MFA from anyone who signs in without SSO
Whether accounts are created and removed through SCIM
Whether SSO is set up for the system
Whether everyone must sign in through SSO
The values Foundational Controls and other profiles read.
ISO 8601 timestamp when data was collected
Organization, group, or workspace name
Version control provider
Percentage of repositories covered by the scan (based on include/exclude patterns)
Whether the scan covered any repositories. When false, the branch protection percentages are null
Repositories in the organization that the include and exclude patterns could select
Repositories the scan covered. The branch protection percentages count these
Version of this schema, always 1.0.0.
Percentage of repos requiring at least one approving review
Scanned repositories requiring at least one approving review
Percentage of repos requiring pull requests before merge
Scanned repositories requiring pull requests before merge
Percentage of repos requiring signed commits
Scanned repositories requiring signed commits
Percentage of repos requiring status checks to pass
Scanned repositories requiring status checks to pass
Whether organization requires 2FA for all members. The same value is sign_in.mfa_required in evidencepack/access-posture@v1
Percentage of repos with code scanning (SAST) enabled. In evidencepack/vuln-scanning@v1, the same value is the coverage_pct of the code scanner's entry in scanners
Percentage of repos with secret scanning enabled. In evidencepack/vuln-scanning@v1, the same value is the coverage_pct of the secret scanner's entry in scanners
Percentage of repos with dependency vulnerability alerts enabled. In evidencepack/vuln-scanning@v1, the same value is the coverage_pct of the dependency scanner's entry in scanners
The values Foundational Controls and other profiles read.
The system the scanners run in, such as aws or github
The kind of resource the entry covers. A scanner that covers several kinds has an entry for each
Percentage of resources the scanner covers. Null when there are none
Whether the scanner is turned on for this category. A scanner turned on per resource, such as per repository, is on when it covers at least one resource
Open findings the scanner rates critical, using its own severity rating.
Whether the scanner has open critical findings
Open findings the scanner rates high, using its own severity rating.
Whether the scanner has open high findings
Open findings the scanner rates low, using its own severity rating.
Open findings the scanner rates medium, using its own severity rating.
Critical findings open more than 30 days
High findings open more than 90 days
Whether the scanner has overdue findings
Resources the scanner could cover
Whether there are resources the scanner could cover. When false, coverage_pct has none to count
Resources counted in resource_count that the scanner covers
A fixed name for the scanner, such as inspector, dependabot, code_scanning, or secret_scanning
The kind of resource the entry covers. A scanner that covers several kinds has an entry for each
Percentage of resources the scanner covers. Null when there are none
Whether the scanner is turned on for this category. A scanner turned on per resource, such as per repository, is on when it covers at least one resource
Open findings the scanner rates critical, using its own severity rating.
Whether the scanner has open critical findings
Open findings the scanner rates high, using its own severity rating.
Whether the scanner has open high findings
Open findings the scanner rates low, using its own severity rating.
Open findings the scanner rates medium, using its own severity rating.
Critical findings open more than 30 days
High findings open more than 90 days
Whether the scanner has overdue findings
Resources the scanner could cover
Whether there are resources the scanner could cover. When false, coverage_pct has none to count
Resources counted in resource_count that the scanner covers
A fixed name for the scanner, such as inspector, dependabot, code_scanning, or secret_scanning
The account or subscription ID
Everything this collector reads, grouped by area. Each field lists the lowest level that collects it.
When the data was collected, in RFC 3339 UTC.
The collection level the artifact was gathered at. Levels are cumulative.
The configured group path or numeric group ID. Below the audit level, a group configured by its numeric ID is named by its full path, and is left out with a gap when GitLab sends none.
Schema version for this output format.
Who can create projects in the group, as GitLab names it, such as maintainer or developer.
Whether the group or one of its ancestor groups requires two-factor authentication for the group's members. Null when the group response did not include the group's own setting.
Events per custom message, verbatim; events without one count as unknown. Counted before rows are capped.
Unix seconds.
Present and true when events was capped.
Rows left out of events by the cap.
Percentage of projects whose merge requests to the default branch need at least one approval, from the project's approval settings or an approval rule that applies to the branch (Premium and above). A rule from a merge request approval policy or Coverage-Check counts only when its report type is any_merge_request.
Percentage of projects whose default branch requires code owner approval. It does not check that a CODEOWNERS file exists.
Percentage of projects where no one can push to the default branch directly, so every change goes through a merge request.
Percentage of projects whose default branch is protected and blocks force pushes.
The MD5 fingerprint, when GitLab returns one.
Deploy keys that can push. Null when any project's keys could not be read.
Deploy keys across projects. Null when any project's keys could not be read.
Members with access level 30 to 39.
Members with access level 40 to 49.
Members with access level 50 or above.
The GitLab role for the member's access level. security_manager is the Security Manager role at level 25, and planner is the Planner role at level 15.
Whether the member has two-factor authentication enabled. Null means unknown, not disabled.
Members, counted before rows are capped.
Present and true when per_member was capped.
Rows left out of per_member by the cap.
Percentage of projects whose default branch matches at least one protected branch rule, rounded down. A project without a default branch counts as unprotected. Null when no project is selected, or when any project's protected branches could not be read.
Mean of secret_push_protection and pipeline_required, rounded down. Null when no project is selected, or when either setting is unknown for any project.
The largest approval count the project settings or an applicable rule requires. A rule from a merge request approval policy or Coverage-Check counts only when its report type is any_merge_request.
Absent for a project with no commits.
Selected projects, counted before rows are capped.
Present and true when per_project was capped.
Rows left out of per_project by the cap.
Present only when the list endpoint returns tags.
Glob patterns matched against project names to exclude, applied before include_patterns.
Glob patterns matched against project names to include. Defaults to ["*"].
Projects the filters select, archived and empty projects included. The posture, branch protection, and security feature percentages are over these. Null when the project list could not be read.
Projects in the group and its subgroups that the token can see, excluding projects shared into the group. Null when the project list could not be read.
Percentage of the listed projects that the filters select, rounded down. Null when the group has no projects, or when the project list could not be read.
Percentage of projects that only allow a merge when the pipeline succeeds (only_allow_merge_if_pipeline_succeeds). Null when no project is selected, or when any project did not report the setting.
Percentage of projects with secret push protection enabled. GitLab reports the setting with Ultimate, to the Developer role and above. Null when no project is selected, or when any project did not report the setting.
False when GitLab has disabled the webhook.
The project's name, for a project webhook.
The destination host, with its port when the URL has one. The full URL is never emitted. Absent, with an unsupported gap, when part of the host is masked.
Group webhooks (Premium and above, Owner). Null when they could not be read.
False when GitLab has disabled the webhook.
The project's name, for a project webhook.
The destination host, with its port when the URL has one. The full URL is never emitted. Absent, with an unsupported gap, when part of the host is masked.
Webhooks across the selected projects (Maintainer and above). Null when any project's webhooks could not be read.
The status of each run, and any value it couldn't read and why.
Number of findings left out after the first 100.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
Number of requests sent, including retries. Present at the audit and internal levels only.
Number of times the collector made the call, not counting retries. Present at the audit and internal levels only.
The Deprecation header from the vendor's most recent response that carried one.
The codes of the operation's failed attempts, without their counts.
Number of failed attempts per code. Present at the audit and internal levels only.
The operation's name, such as okta.users.list.
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.
True when a request for the operation was a retry.
Number of requests that were retries. Present at the audit and internal levels only.
The HTTP status codes, or DNS response codes for a lookup, that the operation's responses had, without their counts.
Number of responses per HTTP status code, or per DNS response code for a lookup. Present at the audit and internal levels only.
The Sunset header from the vendor's most recent response that carried one.
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.
Which attempt the request was: 1 for the first, higher for a retry.
The call's number in the run, counting from 1 in the order calls start. Every attempt of one call has the same number.
How long the request took, in milliseconds.
The code for a request that failed. Absent when it succeeded.
The request's host, the name a DNS lookup queried, or the host dialed.
The HTTP method, DNS and the record type looked up, such as DNS TXT, or DIAL.
The operation the request belongs to.
Names of the request's query parameters. Their values are not recorded.
DNS lookups only: the response code. A lookup that got no response has none.
The vendor's request ID from the response headers, when it sent one.
HTTP requests only.
When the attempt was sent, in milliseconds after the run's started_at.
The response's HTTP status code. Absent when no response arrived.
The step the call was made in. Absent for a call made outside every step.
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.
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.
Number of request rows left out.
schema, schema_unusable, population, nulls, rollups, ratios, guidance, levels, or targets.
What the check found.
The artifact the finding is about. A schema_unusable finding has none.
JSON pointer to the value the finding is about.
What happens if the customer picks the option, including its cost and what stays Not collected.
What happens if the customer picks the option, including its cost and what stays Not collected.
Each kind the collector could write that the key left out. Each has a not_shared gap.
The kinds of evidence the collect config key listed, such as cloud-posture.
Each kind the key listed that the run never wrote, such as a misspelled one.
The source commit the collector was built from. Absent when the build set none.
The collector's name, as its spec declares it.
The collector's version, such as v0.3.0. Absent when the build set none.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
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.
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.
Present at the audit and internal levels only.
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.
For a permission_denied gap, the permission to grant, in the vendor's own terms, such as okta.logs.read.
True when nothing needs changing now. It does not clear the gap.
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.
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.
The artifact the value belongs in. Absent when the run wrote no such artifact, in which case schema names it.
JSON pointer to the value within the artifact. Items are addressed by array index.
The schema of the artifact the value belongs in, when the run wrote no such artifact.
The account, tenant, or region affected. Present at the audit and internal levels only.
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.
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.
For a partial gap, the number of items that could not be read. Present at the audit and internal levels only.
The vendor's own error code, when its response included one.
The collector's message to the operator about the gap, redacted. Present at the audit and internal levels only.
The artifact's path in the pack.
JSON pointer to the value.
The artifact's schema.
Its calls in the step. Present at the audit and internal levels only.
The operation.
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.
For a partial run, who can act on that code.
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.
True when SSL_CERT_FILE or SSL_CERT_DIR was set for the run.
When the run finished, in RFC 3339 UTC.
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.
True when a proxy variable such as HTTPS_PROXY was set for the run.
The run ID the runner passed in EPACK_RUN_ID. Absent when it passed none.
When the run started, in RFC 3339 UTC.
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.
Present at the audit and internal levels only.
The kind of principal, such as service_app, service_principal, or user.
The identity system, such as okta or microsoft-entra.
Present when the collector can show that its credential could only read.
The scopes the collector asked for. A scope here and missing from scopes was not granted.
The permissions the sign-in carried.
The tenant, account, or organization signed in to. Present at the audit and internal levels only.
True when an attempt in the step failed: one with an error code or a status of 400 or more.
The calls those requests belong to. Present at the audit and internal levels only.
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.
The attempts that failed: those with an error code or a status of 400 or more. Present at the audit and internal levels only.
The step's name, such as people. Step names are part of the collector's contract, like operation names.
The requests sent in the step, including rows left out of calls.requests. Present at the audit and internal levels only.
The requests that were retries. Present at the audit and internal levels only.
When the step started, in milliseconds after the run's started_at. Present at the audit and internal levels only.
The step's title, such as People and sign-in methods.
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.
True when every target was reached and has no gap that makes the run partial, at every level. Absent when at is.
The config key that listed or narrowed the targets.
How many targets the artifact holds. Present at the audit and internal levels only.
What the targets are. A container the run signed in to or was configured for, or a resource it assessed in it.
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.
Pointers inside each target whose values, joined with a colon, name it. Absent when a target is itself its name.
A pointer inside each target to a boolean that is false when the target did not answer.
How many distinct values the run read that the vocabulary lacks.
The first 50 of those values, sorted. Present at the audit and internal levels only.
The vocabulary's name, such as okta.event_types.
The one instruction that fixes collection. A warning has at most one of fix, no_action, and choice.
The collector's message about what happened. Present at the audit and internal levels only.
The permission to grant, in the vendor's own terms.
True when nothing needs changing now.
The account, tenant, or region affected. Present at the audit and internal levels only.