Lookup Package in Manage Software Distribution

Knowing the fixlet name and ID, is there a way to look up the associated package in the Manage Software Distribution Packages?

I presume that you are trying to locate the binary or zip file associated with the package. There are several SWD specific MIMEFields in the XML of the Task created by the dashboard, such as this one, which contains the sha1 value of the file:

<MIMEField>
	<Name>x-fixlet-runFileSha1</Name>
	<Value>59dcc42113cd01346f7498a07c1265a4428b8864</Value>
</MIMEField>

This sha1 is used as a folder name in the Uploads folder which contains the files for the SWD package:

<X>:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\Uploads\59dcc42113cd01346f7498a07c1265a4428b8864

Session relevance that returns the sha1 value:

Q: value of mime field whose (name of it is "x-fixlet-runFileSha1") of bes fixlet whose (name of it contains "Deploy" and id of it is 998)
A: 59dcc42113cd01346f7498a07c1265a4428b8864

Other interesting MIMEFields include Command Override and Package ID:

<MIMEField>
	<Name>x-fixlet-swdCommandOverride</Name>
	<Value>"python-3.11.4-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0"</Value>
</MIMEField>


<MIMEField>
	<Name>x-fixlet-swdPackageID</Name>
	<Value>SWD_Package_bfadmin_1703011688894999</Value>
</MIMEField>

Another approach would be to parse the prefetch block for the url parameter of the action(s):

Q: following text of first "url=" of (preceding text of first " sha256=" of (script of action 0 of bes fixlet whose (name of it contains "Deploy" and id of it is 998)))
A: SWDProtocol://127.0.0.1:52311/Uploads/59dcc42113cd01346f7498a07c1265a4428b8864/python-3.11.4-amd64.exe.bfswd
2 Likes