kubescape / storage

Apache License 2.0
1 stars 6 forks source link

Vex output support #53

Closed slashben closed 10 months ago

slashben commented 10 months ago

PR Type:

Enhancement


PR Description:

This pull request introduces support for VEX (Vulnerability EXchange) output in the software composition package. It includes the addition of new data structures, methods, and autogenerated code to handle VEX objects. The changes also include updates to the Go builder version and fixes to the init path.


PR Main Files Walkthrough:

files: `pkg/apis/softwarecomposition/v1beta1/zz_generated.deepcopy.go`: Autogenerated deepcopy functions for new VEX-related data structures such as Component, Metadata, OpenVulnerabilityExchangeContainer, Product, Statement, Subcomponent, VEX, and VexVulnerability. `pkg/generated/clientset/versioned/typed/softwarecomposition/v1beta1/fake/fake_openvulnerabilityexchangecontainer.go`: Autogenerated fake client for testing the OpenVulnerabilityExchangeContainer interface, including methods for CRUD operations and watching changes. `pkg/apis/softwarecomposition/v1beta1/types.go`: The addition of new data structures related to VEX output support. `pkg/registry/softwarecomposition/openvulnerabilityexchange/strategy.go`: Implementation of the registry strategy for OpenVulnerabilityExchange objects. `pkg/registry/softwarecomposition/openvulnerabilityexchange/etcd.go`: Implementation of the etcd storage for OpenVulnerabilityExchange objects. `build/Dockerfile`: The Go builder version has been updated to 1.21. `go.mod and go.sum`: Updates to the project dependencies.

User Description:

Copying development to the Kubescape organization

codiumai-pr-agent[bot] commented 10 months ago

PR Analysis

How to use

To invoke the PR-Agent, add a comment using one of the following commands: /review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option. /describe: Modify the PR title and description based on the contents of the PR. /improve [--extended]: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback. /ask \<QUESTION>: Pose a question about the PR. /update_changelog: Update the changelog based on the PR's contents.

To edit any configuration parameter from configuration.toml, add --config_path=new_value For example: /review --pr_reviewer.extra_instructions="focus on the file: ..." To list the possible configuration parameters, use the /config command.