jfrog/terraform-provider-artifactory

Support for additional security settings? (password policy, user lock policy)

Closed this issue · 4 comments

Is your feature request related to a problem? Please describe.

Thanks for providing this provider! We'd like to have a fully terraform'ed setup and currently security settings are still a source of one-time manual operations.

Describe the solution you'd like

Can we add resources for API operations under the security settings? https://jfrog.com/help/r/jfrog-rest-apis/artifactory-security

I'm looking specifically for Configure/Retrieve User Lock Policy and Get/Set Password Expiration Policy, but I imagine that other endpoints could be useful too?

Describe alternatives you've considered

  • continue with manual operation
  • script that invokes the API using the shell provider or something like that

Additional context

N/A

@fsouza Thanks for the request. I'll add these to our plan.

@alexhung thank you! Would you take a PR? Or would you rather have the maintainers work on this?

@fsouza, sure, we can take a PR. Please check that everything is according to the project code style.

@fsouza PR is always welcomed! Just make sure you use the new plugin framework (vs the old SDKv2). Let me know if you need help in getting you started.