Skip to content

Protocol-specific TLS evidence

Certificate scan schema version 2 adds protocol-specific TLS evidence to the existing certificate-monitor and history responses. Existing routes and flat fields remain available. Use the structured results when you need to associate a cipher, certificate or finding with a particular protocol and connection.

Where to read results

All routes below require cert-watcher → view_monitoring. API tokens retain their existing permission scopes and organization restrictions; the new detail route does not grant access to another organization's observations.

Route Response
GET /api/cert-watcher/monitors Paginated monitors; monitors[].last_scan contains the latest snapshot.
GET /api/cert-watcher/recent-scans Paginated recent results; each entry includes last_scan.
GET /api/cert-watcher/history/{monitor_id} {monitor, history, framework} with up to 50 snapshots from the last 90 days, newest first.
GET /api/cert-watcher/monitors/{monitor_id}/tls/{observation_id} One method-specific TLS observation, with a bounded page of successful negotiations.

The history route accepts framework (nist_sp_800_52r2 by default). It does not implement page or page_size; those parameters do not restrict its response. Monitor-list pagination restricts monitor entries, not probes or snapshots within an entry.

Observation detail and probe pagination

Use the target's observation_id from a monitor's latest result or history:

curl -H "Authorization: Bearer nob_<your-token>" \
  "https://app.nob.center/api/cert-watcher/monitors/8/tls/0123456789abcdef0123456789abcdef?offset=0&limit=100"
Parameter Meaning
monitor_id The owning certificate monitor.
observation_id A 32-character lowercase hexadecimal observation ID.
offset Probe offset, default 0, range 0–100000.
limit Number of probes, default 100, range 1–100.

The response is the tls object itself, with probe_count and next_offset. Individual records represent accepted negotiations or established client-authentication requirements. Rejected/skipped candidates are summarized, including when reading older snapshots that originally stored one row per candidate. Request the same route with offset=next_offset until it is null. Only the selected method's probes array is paginated. Certificate samples and protocol summaries remain in each page, so limit is not a response-byte limit. other_methods contains the additional methods' metadata and probe counts; their probe arrays are empty in this detail response. Additional-method results are summarized here; ordinary history/latest responses also carry summaries.

The detail route reads retained immutable evidence. The history viewer's 50-snapshot window does not itself limit detail access, but evidence retention still applies. Missing or foreign-organization observations return 404; malformed IDs or out-of-range pagination values return 422.

Versions and identities

Field Meaning
target.scan_schema_version 2 for a new network scan result.
target.run_id Stable monitor-run identity, shared by its endpoint observations.
target.observation_id Stable identity used to correlate the endpoint/method evidence across history and trust storage.
target.tls.schema_version 2 for the structured TLS observation.
target.tls.catalog_id Reference to the engine/profile catalog in the snapshot's tls_catalogs map.
target.security.schema_version Independent trust-assessment version; currently 1. It does not become 2 because the scan format changed.

tls records the actual IP, port, hostname/SNI, connection method, configuration, engine catalog, observation times, protocol results, probes and certificate samples. Additional connection-method observations appear under tls.other_methods. A protocol claim belongs to that method and client profile.

Read cipher suites by protocol

For example, extract the observed TLS 1.2 suites from the newest history entry:

curl -sS -H "Authorization: Bearer nob_<your-token>" \
  "https://app.nob.center/api/cert-watcher/history/8" \
  | jq '.history[0].targets[] | {
      ip_address,
      support: .tls.protocols["TLSv1.2"].support,
      coverage: .tls.protocols["TLSv1.2"].coverage,
      ciphers: .tls.protocols["TLSv1.2"].accepted_ciphers
    }'

This example filters the downloaded response locally; it does not reduce the history request on the server. A cipher entry includes its numeric IANA code, IANA name and optional engine_alias.

Support and coverage are separate

Each observation has an explicit entry for TLS 1.0, 1.1, 1.2 and 1.3 under tls.protocols. An empty accepted_ciphers list alone says nothing about protocol support.

support Meaning
supported A handshake completed, or an unambiguous server selection established support before a client-authentication requirement.
not_observed Testing completed within the recorded profile without establishing support.
unknown Incomplete or ambiguous testing prevents a conclusion.
not_tested Deliberately skipped or no execution budget remained.
client_unavailable The scanner could not offer this protocol.

evidence_basis records handshake_completed, server_selected, or legacy_reported when applicable. Enumeration coverage is independently complete, partial, not_tested, unavailable, or legacy_unknown. Complete means complete within the recorded engine catalog and client profile. Credential-dependent suites and unavailable local algorithms remain explicit limitations; it does not mean every possible TLS client has been tested.

