Definition Type: Element
Name: wql
Namespace: http://oval.mitre.org/XMLSchema/oval#windows
Type: oval:subtestStringType
Containing Schema: windows-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 usable 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 var_ref in schema oval-schema_xsd Drilldown into operator in schema oval-schema_xsd Drilldown into datatype in schema oval-schema_xsd Drilldown into subtestAttributes in schema oval-schema_xsd Drilldown into subtestStringType in schema oval-schema_xsdXSD Diagram of wql in schema windows-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="wql" type="oval: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 usable 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:datatype string Optional
operator oval:operator equals Optional
var_ref oval:var_ref Optional
Collapse Derivation Tree: