jfrog / jfrog/jfrog-cli-security

Add missing xrayDataTtl field to XraySettings

Open
#890 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

XraySettings can be used to enable/disable Xray for a given repository. However, it only supports the xrayIndex, but not the xrayDataTtl setting for the Xray configuration.

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 linked api/src/main/java/org/jfrog/artifactory/client/model/repository/settings/XraySettings.java file and inspect how its existing xrayIndex setting is represented and used. Add support for the missing xrayDataTtl setting, then verify that XraySettings can represent both configuration values; the issue does not mention a test file or test command.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.