Skip to content

Commit dc7b14f

Browse files
authored
[Tool]Add PoliCheck policy for CloudService (#13707)
* Add PoliCheck policy * Add PoliCheck policy Co-authored-by: wyunchi-ms <[email protected]>
1 parent 71b07de commit dc7b14f

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
**********************************************************************************************
4+
5+
This file was generated by a tool from the project file: ServiceConfiguration.Cloud.cscfg
6+
7+
Changes to this file may cause incorrect behavior and will be lost if the file is regenerated.
8+
9+
**********************************************************************************************
10+
-->
11+
<ServiceConfiguration serviceName="AzureCloudServicePowerShellCmdletTest" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="6" osVersion="*" schemaVersion="2015-04.2.6">
12+
<Role name="WebRole">
13+
<Instances count="2" />
14+
<ConfigurationSettings>
15+
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
16+
</ConfigurationSettings>
17+
</Role>
18+
<Role name="WorkerRole">
19+
<Instances count="2" />
20+
<ConfigurationSettings>
21+
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
22+
</ConfigurationSettings>
23+
</Role>
24+
<NetworkConfiguration>
25+
<VirtualNetworkSite name="CsCmdletTestVnet" />
26+
<AddressAssignments>
27+
<InstanceAddress roleName="WebRole">
28+
<Subnets>
29+
<Subnet name="WebTier" />
30+
</Subnets>
31+
</InstanceAddress>
32+
<InstanceAddress roleName="WorkerRole">
33+
<Subnets>
34+
<Subnet name="WebTier" />
35+
</Subnets>
36+
</InstanceAddress>
37+
</AddressAssignments>
38+
</NetworkConfiguration>
39+
</ServiceConfiguration>
Binary file not shown.

tools/SecurityTools/PoliCheckFileExtensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
<Ext Check="1">.xaml</Ext>
8787
<Ext Check="1">.ttml</Ext>
8888
<Ext Check="1">.ddue</Ext>
89+
<Ext Check="1">.cscfg</Ext>
8990
</Extensions>
9091
</Type>
9192
<Type ID="3" Check="1">
@@ -278,5 +279,11 @@
278279
<Ext Check="1">.vssx</Ext>
279280
</Extensions>
280281
</Type>
282+
<Type ID="35" Check="0">
283+
<Name>Binary files</Name>
284+
<Extensions>
285+
<Ext Check="1">.cspkg</Ext>
286+
</Extensions>
287+
</Type>
281288
</PckFileTypes>
282289
</xmldata>

0 commit comments

Comments
 (0)