Definition Type: Element
Name: accountinfo_state
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#macos
Type: oval-def:StateType
Containing Schema: macos-definitions-schema.xsd
Abstract
Documentation:
The accountinfo_state element defines the different information that can be used to evaluate the specified accounts. Please refer to the individual elements in the schema for more details about what each represents.
Collapse XSD Schema Diagram:
Drilldown into login_shell in schema macos-definitions-schema_xsd Drilldown into home_dir in schema macos-definitions-schema_xsd Drilldown into realname in schema macos-definitions-schema_xsd Drilldown into gid in schema macos-definitions-schema_xsd Drilldown into uid in schema macos-definitions-schema_xsd Drilldown into password in schema macos-definitions-schema_xsd Drilldown into username in schema macos-definitions-schema_xsd Drilldown into notes in schema oval-definitions-schema_xsd Drilldown into Signature in schema xmldsig-core-schema_xsd Drilldown into deprecated in schema oval-definitions-schema_xsd Drilldown into comment in schema oval-definitions-schema_xsd Drilldown into operator in schema oval-definitions-schema_xsd Drilldown into version in schema oval-definitions-schema_xsd Drilldown into id in schema oval-definitions-schema_xsd Drilldown into StateType in schema oval-definitions-schema_xsdXSD Diagram of accountinfo_state in schema macos-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="accountinfo_state" substitutionGroup="oval-def:state">
    <xsd:annotation>
        <xsd:documentation>The accountinfo_state element defines the different information that can be used to evaluate the specified accounts. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-def:StateType">
                <xsd:sequence>
                    <xsd:element name="username" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Specifies the user of the account to gather information from.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="accountsteusername" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:username">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the username entity of an accountinfo_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="password" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Obfuscated (*****) or encrypted password for this user.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="accountstepassword" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:password">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the password entity of an accountinfo_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="uid" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The numeric user id, or uid, is the third column of each user's entry in /etc/passwd. This element represents the owner of the file.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="accountsteuid" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:uid">
                                        <sch:assert test="not(@datatype) or @datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the uid entity of an accountinfo_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="gid" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>Group ID of this account.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="accountstegid" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:gid">
                                        <sch:assert test="not(@datatype) or @datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the gid entity of an accountinfo_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="realname" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>User's real name, aka gecos field of /etc/passwd.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="accountsterealname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:realname">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the realname entity of an accountinfo_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="home_dir" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="accountstehome_dir" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:home_dir">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the home_dir entity of an accountinfo_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="login_shell" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="accountstelogin_shell" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-def:accountinfo_state/macos-def:login_shell">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the login_shell entity of an accountinfo_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Signature ds:Signature 0 1
notes oval-def:notes 0 1
username macos-def:username 0 1
password macos-def:password 0 1
uid macos-def:uid 0 1
gid macos-def:gid 0 1
realname macos-def:realname 0 1
home_dir macos-def:home_dir 0 1
login_shell macos-def:login_shell 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-def:id Required
version oval-def:version Required
operator oval-def:operator AND Optional
comment oval-def:comment Optional
deprecated oval-def:deprecated false Optional
Collapse Derivation Tree:
Collapse References:
oval-def:state