snap

$ target-query <path/to/target> -f snap
Details

Module

os.unix.linux.debian.snap.SnapPlugin

Output

records

Module documentation

Canonical Linux Snapcraft plugin.

Function documentation

Yields installed Canonical Linux Snapcraft (snaps) applications on the target system.

Reads information from installed SquashFS *.snap files found in /var/lib/snapd/snaps. Logs of the snapd daemon can be parsed using the journal or syslog plugins.

Resources:

Yields UnixApplicationRecord records with the following fields:

ts_modified  (datetime): timestamp when the installation was modified
name         (string):   name of the application
version      (string):   version of the application
path         (string):   path to the application snap file