tlscbom

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tlscbom turns an active TLS scan's observations into CBOM assets. It lives apart from internal/cbom so that a program that only needs the host inventory (the collector) does not link the TLS scanner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromTLSReport

func FromTLSReport(rep *tlsprobe.Report) []collector.CryptoAsset

FromTLSReport turns an active TLS scan's observations into CBOM assets: one protocol component per supported version, with the cipher suites it accepts and, for TLS 1.3, the key-exchange groups it accepts; and one certificate component per certificate the scan retrieved (every position in every chain, deduplicated by fingerprint). Every algorithm the suites, groups and certificates reference is emitted once as its own component, so that no DependsOn edge points at something absent from the document.

This states only what was observed on the wire: no readiness level, no TLS hygiene score, no finding. Those live in the evaluation, which is not a CBOM's business (principle 4: closed vocabularies, nothing guessed). An algorithm with no catalogue entry — a legacy cipher such as RC4, a named curve this program does not carry (SEED, Camellia, a binary curve) — is still named in the suite or certificate text; it simply gets no algorithm reference.

The caller decides whether to run pqc.Analyze/Annotate over the result, the same as it would for a host inventory; this package cannot do so itself without an import cycle (pqc imports cbom for its property namespace).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL