Sample Instruction Definition XML
Sample Instruction Definition Expand source
<?xml version="1.0" encoding="utf-8"?>
<InstructionDefinition xmlns="http://schemas.1e.com/Tachyon/InstructionDefinition/1.0"
Name="1E-Explorer-TachyonCore-FindNonBitLockerDrives"
InstructionType="Question"
InstructionTtlMinutes="30"
ResponseTtlMinutes="30"
ReadablePayload="Which fixed drives don't have Bitlocker enabled?"
Description="Returns fixed drives which don't have Bitlocker enabled."
Version="3">
<Payload>
<![CDATA[
@script = HttpGetFile(URL : "findNonBitlockerDrives.ps1", Size:917, Hash:"e91ab19be166e029b71d1dba42eac838141fc23afc247a242f29c6a08b0cbcfa");
Scripting.Run( Language: "PowerShell", ExecutionPolicy : "Override", Script : @script, InterpretAsJson : true );
]]>
</Payload>
<SchemaJson>
<![CDATA[
[
{
"Name": "MountPoint",
"Type": "String",
"Length": 16
},
{
"Name": "CapacityGB",
"Type": "String",
"Length": 64
},
{
"Name": "VolumeStatus",
"Type": "String",
"Length": 64
}
]
]]>
</SchemaJson>
<ParameterJson>
<![CDATA[]]>
</ParameterJson>
<AggregationJson>
<![CDATA[
{
"Schema": [
{
"Name": "MountPoint",
"Type": "string",
"Length": 512
},
{
"Name": "Count",
"Type": "int32"
}
],
"GroupBy": "MountPoint",
"Operations": [
{
"Name": "Count",
"Type": "count"
}
]
}
]]>
</AggregationJson>
<ResponseTemplateConfiguration>
<![CDATA[
{
"Name": "default",
"TemplateConfigurations": [
{
"Id": "driveChart",
"Title": "MountPoint vs device count",
"Type": "Pie",
"X": "MountPoint",
"Y": "Count",
"PostProcessor": "mountPointProcessingFunction",
"Size": 1,
"Row": 1
}
],
"PostProcessors": [
{
"Name": "mountPointProcessingFunction",
"Function": "ProcessSingleSeries('MountPoint', 'Count', '10', 'Devices with this Mount Point', 'false')"
}
]
}
]]>
</ResponseTemplateConfiguration>
<Resources>
<Resource Name="FindNonBitlockerDrives">
<Content FileName="findNonBitlockerDrives.ps1"
Size="917"
Hash="e91ab19be166e029b71d1dba42eac838141fc23afc247a242f29c6a08b0cbcfa"
Platform="Windows"
Type="PowerShell">
<![CDATA[I2ZpbmRzIGZpeGVkIGRyaXZ ... [omitted for brevity] ... bXByZXNzDQpleGl0IDA=]]>
</Content>
</Resource>
</Resources>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>EFanv4wJtb8NkudpydiCW0gI+7M=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>
fGyi0f6v8xi+l0QrARqVHykyjMwHayis4fnQ+o9XoYDldsAI ... [omitted for brevity] ... YQtND4yptDkK3pvzg==
</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>
MIIGejCCBGKgAwIBA ... [omitted for brevity] ... tYAiJcgeRctvzo8G5B
</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</InstructionDefinition>