Code Monkey home page Code Monkey logo

Comments (3)

vinod827 avatar vinod827 commented on August 10, 2024

Can you let me know which API you are referring to here which returns the total? And what is your expected format here?

from python-sonarqube-api.

aleixvilaseca avatar aleixvilaseca commented on August 10, 2024

Hello @vinod827,

I'm calling the api as follows and I extract it in a json file:

issues = list(sonar.issues-search_issues(issue_type='VULNERABILITY', severity='CRITICAL, BLOCKER'))

this call does not return the specified issues, but instead dumps all data by type and severity. I just want to extract for each project that exists in sonarqube, the blocking and critical vulnerability flaws.

Using the measures_search call, it returns this result, but what it does is return the total number of blocking and critical vulnerabilities, bugs, and code_smells, while what I want to output is this same result for vulnerability only.

Thanx

from python-sonarqube-api.

shijl0925 avatar shijl0925 commented on August 10, 2024

update pageage to version 1.3.6

search_issues fuction support obtain specified issues by page, not all data.

from python-sonarqube-api.

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.