-
Notifications
You must be signed in to change notification settings - Fork 6
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
Vex support #54
Vex support #54
Conversation
Signed-off-by: Ben <ben@armosec.io>
Signed-off-by: Ben <ben@armosec.io>
Signed-off-by: Ben <ben@armosec.io>
Signed-off-by: Ben <ben@armosec.io>
Signed-off-by: Ben <ben@armosec.io>
Signed-off-by: Ben <ben@armosec.io>
Vex output support
PR Analysis
PR Feedback
How to use
|
Signed-off-by: Ben <ben@armosec.io>
Summary:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move test.yaml to artifacts/openvulnerabilityexchange
Signed-off-by: Ben <ben@armosec.io>
Summary:
|
Signed-off-by: Ben <ben@armosec.io>
Summary:
|
Summary:
|
PR Type:
Enhancement
PR Description:
This PR introduces support for VEX (Vulnerability Exchange) documents in the Kubescape Storage component. It includes the addition of OpenVulnerabilityExchangeContainer and OpenVulnerabilityExchangeContainerList objects, which are based on the go-vex declarations. These new objects are designed to work with OpenAPI and Kubernetes API. The PR also includes updates to the relevant Go files and Dockerfile.
PR Main Files Walkthrough:
files:
pkg/apis/softwarecomposition/v1beta1/zz_generated.deepcopy.go
: Autogenerated deepcopy functions for new VEX related objects such as Component, Metadata, OpenVulnerabilityExchangeContainer, OpenVulnerabilityExchangeContainerList, Product, Statement, Subcomponent, VEX, and VexVulnerability.pkg/generated/clientset/versioned/typed/softwarecomposition/v1beta1/fake/fake_openvulnerabilityexchangecontainer.go
: Autogenerated fake clientset for testing OpenVulnerabilityExchangeContainer operations such as Get, List, Watch, Create, Update, Delete, DeleteCollection, and Patch.pkg/apis/softwarecomposition/v1beta1/types.go
: Definitions of new VEX related types and their methods.pkg/registry/softwarecomposition/openvulnerabilityexchange/strategy.go
: Implementation of the registry strategy for OpenVulnerabilityExchangeContainer.pkg/registry/softwarecomposition/openvulnerabilityexchange/etcd.go
: Implementation of the etcd storage for OpenVulnerabilityExchangeContainer.build/Dockerfile
: Updated the Go builder version to 1.21.go.mod and go.sum
: Updated the Go dependencies to support the new VEX related changes.test.yaml
: Test cases related to the new VEX support.User Description:
Adding support for VEX documents in the Kubescape Storage component:
Both of them are based on https://github.com/openvex/go-vex declarations but were re-defined here due to OpenAPI and K8s API support.
Supporting kubescape/kubevuln#155