The scanner offers a list of remaining suites for one protocol and engine, records the server's selection, removes it and repeats until no more suites are selected or collection becomes inconclusive. TLS returns one selected cipher, not a server-side supported-cipher inventory. This is the behavior defined in TLS ServerHello.

Each protocol's optional enumeration summarizes the method (offer_and_remove for new scans), candidate count, actual connection attempts, outcomes, credential/provider exclusions and collection issues. Outcome counts describe candidate coverage; they are not a count of connections. One terminal rejection can cover the remaining offered suites. Timeouts, local limitations and budget exhaustion remain explicit and do not establish unsupported TLS.

The detail route retains individual accepted or client_auth_required records, with version, selected suite, engine, timing and same-connection evidence. offered_ciphers, when present, preserves that connection's offered IANA codes in order. No result row is stored for each rejected, excluded or untested suite.

Negotiation and certificate evidence

Positive probes record negotiated parameters and reference a sample_id when certificate evidence was collected. Resolve that ID in tls.samples.

Each sample contains an ordered certificates array of SHA-256-of-DER fingerprints, leaf certificate metadata, its trust security assessment when available, and handshake_complete. Distinct certificates remain distinct even when they share a subject or public key. Repeated selections can reference one sample. Empty receipt lists have one identity across scanner engines. The UI groups identical ordered certificate chains and shows additional certificate chains only when they differ from the primary one. Incomplete handshakes can supply evidence; anonymous handshakes can have no certificate. Raw DER and raw handshake receipt blobs are not returned here.

Keep these facts separate:

  • Certificate public_key_algorithm, optional public_key_bits and public_key_curve describe its public key; signature_algorithm describes how the certificate was signed.
  • Probe negotiated.signature_algorithm, key_exchange, group, ephemeral_bits and authentication describe the observed handshake.
  • negotiated.forward_secrecy is provided, not_provided, or unknown, with its explanation in forward_secrecy_basis.

TLS 1.3 cipher names do not identify its authentication or key exchange. These scans test fresh handshakes; session resumption and 0-RTT remain not_tested. Forward-secrecy evidence describes the negotiated mechanism's capability, not proof of key disposal or absence of ephemeral-key reuse.

Compatibility and historical scans

Existing fields are compatibility projections:

Field Version 2 meaning
protocol Union of versions observed supported for the selected method.
ciphers Union of accepted suites across those versions; no per-version mapping.
named_groups Observed negotiated groups; consult the structured evidence for provenance and coverage.
certificate, intermediates, validation_path, security The representative handshake and assessment. They do not enumerate every certificate variant.

tls.representative_probe_id identifies the representative: existing method preference, then highest TLS version, then lowest IANA cipher code among completed certificate-bearing handshakes. Use tls.samples and successful additional methods when examining all variants. Dependencies and built-in findings include all confirmed observed certificate variants; alternate paths do not inflate the distinct endpoint count.

Readers expose old snapshots with tls.schema_version: 1, coverage: legacy_unknown, reported positives marked legacy_reported, and legacy_reported_ciphers. Historical mappings are not reconstructed. Old TLS 1.3 suite inventories are unverified reports, not individual successful suite tests.

Findings and alert consumers

tls.findings uses present, absent and unknown, for example non_pfs, weak_cipher, deprecated_protocol, incomplete_coverage, certificate_trust and browser_distrust. Positive evidence can establish a finding in a partial scan; clearing one requires sufficient fresh coverage. Unknown results do not clear existing built-in alerts. Certificate alerts and webhook contexts carry the structured evidence; existing custom Boolean CEL rules remain supported.

The default rules include TLS Forward Secrecy Missing, TLS Enumeration Incomplete, and Certificate Validation Failure. Existing organizations' unchanged shipped defaults were upgraded during rollout; customer-edited conditions and delivery settings were preserved.

Response size

History/latest responses return protocol-specific suites, certificate samples, trust assessments and coverage summaries. Their tls.probes and probe_ids arrays are empty; probe_count describes the retained negotiation records that can be fetched through the detail route. representative_sample_id identifies the primary certificate evidence when available. Catalogs expose engine/profile metadata, candidate_count and excluded_counts, with the full candidate roster omitted from ordinary responses.

Complete historical snapshots remain in storage. Public projections of older verbose scans also summarize rejected/skipped work, so they do not reintroduce the old candidate-by-candidate dump. The detail route bounds the selected method's successful-negotiation page. History still returns up to 50 snapshots and does not implement server-side page/page_size pagination.