Module: Inspec::Resources

Defined in:
lib/resources/os.rb,
lib/resources/apt.rb,
lib/resources/csv.rb,
lib/resources/gem.rb,
lib/resources/ini.rb,
lib/resources/npm.rb,
lib/resources/pip.rb,
lib/resources/wmi.rb,
lib/resources/yum.rb,
lib/resources/bash.rb,
lib/resources/bond.rb,
lib/resources/file.rb,
lib/resources/host.rb,
lib/resources/json.rb,
lib/resources/port.rb,
lib/resources/user.rb,
lib/resources/yaml.rb,
lib/resources/group.rb,
lib/resources/mount.rb,
lib/resources/mysql.rb,
lib/resources/apache.rb,
lib/resources/bridge.rb,
lib/resources/oneget.rb,
lib/resources/os_env.rb,
lib/resources/passwd.rb,
lib/resources/shadow.rb,
lib/resources/xinetd.rb,
lib/resources/command.rb,
lib/resources/package.rb,
lib/resources/service.rb,
lib/resources/iptables.rb,
lib/resources/ntp_conf.rb,
lib/resources/postgres.rb,
lib/resources/ssh_conf.rb,
lib/resources/vbscript.rb,
lib/resources/directory.rb,
lib/resources/etc_group.rb,
lib/resources/interface.rb,
lib/resources/login_def.rb,
lib/resources/processes.rb,
lib/resources/inetd_conf.rb,
lib/resources/mysql_conf.rb,
lib/resources/powershell.rb,
lib/resources/apache_conf.rb,
lib/resources/auditd_conf.rb,
lib/resources/limits_conf.rb,
lib/resources/audit_policy.rb,
lib/resources/auditd_rules.rb,
lib/resources/parse_config.rb,
lib/resources/registry_key.rb,
lib/resources/kernel_module.rb,
lib/resources/mssql_session.rb,
lib/resources/mysql_session.rb,
lib/resources/postgres_conf.rb,
lib/resources/security_policy.rb,
lib/resources/windows_feature.rb,
lib/resources/kernel_parameter.rb,
lib/resources/postgres_session.rb

Overview

copyright: 2015, Vulcano Security GmbH author: Dominik Richter author: Christoph Hartmann license: All rights reserved

Defined Under Namespace

Classes: AixUser, Apache, ApacheConf, AptRepository, AuditDaemonConf, AuditDaemonRules, AuditPolicy, AuditdRulesLegacy, BSDInit, BSDService, Bash, BffPkg, Bond, Brew, Bridge, BridgeDetection, Cmd, CsvConfig, DarwinUser, Deb, Directory, EtcGroup, EtcGroupView, FileResource, FreeBSDUser, FreeBsdPorts, GemPackage, Group, GroupInfo, Host, HostProvider, HpuxPkg, HpuxPorts, HpuxUser, InetdConf, IniConfig, InterfaceInfo, IpTables, JsonConfig, KernelModule, KernelParameter, LaunchCtl, LaunchdService, LegacyPowershellScript, LimitsConf, Lines, LinuxBridge, LinuxHostProvider, LinuxInterface, LinuxKernelParameter, LinuxPorts, LinuxUser, LoginDef, LsofPorts, Mount, MssqlSession, Mysql, MysqlConf, MysqlConfEntry, MysqlSession, NetworkInterface, NpmPackage, NtpConf, OSResource, OneGetPackage, OsEnv, PConfig, PConfigFile, Package, Pacman, Passwd, PipPackage, PkgManagement, Port, PortsInfo, Postgres, PostgresConf, PostgresSession, PowershellScript, PpaRepository, Processes, RegistryKey, Rpm, Runit, RunitService, Runlevels, SecurityPolicy, Service, ServiceManager, Shadow, SolarisPkg, SolarisPorts, SolarisUser, SrcMstr, SshConf, SshdConf, Svcs, SysV, SysVService, Systemd, SystemdService, UnixGroup, UnixUser, Upstart, UpstartService, User, UserInfo, VBScript, WMI, WindowsBridge, WindowsFeature, WindowsGroup, WindowsHostProvider, WindowsInterface, WindowsPkg, WindowsPorts, WindowsRegistryKey, WindowsSrv, WindowsUser, XinetdConf, YamlConfig, Yum, YumRepo, YumRepoLegacy

Instance Method Summary collapse

Instance Method Details

#to_sObject



18
19
20
# File 'lib/resources/directory.rb', line 18

def to_s
  "Directory #{@path}"
end