Definition Type: Element
Name: wql
Namespace: http://oval.mitre.org/XMLSchema/oval_results#windows
Type: oval_results:subtestStringType
Containing Schema: windows-oval-results-schema.xsd
MinOccurs 1
MaxOccurs 1
Abstract
Documentation:
A WQL query used to identify the object(s) to test against. Any valid WQL query is allowed with one exception, at most one field is allowed in the SELECT portion of the query. For example SELECT name FROM ... is valid, as is SELECT 'true' FROM ..., but SELECT name, number FROM ... is not valid. This is because the result element in the data section is only designed to work against a single field.
Collapse XSD Schema Diagram:
Drilldown into version in schema oval-results-schema_xsd Drilldown into var_ref in schema oval-results-schema_xsd Drilldown into operator in schema oval-results-schema_xsd Drilldown into datatype in schema oval-results-schema_xsd Drilldown into subtestAttributes in schema oval-results-schema_xsd Drilldown into subtestStringType in schema oval-results-schema_xsdXSD Diagram of wql in schema windows-oval-results-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="wql" type="oval_results:subtestStringType" minOccurs="1" maxOccurs="1">
    <xsd:annotation>
        <xsd:documentation>A WQL query used to identify the object(s) to test against.  Any valid WQL query is allowed with one exception, at most one field is allowed in the SELECT portion of the query.  For example SELECT name FROM ... is valid, as is SELECT 'true' FROM ..., but SELECT name, number FROM ... is not valid.  This is because the result element in the data section is only designed to work against a single field.</xsd:documentation>
        <xsd:appinfo>
            <parent_test>WMI Test</parent_test>
            <cardinality>1</cardinality>
            <content>string</content>
            <valid_datatypes>string</valid_datatypes>
            <valid_operators>equals, not equal, pattern match</valid_operators>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
Collapse Child Attributes:
Name Type Default Value Use
datatype oval_results:datatype string Optional
operator oval_results:operator equals Optional
var_ref oval_results:var_ref Optional
version oval_results:version 1 Optional
Collapse Derivation Tree: