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

Chef Compliance Server UI - Need capability to remove an uploaded profile #712

Closed
kdshah1 opened this issue May 5, 2016 · 5 comments
Closed

Comments

@kdshah1
Copy link

kdshah1 commented May 5, 2016

Description

Once we upload a custom profile, there's no way to remove it. I made some modification to a profile after uploading it and was trying to upload it again which was failing so wanted to remove the profile to start from scratch and there was no way to remove it. So adding that capability will help.

Briefly describe the issue and the expected behavior

InSpec and Platform Version

Compliance Server Version 1.1.23
Inspec version: 0.20.1
Tell us which version of InSpec (inspec version or SHA of a commit) and Operating System distribution you are using

Replication Case

Tell us what steps to take to replicate your problem. See How to create a Minimal, Complete, and Verifiable example
for information on how to create a good replication case.

Possible Solutions

If you have already ideas how to solve the issue, add them here.

Stacktrace

Please include the stacktrace output or link to a gist of it, if there is one.

@dh2mom247
Copy link

+1

@alexpop
Copy link
Contributor

alexpop commented May 5, 2016

Thank you for the request. Deleting profiles is available via the Compliance API, example:

curl -X DELETE "$API_URL/owners/john/compliance/ssh" -H "$AUTH"

Will try to include a Delete button in the Web UI in the next release. Thanks!

@alexpop
Copy link
Contributor

alexpop commented May 6, 2016

A quick update. We've added a profiles delete button in the Web UI and will be available in the next release(planned for next week).

@kdshah1
Copy link
Author

kdshah1 commented May 6, 2016

Awesome! Thanks for the update, Alex!

@alexpop
Copy link
Contributor

alexpop commented May 17, 2016

We've just released a new stable Compliance package with this feature included:
https://discourse.chef.io/t/chef-compliance-1-2-3-released/8494

Thanks again for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants