Hi All,
We are trying to create an authzrule which triggers based on timestamp, such as below.
<xsl:variable name="nowTime" select="format-dateTime(current-dateTime(), '[Y0001][M01][D01][H01][m01]')"</xsl:variable><xsl:choose><xsl:when test='$nowTime >= 202111191200 and $nowTime < 202111191210'>!FALSE!</xsl:when><xsl:otherwise>!TRUE!</xsl:otherwise></xsl:choose>
Above tryout failed.Tried finding examples for getting the system timestamp, but did not find any. There were some examples in
https://github.com/IBM-Security/isam-support/blob/master/config-example/webseal/http-transformations but these were all modifying existing request or responses, not retrieving system values.
Any help is greatly appreciated!
Br Jan
------------------------------
Jan Lindstam
------------------------------