Skip to content

release: v0.62.0 [release/v0.60] #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release/v0.60
Choose a base branch
from

Conversation

aqua-bot
Copy link

@aqua-bot aqua-bot commented Apr 8, 2025

🤖 I have created a release beep boop

0.62.0 (2025-04-08)

⚠ BREAKING CHANGES

  • k8s: support k8s multi container (#7444)
  • cli: delete deprecated SBOM flags (#7266)

Features

  • add --distro flag to manually specify OS distribution for vulnerability scanning (#8070) (da17dc7)
  • add --vuln-severity-source flag (#8269) (d464807)
  • add log.FilePath() function for logger (#7080) (1f5f348)
  • add workspaceRelationship (#7889) (d622ca2)
  • add a examples field to check metadata (#8068) (6d84e0c)
  • add cvss v4 score and vector in scan response (#7968) (e0f2054)
  • add end of life date for Ubuntu 24.10 (#7787) (ad3c09e)
  • add memory cache backend (#7048) (55ccd06)
  • add openSUSE tumbleweed detection and scanning (#6965) (17b5dbf)
  • add report summary table (#8177) (dd54f80)
  • add support for registry mirrors (#8244) (4316bcb)
  • cli: add trivy auth (#7664) (27117f8)
  • cli: delete deprecated SBOM flags (#7266) (7024572)
  • cli: error out when ignore file cannot be found (#7624) (cb0b3a9)
  • cli: rename --vuln-type flag to --pkg-types flag (#7104) (7cbdb0a)
  • cli: rename trivy auth to trivy registry (#7727) (633a7ab)
  • conda: add licenses support for environment.yml files (#6953) (654217a)
  • cyclonedx: add file checksums to CycloneDX reports (#7507) (c225883)
  • cyclonedx: Add initial support for loading external VEX files from SBOM references (#8254) (4820eb7)
  • db: append errors (#7843) (5e78b6c)
  • fs: optimize scanning performance by direct file access for known paths (#8525) (8bf6caf)
  • fs: use git commit hash as cache key for clean repositories (#8278) (b5062f3)
  • go: construct dependencies in the parser (#7973) (bcdc0bb)
  • go: construct dependencies of go.mod main module in the parser (#7977) (5448ba2)
  • go: fix parsing main module version for go >= 1.24 (#8433) (e58dcfc)
  • go: use toolchain as stdlib version for go.mod files (#7163) (2d80769)
  • image: prevent scanning oversized container images (#8178) (509e030)
  • image: return error early if total size of layers exceeds limit (#8294) (73bd20d)
  • java: add test scope support for pom.xml files (#7414) (2d97700)
  • java: add empty versions if pom.xml dependency versions can't be detected (#7520) (b836232)
  • k8s: add default commands for unknown platform (#7863) (b1c7f55)
  • k8s: add support for controllers (#8614) (1bf0117)
  • k8s: improve artifact selections for specific namespaces (#8248) (db9e57a)
  • license: improve license normalization (#7131) (6472e3c)
  • mariner: Add support for Azure Linux (#7186) (5cbc452)
  • misconf: adapt aws_default_security_group (#8538) (b57eccb)
  • misconf: adapt aws_opensearch_domain (#8550) (9913465)
  • misconf: adapt AWS::DynamoDB::Table (#8529) (8112cdf)
  • misconf: adapt AWS::EC2::VPC (#8534) (0d9865f)
  • misconf: add ability to disable checks by ID (#7536) (ef0a27d)
  • misconf: add option to pass Rego scanner to IaC scanner (#8369) (890a360)
  • misconf: Add support for aws_ami (#8499) (573502e)
  • misconf: Add support for using spec from on-disk bundle (#7179) (be86126)
  • misconf: enabled China configuration for ACRs (#7156) (d1ec89d)
  • misconf: export unresolvable field of IaC types to Rego (#7765) (9514148)
  • misconf: generate placeholders for random provider resources (#8051) (ffe24e1)
  • misconf: ignore duplicate checks (#7317) (9ef05fc)
  • misconf: iterator argument support for dynamic blocks (#7236) (fe92072)
  • misconf: log causes of HCL file parsing errors (#7634) (e9a899a)
  • misconf: port and protocol support for EC2 networks (#7146) (98e136e)
  • misconf: public network support for Azure Storage Account (#7601) (ad91412)
  • misconf: Register checks only when needed (#7435) (f768d3a)
  • misconf: render causes for Terraform (#8360) (a99498c)
  • misconf: scanning support for YAML and JSON (#7311) (efdbd8f)
  • misconf: Show misconfig ID in output (#7762) (f75c0d1)
  • misconf: ssl_mode support for GCP SQL DB instance (#7564) (2eaa17e)
  • misconf: Support --skip-* for all included modules (#7579) (c0e8da3)
  • misconf: support for ignore by nested attributes (#7205) (44e4686)
  • misconf: support for ignoring by inline comments for Dockerfile (#8115) (c002327)
  • misconf: support for ignoring by inline comments for Helm (#8138) (a0429f7)
  • misconf: support for policy and bucket grants (#7284) (a817fae)
  • misconf: variable support for Terraform Plan (#7228) (db2c955)
  • nodejs: add license parser to pnpm analyser (#7036) (03ac93d)
  • nodejs: respect peer dependencies for dependency tree (#7989) (7389961)
  • oracle: add flavors support (#7858) (b9b383e)
  • parser: ignore white space in pom.xml files (#7747) (a7baa93)
  • php: add installed.json file support (#4865) (edc556b)
  • python: add support for poetry dev dependencies (#8152) (774e04d)
  • python: add support for uv (#8080) (c4a4a5f)
  • python: add support for uv dev and optional dependencies (#8134) (49c54b4)
  • python: use minimum version for pip packages (#7348) (e9b43f8)
  • replace TinyGo with standard Go for WebAssembly modules (#8496) (529957e)
  • report: export modified findings in JSON (#7383) (7aea79d)
  • report: update gitlab template to populate operating_system value (#7735) (c0d79fa)
  • sbom: add image labels into SPDX and CycloneDX reports (#7257) (4a2f492)
  • sbom: add vulnerability support for SPDX formats (#7213) (efb1f69)
  • sbom: set User-Agent header on requests to Rekor (#7396) (af1d257)
  • secret: Add built-in secrets rules for Private Packagist (#7826) (132d9df)
  • secret: enhance secret scanning for python binary files (#7223) (60725f8)
  • server: add internal --path-prefix flag for client/server mode (#7321) (24a4563)
  • server: Make Trivy Server Multiplexer Exported (#7389) (4c6e8ca)
  • share build-in rules (#7207) (bff317c)
  • support multiple DB repositories for vulnerability and Java DB (#7605) (3562529)
  • support RPM archives (#7628) (69bf7e0)
  • suse: added SUSE Linux Enterprise Micro support (#7294) (efdb68d)
  • suse: Align SUSE/OpenSUSE OS Identifiers (#7965) (45d3b40)
  • Update registry fallbacks (#7679) (5ba9a83)
  • vex: retrieve VEX attestations from OCI registries (#7249) (c2fd2e0)
  • vex: VEX Repository support (#7206) (88ba460)
  • vm: Support direct filesystem (#7058) (45b3f34)
  • vm: support the Ext2/Ext3 filesystems (#6983) (35c60f0)
  • vuln: Add --detection-priority flag for accuracy tuning (#7288) (fd8348d)
  • vuln: add --pkg-relationships (#7237) (5c37361)

Bug Fixes

  • Add dependencyManagement exclusions to the child exclusions (#6969) (dc68a66)
  • add missing platform and type to spec (#7149) (c8a7abd)
  • allow access to '..' in mapfs (#7575) (a8fbe46)
  • alpine: add UID for removed packages (#7887) (07915da)
  • aws: change CPU and Memory type of ContainerDefinition to a string (#7995) (aeeba70)
  • aws: handle ECR repositories in different regions (#6217) (feaef96)
  • cli: clean --all deletes only relevant dirs (#7704) (672e886)
  • cli: add config name to skip-policy-update alias (#7820) (b661d68)
  • cli: error on missing config file (#7154) (7fa5e7d)
  • cli: Handle empty ignore files more gracefully (#7962) (4cfb2a9)
  • close file when failed to open gzip (#7164) (2a577a7)
  • CVE-2024-45337: Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass (#8088) (d7ac286)
  • CVE-2025-21613 and CVE-2025-21614 : go-git: argument injection via the URL field (#8207) (670fbf2)
  • db: check DownloadedAt for trivy-java-db (#7592) (13ef3e7)
  • db: fix case when 2 trivy-db were copied at the same time (#8452) (bb3cca6)
  • db: fix javadb downloading error handling (#7642) (2c87f0c)
  • de-duplicate same dpkg packages with different filePaths from different layers (#8298) (846498d)
  • debian: don't include empty licenses for dpkgs (#8623) (346f5b3)
  • debian: infinite loop (#7928) (d982e6a)
  • don't use scope for trivy registry login command (#8393) (8715e5d)
  • dotnet: don't include non-runtime libraries into report for *.deps.json files (#7039) (5bc662b)
  • dotnet: show nuget package dir not found log only when checking nuget packages (#7194) (d76feba)
  • enable err-error and errorf rules from perfsprint linter (#7859) (156a2aa)
  • enable usestdlibvars linter (#7770) (57e24aa)
  • flag: incorrect behavior for deprected flag --clear-cache (#7281) (2a0e529)
  • flag: skip hidden flags for --generate-default-config command (#8046) (5e68bdc)
  • fs: add missing defered Cleanup() call to post analyzer fs (#7882) (ab32297)
  • fs: check postAnalyzers for StaticPaths (#8543) (c228307)
  • fs: fix cache key generation to use UUID (#8275) (eafd810)
  • go: Do not trim v prefix from versions in Go Mod Analyzer (#7733) (e872ec0)
  • go: merge nested flags into string for ldflags for Go binaries (#8368) (b675b06)
  • handle BLOW_UNKNOWN error to download DBs (#8060) (51f2123)
  • helm: explicitly define kind and apiVersion of volumeClaimTemplate element (#7362) (da4ebfa)
  • helm: properly handle multiple archived dependencies (#7782) (6fab88d)
  • ignore nodes when listing permission is not allowed (#7107) (25f8143)
  • image: disable AVD-DS-0007 for history scanning (#8366) (a3cd693)
  • improve conversion of image config to Dockerfile (#8308) (2e8e38a)
  • Improve version comparisons when build identifiers are present (#7873) (eda4d76)
  • java: avoid panic if deps from pom in it dir are not found (#7245) (4e54a7e)
  • java: correctly inherit version and scope from upper/root depManagement and dependencies into parents (#7541) (778df82)
  • java: correctly overwrite version from depManagement if dependency uses project.* props (#8050) (9d9f80d)
  • java: Return error when trying to find a remote pom to avoid segfault (#7275) (49d5270)
  • java: use dependencyManagement from root/child pom's for dependencies from parents (#7497) (5442949)
  • java: use go-mvn-version to remove Package duplicates (#7088) (a7a304d)
  • k8s: add missed option PkgRelationships (#8442) (f987e41)
  • k8s: check all results for vulnerabilities (#7946) (797b36f)
  • k8s: correct compare artifact versions (#8682) (cc47711)
  • k8s: show report for --report all (#8613) (dbb6f28)
  • k8s: skip passed misconfigs for the summary report (#8684) (bff0e9b)
  • k8s: skip resources without misconfigs (#7797) (7882776)
  • k8s: support k8s multi container (#7444) (c434775)
  • k8s: support kubernetes v1.31 (#7810) (7a4f4d8)
  • license: add license handling to JUnit template (#7409) (f80183c)
  • license: always trim leading and trailing spaces for licenses (#8095) (f5e4291)
  • license: fix license normalization for Universal Permissive License (#7766) (f6acdf7)
  • license: stop spliting a long license text (#7336) (4926da7)
  • logger initialization before flags parsing (#7372) (c929290)
  • misconf: add ephemeral block type to config schema (#8513) (41512f8)
  • misconf: add missing variable as unknown (#8683) (9dcd06f)
  • misconf: allow null values only for tf variables (#8112) (23dc3a6)
  • misconf: change default ACL of digitalocean_spaces_bucket to private (#7577) (9da84f5)
  • misconf: change default TLS values for the Azure storage account (#7345) (aadb090)
  • misconf: check if property is not nil before conversion (#7578) (c8c14d3)
  • misconf: Check values wholly prior to evalution (#8604) (ad58cf4)
  • misconf: correctly handle all YAML tags in K8S templates (#8259) (f12054e)
  • misconf: Disable deprecated checks by default (#7632) (82e2adc)
  • misconf: disable DS016 check for image history analyzer (#7540) (de40df9)
  • misconf: disable git terminal prompt on tf module load (#8026) (bbc5a85)
  • misconf: do not erase variable type for child modules (#7941) (de3b7ea)
  • misconf: do not evaluate TF when a load error occurs (#7109) (f27c236)
  • misconf: do not filter Terraform plan JSON by name (#7406) (9d7264a)
  • misconf: do not log scanners when misconfig scanning is disabled (#8345) (5695eb2)
  • misconf: do not recreate filesystem map (#7416) (3a5d091)
  • misconf: do not register Rego libs in checks registry (#7420) (a5aa63e)
  • misconf: do not set default value for default_cache_behavior (#7234) (f0ed5e4)
  • misconf: do not skip loading documents from subdirectories (#8526) (de7eb13)
  • misconf: do not use cty.NilVal for non-nil values (#8567) (400a79c)
  • misconf: ecs include enhanced for container insights (#8326) (39789ff)
  • misconf: escape all special sequences (#7558) (ea0cf03)
  • misconf: fix for Azure Storage Account network acls adaptation (#7602) (35fd018)
  • misconf: fix incorrect k8s locations due to JSON to YAML conversion (#8073) (a994453)
  • misconf: fix infer type for null value (#7424) (0cac3ac)
  • misconf: Fix logging typo (#7473) (56db43c)
  • misconf: Fixed scope for China Cloud (#7560) (37d549e)
  • misconf: handle heredocs in dockerfile instructions (#8284) (0a3887c)
  • misconf: handle null properties in CloudFormation templates (#7813) (99b2db3)
  • misconf: identify the chart file exactly by name (#8590) (ba77dbe)
  • misconf: Improve logging for unsupported checks (#8634) (5b7704d)
  • misconf: init frameworks before updating them (#7376) (b65b32d)
  • misconf: load full Terraform module (#7925) (fbc42a0)
  • misconf: load only submodule if it is specified in source (#7112) (a4180bd)
  • misconf: not to warn about missing selectors of libraries (#7638) (fcaea74)
  • misconf: properly expand dynamic blocks (#7612) (8d5dbc9)
  • misconf: properly resolve local Terraform cache (#7983) (fe3a897)
  • misconf: set default values for AWS::EKS::Cluster.ResourcesVpcConfig (#8548) (1f05b45)
  • misconf: skip Azure CreateUiDefinition (#8503) (c7814f1)
  • misconf: support deprecating for Go checks (#7377) (2a6c7ab)
  • misconf: Update trivy-checks default repo to mirror.gcr.io (#7953) (9988147)
  • misconf: use log instead of fmt for logging (#8033) (07b2d7f)
  • misconf: use module to log when metadata retrieval fails (#7405) (0799770)
  • misconf: wrap AWS EnvVar to iac types (#7407) (54130dc)
  • misconf: wrap Azure PortRange in iac types (#7357) (c5c62d5)
  • nodejs: check all importers to detect dev deps from pnpm-lock.yaml file (#7387) (fd9ed3a)
  • nodejs: detect direct dependencies when using latest version for files yarn.lock + package.json (#7110) (54bb8bd)
  • oracle: add architectures support for advisories (#4809) (90f1d8d)
  • oracle: Update EOL date for Oracle 7 (#7480) (dd0a64a)
  • os: add mapping OS aliases (#8466) (6b4cebe)
  • plugin: do not call GitHub content API for releases and tags (#7274) (b3ee6da)
  • python: add poetry v2 support (#8323) (10cd98c)
  • python: skip dev group's deps for poetry (#8106) (a034d26)
  • redhat: check usr/share/buildinfo/ dir to detect content sets (#8222) (f352f6b)
  • redhat: correct rewriting of recommendations for the same vulnerability (#8063) (4202c4b)
  • redhat: don't return error if root/buildinfo/content_manifests/ contains files that are not contentSets files (#7912) (38775a5)
  • redhat: include arch in PURL qualifiers (#7654) (a585e95)
  • repo: git clone output to Stderr (#7561) (fdf203c)
  • report: change a receiver of MarshalJSON (#7483) (927c6e0)
  • report: escape Message field in asff.tpl template (#7401) (dd9733e)
  • report: fix error with unmarshal of ExperimentalModifiedFindings (#7463) (7ff9aff)
  • report: Fix invalid URI in SARIF report (#7645) (015bb88)
  • report: handle [email protected] schema for misconfigs in sarif report (#7898) (19aea4b)
  • report: hide empty table when all secrets/license/misconfigs are ignored (#7171) (c3036de)
  • report: remove html escaping for shortDescription and fullDescription fields for sarif reports (#8344) (3eb0b03)
  • respect GITHUB_TOKEN to download artifacts from GHCR (#7580) (21b68e1)
  • safely check if the directory exists (#7353) (05a8297)
  • sbom: add options for DBs in private registries (#7660) (1f2e91b)
  • sbom: add SBOM file's filePath as Application FilePath if we can't detect its path (#8346) (ecc01bb)
  • sbom: attach nested packages to Application (#8144) (735335f)
  • sbom: export bom-ref when converting a package to a component (#7340) (5dd94eb)
  • sbom: fix panic when scanning SBOM file without root component into SBOM format (#7051) (3d4ae8b)
  • sbom: fix wrong overwriting of applications obtained from different sbom files but having same app type (#8052) (fd07074)
  • sbom: Fixes for Programming Language Vulnerabilities and SBOM Package Maintainer Details (#7871) (461a68a)
  • sbom: improve logic for binding direct dependency to parent component (#8489) (85cca8c)
  • sbom: parse type framework as library when unmarshalling CycloneDX files (#7527) (aeb7039)
  • sbom: preserve OS packages from multiple SBOMs (#8325) (bd5baaf)
  • sbom: scan results of SBOMs generated from container images are missing layers (#7635) (f9fceb5)
  • sbom: use Annotation instead of AttributionTexts for SPDX formats (#7811) (f2bb9c6)
  • sbom: use NOASSERTION for licenses fields in SPDX formats (#7403) (c96dcdd)
  • sbom: use package UIDs for uniqueness (#7042) (14d71ba)
  • sbom: use root package for unknown dependencies (if exists) (#8104) (7558df7)
  • secret: change grafana token regex to find them without unquoted (#7627) (3e1fa21)
  • secret: ignore .dist-info directories during secret scanning (#8646) (a032ad6)
  • secret: skip regular strings contain secret patterns (#7182) (174b1e3)
  • secret: trim excessively long lines (#7192) (92b13be)
  • secret: update length of hugging-face-access-token (#7216) (8c87194)
  • secret: use .eyJ keyword for JWT secret (#7410) (bf64003)
  • secret: use only line with secret for long secret lines (#7412) (391448a)
  • server: fix redis key when trying to delete blob (#8649) (36f8d0f)
  • server: pass license categories to options (#7203) (9d52018)
  • server: secrets inspectation for the config analyzer in client server mode (#8418) (a1c4bd7)
  • spdx: init pkgFilePaths map for all formats (#8380) (72ea4b0)
  • spdx: save text licenses into otherLicenses without normalize (#8502) (e5072f1)
  • spdx: use the hasExtractedLicensingInfos field for licenses that are not listed in the SPDX (#8077) (aec8885)
  • suse: SUSE - update OSType constants and references for compatility (#8236) (ae28398)
  • terraform: add aws_region name to presets (#7184) (bb2e26a)
  • terraform: apply parser options to submodule parsing (#8377) (398620b)
  • terraform: set null value as fallback for missing variables (#7669) (611558e)
  • update all documentation links (#8045) (49456ba)
  • Updated twitter icon (#7772) (2c41ac8)
  • use --file-patterns flag for all post analyzers (#7365) (8b88238)
  • use embedded when command path not found (#7037) (137c916)
  • wasm module test (#8099) (2200f38)

Performance Improvements

  • avoid heap allocation in applier findPackage (#7883) (9bd6ed7)
  • debian: use bytes.Index in emptyLineSplit to cut allocation (#7065) (acbec05)
  • misconf: do not convert contents of a YAML file to string (#7292) (85dadf5)
  • misconf: optimize work with context (#6968) (2b6d8d9)
  • misconf: parse input for Rego once (#8483) (0e5e909)
  • misconf: retrieve check metadata from annotations once (#8478) (7b96351)
  • misconf: use json.Valid to check validity of JSON (#7308) (c766831)
  • misconf: use port ranges instead of enumeration (#7549) (1f9fc13)

Reverts

  • java: stop supporting of test scope for pom.xml files (#7488) (b0222fe)

This PR was generated with Release Please. See documentation.

@aqua-bot aqua-bot force-pushed the release-please--branches--release/v0.60 branch from 6d1c2bb to 830cd5e Compare April 8, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant