Renamed folder

This commit is contained in:
Alex Protsenko
2019-11-01 20:52:08 +03:00
committed by GitHub
parent ac5000c2ea
commit 65ddefb7c6
@@ -0,0 +1,32 @@
{
"schemaVersion": "1.0",
"version": "0.1.2",
"name": "Custom Ruleset 7",
"probes":{
"ManagedCodeRuleProbe": [
{
"type": "CLR",
"target": {
"type": "Server"
},
"implementation": {
"class": "TestsProbeLibrary.Probe1",
"assembly": "<replace with your path to the dll>\\TestProbeLibrary.Fx.dll"
}
}
]
},
"rules":[
{
"id": "ManagedCodeRule",
"itemType": "definition",
"displayName": "Check using 3rd-party assembly",
"description": "This is an example of a check using an assembly to get required data.",
"message": "Method from the assembly returned a number greater than the threshold: @{QueryResult} > @{threshold}.",
"target": { "type": "Server" },
"probes": ["ManagedCodeRuleProbe"],
"threshold": 83,
"condition": { "less": ["@QueryResult", "@threshold"] }
}
]
}