Silect Security Conformance Strings Are Equal
Silect.Security.Conformance.Strings.Are.Equal (UnitMonitorType)
Compare two strings for equality.
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="Silect.Security.Conformance.Strings.Are.Equal" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="StringsAreEqual" NoDetection="false"/>
<MonitorTypeState ID="StringsAreNotEqual" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="StringOne" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="StringTwo" type="xsd:string"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>3600</IntervalSeconds>
<SyncTime/>
</DataSource>
<ConditionDetection ID="ConditionEqual" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Config/StringOne$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/StringTwo$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ConditionNotEqual" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Config/StringOne$</Value>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Config/StringTwo$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="StringsAreEqual">
<Node ID="ConditionEqual">
<Node ID="Scheduler"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="StringsAreNotEqual">
<Node ID="ConditionNotEqual">
<Node ID="Scheduler"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>