Collects email DNS security posture (MX, SPF, DMARC, DKIM)
v0.3.3 passed its nightly check on Dec 2, 2026: 82 of 82 values matched. See the checked values
epack install collector email-dns
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:
email-dns:
source: https://github.com/locktivity/epack-collector-email-dns
Then run epack install to lock and sync.
The Email DNS Posture Collector gathers email security configuration from DNS records for your domains.
This collector queries DNS for each configured domain and aggregates email authentication posture:
All metrics include enforcement status (whether DMARC is set to p=reject) and reporting configuration.
_dmarc.domain for DMARC. When the domain has no DMARC record, the lookups continue above it, as the DNS tree walk in RFC 9989 doesselector._domainkey.domain for common DKIM selectorsA name or record that does not exist is an answer, not a failure. A lookup that fails with SERVFAIL, a refused query, or a timeout leaves the values that depend on it out of the output, and the collector result artifact, artifacts/email-dns.collector-result.json, records a gap for each. See Partial Collection and Exit Codes.
This collector does not require authentication - it only queries public DNS records.
See Configuration for setup instructions.
The Email DNS collector queries public DNS records and does not require authentication.
collectors:
email-dns:
source: locktivity/epack-collector-email-dns@^0.2
config:
domains:
- example.com
- company.org
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
domains |
[]string | Yes | - | List of email domains to scan |
A domain written in Unicode, such as bücher.example, is looked up by its A-label form, xn--bcher-kva.example. The domain appears in the artifact as you wrote it.
The collector automatically checks these common DKIM selectors for each domain:
| Selector | Provider |
|---|---|
default |
Generic |
selector1, selector2 |
Microsoft 365 |
google |
Google Workspace |
k1 |
Mailchimp |
s1, s2 |
Generic |
mail |
Generic |
dkim |
Generic |
If your organization uses custom DKIM selectors not in this list, the DKIM check may not find them. The collector reports what it finds, but absence of a DKIM record doesn't necessarily mean DKIM isn't configured.
The collector uses the system's default DNS resolver. For consistent results across environments, ensure your DNS resolver can reach authoritative nameservers for all configured domains.
A name or record that does not exist (NXDOMAIN, or a name with no record of that type) is an answer: mx, dkim, and assessment.issues are [] when empty, and spf and dmarc are null when the domain publishes none. Any other lookup failure, such as SERVFAIL, a refused query, or a timeout, leaves the values that depend on the lookup out of the artifact rather than reading as a missing record:
| Lookup that failed | Values left out |
|---|---|
| MX | The domain's mx |
| SPF | The domain's spf and assessment.issues |
| DMARC | The domain's dmarc, assessment.enforced, assessment.has_reporting, and assessment.issues, so assessment is {} |
| Some DKIM selectors | The domain's assessment.issues, unless another selector returned a valid key. dkim keeps the records the other selectors returned |
| Every DKIM selector | The domain's dkim and assessment.issues |
A summary value is left out when a lookup it depends on failed for any domain, so with_spf_count and with_spf_pct are absent if one domain's SPF lookup failed. A domain with a DKIM record counts toward with_dkim_pct even when another selector's lookup failed. A run that reaches its time limit emits what it collected, with the remaining values left out the same way.
The artifact artifacts/email-dns.collector-result.json lists a gap for each value left out, with its code: vendor_error for SERVFAIL or a refused query, and timeout for a timeout. A summary value's gap counts the domains left unmeasured. A dkim list that holds the records some selectors returned has a partial gap that counts the selectors whose lookups failed. The artifact also counts the lookups by operation (dns.mx.lookup, dns.spf.lookup, dns.dmarc.lookup, and dns.dkim.lookup) and response code. Each gap names the operation and call number of the lookup that failed. The per-domain errors and diagnostics.domain_errors entries remain.
| Exit | Code | When |
|---|---|---|
| 0 | The run collected, even if some values were left out | |
| 2 | config_invalid |
domains is missing, empty, or not a list of strings, or it holds a Unicode domain that is not a valid domain name |
"domains is required"
The domains field must be set in your config:
config:
domains:
- example.com # Required - at least one domain
DNS lookup failures
A lookup that fails with SERVFAIL, a refused query, or a timeout never reads as a missing record. The values that depend on it are left out (see Partial Collection and Exit Codes), and the domain's errors list gives the error. The run still succeeds.
If DNS lookups fail for specific domains:
- Verify the domain exists and is reachable
- Check your network's DNS resolution
- Ensure the domain's DNS servers are responding
Missing DKIM records
DKIM records may not be found if:
- The domain uses a custom selector not in the default list
- DKIM is not configured for the domain
- The DKIM record has been removed or is misconfigured
DMARC policy shows "unknown"
The DMARC policy is extracted from the p= tag. If parsing fails or the policy value is non-standard, it will show as "unknown".
stream: myorg/email-dns-posture
collectors:
email-dns:
source: locktivity/epack-collector-email-dns@^0.2
config:
domains:
- example.com
Then run:
epack collect
stream: myorg/email-dns-posture
collectors:
email-dns:
source: locktivity/epack-collector-email-dns@^0.2
config:
domains:
- example.com
- company.org
- brand.io
- marketing.example.com
Best practice is to include all domains you own, including parked domains. Parked domains should still have DMARC set to p=reject to prevent spoofing.
collectors:
email-dns:
source: locktivity/epack-collector-email-dns@^0.2
config:
domains:
- example.com # Primary domain
- corp.example.com # Corporate subdomain
- parked-domain.com # Parked domain
- old-brand.com # Legacy domain
{
"protocol_version": 1,
"data": {
"schema_version": "1.0.0",
"collected_at": "2026-04-20T10:30:00Z",
"domains": [
{
"domain": "example.com",
"mx": [
{"host": "smtp.google.com", "priority": 10}
],
"spf": {
"record": "v=spf1 include:_spf.google.com ~all",
"valid": true
},
"dmarc": {
"record": "v=DMARC1; p=reject; sp=reject; pct=100; rua=mailto:dmarc@example.com",
"policy": "reject",
"subdomain_policy": "reject",
"pct": 100,
"rua": "mailto:dmarc@example.com",
"valid": true
},
"dkim": [
{"selector": "google", "record": "v=DKIM1; k=rsa; p=...", "valid": true}
],
"assessment": {
"enforced": true,
"has_reporting": true,
"issues": []
}
},
{
"domain": "parked-domain.com",
"mx": [],
"spf": {
"record": "v=spf1 -all",
"valid": true
},
"dmarc": {
"record": "v=DMARC1; p=reject; sp=reject",
"policy": "reject",
"subdomain_policy": "reject",
"pct": 100,
"valid": true
},
"dkim": [],
"assessment": {
"enforced": true,
"has_reporting": false,
"issues": [
"No DMARC aggregate reporting (rua) configured",
"No DKIM records found for common selectors (custom selectors not checked)"
]
}
}
],
"summary": {
"total_domains": 2,
"with_mx_count": 1,
"with_mx_pct": 50,
"with_spf_count": 2,
"with_spf_pct": 100,
"with_dmarc_count": 2,
"with_dmarc_pct": 100,
"with_dkim_count": 1,
"with_dkim_pct": 50,
"with_all_three_count": 1,
"with_all_three_pct": 50,
"enforced_count": 2,
"enforced_pct": 100,
"with_reporting_count": 1,
"with_reporting_pct": 50,
"all_enforced": true
}
}
}
Each domain includes an assessment object:
| Field | Description |
|---|---|
enforced |
true if the DMARC policy that applies to the domain is reject, without t=y. For a subdomain with no record of its own, the subdomain policy of the record above it applies, as RFC 9989 specifies |
has_reporting |
true if that DMARC record's rua lists a valid URI, such as mailto:dmarc@example.com |
issues |
List of problems found |
| Field | Description |
|---|---|
total_domains |
Number of domains scanned |
with_mx_pct |
Percentage of domains with MX records |
with_spf_pct |
Percentage of domains with SPF records |
with_dmarc_pct |
Percentage of domains that a DMARC record applies to, their own or a parent domain's |
with_dkim_pct |
Percentage of domains with DKIM records |
with_all_three_pct |
Percentage with MX + SPF + DMARC |
enforced_pct |
Percentage with assessment.enforced true |
with_reporting_pct |
Percentage with a valid aggregate report URI (rua) |
all_enforced |
true only if assessment.enforced is true for ALL domains |
Each percentage has a count beside it, such as with_mx_count, the number of domains it counts. The percentage is that count over total_domains, rounded down.
A value is absent when a lookup it depends on failed, such as a SERVFAIL or a timeout, and the collector result artifact records a gap for it. See Partial Collection and Exit Codes.
For full compliance with email authentication requirements:
- all_enforced should be true
- with_reporting_pct should be 100
- All sending domains should have SPF and DKIM
name: Collect Evidence
on:
schedule:
- cron: "0 0 * * 1" # Weekly on Monday
workflow_dispatch:
jobs:
collect:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install epack
run: |
curl -sSL https://github.com/locktivity/epack/releases/latest/download/epack-linux-amd64 -o epack
chmod +x epack
sudo mv epack /usr/local/bin/
- name: Collect evidence
run: epack collect --frozen
- name: Upload pack
uses: actions/upload-artifact@v4
with:
name: evidence-pack
path: "*.pack"
A domain used only for these checks, with four mail subdomains. One publishes SPF, a DMARC policy that rejects with aggregate reports, and a DKIM key. One has weak but valid records, one has malformed SPF and DMARC records, and one has no records at all.
Runs at Audit, which includes Trust. Internal isn't checked.
v0.3.3 · Dec 2, 2026 · 82 of 82 values matched
30 of 30 nights passed, Nov 3 to Dec 2. Passing since Oct 21, 2026.
The controls that read this collector's evidence, with the value each one read from the test account and why the account has that value. Some of the account's settings are weak on purpose, so Needs attention is the right outcome for those controls.
Enforced: 50%
MatchesIn the test account: Two of the four reject mail that fails the check. One publishes its own reject policy, and the fourth takes the parent domain's.
Outcome: Needs attention, as expected
With reporting: 25%
MatchesIn the test account: One of the four names an address for DMARC aggregate reports.
Outcome: Needs attention, as expected
The test account is set up only for these checks. Its settings are kept in code, so the value the collector should report for each field is known ahead of time.
Every night at 05:00 UTC, the newest published version runs against the test account. Each value it reports is compared with the known value. New versions go through the same check before they're published.
Values that could identify a test account, such as its domain, IDs, or user logins, aren't shown here. They're still checked.
The same results, with the same values withheld, are published as sandbox-results.json.
Nightly checks: 19 passed.
Full Changelog: https://github.com/locktivity/epack-collector-email-dns/compare/v0.3.2...v0.3.3
Nightly checks: 1 passed.
Full Changelog: https://github.com/locktivity/epack-collector-email-dns/compare/v0.3.1...v0.3.2
Nightly checks: 2 passed.
Full Changelog: https://github.com/locktivity/epack-collector-email-dns/compare/v0.3.0...v0.3.1
Nightly checks: 1 passed.
Full Changelog: https://github.com/locktivity/epack-collector-email-dns/compare/v0.2.2...v0.3.0
Nightly checks: 7 passed.
Full Changelog: https://github.com/locktivity/epack-collector-email-dns/compare/v0.2.1...v0.2.2
The versions below were released before sandbox checks began.
174 fields. The test account checks 41 of them.
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.
When the collector read the domains' DNS records, as an ISO 8601 timestamp.
The test account doesn't have a known value for this field.
Version of this schema, always 1.0.0.
| Path | Expected | Reported | Result |
|---|---|---|---|
| schema_version | "1.0.0" | "1.0.0" | Matches |
True if the DMARC policy that applies to the domain rejects failing mail. That is p=reject on the domain's own record, or a subdomain policy of reject on the record that RFC 9989's DNS tree walk finds above the domain. The subdomain policy is sp, or p when the record has no sp. In either case the record must not set t=y. With t=y, receivers apply the policy one level lower
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].assessment.enforced | true | true | Matches |
| domains[1].assessment.enforced | false | false | Matches |
| domains[2].assessment.enforced | false | false | Matches |
| domains[3].assessment.enforced | true | true | Matches |
In the test account: Its DMARC policy is p=none, which only monitors.
True if the DMARC record that applies to the domain lists at least one valid rua URI, such as mailto:dmarc@example.com. An address without a scheme is not a URI, and receivers do not send reports to it
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].assessment.has_reporting | true | true | Matches |
| domains[1].assessment.has_reporting | false | false | Matches |
| domains[2].assessment.has_reporting | false | false | Matches |
| domains[3].assessment.has_reporting | false | false | Matches |
List of problems found
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].assessment.issues | [] | [] | Matches |
| domains[1].assessment.issues | ["DMARC policy is 'none' (monitoring only)","No DMARC aggregate reporting (rua) configured","Subdomain policy is not 're... | ["DMARC policy is 'none' (monitoring only)","No DMARC aggregate reporting (rua) configured","Subdomain policy is not 're... | Matches |
| domains[2].assessment.issues | ["Invalid SPF record","Invalid DMARC record","No DKIM records found for common selectors (custom selectors not checked)"... | ["Invalid SPF record","Invalid DMARC record","No DKIM records found for common selectors (custom selectors not checked)"... | Matches |
| domains[3].assessment.issues | ["No SPF record","No DMARC aggregate reporting (rua) configured","No DKIM records found for common selectors (custom sel... | ["No SPF record","No DMARC aggregate reporting (rua) configured","No DKIM records found for common selectors (custom sel... | Matches |
The DKIM TXT record value
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dkim[0].record | any value | any value | Matches |
DKIM selector name
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dkim[0].selector | "s1" | "s1" | Matches |
Whether the record is valid
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dkim[0].valid | true | true | Matches |
The pct tag defined in RFC 7489. RFC 9989 drops it, and receivers ignore it. It is recorded for reference and does not affect any other value
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dmarc.pct | 100 | 100 | Matches |
| domains[1].dmarc.pct | 100 | 100 | Matches |
| domains[2].dmarc.pct | 100 | 100 | Matches |
| domains[3].dmarc.pct | 100 | 100 | Matches |
The policy the record requests for the domain, from its p tag. For a record without a valid p tag, this is none when the record lists a valid rua URI, as RFC 9989 specifies. It is unknown when no DMARC processing applies to the record
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dmarc.policy | "reject" | "reject" | Matches |
| domains[1].dmarc.policy | "none" | "none" | Matches |
| domains[2].dmarc.policy | "unknown" | "unknown" | Matches |
| domains[3].dmarc.policy | "reject" | "reject" | Matches |
In the test account: Its DMARC policy is spelled quarentine, which is not a policy, so the collector reads it as unknown.
In the test account: The subdomain has no DMARC record of its own, so the parent domain's policy for subdomains applies, as RFC 9989 specifies.
The DMARC TXT record value
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dmarc.record | withheld | withheld | Matches |
| domains[1].dmarc.record | "v=DMARC1; p=none" | "v=DMARC1; p=none" | Matches |
| domains[2].dmarc.record | "v=DMARC1; p=quarentine" | "v=DMARC1; p=quarentine" | Matches |
| domains[3].dmarc.record | "v=DMARC1; p=reject; sp=reject" | "v=DMARC1; p=reject; sp=reject" | Matches |
The aggregate report URIs from the rua tag, as written
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dmarc.rua | withheld | withheld | Matches |
| domains[1].dmarc.rua | left out | left out | Matches |
The failure report URIs from the ruf tag, as written
The test account doesn't have a known value for this field.
The policy the record requests for existing subdomains, from its sp tag. When the record has no sp tag, this is the same as policy
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dmarc.subdomain_policy | "reject" | "reject" | Matches |
| domains[1].dmarc.subdomain_policy | "none" | "none" | Matches |
| domains[2].dmarc.subdomain_policy | "unknown" | "unknown" | Matches |
| domains[3].dmarc.subdomain_policy | "reject" | "reject" | Matches |
Whether the record is valid
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dmarc.valid | true | true | Matches |
| domains[1].dmarc.valid | true | true | Matches |
| domains[2].dmarc.valid | false | false | Matches |
| domains[3].dmarc.valid | true | true | Matches |
| Path | Expected | Reported | Result |
|---|---|---|---|
| diagnostics | left out | left out | Matches |
Errors encountered for specific domains
The test account doesn't have a known value for this field.
Non-fatal warnings
The test account doesn't have a known value for this field.
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].dkim[1] | left out | left out | Matches |
| domains[1].dkim | [] | [] | Matches |
| domains[2].dkim | [] | [] | Matches |
| domains[3].dkim | [] | [] | Matches |
The domain name
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].domain | withheld | withheld | Matches |
| domains[1].domain | withheld | withheld | Matches |
| domains[2].domain | withheld | withheld | Matches |
| domains[3].domain | withheld | withheld | Matches |
Problems the collector hit while reading this domain's DNS records, such as a lookup that timed out.
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].errors | left out | left out | Matches |
| domains[1].errors | left out | left out | Matches |
| domains[2].errors | left out | left out | Matches |
| domains[3].errors | left out | left out | Matches |
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].mx | [] | [] | Matches |
| domains[1].mx | [] | [] | Matches |
| domains[2].mx | [] | [] | Matches |
| domains[3].mx | [] | [] | Matches |
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[3].spf | null or left out | null | Matches |
In the test account: The subdomain has no records at all.
Mail server hostname
The test account doesn't have a known value for this field.
MX priority (lower is higher priority)
The test account doesn't have a known value for this field.
The SPF TXT record value
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].spf.record | "v=spf1 -all" | "v=spf1 -all" | Matches |
| domains[1].spf.record | "v=spf1 ~all" | "v=spf1 ~all" | Matches |
| domains[2].spf.record | "v=spf1 ipv4:192.0.2.10 -all" | "v=spf1 ipv4:192.0.2.10 -all" | Matches |
Whether the record is valid
| Path | Expected | Reported | Result |
|---|---|---|---|
| domains[0].spf.valid | true | true | Matches |
| domains[1].spf.valid | true | true | Matches |
| domains[2].spf.valid | false | false | Matches |
In the test account: Its SPF record uses ipv4:, which is not an SPF mechanism.
True if every domain's applicable DMARC policy rejects failing mail (assessment.enforced is true for every domain)
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.all_enforced | false | false | Matches |
Number of domains whose applicable DMARC policy rejects failing mail (assessment.enforced is true)
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.enforced_count | 2 | 2 | Matches |
Percentage of domains whose applicable DMARC policy rejects failing mail (assessment.enforced is true)
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.enforced_pct | 50 | 50 | Matches |
In the test account: Two of the four reject mail that fails the check. One publishes its own reject policy, and the fourth takes the parent domain's.
Total number of domains scanned
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.total_domains | 4 | 4 | Matches |
Number of domains with MX and SPF records and a DMARC record that applies to them
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_all_three_count | 0 | 0 | Matches |
Percentage of domains with MX and SPF records and a DMARC record that applies to them
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_all_three_pct | 0 | 0 | Matches |
Number of domains with a DKIM record at one of the common selectors
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_dkim_count | 1 | 1 | Matches |
Percentage of domains with DKIM records
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_dkim_pct | 25 | 25 | Matches |
In the test account: One of the four publishes a DKIM key.
Number of domains that a DMARC record applies to, valid or not. The record is the domain's own, or the one RFC 9989's DNS tree walk finds above it
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_dmarc_count | 4 | 4 | Matches |
Percentage of domains that a DMARC record applies to, counted as in with_dmarc_count
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_dmarc_pct | 100 | 100 | Matches |
In the test account: Three of the four publish a DMARC record, one of them malformed. The fourth has none of its own and takes the parent domain's policy for subdomains.
Number of domains with at least one MX record
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_mx_count | 0 | 0 | Matches |
Percentage of domains with MX records
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_mx_pct | 0 | 0 | Matches |
In the test account: No subdomain publishes mail servers.
Number of domains whose applicable DMARC record lists a valid rua URI (assessment.has_reporting is true)
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_reporting_count | 1 | 1 | Matches |
Percentage of domains whose applicable DMARC record lists a valid rua URI (assessment.has_reporting is true)
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_reporting_pct | 25 | 25 | Matches |
In the test account: One of the four names an address for DMARC aggregate reports.
Number of domains with an SPF record, valid or not
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_spf_count | 3 | 3 | Matches |
Percentage of domains with SPF records
| Path | Expected | Reported | Result |
|---|---|---|---|
| summary.with_spf_pct | 75 | 75 | Matches |
In the test account: Three of the four subdomains publish an SPF record. One of those records is malformed, and it still counts.
The status of each run, and any value it couldn't read and why.
Number of findings left out after the first 100.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
Number of requests sent, including retries. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
Number of times the collector made the call, not counting retries. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The Deprecation header from the vendor's most recent response that carried one.
The test account doesn't have a known value for this field.
The codes of the operation's failed attempts, without their counts.
The test account doesn't have a known value for this field.
Number of failed attempts per code. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The operation's name, such as okta.users.list.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
True when a request for the operation was a retry.
The test account doesn't have a known value for this field.
Number of requests that were retries. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The HTTP status codes, or DNS response codes for a lookup, that the operation's responses had, without their counts.
The test account doesn't have a known value for this field.
Number of responses per HTTP status code, or per DNS response code for a lookup. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The Sunset header from the vendor's most recent response that carried one.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
Which attempt the request was: 1 for the first, higher for a retry.
The test account doesn't have a known value for this field.
The call's number in the run, counting from 1 in the order calls start. Every attempt of one call has the same number.
The test account doesn't have a known value for this field.
How long the request took, in milliseconds.
The test account doesn't have a known value for this field.
The code for a request that failed. Absent when it succeeded.
The test account doesn't have a known value for this field.
The request's host, the name a DNS lookup queried, or the host dialed.
The test account doesn't have a known value for this field.
The HTTP method, DNS and the record type looked up, such as DNS TXT, or DIAL.
The test account doesn't have a known value for this field.
The operation the request belongs to.
The test account doesn't have a known value for this field.
Names of the request's query parameters. Their values are not recorded.
The test account doesn't have a known value for this field.
DNS lookups only: the response code. A lookup that got no response has none.
The test account doesn't have a known value for this field.
The vendor's request ID from the response headers, when it sent one.
The test account doesn't have a known value for this field.
HTTP requests only.
The test account doesn't have a known value for this field.
When the attempt was sent, in milliseconds after the run's started_at.
The test account doesn't have a known value for this field.
The response's HTTP status code. Absent when no response arrived.
The test account doesn't have a known value for this field.
The step the call was made in. Absent for a call made outside every step.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
Number of request rows left out.
The test account doesn't have a known value for this field.
The first 100 findings of the output checks the SDK runs on each artifact it writes. Absent when there are none.
| Path | Expected | Reported | Result |
|---|---|---|---|
| checks | left out | left out | Matches |
schema, schema_unusable, population, nulls, rollups, ratios, guidance, levels, or targets.
The test account doesn't have a known value for this field.
What the check found.
The test account doesn't have a known value for this field.
The artifact the finding is about. A schema_unusable finding has none.
The test account doesn't have a known value for this field.
JSON pointer to the value the finding is about.
The test account doesn't have a known value for this field.
What happens if the customer picks the option, including its cost and what stays Not collected.
The test account doesn't have a known value for this field.
The test account doesn't have a known value for this field.
The test account doesn't have a known value for this field.
What happens if the customer picks the option, including its cost and what stays Not collected.
The test account doesn't have a known value for this field.
The test account doesn't have a known value for this field.
The test account doesn't have a known value for this field.
Each kind the collector could write that the key left out. Each has a not_shared gap.
The test account doesn't have a known value for this field.
The kinds of evidence the collect config key listed, such as cloud-posture.
The test account doesn't have a known value for this field.
Each kind the key listed that the run never wrote, such as a misspelled one.
The test account doesn't have a known value for this field.
The source commit the collector was built from. Absent when the build set none.
The test account doesn't have a known value for this field.
The collector's name, as its spec declares it.
| Path | Expected | Reported | Result |
|---|---|---|---|
| collector.name | "email-dns" | "email-dns" | Matches |
The collector's version, such as v0.3.0. Absent when the build set none.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
One entry per value the collector left out of an artifact, and why.
| Path | Expected | Reported | Result |
|---|---|---|---|
| gaps | [] | [] | Matches |
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.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
For a permission_denied gap, the permission to grant, in the vendor's own terms, such as okta.logs.read.
The test account doesn't have a known value for this field.
True when nothing needs changing now. It does not clear the gap.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
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 test account doesn't have a known value for this field.
The artifact the value belongs in. Absent when the run wrote no such artifact, in which case schema names it.
The test account doesn't have a known value for this field.
JSON pointer to the value within the artifact. Items are addressed by array index.
The test account doesn't have a known value for this field.
The schema of the artifact the value belongs in, when the run wrote no such artifact.
The test account doesn't have a known value for this field.
The account, tenant, or region affected. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
For a partial gap, the number of items that could not be read. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The vendor's own error code, when its response included one.
The test account doesn't have a known value for this field.
The collector's message to the operator about the gap, redacted. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The artifact's path in the pack.
The test account doesn't have a known value for this field.
JSON pointer to the value.
The test account doesn't have a known value for this field.
The artifact's schema.
The test account doesn't have a known value for this field.
Its calls in the step. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The operation.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
For a partial run, who can act on that code.
The test account doesn't have a known value for this field.
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.
| Path | Expected | Reported | Result |
|---|---|---|---|
| outcome.status | "collected" | "collected" | Matches |
True when SSL_CERT_FILE or SSL_CERT_DIR was set for the run.
The test account doesn't have a known value for this field.
When the run finished, in RFC 3339 UTC.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
True when a proxy variable such as HTTPS_PROXY was set for the run.
The test account doesn't have a known value for this field.
The run ID the runner passed in EPACK_RUN_ID. Absent when it passed none.
The test account doesn't have a known value for this field.
When the run started, in RFC 3339 UTC.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The kind of principal, such as service_app, service_principal, or user.
The test account doesn't have a known value for this field.
The identity system, such as okta or microsoft-entra.
The test account doesn't have a known value for this field.
Present when the collector can show that its credential could only read.
The test account doesn't have a known value for this field.
The scopes the collector asked for. A scope here and missing from scopes was not granted.
The test account doesn't have a known value for this field.
The permissions the sign-in carried.
The test account doesn't have a known value for this field.
The tenant, account, or organization signed in to. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
True when an attempt in the step failed: one with an error code or a status of 400 or more.
The test account doesn't have a known value for this field.
The calls those requests belong to. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
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 test account doesn't have a known value for this field.
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 test account doesn't have a known value for this field.
The step's name, such as people. Step names are part of the collector's contract, like operation names.
The test account doesn't have a known value for this field.
The requests sent in the step, including rows left out of calls.requests. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The requests that were retries. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
When the step started, in milliseconds after the run's started_at. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The step's title, such as People and sign-in methods.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
True when every target was reached and has no gap that makes the run partial, at every level. Absent when at is.
The test account doesn't have a known value for this field.
The config key that listed or narrowed the targets.
The test account doesn't have a known value for this field.
How many targets the artifact holds. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
What the targets are. A container the run signed in to or was configured for, or a resource it assessed in it.
The test account doesn't have a known value for this field.
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.
The test account doesn't have a known value for this field.
Pointers inside each target whose values, joined with a colon, name it. Absent when a target is itself its name.
The test account doesn't have a known value for this field.
A pointer inside each target to a boolean that is false when the target did not answer.
The test account doesn't have a known value for this field.
How many distinct values the run read that the vocabulary lacks.
The test account doesn't have a known value for this field.
The first 50 of those values, sorted. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The vocabulary's name, such as okta.event_types.
The test account doesn't have a known value for this field.
The one instruction that fixes collection. A warning has at most one of fix, no_action, and choice.
The test account doesn't have a known value for this field.
The collector's message about what happened. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The permission to grant, in the vendor's own terms.
The test account doesn't have a known value for this field.
True when nothing needs changing now.
The test account doesn't have a known value for this field.
The account, tenant, or region affected. Present at the audit and internal levels only.
The test account doesn't have a known value for this field.
The controls that read this collector's evidence.