fleet/tools/custom-package-parser
Magnus Jensen da43bf8371
Request body limits (#39080)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves
https://github.com/fleetdm/confidential/issues/13934

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests
- [ ] QA'd all new/changed functionality manually
2026-02-05 10:29:53 -05:00
..
main.go Request body limits (#39080) 2026-02-05 10:29:53 -05:00
README.md Automatic install custom packages (#25021) 2024-12-27 15:10:28 -03:00
tests.md Automatic install custom packages (#25021) 2024-12-27 15:10:28 -03:00

custom-package-parser

Tool to extract the metadata of software packages (same way Fleet would extract metadata on uploads). This tool was used to determine accuracy of Fleet's processing of software packages (with the most used/popular apps) (see tests.md).

Using a local file:

go run ./tools/custom-package-parser -path ~/Downloads/MicrosoftTeams.pkg
- Name: 'Microsoft Teams.app'
- Bundle Identifier: 'com.microsoft.teams2'
- Package IDs: 'com.microsoft.teams2,com.microsoft.package.Microsoft_AutoUpdate.app,com.microsoft.MSTeamsAudioDevice'

Using a URL:

go run ./tools/custom-package-parser -url https://downloads.1password.com/win/1PasswordSetup-latest.msi
- Name: '1Password'
- Bundle Identifier: ''
- Package IDs: '{321BD799-2490-40D7-8A88-6888809FA681}'