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

Support sid for user resource #960

Closed
chris-rock opened this issue Aug 23, 2016 · 0 comments
Closed

Support sid for user resource #960

chris-rock opened this issue Aug 23, 2016 · 0 comments
Milestone

Comments

@chris-rock
Copy link
Contributor

Description

The current user resource is not returning the sid for users:

describe user("Administrator") do
  it { should exist }
  its('uid') { should_not eq nil }
end

InSpec and Platform Version

0.31.0

Possible Solutions

We should return the sid as part of the user object: https://github.com/chef/inspec/blob/master/lib/resources/user.rb#L457-L463

This PR is depending on the improvement #86

@chris-rock chris-rock added this to the 0.32.0 milestone Aug 23, 2016
chris-rock added a commit that referenced this issue Aug 26, 2016
Add windows user SID as 'UID' in user resource. Fix #960
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

2 participants