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

Front-end is not returning all the assets stored in the database #1073

Open
JeffLabonte opened this issue Nov 21, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@JeffLabonte
Copy link

JeffLabonte commented Nov 21, 2024

Describe the bug
I generated my inventory of cloud assets using Google Cloud Assets. I created a script that go fetch that inventory on Google Cloud and then insert them in CISO Assistant.

There are 3 problems:

  • Not all the domains are returned
  • Not all the assets are returned
  • The query to fetch the inventory is really slow - More than 30 seconds for a request AT LEAST.

To Reproduce
Steps to reproduce the behavior:

  1. Have more than 5000 assets in the inventory
  2. Go to 'Organisation'
  3. Click on 'Assets'
  4. Wait while the backend process the requests
  5. Enjoy the data you have available

Expected behavior

I expect to have a access to my different assets and to be able to link any of them in the risks.

Screenshots
If applicable, add screenshots to help explain your problem.
image
388711491-7e5c05b4-1ce2-457a-981e-a74ba6862e61
388711863-f54d3097-a15a-46ca-b4b1-7024897f1697

Environment (please complete the following information):
I tried on a lot of platform. I tried the community and the SaaS version of the app.

Additional context

IMO, you should call a different route to get all the domains and you should paginate your calls for real instead of building a JSON with the response.

@ab-smith ab-smith added the bug Something isn't working label Nov 22, 2024
@JeffLabonte
Copy link
Author

I believe the slowness is caused by the link between the assets and the Risk Assessments.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants