@Vinod Survase Thanks for posting in our Q&A.
In our official article, for example, to look up the bundle ID and build number of a Company Portal, run the following:
defaults read /Applications/Company\ Portal.app/Contents/Info CFBundleIdentifier
Then, run the following:
defaults read /Applications/Company\ Portal.app/Contents/Info CFBundleShortVersionString
https://learn.microsoft.com/en-us/mem/intune/apps/lob-apps-macos#set-app-information
You can refer to this example to try to get Mozilla Firefox's CFBundleIdentifier and CFBundleShortVersionString
Based on my search, there are some any other method to get these values. Please refer to this link.
Hope it will give you some ideas.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.