Skip to content
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

release: v0.56.0 [main] #66

Closed
wants to merge 1 commit into from
Closed

Conversation

afdesk
Copy link
Owner

@afdesk afdesk commented Sep 17, 2024

🤖 I have created a release beep boop

0.56.0 (2024-09-18)

⚠ BREAKING CHANGES

  • cli: delete deprecated SBOM flags (#7266)
  • k8s: node-collector dynamic commands support (#6861)
  • add clean subcommand (#6993)
  • aws: Remove aws subcommand (#6995)

Features

  • add log.FilePath() function for logger (#7080) (1f5f348)
  • add clean subcommand (#6993) (8d0ae1f)
  • add info log message about dev deps suppression (#6211) (7cb6c02)
  • Add Julia language analyzer support (#5635) (fecafb1)
  • Add local ImageID to SARIF metadata (#6522) (f144e91)
  • add memory cache backend (#7048) (55ccd06)
  • add openSUSE tumbleweed detection and scanning (#6965) (17b5dbf)
  • add relationships (#6563) (6343e4f)
  • add support environment.yaml files (#6569) (e3bef02)
  • add support for plugin index (#6674) (26faf8f)
  • add ubuntu 23.10 and 24.04 support (#6573) (4369a19)
  • aws: apply filter options to result (#6367) (09e37b7)
  • aws: quiet flag support (#6331) (87a9aa6)
  • aws: Remove aws subcommand (#6995) (979e118)
  • c: add license support for conan lock files (#6329) (5dd9bd4)
  • cli: delete deprecated SBOM flags (#7266) (7024572)
  • cli: rename --vuln-type flag to --pkg-types flag (#7104) (7cbdb0a)
  • cloudformation: add support for logging and endpoint access for EKS (#6440) (86714bf)
  • cloudformation: inline ignore support for YAML templates (#6358) (df024e8)
  • conda: add licenses support for environment.yml files (#6953) (654217a)
  • dart: use first version of constraint for dependencies using SDK version (#6239) (042d6b0)
  • go: add main module (#6574) (2d090ef)
  • go: parse main mod version from build info settings (#6564) (419e3d2)
  • go: parse main module of go binary files (#6530) (e32215c)
  • go: use toolchain as stdlib version for go.mod files (#7163) (2d80769)
  • image: customer podman host or socket option (#6256) (9d2057a)
  • image: goversion as stdlib (#6277) (d82d6cb)
  • image: Set User-Agent header for Trivy container registry requests (#6868) (9b31697)
  • introduce package UIDs for improved vulnerability mapping (#6583) (998f750)
  • java: add test scope support for pom.xml files (#7414) (2d97700)
  • java: add support for maven-metadata.xml files for remote snapshot repositories. (#6950) (1f8fca1)
  • java: add support for fetching packages from repos mentioned in pom.xml (#6171) (ce81c05)
  • java: add support for sbt projects using sbt-dependency-lock (#6882) (f18d035)
  • java: add support licenses and graph for gradle lock files (#6140) (f6c5d58)
  • java: mark dependencies from maven-invoker-plugin integration tests pom.xml files as Dev (#6213) (617c3e3)
  • k8s: node-collector dynamic commands support (#6861) (8d618e4)
  • k8s: rancher rke2 version support (#5988) (cf0f0d0)
  • license: improve license normalization (#7131) (6472e3c)
  • mariner: Add support for Azure Linux (#7186) (5cbc452)
  • misconf: add helm-api-version and helm-kube-version flag (#6332) (53517d6)
  • misconf: add metadata to Cloud schema (#6831) (02d5404)
  • misconf: add support for AWS::EC2::SecurityGroupIngress/Egress (#6755) (55fa610)
  • misconf: Add support for deprecating a check (#6664) (88702cf)
  • misconf: Add support for using spec from on-disk bundle (#7179) (be86126)
  • misconf: add support for wildcard ignores (#6414) (8dd0fcd)
  • misconf: add Terraform 'removed' block to schema (#6640) (b7a0a13)
  • misconf: API Gateway V1 support for CloudFormation (#6874) (8491469)
  • misconf: enabled China configuration for ACRs (#7156) (d1ec89d)
  • misconf: ignore duplicate checks (#7317) (9ef05fc)
  • misconf: iterator argument support for dynamic blocks (#7236) (fe92072)
  • misconf: loading embedded checks as a fallback (#6502) (12ec0df)
  • misconf: port and protocol support for EC2 networks (#7146) (98e136e)
  • misconf: register builtin Rego funcs from trivy-checks (#6616) (7c22ee3)
  • misconf: Register checks only when needed (#7435) (f768d3a)
  • misconf: resolve tf module from OpenTofu compatible registry (#6743) (ac74520)
  • misconf: scanning support for YAML and JSON (#7311) (efdbd8f)
  • misconf: support for ignore by nested attributes (#7205) (44e4686)
  • misconf: support for policy and bucket grants (#7284) (a817fae)
  • misconf: support for VPC resources for inbound/outbound rules (#6779) (349caf9)
  • misconf: support of selectors for all providers for Rego (#6905) (bc3741a)
  • misconf: Support private registries for misconf check bundle (#6327) (f23ed77)
  • misconf: support symlinks inside of Helm archives (#6621) (4eae37c)
  • misconf: Use updated terminology for misconfiguration checks (#6476) (37da98d)
  • misconf: variable support for Terraform Plan (#7228) (db2c955)
  • nodejs: add license parser to pnpm analyser (#7036) (03ac93d)
  • nodejs: add v9 pnpm lock file support (#6617) (1e08648)
  • php: add installed.json file support (#4865) (edc556b)
  • plugin: add support for nested archives (#6845) (622c67b)
  • plugin: specify plugin version (#6683) (d6dc567)
  • python: add license support for requirement.txt files (#6782) (29615be)
  • python: add line number support for requirement.txt files (#6729) (2bc54ad)
  • python: use minimum version for pip packages (#7348) (e9b43f8)
  • report: export modified findings in JSON (#7383) (7aea79d)
  • report: Include licenses and secrets filtered by rego to ModifiedFindings (#6483) (fa3cf99)
  • report: support for filtering licenses and secrets via rego policy files (#6004) (c6844a7)
  • respect custom exit code from plugin (#6584) (f0961d5)
  • sbom: add image labels into SPDX and CycloneDX reports (#7257) (4a2f492)
  • sbom: add vulnerability support for SPDX formats (#7213) (efb1f69)
  • sbom: migrate to CycloneDX v1.6 (#6903) (09e50ce)
  • sbom: set User-Agent header on requests to Rekor (#7396) (af1d257)
  • sbom: Support license detection for SBOM scan (#6072) (eb3ceb3)
  • secret: Support for detecting Hugging Face Access Tokens (#6236) (6639911)
  • 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 --skip-images scanning flag (#6334) (e739ab8)
  • terraform: Add hyphen and non-ASCII support for domain names in credential extraction (#6108) (4a9ac6d)
  • terraform: ignore resources by nested attributes (#6302) (29dee32)
  • terraform: Terraform Plan snapshot scanning support (#6176) (9361cdb)
  • vex: consider root component for relationships (#6313) (c4022d6)
  • vex: improve relationship support in CSAF VEX (#6735) (a447f6b)
  • vex: retrieve VEX attestations from OCI registries (#7249) (c2fd2e0)
  • vex: support non-root components for products in OpenVEX (#6728) (9515695)
  • 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)
  • vuln: Handle scanning conan v2.x lockfiles (#6357) (29b8faf)
  • vuln: ignore vulnerabilities by PURL (#6178) (cd3e4bc)
  • vuln: show suppressed vulnerabilities in table (#6084) (3c1601b)

Bug Fixes

  • add color for error inside of log message (#6493) (cfddfb3)
  • add context to target finding on k8s table view (#6099) (1b7e474)
  • Add dependencyManagement exclusions to the child exclusions (#6969) (dc68a66)
  • add missing platform and type to spec (#7149) (c8a7abd)
  • alpine: exclude empty licenses for apk packages (#6130) (aadbad1)
  • amazon: check only major version of AL to find advisories (#6295) (fb8c516)
  • aws: handle ECR repositories in different regions (#6217) (feaef96)
  • c: don't skip conan files from file-patterns and scan .conan2 cache dir (#6949) (38b35dd)
  • clean up golangci lint configuration (#6797) (62de6f3)
  • cli: always output fatal errors to stderr (#6827) (c2b9132)
  • cli: error on missing config file (#7154) (7fa5e7d)
  • cli: show info message only when --scanners is available (#7032) (e9fc3e3)
  • close APKINDEX archive file (#6672) (5caf437)
  • close file when failed to open gzip (#7164) (2a577a7)
  • close plugin.yaml (#6577) (916f6c6)
  • close pom.xml (#6507) (a986199)
  • close settings.xml (#6768) (9c3e895)
  • close testfile (#6830) (aa0c413)
  • cloudformation: infer type after resolving a function (#6406) (6a2f6fd)
  • cloudformation: resolve DedicatedMasterEnabled parsing issue (#6439) (74e4c6e)
  • cloudformation: support of all SSE algorithms for s3 (#6270) (337cb75)
  • conda: add support pip deps for environment.yml files (#6675) (150a773)
  • cyclonedx: move root component from scanned cyclonedx file to output cyclonedx file (#6113) (a813506)
  • cyclonedx: trim non-URL info for advisory.url (#6952) (417212e)
  • db: check schema version for image name only (#6410) (8baccd7)
  • db: use schema version as tag only for trivy-db and trivy-java-db registries by default (#6219) (96bd7ac)
  • debian: sort dpkg info before parsing due to exclude directories (#6551) (9aca98c)
  • debian: take installed files from the origin layer (#6849) (089b953)
  • 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)
  • flag: incorrect behavior for deprected flag --clear-cache (#7281) (2a0e529)
  • fs: handle default skip dirs properly (#6628) (8016b82)
  • go: add only non-empty root modules for gobinaries (#6710) (c96f2a5)
  • go: include only .version|.ver (no prefixes) ldflags for gobinaries (#6705) (afb4f9d)
  • Golang version parsing from binaries w/GOEXPERIMENT (#6696) (696f2ae)
  • helm: explicitly define kind and apiVersion of volumeClaimTemplate element (#7362) (da4ebfa)
  • helm: scan the subcharts once (#6382) (f148eb1)
  • ignore nodes when listing permission is not allowed (#7107) (25f8143)
  • image: parse image.inspect.Created field only for non-empty values (#6948) (0af5730)
  • include packages unless it is not needed (#6765) (56dbe1f)
  • increase the default buffer size for scanning dpkg status files by 2 times (#6298) (3177924)
  • java: add only valid libs from pom.properties files from jars (#6164) (8221473)
  • java: avoid panic if deps from pom in it dir are not found (#7245) (4e54a7e)
  • java: don't ignore runtime scope for pom.xml files (#6223) (c4b5ab7)
  • java: parse modules from pom.xml files once (#6312) (7c409fd)
  • java: Return error when trying to find a remote pom to avoid segfault (#7275) (49d5270)
  • java: update logic to detect pom.xml file snapshot artifacts from remote repositories (#6412) (34ab09d)
  • 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 summary separate infra and user finding results (#6120) (dc76c6e)
  • license: add FilePath to results to allow for license path filtering via trivyignore file (#6215) (04535b5)
  • license: add license handling to JUnit template (#7409) (f80183c)
  • license: reorder logic of how python package licenses are acquired (#6220) (56cedc0)
  • license: return license separation using separators ,, or, etc. (#6916) (52f7aa5)
  • license: stop spliting a long license text (#7336) (4926da7)
  • logger initialization before flags parsing (#7372) (c929290)
  • misconf: avoid panic if the scheme is not valid (#6496) (4337068)
  • misconf: change default TLS values for the Azure storage account (#7345) (aadb090)
  • misconf: clear location URI for SARIF (#6405) (712dcd3)
  • 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 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 use semver for parsing tf module versions (#6614) (9c794c0)
  • misconf: don't shift ignore rule related to code (#6708) (39a746c)
  • misconf: Escape template value correctly (#6292) (1c49a16)
  • misconf: fix caching of modules in subdirectories (#6814) (0bcfedb)
  • misconf: fix infer type for null value (#7424) (0cac3ac)
  • misconf: Fix logging typo (#7473) (56db43c)
  • misconf: fix parsing of engine links and frameworks (#6937) (ec68c9a)
  • misconf: handle source prefix to ignore (#6945) (c3192f0)
  • misconf: init frameworks before updating them (#7376) (b65b32d)
  • misconf: load cached tf modules (#6607) (7a25dad)
  • misconf: load only submodule if it is specified in source (#7112) (a4180bd)
  • misconf: Parse JSON k8s manifests properly (#6490) (9b7d713)
  • misconf: parsing numbers without fraction as int (#6834) (8141a13)
  • misconf: skip Rego errors with a nil location (#6638) (a2c522d)
  • misconf: skip Rego errors with a nil location (#6666) (a126e10)
  • misconf: support deprecating for Go checks (#7377) (2a6c7ab)
  • misconf: use module to log when metadata retrieval fails (#7405) (0799770)
  • misconf: wrap Azure PortRange in iac types (#7357) (c5c62d5)
  • node-collector high and critical cves (#6707) (ff32deb)
  • nodejs: add name validation for package name from package.json (#6268) (12c5bf0)
  • nodejs: add support for parsing workspaces from package.json as an object (#6231) (f85c9fa)
  • 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)
  • nodejs: fix infinite loop when package link from package-lock.json file is broken (#6858) (cf5aa33)
  • nodejs: fix infinity loops for pnpm with cyclic imports (#6857) (7d083bc)
  • nodejs: merge Indirect, Dev, ExternalReferences fields for same deps from package-lock.json files v2 or later (#6356) (258d153)
  • nodejs: use project dir when searching for workspaces for Yarn.lock files (#6102) (3ac6388)
  • oracle: Update EOL date for Oracle 7 (#7480) (dd0a64a)
  • plugin: do not call GitHub content API for releases and tags (#7274) (b3ee6da)
  • plugin: initialize logger (#6836) (728e77a)
  • plugin: respect --insecure (#7022) (3d02a31)
  • Printf format err (#6198) (876ab84)
  • purl: add missed os types (#6955) (2d85a00)
  • python: add package name and version validation for requirements.txt files. (#6804) (ea3a124)
  • python: compare pkg names from poetry.lock and pyproject.toml in lowercase (#6852) (faa9d92)
  • report: change a receiver of MarshalJSON (#7483) (927c6e0)
  • report: don't include empty strings in .vulnerabilities[].identifiers[].url when gitlab.tpl is used (#6348) (1870f28)
  • report: escape Message field in asff.tpl template (#7401) (dd9733e)
  • report: fix error with unmarshal of ExperimentalModifiedFindings (#7463) (7ff9aff)
  • report: hide empty table when all secrets/license/misconfigs are ignored (#7171) (c3036de)
  • report: hide empty tables if all vulns has been filtered (#6352) (3d388d8)
  • safely check if the directory exists (#7353) (05a8297)
  • sbom: add check for CreationInfo to nil when detecting SPDX created using Trivy (#6346) (e866bd5)
  • sbom: change error to warning for multiple OSes (#6541) (d2d4022)
  • sbom: don't overwrite srcEpoch when decoding SBOM files (#6866) (04af59c)
  • sbom: fix error when parent of SPDX Relationships is not a package. (#6399) (5f69937)
  • sbom: fix panic for convert mode when scanning json file derived from sbom file (#6808) (f92ea09)
  • sbom: fix panic when scanning SBOM file without root component into SBOM format (#7051) (3d4ae8b)
  • sbom: skip executable file analysis if Rekor isn't a specified SBOM source (#6163) (7694df1)
  • sbom: take pkg name from purl for maven pkgs (#7008) (a76e328)
  • sbom: use NOASSERTION for licenses fields in SPDX formats (#7403) (c96dcdd)
  • sbom: use purl for bitnami pkg names (#6982) (7eabb92)
  • sbom: use package UIDs for uniqueness (#7042) (14d71ba)
  • secret: Asymmetric Private Key shouldn't start with space (#6867) (bb26445)
  • secret: convert severity for custom rules (#6500) (46d5aba)
  • 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: add Locations for Packages in client/server mode (#6366) (a2482c1)
  • server: pass license categories to options (#7203) (9d52018)
  • suse: Add SLES 15.6 and Leap 15.6 (#6964) (5ee4e9d)
  • swift: try to use branch to resolve version (#6168) (e787e1a)
  • terraform: add aws_region name to presets (#7184) (bb2e26a)
  • terraform: Attribute and fileset fixes (#6544) (7c2017f)
  • terraform: do not re-expand dynamic blocks (#6151) (64926d8)
  • terraform: ensure consistent path handling across OS (#6161) (327cf88)
  • terraform: eval submodules (#6411) (13190e9)
  • terraform: fix policy document retrieval (#6276) (102b6df)
  • terraform: fix root module search (#6160) (1dfece8)
  • terraform: сhecking SSE encryption algorithm validity (#6341) (abd62ae)
  • trivy k8s avoid deleting non-default node collector namespace (#6559) (8e6cd0e)
  • typo (#6283) (1ba5b59)
  • typo function name and comment optimization (#6200) (3d2f583)
  • use 0600 perms for tmp files for post analyzers (#6386) (9d7f5c9)
  • use embedded when command path not found (#7037) (137c916)
  • use of specified context to obtain cluster name (#6645) (39ebed4)
  • vex: CSAF filtering should consider relationships (#5923) (9c5e5a0)
  • vuln: skip empty versions (#6542) (164b025)

Performance Improvements

  • debian: use bytes.Index in emptyLineSplit to cut allocation (#7065) (acbec05)
  • helm: load in-memory files (#6383) (1a67472)
  • misconf: do not convert contents of a YAML file to string (#7292) (85dadf5)
  • misconf: Improve cause performance (#6586) (770b141)
  • misconf: optimize work with context (#6968) (2b6d8d9)
  • misconf: parse rego input once (#6615) (67c6b1d)
  • misconf: use json.Valid to check validity of JSON (#7308) (c766831)

Reverts

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

This PR was generated with Release Please. See documentation.

@afdesk afdesk force-pushed the release-please--branches--main branch from 80da218 to a01ceea Compare September 18, 2024 03:16
@afdesk afdesk closed this Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant