Coder Social home page Coder Social logo

Comments (6)

erezrokah avatar erezrokah commented on May 24, 2024 1

Hi @akash1810, can you try with version v5.4.0? Release notes in https://hub.cloudquery.io/plugins/source/cloudquery/snyk/v5.4.0/versions

from cloudquery.

akash1810 avatar akash1810 commented on May 24, 2024 1

Hi @akash1810, can you try with version v5.4.0? Release notes in https://hub.cloudquery.io/plugins/source/cloudquery/snyk/v5.4.0/versions

Amazing! Thanks for this! I can confirm this works too.

from cloudquery.

candiduslynx avatar candiduslynx commented on May 24, 2024

Hi @akash1810!
Thank you for submitting the issue.
As we don't have the enterprise access for the Snyk API, would you mind testing v0.0.0-sbom-rc1 of the snyk source plugin & tell us if the issue was fixed?

from cloudquery.

candiduslynx avatar candiduslynx commented on May 24, 2024

Additionally, as SBOM is a per project table in the source plugin, could you please verify that the orgs you can see have at least 1 project?
If there's an org that has 0 projects it will be skipped altogether.

from cloudquery.

akash1810 avatar akash1810 commented on May 24, 2024

Thanks for the fast response @candiduslynx 🙏🏽.

would you mind testing v0.0.0-sbom-rc1 of the snyk source plugin & tell us if the issue was fixed?

Unfortunately this version has not solved the issue. The last organisation is still the only one that is synced. The logs appear unchanged too.

Additionally, as SBOM is a per project table in the source plugin, could you please verify that the orgs you can see have at least 1 project?

With the following query:

select    o.id as organization_id
          , count(p.id) as total_projects
from      snyk_projects p
          join snyk_organizations o on p.organization_id = o.id
group by  o.id
order by  total_projects desc
limit     4;

I have the following (redacted) output:

organization_id total_projects
fce564f1-REDACTED 224
c9f872db-REDACTED 99
b0cbace2-REDACTED 69
622782f7-REDACTED 69

We have 30 organisations with at least 1 project:

with data as (
  select    o.id as organization_id
            , count(p.id) as total_projects
  from      snyk_projects p
            join snyk_organizations o on p.organization_id = o.id
  group by  o.id
  order by  total_projects desc
)

select  count(organization_id) 
from    data 
where   total_projects > 0;

-- 30

from cloudquery.

erezrokah avatar erezrokah commented on May 24, 2024

We found the bug and we'll release a version with a fix in a bit. I'll keep the issue open until we do and then comment once have the release out

from cloudquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.