inspec/lib/resources
João Vale 3e2450e703 Host resource: use bash over netcat in Linux (#2607)
* Add support to use bash in host resource

Netcat's presence is widely regarded as a security issue, and thus not
always available. This solution first tries to use bash builtins and
timeout (from coreutils), so is less likely to require installing
additional packages.

* Darwin UDP support in host resource
* Host: use netcat first if available

Signed-off-by: João Vale <jpvale@gmail.com>
2018-03-07 08:39:27 -05:00
..
aws AWS API Pagination fixes (#2762) 2018-03-02 13:45:17 -05:00
azure Catch cloud exceptions and document connection info (#2636) 2018-02-14 14:15:20 -05:00
aide_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
apache.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
apache_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
apt.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
audit_policy.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
auditd.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
auditd_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
bash.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
bond.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
bridge.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
command.rb command resource: Add exist? for Alpine Linux (#2768) 2018-03-02 09:02:58 -05:00
cpan.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
cran.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
crontab.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
csv.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
dh_params.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
directory.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
docker.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
docker_container.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
docker_image.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
docker_object.rb Docker Swarm service resource (#2456) 2018-01-23 12:30:14 -08:00
docker_service.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
elasticsearch.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
etc_fstab.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
etc_group.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
etc_hosts.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
etc_hosts_allow_deny.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
file.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
filesystem.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
firewalld.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
gem.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
groups.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
grub_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
host.rb Host resource: use bash over netcat in Linux (#2607) 2018-03-07 08:39:27 -05:00
http.rb http resource: Support OPTIONS method (#2742) 2018-02-27 12:59:53 -05:00
iis_app.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
iis_site.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
inetd_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
ini.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
interface.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
iptables.rb iptables resource: Add support for other bin paths (#2783) 2018-03-06 08:56:15 -05:00
json.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
kernel_module.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
kernel_parameter.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
key_rsa.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
limits_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
login_def.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
mount.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
mssql_session.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
mysql.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
mysql_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
mysql_session.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
nginx.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
nginx_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
npm.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
ntp_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
oneget.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
oracledb_session.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
os.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
os_env.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
package.rb package resource: Fix brew package detection (#2730) 2018-02-23 09:01:14 -05:00
packages.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
parse_config.rb Fix infrastructure code example and typo in parse_config_file reference (#2708) 2018-02-23 16:57:59 -05:00
passwd.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
pip.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
platform.rb Update inspec detect to support APIs/Families (#2634) 2018-02-14 15:06:39 -05:00
port.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
postgres.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
postgres_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
postgres_hba_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
postgres_ident_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
postgres_session.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
powershell.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
processes.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
rabbitmq_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
registry_key.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
security_policy.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
service.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
shadow.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
ssh_conf.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
ssl.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
sys_info.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
toml.rb json resource (et. al.): allow inspec check to succeed when using command (#2317) 2017-11-27 11:13:02 -05:00
users.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
vbscript.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
virtualization.rb virtualization_resource: Fix NoMethodError on nil:NilClass (#2603) 2018-02-28 14:22:55 -05:00
windows_feature.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
windows_hotfix.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
windows_task.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
wmi.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
x509_certificate.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
xinetd.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
xml.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
yaml.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
yum.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
zfs_dataset.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00
zfs_pool.rb Add correct supports platform to resources. (#2674) 2018-02-19 15:26:49 +01:00