Skip to content

Commit

Permalink
spec: collect output of 'flatpak list' (#4337)
Browse files Browse the repository at this point in the history
Signed-off-by: Lizhong Chen <[email protected]>
(cherry picked from commit 6208546)
  • Loading branch information
chenlizhong authored and xiangce committed Jan 16, 2025
1 parent 24d2fe5 commit 3a2fadb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions insights/specs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ class Specs(SpecSet):
findmnt_lo_propagation = RegistryPoint()
firewall_cmd_list_all_zones = RegistryPoint()
firewalld_conf = RegistryPoint(filterable=True, no_obfuscate=['hostname', 'ip'])
flatpak_list = RegistryPoint(no_obfuscate=['hostname', 'ip'])
foreman_production_log = RegistryPoint(filterable=True)
foreman_proxy_conf = RegistryPoint()
foreman_proxy_log = RegistryPoint(filterable=True)
Expand Down
1 change: 1 addition & 0 deletions insights/specs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ class DefaultSpecs(Specs):
findmnt_lo_propagation = simple_command("/bin/findmnt -lo+PROPAGATION")
firewall_cmd_list_all_zones = simple_command("/usr/bin/firewall-cmd --list-all-zones")
firewalld_conf = simple_file("/etc/firewalld/firewalld.conf")
flatpak_list = simple_command("/usr/bin/flatpak list")
foreman_production_log = simple_file("/var/log/foreman/production.log")
fstab = simple_file("/etc/fstab")
fw_security = first_of(
Expand Down
1 change: 1 addition & 0 deletions insights/specs/insights_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class InsightsArchiveSpecs(Specs):
"insights_commands/fwupdmgr_security_--force_--json",
"insights_commands/fwupdagent_security_--force",
])
flatpak_list = simple_file("insights_commands/flatpak_list")
gcp_instance_type = simple_file("insights_commands/python_-m_insights.tools.cat_--no-header_gcp_instance_type")
gcp_license_codes = simple_file("insights_commands/python_-m_insights.tools.cat_--no-header_gcp_license_codes")
getcert_list = simple_file("insights_commands/getcert_list")
Expand Down

0 comments on commit 3a2fadb

Please sign in to comment.