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

[feature] Adds a parser for CycloneDX Vex data #1181

Merged
merged 12 commits into from
Aug 31, 2023

Conversation

stevemenezes
Copy link
Contributor

@stevemenezes stevemenezes commented Aug 23, 2023

Description of the PR

Addresses #1148

PR Checklist

  • All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
  • All new changes are covered by tests
  • If GraphQL schema is changed, make generate has been run
  • If collectsub protobuf has been changed, make proto has been run
  • All CI checks are passing (tests and formatting)
  • All dependent PRs have already been merged

Signed-off-by: stevemenezes <[email protected]>
Copy link
Collaborator

@pxp928 pxp928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good start! Left some comments for you and the other maintainers to get consensus on how we want to handle the status and justification bits

pkg/ingestor/parser/parser.go Outdated Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Show resolved Hide resolved
Copy link
Collaborator

@pxp928 pxp928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making progress! Added some comments!

pkg/assembler/graphql/schema/certifyVEXStatement.graphql Outdated Show resolved Hide resolved
pkg/assembler/graphql/schema/certifyVEXStatement.graphql Outdated Show resolved Hide resolved
pkg/handler/processor/cdx_vex/cdx_vex.go Show resolved Hide resolved
pkg/handler/processor/guesser/type_cdx_vex.go Outdated Show resolved Hide resolved
pkg/handler/processor/guesser/type_cyclonedx.go Outdated Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Show resolved Hide resolved
Signed-off-by: stevemenezes <[email protected]>
Signed-off-by: stevemenezes <[email protected]>
@stevemenezes stevemenezes marked this pull request as ready for review August 30, 2023 16:56
Signed-off-by: stevemenezes <[email protected]>
Copy link
Collaborator

@pxp928 pxp928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Added some comments

internal/testing/testdata/testdata.go Outdated Show resolved Hide resolved
internal/testing/testdata/testdata.go Outdated Show resolved Hide resolved
internal/testing/testdata/testdata.go Outdated Show resolved Hide resolved
pkg/handler/processor/cdx_vex/cdx_vex.go Show resolved Hide resolved
pkg/handler/processor/cdx_vex/cdx_vex_test.go Outdated Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Outdated Show resolved Hide resolved
pkg/ingestor/parser/cdx_vex/parser_cdx_vex.go Outdated Show resolved Hide resolved
Copy link
Contributor

@lumjjb lumjjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits, else LGTM, + parth's comments. Awesome work! @stevemenezes

Signed-off-by: stevemenezes <[email protected]>
@kodiakhq kodiakhq bot merged commit 8634dd5 into guacsec:main Aug 31, 2023
8 of 9 checks passed
@stevemenezes stevemenezes deleted the smenezes/cdx-vex-parser branch August 31, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants