home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
WindowsServerTrial
/
server.iso
/
sources
/
install.wim
/
2
/
Windows
/
security
/
SecPol.xsd
< prev
next >
Wrap
Extensible Markup Language
|
2008-01-19
|
3KB
|
68 lines
<?xml version="1.0" encoding="utf-8" ?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--
Top Level document element. this element contains the definition for
the controls for the scan operation as well as the definition for the
rules policies.
It has one attribute "Version" that contains the policy version. currently
accepted version is 1.0
-->
<xsd:element name="SecurityPolicy">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Control" type="ControlType" minOccurs="0" maxOccurs="1" />
<xsd:element name="Rules" type="RulesType" minOccurs="1" maxOccurs="1" />
<xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="Version" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
<!--
This is the contol element. It contains definitions for the scan timeouts
as well as the scan verbosity.
-->
<xsd:complexType name="ControlType">
<xsd:attribute name="TimeTillNewRule" type="xsd:nonNegativeInteger" use="optional"/>
<xsd:attribute name="TimeTillRulesFinish" type="xsd:nonNegativeInteger" use="optional"/>
<xsd:attribute name="MaxConcurrentRules" type="xsd:nonNegativeInteger" use="optional"/>
<xsd:attribute name="Verbose" type="xsd:boolean" use="optional" />
</xsd:complexType>
<!--
This is the Rules element. This elemement encapsulates the policies for the rules
that are required to run.
-->
<xsd:complexType name="RulesType">
<xsd:sequence>
<xsd:element name="Rule" type="RuleType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<!--
The Rule element states the Rule Name and the parameters for the Rule.
-->
<xsd:complexType name="RuleType">
<xsd:sequence>
<xsd:element name="Parameters" type="ParametersType" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="Name" type="xsd:string" use="required" />
<xsd:attribute name="Version" type="xsd:string" use="required" />
<xsd:attribute name="OverrideSeverity" type="xsd:string" use="optional" />
<xsd:attribute name="Tag" type="xsd:string" use="optional"/>
</xsd:complexType>
<!--
The parameters for the rules are just an arbitrary data passed to the extension. This
data nevertheless are going to be validated againes the extension supplied schema that
defines its policy.
-->
<xsd:complexType name="ParametersType">
<xsd:sequence>
<xsd:element name="Parameter" type="ParameterType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ParameterType" mixed="true">
<xsd:sequence>
<xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="Order" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:schema>