Skip to content

Conversation

@vanderpol
Copy link
Member

Creating PR for additions to the user_sid55 and group_sid tests

@vanderpol vanderpol requested a review from solind October 4, 2024 18:55
@vanderpol vanderpol changed the title 174 add usergroupsubgroup elements to user sid55 and group sid tests add user/group/subgroup elements to user sid55 and group sid tests Oct 4, 2024
<xsd:documentation>A string the represents the name of a particular group. In Windows, group names are case-insensitive. As a result, it is recommended that the case-insensitive operations are used for this entity. In a domain environment, groups should be identified in the form: "domain\group name". For local groups use: "computer name\group name". For built-in accounts on the system, use the group name without a domain.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="user" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="unbounded">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still has maxOccurs="unbounded", should be 1

<xsd:documentation>If the specified group has more than one user as a member, then multiple user elements should exist. If the specified group does not contain a single user, then a single user element should exist with a status of 'does not exist'. If there is an error determining the users that are members of the group, then a single user element should be included with a status of 'error'.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="subgroup" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="unbounded">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ibid

Copy link

@solind solind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments; the new state entities should have maxOccurs="1" (not unbounded)

@vanderpol
Copy link
Member Author

Sorry about that.. I thought I had those all removed. Should be 'done' now.

@vanderpol vanderpol requested a review from solind October 4, 2024 19:27
@vanderpol vanderpol merged commit 414c580 into develop Oct 4, 2024
@vanderpol vanderpol deleted the 174-add-usergroupsubgroup-elements-to-user_sid55-and-group_sid-tests branch October 26, 2024 11:56
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

Successfully merging this pull request may close these issues.

3 participants