
SGupta009471 (Community Member) asked a question.

SGupta009471 (Community Member) asked a question.
Ask the Community
Get answers, share a use case, discuss your favorite features, or get input from the community.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
.png)
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
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
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
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.
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.
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