jfrog / jfrog/jfrog-cli-security
Add missing xrayDataTtl field to XraySettings
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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