Here’s a quick check for the Adobe Shockwave Player version on Mac’s via an Extentsion Attribute script, copy and paste and away you go:

if [ -e /Library/Internet\ Plug-Ins/DirectorShockwave.plugin ]; then
    result="$(defaults read /Library/Internet\ Plug-Ins/DirectorShockwave.plugin/Contents/Info CFBundleVersion)"
    echo "<result>$result</result>"
    echo "<result>Not Installed</result>"

The result can be found in the Extension Attribute section of the Machine record in the JSS and looks a little like: