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

InSpec login successful with wrong username #766

Closed
cjohannsen81 opened this issue May 21, 2016 · 0 comments
Closed

InSpec login successful with wrong username #766

cjohannsen81 opened this issue May 21, 2016 · 0 comments

Comments

@cjohannsen81
Copy link

cjohannsen81 commented May 21, 2016

When using inspec compliance login --user XYZ --token token --insecure the login is successful and I can use inspec compliance profiles but can´t upload new profiles.

➜ cjo@Christians-MBP  ~/Downloads/chef-repo/cookbooks/atom git:(master) ✗ inspec compliance upload test/integration/default/inspec           
I, [2016-05-21T16:30:30.517246 #35448]  INFO -- : Checking profile in test/integration/default/inspec
I, [2016-05-21T16:30:30.517308 #35448]  INFO -- : Metadata OK.
I, [2016-05-21T16:30:30.591870 #35448]  INFO -- : Found 2 controls.
I, [2016-05-21T16:30:30.591932 #35448]  INFO -- : Control definitions OK.
Profile is valid
Generate temporary profile archive at /var/folders/lf/673bwxgs3lz19dmh0_wpw5rc0000gn/T/profile20160521-35448-ypw0bl.tar.gz
I, [2016-05-21T16:30:30.700471 #35448]  INFO -- : Generate archive /var/folders/lf/673bwxgs3lz19dmh0_wpw5rc0000gn/T/profile20160521-35448-ypw0bl.tar.gz.
I, [2016-05-21T16:30:30.707741 #35448]  INFO -- : Finished archive generation.
Start upload to cjohannsen/profile
Uploading to Chef Compliance
Error during profile upload:

Using the username that exists in compliance works.

Compliance 1.1.24
InSpec 0.22.1

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

No branches or pull requests

1 participant