Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions scan/trustabl-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ export PATH="$DEST:$PATH"

# ---- scan ----
set +e
SCAN_START=$(date -u +%Y-%m-%dT%H:%M:%S)

# Resolve the repo label (report box + summary).
# Priority: explicit GitHub URL target -> target's git remote -> CodeBuild repo.
Expand Down Expand Up @@ -139,7 +138,6 @@ NATIVE_CODE=$?

# Run 2: JSON (drives thresholds, log summary, dotenv).
trustabl "${BASE_ARGS[@]}" --format json > "$JSON_FILE" || true
SCAN_END=$(date -u +%Y-%m-%dT%H:%M:%S)

# trustabl's overall_score is a float in [0.0, 1.0]; scale to [0,100] ints.
RAW_SCORE=$(jq -r '.overall_score // 1' "$JSON_FILE")
Expand Down