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

Store in Bundles JSON reports all content find when we extracted the bundles from the index #131

Open
camilamacedo86 opened this issue Jul 7, 2022 · 0 comments
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Milestone

Comments

@camilamacedo86
Copy link
Collaborator

Description

By running audit-tool index bundles --index-image=<image> we download the index, we extract all bundles from the index and we create a JSON file with this info. However, currently, we just store the CSV from the index. The goal of this task would be to change the model for we store all data find on the bundles in the JSON format so that we can also generate reports looking for the other manifests.

Note that the mode is defined in: https://github.com/operator-framework/audit/blob/main/pkg/reports/bundles/columns.go#L33-L54

Note that after we download the bundle and prepare it we read the manifest and parse to the bundle here: https://github.com/operator-framework/audit/blob/main/pkg/actions/get_bundle.go#L86-L92

See here we are storing the annotations file as well: https://github.com/operator-framework/audit/blob/main/pkg/actions/get_bundle.go#L112

@camilamacedo86 camilamacedo86 added this to the Next milestone Jul 7, 2022
@camilamacedo86 camilamacedo86 added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

No branches or pull requests

1 participant