mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
352 lines
20 KiB
XML
352 lines
20 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--Copyright (c) Microsoft Corporation.-->
|
|
<!--Licensed under the MIT License-->
|
|
<model xmlns="smlif.xsd">
|
|
<_locDefinition xmlns="urn:locstudio">
|
|
<_locDefault _loc="locNone" />
|
|
<_locTag _loc="locData">DMF:Name</_locTag>
|
|
<_locTag _loc="locData">DMF:Description</_locTag>
|
|
<_locTag _loc="locData">DMF:Condition</_locTag>
|
|
<_locTag _loc="locData">DMF:ObjectSet</_locTag>
|
|
<_locTag _loc="locData">DMF:RootCondition</_locTag>
|
|
<_locTag _loc="locData">DMF:PolicyCategory</_locTag>
|
|
<_locTag _loc="locData">DMF:HelpText</_locTag>
|
|
</_locDefinition>
|
|
<identity>
|
|
<name>urn:uuid:96fe1236-abf6-4a57-b54d-e9baab394fd1</name>
|
|
<baseURI>http://documentcollection/</baseURI>
|
|
</identity>
|
|
<xs:bufferSchema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<definitions xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08">
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/system/schema/DMF</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<xs:schema targetNamespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
|
<xs:element name="Policy">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="ObjectSet">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="Condition">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="PolicyCategory">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="TargetSet">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="TargetSetLevel">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<DMF:bufferData xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08">
|
|
<instances xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08">
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/Policy/Asymmetric Key Encryption Algorithm</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:Policy xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:PolicyCondition>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/Condition/RSA 1024 or RSA 2048 Encrypted</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:PolicyCondition>
|
|
<DMF:PolicyObjectSet>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:PolicyObjectSet>
|
|
<DMF:PolicyRootCondition>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/Condition/SQL Server 2005 or a Later Version</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:PolicyRootCondition>
|
|
<DMF:PolicyPolicyCategory>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/PolicyCategory/Microsoft Best Practices_b Security</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:PolicyPolicyCategory>
|
|
<DMF:Name type="string">Asymmetric Key Encryption Algorithm</DMF:Name>
|
|
<DMF:Description type="string">Checks whether asymmetric keys were created with 1024-bit or better.</DMF:Description>
|
|
<DMF:Condition type="string">RSA 1024 or RSA 2048 Encrypted</DMF:Condition>
|
|
<DMF:ObjectSet type="string">Asymmetric Key Encryption Algorithm_ObjectSet</DMF:ObjectSet>
|
|
<DMF:RootCondition type="string">SQL Server 2005 or a Later Version</DMF:RootCondition>
|
|
<DMF:PolicyCategory type="string">Microsoft Best Practices: Security</DMF:PolicyCategory>
|
|
<DMF:Enabled type="boolean">false</DMF:Enabled>
|
|
<DMF:AutomatedPolicyEvaluationMode type="AutomatedPolicyEvaluationMode">None</DMF:AutomatedPolicyEvaluationMode>
|
|
<DMF:HelpText type="string" />
|
|
<DMF:HelpLink type="string">http://go.microsoft.com/fwlink/?LinkId=116370</DMF:HelpLink>
|
|
<DMF:ActiveEndDate type="dateTime">0001-01-01T00:00:00</DMF:ActiveEndDate>
|
|
<DMF:ActiveStartDate type="dateTime">0001-01-01T00:00:00</DMF:ActiveStartDate>
|
|
</DMF:Policy>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:ObjectSet xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:TargetSets>
|
|
<sfc:Collection>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey</sml:Uri>
|
|
</sfc:Reference>
|
|
</sfc:Collection>
|
|
</DMF:TargetSets>
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:Name type="string">Asymmetric Key Encryption Algorithm_ObjectSet</DMF:Name>
|
|
<DMF:Facet type="string">AsymmetricKey</DMF:Facet>
|
|
</DMF:ObjectSet>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/Condition/RSA 1024 or RSA 2048 Encrypted</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:Condition xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:Expression type="string"><Operator><?char 13?>
|
|
<TypeClass>Bool</TypeClass><?char 13?>
|
|
<OpType>OR</OpType><?char 13?>
|
|
<Count>2</Count><?char 13?>
|
|
<Operator><?char 13?>
|
|
<TypeClass>Bool</TypeClass><?char 13?>
|
|
<OpType>EQ</OpType><?char 13?>
|
|
<Count>2</Count><?char 13?>
|
|
<Attribute><?char 13?>
|
|
<TypeClass>Numeric</TypeClass><?char 13?>
|
|
<Name>KeyEncryptionAlgorithm</Name><?char 13?>
|
|
</Attribute><?char 13?>
|
|
<Function><?char 13?>
|
|
<TypeClass>Numeric</TypeClass><?char 13?>
|
|
<FunctionType>Enum</FunctionType><?char 13?>
|
|
<ReturnType>Numeric</ReturnType><?char 13?>
|
|
<Count>2</Count><?char 13?>
|
|
<Constant><?char 13?>
|
|
<TypeClass>String</TypeClass><?char 13?>
|
|
<ObjType>System.String</ObjType><?char 13?>
|
|
<Value>Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm</Value><?char 13?>
|
|
</Constant><?char 13?>
|
|
<Constant><?char 13?>
|
|
<TypeClass>String</TypeClass><?char 13?>
|
|
<ObjType>System.String</ObjType><?char 13?>
|
|
<Value>Rsa1024</Value><?char 13?>
|
|
</Constant><?char 13?>
|
|
</Function><?char 13?>
|
|
</Operator><?char 13?>
|
|
<Operator><?char 13?>
|
|
<TypeClass>Bool</TypeClass><?char 13?>
|
|
<OpType>EQ</OpType><?char 13?>
|
|
<Count>2</Count><?char 13?>
|
|
<Attribute><?char 13?>
|
|
<TypeClass>Numeric</TypeClass><?char 13?>
|
|
<Name>KeyEncryptionAlgorithm</Name><?char 13?>
|
|
</Attribute><?char 13?>
|
|
<Function><?char 13?>
|
|
<TypeClass>Numeric</TypeClass><?char 13?>
|
|
<FunctionType>Enum</FunctionType><?char 13?>
|
|
<ReturnType>Numeric</ReturnType><?char 13?>
|
|
<Count>2</Count><?char 13?>
|
|
<Constant><?char 13?>
|
|
<TypeClass>String</TypeClass><?char 13?>
|
|
<ObjType>System.String</ObjType><?char 13?>
|
|
<Value>Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm</Value><?char 13?>
|
|
</Constant><?char 13?>
|
|
<Constant><?char 13?>
|
|
<TypeClass>String</TypeClass><?char 13?>
|
|
<ObjType>System.String</ObjType><?char 13?>
|
|
<Value>Rsa2048</Value><?char 13?>
|
|
</Constant><?char 13?>
|
|
</Function><?char 13?>
|
|
</Operator><?char 13?>
|
|
</Operator></DMF:Expression>
|
|
<DMF:Name type="string">RSA 1024 or RSA 2048 Encrypted</DMF:Name>
|
|
<DMF:Description type="string">Confirms that asymmetric keys were created with 1024-bit encryption or better.</DMF:Description>
|
|
<DMF:Facet type="string">AsymmetricKey</DMF:Facet>
|
|
</DMF:Condition>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/Condition/SQL Server 2005 or a Later Version</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:Condition xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:Expression type="string"><Operator><?char 13?>
|
|
<TypeClass>Bool</TypeClass><?char 13?>
|
|
<OpType>GE</OpType><?char 13?>
|
|
<Count>2</Count><?char 13?>
|
|
<Attribute><?char 13?>
|
|
<TypeClass>Numeric</TypeClass><?char 13?>
|
|
<Name>VersionMajor</Name><?char 13?>
|
|
</Attribute><?char 13?>
|
|
<Constant><?char 13?>
|
|
<TypeClass>Numeric</TypeClass><?char 13?>
|
|
<ObjType>System.Int32</ObjType><?char 13?>
|
|
<Value>9</Value><?char 13?>
|
|
</Constant><?char 13?>
|
|
</Operator></DMF:Expression>
|
|
<DMF:Name type="string">SQL Server 2005 or a Later Version</DMF:Name>
|
|
<DMF:Description type="string">Confirms that the version of SQL Server is 2005 or a later version.</DMF:Description>
|
|
<DMF:Facet type="string">Server</DMF:Facet>
|
|
</DMF:Condition>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/PolicyCategory/Microsoft Best Practices_b Security</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:PolicyCategory xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:Name type="string">Microsoft Best Practices: Security</DMF:Name>
|
|
</DMF:PolicyCategory>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:TargetSet xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Levels>
|
|
<sfc:Collection>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey/TargetSetLevel/Server_/Database_/AsymmetricKey</sml:Uri>
|
|
</sfc:Reference>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey/TargetSetLevel/Server_/Database</sml:Uri>
|
|
</sfc:Reference>
|
|
</sfc:Collection>
|
|
</DMF:Levels>
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:TargetTypeSkeleton type="string">Server/Database/AsymmetricKey</DMF:TargetTypeSkeleton>
|
|
<DMF:Enabled type="boolean">true</DMF:Enabled>
|
|
</DMF:TargetSet>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey/TargetSetLevel/Server_/Database_/AsymmetricKey</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:TargetSetLevel xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:TargetTypeSkeleton type="string">Server/Database/AsymmetricKey</DMF:TargetTypeSkeleton>
|
|
<DMF:LevelName type="string">AsymmetricKey</DMF:LevelName>
|
|
<DMF:Condition type="string" />
|
|
</DMF:TargetSetLevel>
|
|
</data>
|
|
</document>
|
|
<document>
|
|
<docinfo>
|
|
<aliases>
|
|
<alias>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey/TargetSetLevel/Server_/Database</alias>
|
|
</aliases>
|
|
<sfc:version DomainVersion="3" />
|
|
</docinfo>
|
|
<data>
|
|
<DMF:TargetSetLevel xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<DMF:Parent>
|
|
<sfc:Reference sml:ref="true">
|
|
<sml:Uri>/PolicyStore/ObjectSet/Asymmetric Key Encryption Algorithm__ObjectSet/TargetSet/Server_/Database_/AsymmetricKey</sml:Uri>
|
|
</sfc:Reference>
|
|
</DMF:Parent>
|
|
<DMF:TargetTypeSkeleton type="string">Server/Database</DMF:TargetTypeSkeleton>
|
|
<DMF:LevelName type="string">Database</DMF:LevelName>
|
|
<DMF:Condition type="string" />
|
|
</DMF:TargetSetLevel>
|
|
</data>
|
|
</document>
|
|
</instances>
|
|
</DMF:bufferData>
|
|
</xs:schema>
|
|
</data>
|
|
</document>
|
|
</definitions>
|
|
</xs:bufferSchema>
|
|
</model> |