• Hello @SGupta009471 (Community Member)​ ,

     

    There are a few ways to obtain data from SCA, and a few of them are discussed in the Help Center Article Using Veracode Software Composition Analysis. The most notable ways are to either Export Veracode SCA Portfolio Results, which allows you to export and download the SCA scan results for each application in your application portfolio as a CSV file. The other is the Customizable Report which summarizes the security findings identified during the most recent policy scan, the application policy status, and recommendations to fix the findings.

     

    Also, take a look at the Help Center Article Reviewing API Scanning Results, so you can review prescan results of your scanned API specifications.

     

    Jason

    Veracode Support Engineer

    Expand Post
  • SGupta009471 (Community Member)

    Hi Jason,

    Thanks for the reply

    srcclr_sbom_gen Parses srcclr scan results in JSON format and converts to CycloneDX SBOM JSON format.

    Want to know how I will generate srcclr scan results in JSON format

    • Hi @SGupta009471 (Community Member)​ ,

       

      If you look in the help command from within the srcclr agent itself, there is a section that shows the option --json [String] and it's description, so you should be able to use the following format regardless of the environment that you are running the agent in:

       

      Srcclr scan –-json=”/path/to/filename.json

       

      Jason

      Veracode Support Engineer

      Expand Post
      • SGupta009471 (Community Member)

        Hi @Jason M., Veracode Support (Veracode)​ 

         

        Tried to generate JSON results of existing Agent-Based scan using command

        srcclr scan --json=<Path to Save results in JSON format>

        but I got this error

        Veracode SCA only supports git repos and requires an executable git to be on the PATH←[0m

         

        And one more Question is there any way to generate one single SBOM for Both Upload and Scan SCA and Agent based SCA, because as per the documentation Upload and Scan SCA we have to use REST API and for Agent-Based SCA we have to use srcclr_sbom_gen.

        Expand Post
      • MHoude449252 (Community Member)

        You need to supply the path of what you are scanning (between scan and --json). e.g. srcclr scan $BuildScanPath --allow-dirty –-json="C:\Temp\proj.json" I ran this command successfully on the build server, but the same command ignored the --json command.

      • SGupta009471 (Community Member)

        Hi @MHoude449252 (Community Member)​ 

        Thanks for the input

        Is there any way to generate results in JSON format of the existing Agent bases scan (without triggering the scan)?

        because my goal is to generate SBOM of the existing result

Topics (8)

No articles found
Loading

Ask the Community

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