Skip to content

Conversation

nikpivkin
Copy link
Contributor

@nikpivkin nikpivkin commented Oct 8, 2025

Description

Related issues

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

…schema

Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
@github-actions github-actions bot added the apidiff Indicates Go API changes relevant to library consumers (CLI compatibility may be unaffected) label Oct 8, 2025
Copy link

github-actions bot commented Oct 8, 2025

📊 API Changes Detected

Semver impact: major

github.com/aquasecurity/trivy/pkg/sbom/io
  Incompatible changes:
  - EncoderOption: removed
  - ForceRegenerate: removed
  - NewEncoder: changed from func(...EncoderOption) *Encoder to func(github.com/aquasecurity/trivy/pkg/sbom/core.Options) *Encoder
  - WithBOMRef: removed
  - WithParents: removed

github.com/aquasecurity/trivy/rpc/cache
  Incompatible changes:
  - (*BlobInfo).GetBuildInfo: removed
  - BlobInfo.BuildInfo: removed

github.com/aquasecurity/trivy/pkg/iac/scanners/terraformplan/tfjson/parser
  Compatible changes:
  - Attribute: added
  - Block: added
  - BlockSchema: added
  - NodeType: added
  - SchemaNode: added

github.com/aquasecurity/trivy/pkg/iac/terraform
  Incompatible changes:
  - PlanBlock.Blocks: changed from map[string]map[string]any to []PlanBlock

github.com/aquasecurity/trivy/rpc/common
  Incompatible changes:
  - BuildInfo: removed

github.com/aquasecurity/trivy/pkg/rpc
  Incompatible changes:
  - ConvertFromRPCBuildInfo: removed
  - ConvertToRPCBuildInfo: removed

@aqua-bot aqua-bot requested a review from a team October 8, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apidiff Indicates Go API changes relevant to library consumers (CLI compatibility may be unaffected)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(misconf): use Terraform plan configuration to partially restore schema

1 participant