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

feat: report scanner raw output #1753

Merged
merged 19 commits into from
Jun 6, 2024
Merged

feat: report scanner raw output #1753

merged 19 commits into from
Jun 6, 2024

Conversation

csatib02
Copy link
Member

@csatib02 csatib02 commented May 29, 2024

Description

  • A new result type is defined rawJSON, which is the raw data returned by KICS.
  • The raw results are also appended to the result kics.json besides VMClarityData.
  • A new E2E test is added that uses only the families manager to get the raw data.
  • VMClarity E2E tests are still successful and the raw data isn't propagated back to the apiserver.

Type of Change

[ ] Bug Fix
[X] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@csatib02 csatib02 requested a review from a team as a code owner May 29, 2024 13:04
@csatib02 csatib02 added enhancement New feature or request go Pull requests that update Go code scanner-config Issues related to scanner configuration labels May 29, 2024
@csatib02 csatib02 force-pushed the feat/enable-rawoutput-format branch 2 times, most recently from 6e91297 to a507458 Compare May 29, 2024 13:17

This comment has been minimized.

@csatib02 csatib02 marked this pull request as draft May 29, 2024 14:17
@csatib02 csatib02 force-pushed the feat/enable-rawoutput-format branch 6 times, most recently from 63b7155 to 82323c5 Compare June 1, 2024 11:26

This comment has been minimized.

@csatib02 csatib02 force-pushed the feat/enable-rawoutput-format branch 2 times, most recently from c5351be to c81862b Compare June 1, 2024 12:48

This comment has been minimized.

@ramizpolic ramizpolic changed the title feat: enable rawoutput format feat: report scanner raw output Jun 3, 2024

This comment has been minimized.

@csatib02 csatib02 force-pushed the feat/enable-rawoutput-format branch from fd99969 to 45b186f Compare June 3, 2024 08:04

This comment has been minimized.

This comment has been minimized.

@csatib02 csatib02 marked this pull request as ready for review June 3, 2024 13:07
e2e/kics_test.go Outdated Show resolved Hide resolved
e2e/kics_test.go Outdated Show resolved Hide resolved
scanner/families/plugins/runner/runner.go Outdated Show resolved Hide resolved
e2e/kics_test.go Outdated Show resolved Hide resolved

This comment has been minimized.

This comment has been minimized.

@csatib02 csatib02 requested a review from ramizpolic June 5, 2024 14:22
csatib02 and others added 18 commits June 5, 2024 16:27
Signed-off-by: Bence Csati <bcsati@cisco.com>
Co-authored-by: Adam Tagscherer <atagsche@cisco.com>
Signed-off-by: Adam Tagscherer <atagsche@cisco.com>
Co-authored-by: Bence Csati <bcsati@cisco.com>>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Co-authored-by: Adam Tagscherer <atagsche@cisco.com>
Signed-off-by: Adam Tagscherer <atagsche@cisco.com>
Co-authored-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Co-authored-by: Adam Tagscherer <atagsche@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
Signed-off-by: Bence Csati <bcsati@cisco.com>
@csatib02 csatib02 force-pushed the feat/enable-rawoutput-format branch from fd2e69d to 151cf52 Compare June 5, 2024 14:27
Signed-off-by: Bence Csati <bcsati@cisco.com>
Copy link

github-actions bot commented Jun 5, 2024

Hey!

Your images are ready:

  • ghcr.io/openclarity/vmclarity-apiserver-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3
  • ghcr.io/openclarity/vmclarity-cli-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3
  • ghcr.io/openclarity/vmclarity-cr-discovery-server-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3
  • ghcr.io/openclarity/vmclarity-orchestrator-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3
  • ghcr.io/openclarity/vmclarity-plugin-kics-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3
  • ghcr.io/openclarity/vmclarity-ui-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3
  • ghcr.io/openclarity/vmclarity-ui-backend-dev:pr1753-ec74dafabfdd9e7e7e83a5d8d639188603e8fdd3

@csatib02 csatib02 added this pull request to the merge queue Jun 6, 2024
Merged via the queue into main with commit d645e49 Jun 6, 2024
40 checks passed
@csatib02 csatib02 deleted the feat/enable-rawoutput-format branch June 6, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go Pull requests that update Go code scanner-config Issues related to scanner configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants