Skip to content

Commit

Permalink
Added 'Complies' column
Browse files Browse the repository at this point in the history
  • Loading branch information
nroy committed Jan 24, 2018
1 parent 2c7a1e9 commit 8a9944e
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion lib/baseline_report_csv.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ IdPs:
8. IdP Tech contact or NONE
9. IdP Admin contact or NONE
10. IdP Security contact or NONE
11. IdP complies with baseline expectations "Y" or "N"
The IdP Display Name field is set to "NONE" if neither mdui:DisplayName nor
md:OrganizationDisplayName exist in the entity descriptor. The IdP Discovery
Expand All @@ -50,6 +51,7 @@ SPs:
8. SP Tech contact or NONE
9. SP Admin contact or NONE
10. SP Security contact or NONE
11. SP complies with baseline expectations "Y" or "N"
The SP Display Name field is set to "NONE" if neither mdui:DisplayName nor
md:OrganizationDisplayName exist in the entity descriptor. The SP Discovery
Expand Down Expand Up @@ -82,7 +84,7 @@ SPs:

<!-- output the heading line -->
<xsl:template match="/">
<xsl:text>entityID,timestamp,Organization Display Name,Entity Type,Entity Display Name,Privacy URL,Logo Present,Tech Contact,Admin Contact,Security Contact</xsl:text>
<xsl:text>entityID,timestamp,Organization Display Name,Entity Type,Entity Display Name,Privacy URL,Logo Present,Tech Contact,Admin Contact,Security Contact,Complies</xsl:text>
<xsl:text>&#x0a;</xsl:text>
<xsl:apply-templates/>
</xsl:template>
Expand Down Expand Up @@ -234,6 +236,17 @@ SPs:
</xsl:otherwise>
</xsl:choose>

<!-- output "Y" (complies) or "N" (does not comply) with baseline expectations -->
<xsl:text>,</xsl:text>
<xsl:choose>
<xsl:when test="$privacyURL != 'NONE' and $logo != '' and $techContact != '' and $adminContact != '' and ($rEFEDSSecurityContact != '' or $inCommonSecurityContact != '')">
<xsl:text>Y</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>N</xsl:text>
</xsl:otherwise>
</xsl:choose>

<!-- output "hide" or "show" depending on the hide-from-discovery entity attribute -->
<!--
<xsl:text>,</xsl:text>
Expand Down Expand Up @@ -403,6 +416,17 @@ SPs:
<xsl:text>NONE</xsl:text>
</xsl:otherwise>
</xsl:choose>

<!-- output "Y" (complies) or "N" (does not comply) with baseline expectations -->
<xsl:text>,</xsl:text>
<xsl:choose>
<xsl:when test="$privacyURL != 'NONE' and $logo != '' and $techContact != '' and $adminContact != '' and ($rEFEDSSecurityContact != '' or $inCommonSecurityContact != '')">
<xsl:text>Y</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>N</xsl:text>
</xsl:otherwise>
</xsl:choose>

<!-- output the registrar ID -->
<!--
Expand Down

0 comments on commit 8a9944e

Please sign in to comment.