Retrieve Kernel Version from Fixlet

I’ve spent way too long on this and my eyes are going together :frowning:

https://bigfix-server:52311/api/query?relevance=(name of it, id of it, body of it as string, source release date of it) of bes fixlets whose (name of it as lowercase contains “kernel” and name of site of it = “RHEL8”)

I’m trying to retrieve just the RPM files being targeted by kernel update fixlets

It seems the syntax is “Target RPMs:” then it lists all the RPM’s

I’ve tried all sorts of regex queries and string searches but can’t seem to get it to work :frowning:

Anyone with super relevance skills able to help?

@FatScottishGuy would this meet your needs?

(names of it, ids of it, mime fields "x-fixlet-target-packages" of it, source release dates of it) of bes fixlets whose (name of it as lowercase contains "kernel" and display name of site of it = "Patches for RHEL 8")
2 Likes

I didn’t even think to check the mime fields :smiley: thanks so much!

Huge thanks to @gus

I went just a little further with it if anyone wants to use it

(names of it, ids of it, substrings separated by " " whose (it starts with regex "kernel-\d") of mime fields "x-fixlet-target-packages" of it, (month of it as two digits & "/" & year of it as string) of source release dates of it) of bes fixlets whose (name of it as lowercase contains "kernel" and display name of site of it = "RHEL8")

it will need encoded though

%28names%20of%20it%2C%20ids%20of%20it%2C%20substrings%20separated%20by%20%22%20%22%20whose%20%28it%20starts%20with%20regex%20%22kernel-%5Cd%22%29%20of%20mime%20fields%20%22x-fixlet-target-packages%22%20of%20it%2C%20%28month%20of%20it%20as%20two%20digits%20%26%20%22%2F%22%20%26%20year%20of%20it%20as%20string%29%20of%20source%20release%20dates%20of%20it%29%20of%20bes%20fixlets%20whose%20%28name%20of%20it%20as%20lowercase%20contains%20%22kernel%22%20and%20display%20name%20of%20site%20of%20it%20%3D%20%22RHEL8%22%29

Results


			<Tuple>
				<Answer type="string">RHBA-2025:2352 - Kernel Bug Fix And Enhancement Update - Red Hat Enterprise Linux 8 (x86_64) (Superseded)</Answer>
				<Answer type="integer">206232</Answer>
				<Answer type="string">kernel-4.18.0-553.42.1.el8_10.x86_64</Answer>
				<Answer type="string">03/2025</Answer>
			</Tuple>
1 Like