Skip to content

Document the procedure for updating the bundled Trivy version #377

Closed

Description

@LarsLaskowski

Updating the bundled Trivy is manual: Dependabot does not cover Docker in this repository, and the pin sits in the TRIVY_IMAGE build argument as a digest. Record 0015 requires every later Trivy update to be measured again with the #367 cases, and #372 showed that a new version can also add network behavior (v0.76.1 calls check.trivy.dev on every scan unless the update check and telemetry are off, record 0016). None of this is written down as a procedure.

Add a short update checklist to the area documents (docs/areas/hosting.md or docs/areas/vulnerabilities.md#trivy):

  • Take the digest of the new version's image index and check that it can be pulled.
  • Extract the binary from the image and check --version and that it is statically linked.
  • Re-run the Trivy scan target can begin with a dash #367 cases against it with TRIVY_SERVER pointing at an unreachable server: no -- with --config=x.y/z:latest is read as an option; after --, --config=…, --input=… and -a/b targets are image names, exit non-zero, no file read; -- library/alpine:3.20 takes the normal scan path.
  • Check that the process makes no connection to check.trivy.dev with TRIVY_SKIP_VERSION_CHECK and TRIVY_DISABLE_TELEMETRY set, with a control run without them.
  • Change the Dockerfile TRIVY_IMAGE default, both compose Trivy servers (client and server stay on one version) and the version named in the area documents and records together.

Follows from #372.

Activity

  1. LarsLaskowski commented on Oct 29, 2026

    @LarsLaskowski
    OwnerAuthor

    Squad working record

    log.md
    Date Step Member Result
    2026-10-29 21:16 1 Intake Orchestrator Issue #377 read; no labels, no feature wording: bug: no feature label (documentation procedure; Lead picks tier)
    2026-10-29 21:21 2 Plan squad-lead Tier docs: checklist added to docs/CONTRIBUTING.md (releases block) instead of an area document, since process is not an area (areas README); AC1-AC4 (opus/medium · 76,455 tokens · 16 tool uses · 159 s)
    2026-10-29 21:21 2 Plan Orchestrator Applied the Lead's edit; scope-check --tier docs PASS; challenge skipped: tier docs
    2026-10-29 21:21 7 Code check Orchestrator Format check: 0 of 393 files need formatting; scope-check --tier docs PASS; no code, so build/test gates not applicable
    2026-10-29 21:23 8 Review squad-reviewer Round 1: APPROVE, no blocking findings; 1 non-blocking (Dependabot wording) applied verbatim (opus/medium · 39,052 tokens · 9 tool uses · 80 s)
    2026-10-29 21:23 9 PR approval Orchestrator approved by checklist (tier docs: latest review round clean, covers all changes)
    2026-10-29 21:24 10 Pull request Orchestrator Record posted on the issue; PR #378 opened as draft

    Squad run metrics

    Member Model/effort Launches Tokens Tool uses Seconds
    squad-lead opus/medium 1 76,455 16 159
    squad-reviewer opus/medium 1 39,052 9 80
    Total 2 115,507 25 239
    Member Wall time (s) Not covered by launches (s) Gate runs
    Orchestrator 420 181 1

    No squad lessons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions