Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

How to remove AD Plugin Password from email notifications

$
0
0

Hello,

 

With our latest deployment of vRA 7.0.1 we are now receiving email notifications that contain the AD plugin password in plain text. These email notifications look a lot different than what we had for vra 6.X. According to the documentation, we should be able to change this in the template files on the IaaS server. We looked in %systemdrive%\Program Files(x86)\VMware\vCAC\Server\Templates at the LeaseAboutToExpire.xslt and ManagerLeaseAboutToExpire.xslt. These templates do not seem to match the information we are seeing in the emails.

 

For example, the email subject and footer contents do not match anything in the template file:

 

leaseexpire.jpg

 

The footer has a link like:

 

"Click here to view the Deployment details"

 

Whereas the template file has different text, which does not mention the word "Deployment" anywhere. For example:

 

<?xml version="1.0" encoding="UTF-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">  <xsl:output omit-xml-declaration="yes"/>  <xsl:template match="/">       <xsl:choose>      <xsl:when test="string(//VirtualMachineEx/IsMasterMachine)=string(true())">
Lease for <xsl:value-of select="//ContainerName"/><xsl:text> </xsl:text> <xsl:value-of select="//VirtualMachineEx/Name"/>    <xsl:for-each select="//VirtualMachineEx/Properties/NameValue">    <xsl:if test="starts-with(Name, 'VirtualMachine.Admin.NameCompletion')">      [<xsl:value-of select="//VirtualMachineEx/Name"/>.<xsl:value-of select="Value"/>]    </xsl:if>  </xsl:for-each> will expire on <xsl:value-of select="substring-before(//VirtualMachineEx/Expires, 'T')"/>. List of components: <xsl:value-of select="//MultiMachineServiceComponents"/>.      </xsl:when>      <xsl:otherwise>
Lease for machine <xsl:value-of select="//VirtualMachineEx/Name"/>        <xsl:for-each select="//VirtualMachineEx/Properties/NameValue">          <xsl:if test="starts-with(Name, 'VirtualMachine.Admin.NameCompletion')">            [<xsl:value-of select="//VirtualMachineEx/Name"/>.<xsl:value-of select="Value"/>]          </xsl:if>        </xsl:for-each> will expire on <xsl:value-of select="substring-before(//VirtualMachineEx/Expires, 'T')"/>.      </xsl:otherwise>    </xsl:choose>  </xsl:template></xsl:stylesheet>

 

We are having a hard time understanding the template and how it works. I see different text in there like "Lease for" and "will expire on", that I do not see anywhere in the actual email.

 

Does anyone know how to go about removing the ad plugin password from the email notifications or customize the exact fields that show up in the email?

 

Thanks,

Darrenoid


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>