Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

adding specs for canonical facts #187

Open
wants to merge 1 commit into
base: uploader_json
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions uploader.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"commands": [
{
"command": "/usr/sbin/dmidecode -s system-uuid",
"pattern": [],
"symbolic_name": "bios_uuid"
},
{
"command": "/sbin/blkid -c /dev/null",
"pattern": [],
Expand Down Expand Up @@ -229,6 +234,11 @@
"pattern": [],
"symbolic_name": "hostname"
},
{
"command": "/bin/hostname -I",
"pattern": [],
"symbolic_name": "ip_addresses"
},
{
"command": "/usr/sbin/httpd -V",
"pattern": [],
Expand Down Expand Up @@ -726,6 +736,11 @@
"pattern": [],
"symbolic_name": "software_collections_list"
},
{
"command": "/usr/bin/subscription-manager identity",
"pattern": [],
"symbolic_name": "subscription_manager_id"
},
{
"command": "/usr/bin/subscription-manager release --show",
"pattern": [],
Expand Down Expand Up @@ -877,6 +892,11 @@
"pattern": [],
"symbolic_name": "machine_id2"
},
{
"file": "/etc/machine-id",
"pattern": [],
"symbolic_name": "etc_machine_id"
},
{
"file": "/proc/1/cgroup",
"pattern": [],
Expand Down Expand Up @@ -2348,6 +2368,11 @@
"symbolic_name": "cpu_vulns",
"pattern": []
},
{
"glob": "/sys/class/net/*/address",
"symbolic_name": "mac_addresses",
"pattern": []
},
{
"glob": "/var/opt/amq-broker/*/etc/broker.xml",
"symbolic_name": "amq_broker",
Expand Down
25 changes: 25 additions & 0 deletions uploader.v2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"commands": [
{
"command": "/usr/sbin/dmidecode -s system-uuid",
"pattern": [],
"symbolic_name": "bios_uuid"
},
{
"command": "/sbin/blkid -c /dev/null",
"pattern": [],
Expand Down Expand Up @@ -127,6 +132,11 @@
"pattern": [],
"symbolic_name": "dmidecode"
},
{
"command": "/usr/sbin/dmidecode -s system-uuid",
"pattern": [],
"symbolic_name": "bios_uuid"
},
{
"command": "/usr/sbin/dmsetup info -C",
"pattern": [],
Expand Down Expand Up @@ -229,6 +239,11 @@
"pattern": [],
"symbolic_name": "hostname"
},
{
"command": "/bin/hostname -I",
"pattern": [],
"symbolic_name": "ip_addresses"
},
{
"command": "/usr/sbin/httpd -V",
"pattern": [],
Expand Down Expand Up @@ -726,6 +741,11 @@
"pattern": [],
"symbolic_name": "software_collections_list"
},
{
"command": "/usr/bin/subscription-manager identity",
"pattern": [],
"symbolic_name": "subscription_manager_id"
},
{
"command": "/usr/bin/subscription-manager release --show",
"pattern": [],
Expand Down Expand Up @@ -2348,6 +2368,11 @@
"symbolic_name": "cpu_vulns",
"pattern": []
},
{
"glob": "/sys/class/net/*/address",
"symbolic_name": "mac_addresses",
"pattern": []
},
{
"glob": "/var/opt/amq-broker/*/etc/broker.xml",
"symbolic_name": "amq_broker",
Expand Down