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

"Select Target" Field Not Working #345

Closed
ooooohdavis opened this issue Aug 23, 2022 · 6 comments
Closed

"Select Target" Field Not Working #345

ooooohdavis opened this issue Aug 23, 2022 · 6 comments
Labels
question Further information is requested

Comments

@ooooohdavis
Copy link

First off, I'm not a developer, I may need the dummy version of instruction.

On the sample screenshot, what is the target for "Select Target" field? It'll only show TEST. I cannot get this explorer to view my Trivy report JSON stored locally. I had the Trivy report sent over by my vendor. I did not run the report myself.

Thank you!

image

@Morl99
Copy link
Contributor

Morl99 commented Aug 23, 2022

Hello @ooooohdavis,

thank you for your interest in our project.

If you see the test target it just means, that no trivy report was found (I should make this more explicit). Did you try to upload a report? Was it successful, or do you see any errors?

Are you able to share the trivy json report file? That would allow me to debug the error and see, if the error lies within the file. Alternatively, can you try to see if you can get it to work with a test file?

@ooooohdavis
Copy link
Author

Hi, unfortunately I cannot share the trivy json report file.

When you asked about the upload, I don't think it was successful and I did not see any errors.
I clicked on "Choose File" then a window would open where I can find my JSON report.
I choose the JSON report file then I'd click open.
After that, no error or confirmation pop up, not sure if I should hit upload button (i don't see any) or the open button would auto-upload the file. I waited for a minute or two, only 11kb file shouldn't take that long. Then the select target field still showing TEST.

Do you have a test JSON report file i can download and test?

Thank you again for your assistance. I'd love to see this tool work since I have a bunch of reports to view :)

Morl99 added a commit that referenced this issue Sep 14, 2022
…rer without the need to run trivy first. Refs #345
Morl99 added a commit that referenced this issue Sep 14, 2022
… explorer without the need to run trivy first. Refs #345
Morl99 added a commit that referenced this issue Sep 14, 2022
… explorer without the need to run trivy first. Refs #345
@Morl99
Copy link
Contributor

Morl99 commented Sep 14, 2022

@ooooohdavis it took me some time to get around to this issue, I have no included an example file in the documentation. You can reach it here. I hope that helps.

@Morl99 Morl99 added the question Further information is requested label Sep 14, 2022
@ooooohdavis
Copy link
Author

Update:
Using your alpine-3.9.2.json report, I was able to upload and view it successfully.

I'll have my vendor recreate the report and try again.

Thank you for the follow up.

image

@Morl99
Copy link
Contributor

Morl99 commented Sep 15, 2022

Nevertheless, I have created #352 to improve the error handling

@Morl99
Copy link
Contributor

Morl99 commented Nov 9, 2022

I will close this issue now, since I have not heard back from you. Feel free to reopen it if your issue persists.

@Morl99 Morl99 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants