Coder Social home page Coder Social logo

Comments (3)

prabhu avatar prabhu commented on August 27, 2024

Correct. Will add this issue to my list for the week.

from sast-scan.

prabhu avatar prabhu commented on August 27, 2024

Still not done with SARIF for staticcheck. Actually, got distracted and trying to build a test tool for testing sast-scan since I am currently check all project types and CI integrations manually :(

But here is a secret. If you create a local .sastscanrc you can override pretty much anything including replacing or including staticcheck in addition to gosec for golang.

https://github.com/AppThreat/sast-scan/blob/master/docs/TRICKS.md#config-file

For the key golang, if the value is a list then it is considered as a single tool. If instead the value is a map (for eg: depscan) then the tool would execute one tool at a time.

So the config for golang would resemble

"golang": {
  "gosec": [go sec args],
  "staticcheck": [static check args]
}

Let me know if this workaround helps for now.

from sast-scan.

prabhu avatar prabhu commented on August 27, 2024

staticcheck is now available with version 1.1.1

tool         description                        critical    high    medium    low  status      total
-----------  -------------------------------  ----------  ------  --------  -----  --------  -------
staticcheck  Go static analysis                        7       0         0      0  ❌               7
gosec        Golang security checks by gosec           0       0         1      0  ✅               1

from sast-scan.

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.