File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
scanners/boostsecurityio/trivy-sbom Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,27 +43,27 @@ steps:
4343 fi
4444
4545 # Create temporary solution to merge all projects
46- dotnet new sln -n $TEMP_SOLN_FILE --force >/dev/null 2>&1 || true
46+ dotnet new sln -n $TEMP_SOLN_FILE --force || true
4747
4848 # Add all found .csproj files to the solution
4949 echo "$PROJECT_LIST" | while IFS= read -r proj; do
50- [ -n "$proj" ] && dotnet sln $SCAN_TARGET add "$proj" >/dev/null 2>&1 || true
50+ [ -n "$proj" ] && dotnet sln $SCAN_TARGET add "$proj" || true
5151 done
5252
5353 # Restore packages while ignoring errors.
5454 if [ -n "$SCAN_TARGET" ]; then
55- dotnet restore "$SCAN_TARGET" --ignore-failed-sources --no-cache >/dev/null 2>&1 || true
55+ dotnet restore "$SCAN_TARGET" --ignore-failed-sources --no-cache || true
5656 fi
5757
5858 # Generate SBOM to temporary directory
5959 OUTPUT_DIR="temp_sbom_output"
60- rm -rf "$OUTPUT_DIR" 2>/dev/null || true
60+ rm -rf "$OUTPUT_DIR" || true
6161
6262 if [ -n "$SCAN_TARGET" ] && dotnet CycloneDX "$SCAN_TARGET" \
6363 --disable-package-restore \
6464 --output "$OUTPUT_DIR" \
6565 --output-format json \
66- >/dev/null 2>&1 ; then
66+ ; then
6767
6868 if [ -f "$OUTPUT_DIR/bom.json" ]; then
6969 cat "$OUTPUT_DIR/bom.json"
You can’t perform that action at this time.
0 commit comments