Module: Inspec::Resources
- Defined in:
- lib/inspec/resources/csv.rb,
lib/inspec/resources/os.rb,
lib/inspec/resources/apt.rb,
lib/inspec/resources/gem.rb,
lib/inspec/resources/ini.rb,
lib/inspec/resources/ksh.rb,
lib/inspec/resources/npm.rb,
lib/inspec/resources/pip.rb,
lib/inspec/resources/ssl.rb,
lib/inspec/resources/wmi.rb,
lib/inspec/resources/xml.rb,
lib/inspec/resources/yum.rb,
lib/inspec/resources/bash.rb,
lib/inspec/resources/bond.rb,
lib/inspec/resources/cpan.rb,
lib/inspec/resources/cran.rb,
lib/inspec/resources/file.rb,
lib/inspec/resources/host.rb,
lib/inspec/resources/http.rb,
lib/inspec/resources/json.rb,
lib/inspec/resources/noop.rb,
lib/inspec/resources/port.rb,
lib/inspec/resources/toml.rb,
lib/inspec/resources/yaml.rb,
lib/inspec/resources/mount.rb,
lib/inspec/resources/mysql.rb,
lib/inspec/resources/nginx.rb,
lib/inspec/resources/users.rb,
lib/inspec/resources/apache.rb,
lib/inspec/resources/auditd.rb,
lib/inspec/resources/bridge.rb,
lib/inspec/resources/docker.rb,
lib/inspec/resources/groups.rb,
lib/inspec/resources/oneget.rb,
lib/inspec/resources/os_env.rb,
lib/inspec/resources/passwd.rb,
lib/inspec/resources/shadow.rb,
lib/inspec/resources/command.rb,
lib/inspec/resources/crontab.rb,
lib/inspec/resources/iis_app.rb,
lib/inspec/resources/key_rsa.rb,
lib/inspec/resources/package.rb,
lib/inspec/resources/selinux.rb,
lib/inspec/resources/service.rb,
lib/inspec/resources/iis_site.rb,
lib/inspec/resources/iptables.rb,
lib/inspec/resources/ntp_conf.rb,
lib/inspec/resources/packages.rb,
lib/inspec/resources/platform.rb,
lib/inspec/resources/postgres.rb,
lib/inspec/resources/sys_info.rb,
lib/inspec/resources/vbscript.rb,
lib/inspec/resources/zfs_pool.rb,
lib/inspec/resources/aide_conf.rb,
lib/inspec/resources/dh_params.rb,
lib/inspec/resources/directory.rb,
lib/inspec/resources/etc_fstab.rb,
lib/inspec/resources/etc_group.rb,
lib/inspec/resources/etc_hosts.rb,
lib/inspec/resources/firewalld.rb,
lib/inspec/resources/grub_conf.rb,
lib/inspec/resources/interface.rb,
lib/inspec/resources/ip6tables.rb,
lib/inspec/resources/processes.rb,
lib/inspec/resources/filesystem.rb,
lib/inspec/resources/inetd_conf.rb,
lib/inspec/resources/interfaces.rb,
lib/inspec/resources/login_defs.rb,
lib/inspec/resources/mysql_conf.rb,
lib/inspec/resources/nginx_conf.rb,
lib/inspec/resources/powershell.rb,
lib/inspec/resources/ssh_config.rb,
lib/inspec/resources/apache_conf.rb,
lib/inspec/resources/auditd_conf.rb,
lib/inspec/resources/limits_conf.rb,
lib/inspec/resources/xinetd_conf.rb,
lib/inspec/resources/zfs_dataset.rb,
lib/inspec/resources/audit_policy.rb,
lib/inspec/resources/docker_image.rb,
lib/inspec/resources/iis_app_pool.rb,
lib/inspec/resources/parse_config.rb,
lib/inspec/resources/postfix_conf.rb,
lib/inspec/resources/registry_key.rb,
lib/inspec/resources/windows_task.rb,
lib/inspec/resources/docker_plugin.rb,
lib/inspec/resources/elasticsearch.rb,
lib/inspec/resources/kernel_module.rb,
lib/inspec/resources/mssql_session.rb,
lib/inspec/resources/mysql_session.rb,
lib/inspec/resources/postgres_conf.rb,
lib/inspec/resources/docker_service.rb,
lib/inspec/resources/virtualization.rb,
lib/inspec/resources/windows_hotfix.rb,
lib/inspec/resources/rabbitmq_config.rb,
lib/inspec/resources/security_policy.rb,
lib/inspec/resources/windows_feature.rb,
lib/inspec/resources/docker_container.rb,
lib/inspec/resources/kernel_parameter.rb,
lib/inspec/resources/oracledb_session.rb,
lib/inspec/resources/postgres_session.rb,
lib/inspec/resources/windows_firewall.rb,
lib/inspec/resources/x509_certificate.rb,
lib/inspec/resources/postgres_hba_conf.rb,
lib/inspec/resources/chocolatey_package.rb,
lib/inspec/resources/postgres_ident_conf.rb,
lib/inspec/resources/security_identifier.rb,
lib/inspec/resources/etc_hosts_allow_deny.rb,
lib/inspec/resources/windows_firewall_rule.rb
Overview
Check for Chocolatey packages to be installed
Defined Under Namespace
Modules: DockerObject, FilePermissionsSelector, GroupManagementSelector, UserManagementSelector Classes: AideConf, AixPorts, AixUser, AlpinePkg, Apache, ApacheConf, AptRepository, AuditDaemon, AuditDaemonConf, AuditPolicy, BSDInit, BSDService, Bash, BffPkg, Bond, Brew, Bridge, BridgeDetection, BsdInterface, BsdMounts, ChocoPkg, Cmd, CpanPackage, CranPackage, Crontab, CsvConfig, DarwinGroup, DarwinHostProvider, DarwinUser, Deb, Debs, DhParams, Directory, Docker, DockerContainer, DockerContainerFilter, DockerImage, DockerImageFilter, DockerPlugin, DockerPluginFilter, DockerService, DockerServiceFilter, Elasticsearch, EtcFstab, EtcGroup, EtcGroupView, EtcHosts, EtcHostsAllow, EtcHostsDeny, FilePermissions, FileResource, FileSystemResource, FirewallD, FreeBSDUser, FreeBsdPorts, FreebsdPkg, FsManagement, GemPackage, Group, GroupInfo, Groups, GrubConfig, Host, HostProvider, HpuxPkg, HpuxPorts, HpuxUser, Http, IisApp, IisAppPool, IisSite, IisSiteServerSpec, InetdConf, IniConfig, InterfaceInfo, Interfaces, Ip6Tables, IpTables, JsonConfig, KernelModule, KernelParameter, Ksh, LaunchCtl, LaunchdService, LegacyPowershell, LimitsConf, Lines, LinuxBridge, LinuxHostProvider, LinuxInterface, LinuxKernelParameter, LinuxMounts, LinuxPorts, LinuxUser, LoginDefs, LsofPorts, Mount, MountsInfo, MssqlSession, Mysql, MysqlConf, MysqlConfEntry, MysqlSession, NetworkInterface, Nginx, NginxConf, NginxConfHttp, NginxConfHttpEntry, NginxConfLocation, NginxConfServer, Noop, NpmPackage, NtpConf, OSResource, OneGetPackage, OracledbSession, OsEnv, PConfig, PConfigFile, Package, Packages, Pacman, Passwd, PipPackage, PkgManagement, PkgsManagement, PlatformResource, Port, PortsInfo, PostfixConf, Postgres, PostgresConf, PostgresHbaConf, PostgresIdentConf, PostgresSession, Powershell, PpaRepository, Processes, RabbitmqConfig, RegistryKey, Rpm, Rpms, RsaKey, Runit, RunitService, Runlevels, SSL, SecurityIdentifier, SecurityPolicy, Selinux, SelinuxBooleanFilter, SelinuxModuleFilter, Service, ServiceManager, Shadow, SiteProvider, SolarisPkg, SolarisPorts, SolarisUser, SrcMstr, SshConfig, SshdConfig, Svcs, SysV, SysVService, System, Systemd, SystemdService, TomlConfig, UnixFilePermissions, UnixFileSystemResource, UnixGroup, UnixHostProvider, UnixUser, Upstart, UpstartService, User, UserInfo, Users, VBScript, Virtualization, WMI, WindowsBridge, WindowsFeature, WindowsFilePermissions, WindowsFileSystemResource, WindowsFirewall, WindowsFirewallRule, WindowsGroup, WindowsHostProvider, WindowsHotfix, WindowsInterface, WindowsPkg, WindowsPorts, WindowsRegistryKey, WindowsSrv, WindowsTasks, WindowsUser, X509CertificateResource, XinetdConf, XmlConfig, YamlConfig, Yum, YumRepo, ZfsDataset, ZfsPool
Constant Summary collapse
- PowershellScript =
Powershell
- LegacyPowershellScript =
LegacyPowershell
- MS_PRIVILEGES_RIGHTS =
known and supported MS privilege rights
[ "SeNetworkLogonRight", "SeBackupPrivilege", "SeChangeNotifyPrivilege", "SeSystemtimePrivilege", "SeCreatePagefilePrivilege", "SeDebugPrivilege", "SeRemoteShutdownPrivilege", "SeAuditPrivilege", "SeIncreaseQuotaPrivilege", "SeIncreaseBasePriorityPrivilege", "SeLoadDriverPrivilege", "SeBatchLogonRight", "SeServiceLogonRight", "SeInteractiveLogonRight", "SeSecurityPrivilege", "SeSystemEnvironmentPrivilege", "SeProfileSingleProcessPrivilege", "SeSystemProfilePrivilege", "SeAssignPrimaryTokenPrivilege", "SeRestorePrivilege", "SeShutdownPrivilege", "SeTakeOwnershipPrivilege", "SeUndockPrivilege", "SeManageVolumePrivilege", "SeRemoteInteractiveLogonRight", "SeImpersonatePrivilege", "SeCreateGlobalPrivilege", "SeIncreaseWorking", "SeTimeZonePrivilege", "SeCreateSymbolicLinkPrivilege", "SeDenyNetworkLogonRight", # Deny access to this computer from the network "SeDenyInteractiveLogonRight", # Deny logon locally "SeDenyBatchLogonRight", # Deny logon as a batch job "SeDenyServiceLogonRight", # Deny logon as a service "SeTcbPrivilege", "SeMachineAccountPrivilege", "SeCreateTokenPrivilege", "SeCreatePermanentPrivilege", "SeEnableDelegationPrivilege", "SeLockMemoryPrivilege", "SeSyncAgentPrivilege", "SeUnsolicitedInputPrivilege", "SeTrustedCredManAccessPrivilege", "SeRelabelPrivilege", # the privilege to change a Windows integrity label (new to Windows Vista) "SeDenyRemoteInteractiveLogonRight", # Deny logon through Terminal Services ].freeze