Simplify Kingfisher CronJob to HTML-only output

Remove the second scan pass for JSON — one format is enough for now.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-28 21:50:54 -07:00
commit bb60369956
2 changed files with 5 additions and 13 deletions

View file

@ -26,23 +26,15 @@ spec:
OUTDIR=/reports/kingfisher
mkdir -p "$OUTDIR"
COMMON_ARGS="scan gitea \
kingfisher scan gitea \
--api-url https://forge.ops.eblu.me/api/v1/ \
--user eblume \
--repo-type all \
--no-update-check \
--tls-mode lax \
--allow-internal-ips"
# HTML report for human review
kingfisher $COMMON_ARGS \
--allow-internal-ips \
--format html \
--output "$OUTDIR/scan-${STAMP}.html" || true
# JSON report for machine parsing
kingfisher $COMMON_ARGS \
--format json \
--output "$OUTDIR/scan-${STAMP}.json"
--output "$OUTDIR/scan-${STAMP}.html"
env:
- name: KF_GITEA_TOKEN
valueFrom: