Skip to content

feat(go): clients for core's consumer read surface and inventory writes - #47

Merged
smith-xyz merged 1 commit into
developmentfrom
chore/core-rest-consumer-surface
Oct 30, 2026
Merged

smith-xyz merged 1 commit into
developmentfrom
chore/core-rest-consumer-surface

Conversation

@smith-xyz

Copy link
Copy Markdown
Contributor

What

CORE_REF → core b72bf77 (traust-core#298 merged) and regenerate. Purely additive: no existing generated name changes (173 new identifiers, 0 removed).

New calls: ListRepositories by url, ListRefs by sha, RegisterRef, SetOwners, ListOwnedRepositories, ListFindings, SummarizeFindings, FindingTimeline, AdvisoriesFor, ListOrderAssessments, ListWorkItems, PrepareRemediation, PrepareVerification, ListVerifications, ListImpacts, SummarizeExposure, ExposureTimeline, FeedStatuses, ListValidationAttempts, GetInsight.

AGENTS.md's "Using the SDK" table lists them by task, plus one line: counts, rollups and dashboards come from SummarizeFindings, SummarizeExposure and GetInsight, never from listings. One CHANGELOG bullet.

Why

SCI's #238 rebuilt these locally because the routes didn't exist; now they do, and this puts them in the client.

Changed tests

None.

Checks

  • make lint test guardrails, make -C go check-drift
  • make e2e against core b72bf77 (6 passed)

@smith-xyz
smith-xyz requested a review from chubirka as a code owner October 30, 2026 03:33
@openshift-ci

openshift-ci Bot commented Oct 30, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smith-xyz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 30, 2026
@smith-xyz
smith-xyz merged commit 00b660f into development Oct 30, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant