Vivek (Community Member) asked a question.

Are there any plans to support cgo for static scans of Go-based applications? If not, will it be possible for static scans to 'ignore' the cgo code and allow the scan to complete?

Currently, we are unable to use Static Scans for our Go-based applications due to this Veracode limitation.


  • Hello @Vivek (Community Member)​ ,

     

    At the current time, Supporting Go applications that make use of CGo (directly or indirectly) is not supported. It would be a good idea to submit this in the Idea section of our Community.  The more community support an Idea receives, the more likely it will be considered or prioritized for implementation.

     

    A suggested workaround you can use is to ‘mock’ or ‘stub’ out the CGo parts in a separate branch of your source code and supply this for Veracode Static Analysis.

     

    Jason

    Veracode Support Engineer

    Expand Post

Topics (4)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.