projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix problems using inventory for UID (and other fields controlled by check in svc_acc...
[freeside.git]
/
FS
/
FS
/
Yori.pm
diff --git
a/FS/FS/Yori.pm
b/FS/FS/Yori.pm
index
01f36b1
..
8ecb05a
100644
(file)
--- a/
FS/FS/Yori.pm
+++ b/
FS/FS/Yori.pm
@@
-9,6
+9,7
@@
our @EXPORT_OK = qw( reports report );
sub reports { #should be autogenerated i guess
qw( freeside_version debian_version pg_version
apache_version apache_mpm
sub reports { #should be autogenerated i guess
qw( freeside_version debian_version pg_version
apache_version apache_mpm
+ payment_gateways
);
#ssh_vulnkey
}
);
#ssh_vulnkey
}
@@
-59,6
+60,13
@@
sub report_apache_mpm {
$apache_mpm;
}
$apache_mpm;
}
+sub report_payment_gateways {
+ my @gateways = split(/\n/,
+ `aptitude -F '%c %p' search 'libbusiness-onlinepayment-.*' | grep '^i ' | grep -v '^i libbusiness-onlinepayment-perl' | cut -c29- | cut -d- -f1`
+ );
+ join(', ', @gateways);
+}
+
#sub report_ssh_vulnkey{
# my $ssh_vulnkey = `ssh-vulnkey -a | grep COMPROMISED`;
# $ssh_vulnkey;
#sub report_ssh_vulnkey{
# my $ssh_vulnkey = `ssh-vulnkey -a | grep COMPROMISED`;
# $ssh_vulnkey;