Security Testing Orchestration (STO) FAQs
Can I prevent the user who requested an exemption from approving it?
To approve exemptions, users must have the Approve/Reject permission. Currently, Harness STO doesn't have a setting to prevent the user who requested the exemption from also approving it.
Can the size of the container image impact pod eviction during a scan?
Yes, the size of the container image contributes to resource utilization, especially large images (around 4GB). Make sure the container has sufficient resources allocated to prevent eviction during resource-intensive tasks, such as Aqua scans. For more information, go to
Does STO support execution on ARM64 architecture?
Currently, STO doesn't support running on ARM64 platforms.
Can I use a specific image tag for STO images?
Yes. For instructions and information about customizing your STO images, go to:
Can I use an API to extract data on vulnerabilities detected by STO?
Public APIs for this functionality are on the STO roadmap.
Does Harness STO support ingesting scan results from non-native scanners?
STO supports a generic JSON format for ingesting data from unsupported scanners that cannot publish to SARIF. This means that you can ingest custom issues from any scanning tool, even those that do not have direct integration with STO. For more information, go to Ingest from unsupported scanners.
What is SARIF, and how does it relate to scanning tools and STO?
SARIF (Static Analysis Results Interchange Format) is an open data format supported by many scanning tools. If your scanner supports SARIF, Harness recommends publishing your results in this format. For more information, go to Ingest SARIF scan results.
Which scanners are supported natively with Harness STO?
- SAST (Static Application Security Testing)
- SCA (Software Composition Analysis)
- Secret Scanning
- DAST (Dynamic Application Security Testing)
- Container Scanning For more details, go to What's supported.
What are the requirements for STO to ingest scan results in JSON format?
For STO to successfully ingest your scan results, the ingestion file must adhere to the specific JSON format described here: Ingest from unsupported scanners
STO dashboards
These is no Test Execution Summary widget in the list of dashboard widgets
To use this widget, you must have the CI_TI_DASHBOARDS_ENABLED
feature flag enabled for your account. This feature flag enables the Unit Tests Metrics dashboard. Contact Harness Support to enable this feature flag.
Why doesn't the STO dashboard populate the data from targets?
This happens when scan executions don't have baselines set. You must set test target baselines to show this data on your STO dashboards.
Every scanned target needs a baseline to enable the full suite of STO features. For more information, go to Target baselines.
I'm trying to create a dashboard to display the STO metrics for my project, but my organization is not getting listed in the filter. Hence, I'm not able to get my project filtered.
The dashboard only populates projects that had a baseline scan run previously. Check that your scanned targets have baselines defined if they don't appear in the dashboard.
Every scanned target needs a baseline to enable the full suite of STO features. For more information, go to Target baselines.
Aqua scans
Pod evicted during an Aqua scan
Pod eviction during an Aqua scan can be attributed to resource constraints, especially with a large image size (around 4GB).
To address pod eviction during an Aqua scan, increase container resource limits by adjusting the resource requests and limits for the container.
Can the Aqua Security scan use an image built with PLUGIN_NO_PUSH?
No. The Aqua Security scan can't pick up a local image.
AWS ECR scans
How do I configure a session token in the AWS ECR scan step?
You can set the AWS_SESSION_TOKEN
in the Authentication settings.
BlackDuck scans
During BlackDuck scans in my pipeline, I get a "Could not connect to addon client after max retries" error, but this error doesn't occur locally
The "Could not connect to addon client after max retries" error typically indicates that the container running the BlackDuck scan step is terminated abruptly due to insufficient resources. To address this issue, Harness recommends increasing the resources allocated to the BlackDuck step.
You can begin by adjusting the resource allocation to memory: 1Gi
and cpu: "1.0"
. Then, monitor the memory and CPU consumption of the container during the scan to gauge its resource requirements accurately. Based on this observation, you can further refine the resource allocation as needed to prevent container termination and ensure successful BlackDuck scans in your pipeline.
For more information, go to Optimize STO pipelines.
Grype scans
Grype exception "db could not be loaded: the vulnerability database was built n weeks ago (max allowed age is 5 days)"
Go to Troubleshoot "vulnerability database build date exceeds max allowed age" exception in the Grype scanner reference.
OWASP scans
OWASP step generates exception when initializing Yarn Audit Analyzer
Go to Troubleshoot Yarn Audit Analyzer exceptions in the OWASP scanner reference.
Prisma Cloud scans
How do I add labels to a Prisma Cloud scan when my build infrastructure is Kubernetes or Docker?
To add labels such as JOB_NAME
to your Prisma Cloud scans, add key-value pairs to Settings (optional) in your Prisma Cloud scan step. These key-value pairs will be added as labels when you run the scan.
Sonar scans
Go to Troubleshoot Sonar Scans in the SonarQube scanner reference. This section discusses the following:
- Can't generate SonarQube report due to shallow clone
- Add the sonar.projectVersion to a Harness pipeline
- SonarQube doesn't scan the main branch and pull request branches in the same pipeline
Why am I getting the error Missing target_name for scan_type [repository] scan.
This error ocurrs if there's no scan target in the Scanner configuration. To fix this, please ensure that the Scan Step configuration properly selects a target.
How does the SonarQube integration work when attempting to perform a branch scan with SonarQube Enterprise?
An enhancement has been made to ensure the orchestration step always downloads results for the branch specified in the step, instead of downloading results only for main or master branches. For more information, go to the STO 1.83.1 release notes.