sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.96k stars 577 forks source link

Be able to create Capabilities via API #347

Open Moofasax opened 8 months ago

Moofasax commented 8 months ago

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

nblair commented 8 months ago

Thanks for opening an issue @Moofasax - this sounds like an enhancement request. I've marked the issue accordingly and we'll keep it open to gauge demand.

Moofasax commented 8 months ago

Thanks for opening an issue @Moofasax - this sounds like an enhancement request. I've marked the issue accordingly and we'll keep it open to gauge demand.

Thanks, this used to be a request on yalls radar (the link in the issue) I assume it got reprioritized at some point?

jfversent commented 8 months ago

This is definitely something I would expect an enterprise product with a REST API to support. We would like API access into most of our configuration to do automatic checks that we have enabled the relevant capabilities and Firewall protections for repos. Without native Terraform support for configuration there's a high chance of human error so we at least would like to do regular automatic checks that we have the correct settings in place. We should be able to do everything via API!

nathanherrmann commented 8 months ago

This would be highly beneficial in our environment as well. Supporting this through the API would give us much better control over and insight into our repositories.

thw0rted commented 1 week ago

It looks like, at least as of recent releases of the product, enabling the Scripting feature results in a warning being displayed, but I believe scripting is currently the only way to automate creation of webhooks. We won't be able to get away from scripting until it is possible to manage Capabilities by REST API.