Giter Site home page Giter Site logo

Comments (6)

GriffinMB avatar GriffinMB commented on May 7, 2024 1

Okay, I'll add some kind of filtering mechanism. It may not come in the next release, but shouldn't be too far out.

from sobelow.

GriffinMB avatar GriffinMB commented on May 7, 2024

Hi, thanks for opening this issue! The ability to filter the output based on confidence level is something I've considered, but decided against implementing for a handful of reasons. I'd prefer to keep it this way unless there is some functionality that can't be achieved with other flags.

You might find the exit flag useful; it was created for exactly this use-case. For example, the following should only return a non-zero exit code for findings that are at least medium confidence:

mix sobelow --exit medium

Would this work for your pipeline? Or is there something else you had in mind?

from sobelow.

Electronickss avatar Electronickss commented on May 7, 2024

We are planning on implementing the --exit flag for more confident security issues after fixing a the current existing issues, however this is coming from a standpoint where I don't want my devs getting used to seeing issues that are ok to overlook in the output. I only want to show issues in the output that are worthy of causing the build to fail. Maybe a warning could be issued every time the flag is used?

from sobelow.

Electronickss avatar Electronickss commented on May 7, 2024

Thank you. Much appreciated

from sobelow.

GriffinMB avatar GriffinMB commented on May 7, 2024

Hi @Electronickss!

I've added a threshold flag to master. It is currently undocumented, but works like this:

mix sobelow --threshold medium

This scan will only return findings that have a confidence level of medium or high. Please test it out and let me know if you run into any bugs. I will leave this issue open for now, but will look to close and push to Hex by early next week if there are no unexpected issues.

Thanks!

from sobelow.

GriffinMB avatar GriffinMB commented on May 7, 2024

This is now live on Hex, so you can install with mix archive.install hex sobelow and start using the --threshold flag. It is also documented in the README now.

Thanks again for opening the issue!

from sobelow.

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.