You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

JFrog XRay v1.10.1未变更制品自动重扫策略咨询

Hey there! Let’s dive into how JFrog XRay v1.10.1 (PRO) handles rescanning unchanged artifacts in Artifactory v5.2.1 (PRO) when its vulnerability database gets updated—since you couldn’t track this down in the docs or via Google, I’ll break down the exact strategy these older versions follow:

XRay v1.10.1 Auto-Rescan Behavior for Unchanged Artifacts

Core Rescan Trigger Logic

When XRay’s vulnerability database updates (either via scheduled syncs or a manual refresh), it uses a resource-efficient approach instead of rescanning every artifact:

  • It only re-evaluates artifacts that have already been scanned by XRay. Any artifacts never scanned before won’t be touched unless you trigger a scan manually or set up an automated rule.
  • For artifacts that were scanned previously, XRay skips a full component analysis (since the artifact itself hasn’t changed). Instead, it matches the existing component inventory (from the initial scan) against the updated vulnerability database to flag new risks or update existing vulnerability statuses.

Default Configuration & Toggle

  • The auto-rescan feature is enabled by default in XRay v1.10.1 PRO. You can check or adjust this setting in the XRay admin UI:
    1. Navigate to Admin > Settings > General
    2. Look for the Rescan on Vulnerability DB Update option (it’s checked out of the box)
  • If you disable this, XRay won’t automatically recheck artifacts after a DB update—you’ll need to trigger rescans manually.

Manual Rescan Options

If you need to force a rescan of unchanged artifacts (like those scanned before enabling auto-rescan), you have two straightforward options:

  1. UI Method: In Artifactory, go to the target repository or specific artifact, right-click it, and select Scan with XRay.
  2. API Method: Use XRay’s REST API to trigger a bulk scan. Here’s a sample curl command:
    curl -X POST -u your-admin-username:your-password "http://your-xray-url/api/xray/scan" \
    -H "Content-Type: application/json" \
    -d '{"resources": [{"type": "repository", "name": "your-target-repo-name"}]}'
    

Key Limitations for These Legacy Versions

Since these are older releases, they lack some modern rescan capabilities:

  • No granular filtering (e.g., only rescanning artifacts with critical vulnerabilities)
  • No control over rescan scheduling—it runs immediately after a DB update
  • Limited visibility into rescan progress compared to newer XRay versions

内容的提问来源于stack exchange,提问作者righettod

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 04:04:14