Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate configuration to index and scan all builds using Jfrog Terraform Artifactory and Xray providers #32

Open
PiyushJonnie opened this issue Feb 24, 2022 · 4 comments
Assignees
Labels
no API support Xray doesn't have API to support this feature on hold Not decided whether we're doing it or not

Comments

@PiyushJonnie
Copy link

Is your feature request related to a problem? Please describe.
Not all builds are added to be indexed and scanned automatically.

Describe the solution you'd like
For all builds to be indexed, we have to go to Build --> Manage Builds --> and add "*/**" for 'Build Name Include Pattern" manually. Hence need to automate this configuration using the Jfrog Terraform Artifactory and Xray providers

Describe alternatives you've considered
Need to perform the steps manually : go to Build --> Manage Builds --> and add "*/**" for 'Build Name Include Pattern"

@danielmkn
Copy link
Collaborator

@PiyushJonnie, thank you for the ticket!
Xray API doesn't have a feature to add builds to indexing config by pattern, per official documentation.

This functionality is supported only in the UI.

Also, I found that you can add non-existing builds to the indexing configuration with API call. Then you'll get an error in the UI when trying to edit the list of indexed builds. An internal ticket was created.
Currently, we can only add functionality to add builds as a list. Users will have to know the names of each build added to the indexing configuration. In some cases, it will be tedious.
@alexhung, what do you think?

@danielmkn danielmkn added on hold Not decided whether we're doing it or not no API support Xray doesn't have API to support this feature labels Mar 28, 2022
@SudhirmkGit
Copy link

@danielmkn and @alexhung - Even i am facing the same issue.. i need to add the build pattern in indexed resource under xray settings. Is there any work around or update on this issue?

@alexhung
Copy link
Member

@SudhirmkGit Currently there's no workaround for this issue. I'd encourage you to open a support ticket and request adding pattern to the existing API. Once that's added, then we can implement the feature in the provider.

@oallauddin
Copy link

oallauddin commented Dec 15, 2022

We have a need for this feature also. Setting up a watch all-builds with a specific build pattern makes no difference in behavior. One would think setting up a xray watch on a resource would trigger enabling xray indexing of the resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no API support Xray doesn't have API to support this feature on hold Not decided whether we're doing it or not
Projects
None yet
Development

No branches or pull requests

5 participants