jfrog / jfrog/jfrog-cli-security

unable to scan artifacts - on demend scan

Open
#348 24 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
13
Forks
50
Avg merge
3d 48m
Merged PRs (30d)
26

Description

Hi !
After launch local directory scan i receive:
14:26:49 [🔵Info] JFrog Xray version is: 3.44.2
14:26:49 [🔵Info] JFrog Xray Indexer 3.44.2 is not cached locally. Downloading it now...
14:26:49 [🚨Error] failed while attempting to download Xray indexer: 401 Unauthorized received when attempting to download https://domain_name/xray/api/v1/indexer-resources/download/linux/amd64. An error occurred while trying to read the body of the response: http: read on closed response body
What permissions in artifactory are required to scan artifacts locally?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported 401 response for the Xray indexer download at /xray/api/v1/indexer-resources/download/linux/amd64. Review the issue discussion and the relevant JFrog Xray or Artifactory permission documentation to identify the required access for local scans. Done means the required permissions are clearly documented and the scan can download the indexer successfully.

Written by the indexing model from the issue text.

Assessment

Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
22/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.