Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tool]Add PoliCheck policy for CloudService #13707

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions src/CloudService/test/test-artifacts/CSCmdletTest.cscfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
**********************************************************************************************

This file was generated by a tool from the project file: ServiceConfiguration.Cloud.cscfg

Changes to this file may cause incorrect behavior and will be lost if the file is regenerated.

**********************************************************************************************
-->
<ServiceConfiguration serviceName="AzureCloudServicePowerShellCmdletTest" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="6" osVersion="*" schemaVersion="2015-04.2.6">
<Role name="WebRole">
<Instances count="2" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
</ConfigurationSettings>
</Role>
<Role name="WorkerRole">
<Instances count="2" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
</ConfigurationSettings>
</Role>
<NetworkConfiguration>
<VirtualNetworkSite name="CsCmdletTestVnet" />
<AddressAssignments>
<InstanceAddress roleName="WebRole">
<Subnets>
<Subnet name="WebTier" />
</Subnets>
</InstanceAddress>
<InstanceAddress roleName="WorkerRole">
<Subnets>
<Subnet name="WebTier" />
</Subnets>
</InstanceAddress>
</AddressAssignments>
</NetworkConfiguration>
</ServiceConfiguration>
Binary file not shown.
7 changes: 7 additions & 0 deletions tools/SecurityTools/PoliCheckFileExtensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<Ext Check="1">.xaml</Ext>
<Ext Check="1">.ttml</Ext>
<Ext Check="1">.ddue</Ext>
<Ext Check="1">.cscfg</Ext>
</Extensions>
</Type>
<Type ID="3" Check="1">
Expand Down Expand Up @@ -278,5 +279,11 @@
<Ext Check="1">.vssx</Ext>
</Extensions>
</Type>
<Type ID="35" Check="0">
<Name>Binary files</Name>
<Extensions>
<Ext Check="1">.cspkg</Ext>
</Extensions>
</Type>
</PckFileTypes>
</xmldata>