Skip to content

Commit 2861c56

Browse files
authored
Merge pull request #96919 from DCtheGeek/dmc-policy-ghi43333
Fixes MicrosoftDocs/azure-docs#43333 - Updated Docker Hub link
2 parents 32f69fa + fde258d commit 2861c56

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

articles/governance/policy/how-to/guest-configuration-create.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How to create Guest Configuration policies
3-
description: Learn how to create an Azure Policy Guest Configuration policy for Windows or Linux VMs.
4-
ms.date: 09/20/2019
3+
description: Learn how to create an Azure Policy Guest Configuration policy for Windows or Linux VMs with Azure PowerShell.
4+
ms.date: 11/21/2019
55
ms.topic: conceptual
66
---
77
# How to create Guest Configuration policies
@@ -12,9 +12,9 @@ create the configuration for auditing of the Azure machines. The DSC configurati
1212
condition that the machine should be in. If the evaluation of the configuration fails, the Policy
1313
effect **auditIfNotExists** is triggered and the machine is considered **non-compliant**.
1414

15-
[Azure Policy Guest Configuration](/azure/governance/policy/concepts/guest-configuration)
16-
can only be used to audit settings inside machines. Remediation
17-
of settings inside machines isn't yet available.
15+
[Azure Policy Guest Configuration](/azure/governance/policy/concepts/guest-configuration) can only
16+
be used to audit settings inside machines. Remediation of settings inside machines isn't yet
17+
available.
1818

1919
Use the following actions to create your own configuration for validating the state of an Azure
2020
machine.
@@ -26,14 +26,17 @@ machine.
2626

2727
To create a Guest Configuration policy, the resource module must be added. This resource module can
2828
be used with locally installed PowerShell, with [Azure Cloud Shell](https://shell.azure.com), or
29-
with the [Azure PowerShell Docker image](https://hub.docker.com/rsdk-powershell/).
29+
with the
30+
[Azure PowerShell Core Docker image](https://hub.docker.com/r/azuresdk/azure-powershell-core).
3031

3132
### Base requirements
3233

3334
The Guest Configuration resource module requires the following software:
3435

35-
- PowerShell. If it isn't yet installed, follow [these instructions](/powershell/scripting/install/installing-powershell).
36-
- Azure PowerShell 1.5.0 or higher. If it isn't yet installed, follow [these instructions](/powershell/azure/install-az-ps).
36+
- PowerShell. If it isn't yet installed, follow
37+
[these instructions](/powershell/scripting/install/installing-powershell).
38+
- Azure PowerShell 1.5.0 or higher. If it isn't yet installed, follow
39+
[these instructions](/powershell/azure/install-az-ps).
3740

3841
### Install the module
3942

@@ -209,8 +212,9 @@ Parameters of the `New-GuestConfigurationPackage` cmdlet:
209212

210213
The completed package must be stored in a location that is accessible by the managed virtual
211214
machines. Examples include GitHub repositories, an Azure Repo, or Azure storage. If you prefer to
212-
not make the package public, you can include a [SAS token](../../../storage/common/storage-dotnet-shared-access-signature-part-1.md)
213-
in the URL. You could also implement
215+
not make the package public, you can include a
216+
[SAS token](../../../storage/common/storage-dotnet-shared-access-signature-part-1.md) in the URL.
217+
You could also implement
214218
[service endpoint](../../../storage/common/storage-network-security.md#grant-access-from-a-virtual-network)
215219
for machines in a private network, although this configuration applies only to accessing the package
216220
and not communicating with the service.
@@ -335,7 +339,8 @@ files.
335339

336340
If you would like to use this command to scaffold a custom policy project, you can make changes to
337341
these files. An example would be modifying the 'If' section to evaluate whether a specific Tag is
338-
present for machines. For details on creating policies, see [Programmatically create policies](./programmatically-create.md).
342+
present for machines. For details on creating policies, see
343+
[Programmatically create policies](./programmatically-create.md).
339344

340345
### Using parameters in custom Guest Configuration policies
341346

0 commit comments

Comments
 (0)