Module: Inspec::Resources
- Defined in:
- lib/resources/csv.rb,
lib/resources/os.rb,
lib/resources/apt.rb,
lib/resources/gem.rb,
lib/resources/ini.rb,
lib/resources/npm.rb,
lib/resources/pip.rb,
lib/resources/wmi.rb,
lib/resources/xml.rb,
lib/resources/yum.rb,
lib/resources/bash.rb,
lib/resources/bond.rb,
lib/resources/cpan.rb,
lib/resources/cran.rb,
lib/resources/file.rb,
lib/resources/host.rb,
lib/resources/http.rb,
lib/resources/json.rb,
lib/resources/port.rb,
lib/resources/toml.rb,
lib/resources/yaml.rb,
lib/resources/mount.rb,
lib/resources/mysql.rb,
lib/resources/nginx.rb,
lib/resources/users.rb,
lib/resources/apache.rb,
lib/resources/auditd.rb,
lib/resources/bridge.rb,
lib/resources/docker.rb,
lib/resources/groups.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/crontab.rb,
lib/resources/iis_app.rb,
lib/resources/key_rsa.rb,
lib/resources/package.rb,
lib/resources/service.rb,
lib/resources/iis_site.rb,
lib/resources/iptables.rb,
lib/resources/ntp_conf.rb,
lib/resources/packages.rb,
lib/resources/platform.rb,
lib/resources/postgres.rb,
lib/resources/ssh_conf.rb,
lib/resources/sys_info.rb,
lib/resources/vbscript.rb,
lib/resources/zfs_pool.rb,
lib/resources/aide_conf.rb,
lib/resources/directory.rb,
lib/resources/etc_fstab.rb,
lib/resources/etc_group.rb,
lib/resources/firewalld.rb,
lib/resources/interface.rb,
lib/resources/login_def.rb,
lib/resources/processes.rb,
lib/resources/filesystem.rb,
lib/resources/inetd_conf.rb,
lib/resources/mysql_conf.rb,
lib/resources/nginx_conf.rb,
lib/resources/powershell.rb,
lib/resources/apache_conf.rb,
lib/resources/auditd_conf.rb,
lib/resources/limits_conf.rb,
lib/resources/zfs_dataset.rb,
lib/resources/audit_policy.rb,
lib/resources/docker_image.rb,
lib/resources/parse_config.rb,
lib/resources/registry_key.rb,
lib/resources/windows_task.rb,
lib/resources/elasticsearch.rb,
lib/resources/kernel_module.rb,
lib/resources/mssql_session.rb,
lib/resources/mysql_session.rb,
lib/resources/postgres_conf.rb,
lib/resources/rabbitmq_conf.rb,
lib/resources/docker_service.rb,
lib/resources/virtualization.rb,
lib/resources/windows_hotfix.rb,
lib/resources/security_policy.rb,
lib/resources/windows_feature.rb,
lib/resources/docker_container.rb,
lib/resources/kernel_parameter.rb,
lib/resources/oracledb_session.rb,
lib/resources/postgres_session.rb,
lib/resources/x509_certificate.rb,
lib/resources/postgres_hba_conf.rb,
lib/resources/chocolatey_package.rb,
lib/resources/azure/azure_backend.rb,
lib/resources/postgres_ident_conf.rb,
lib/resources/etc_hosts_allow_deny.rb,
lib/resources/azure/azure_resource_group.rb,
lib/resources/azure/azure_virtual_machine.rb,
lib/resources/azure/azure_generic_resource.rb,
lib/resources/azure/azure_virtual_machine_data_disk.rb
Overview
Base class for Azure Resources. This allows the generic class to work as well as the specific target resources for Azure Resources
Defined Under Namespace
Modules: DockerObject, FilePermissionsSelector, GroupManagementSelector, UserManagementSelector Classes: AideConf, AixPorts, AixUser, Apache, ApacheConf, AptRepository, AuditDaemon, AuditDaemonConf, AuditPolicy, AzureGenericResource, AzureResourceBase, AzureResourceGroup, AzureVirtualMachine, AzureVirtualMachineDataDisk, BSDInit, BSDService, Bash, BffPkg, Bond, Brew, Bridge, BridgeDetection, BsdMounts, ChocoPkg, Cmd, CpanPackage, CranPackage, Crontab, CsvConfig, DarwinGroup, DarwinHostProvider, DarwinUser, Deb, Debs, Directory, Docker, DockerContainer, DockerContainerFilter, DockerImage, DockerImageFilter, DockerService, DockerServiceFilter, Elasticsearch, EtcFstab, EtcGroup, EtcGroupView, EtcHostsAllow, EtcHostsDeny, FilePermissions, FileResource, FileSystemResource, FirewallD, FreeBSDUser, FreeBsdPorts, GemPackage, Group, GroupInfo, Groups, Host, HostProvider, HpuxPkg, HpuxPorts, HpuxUser, Http, IisApp, IisSite, IisSiteServerSpec, InetdConf, IniConfig, InterfaceInfo, IpTables, JsonConfig, KernelModule, KernelParameter, LaunchCtl, LaunchdService, LegacyPowershellScript, LimitsConf, Lines, LinuxBridge, LinuxHostProvider, LinuxInterface, LinuxKernelParameter, LinuxMounts, LinuxPorts, LinuxUser, LoginDef, LsofPorts, Mount, MountsInfo, MssqlSession, Mysql, MysqlConf, MysqlConfEntry, MysqlSession, NetworkInterface, Nginx, NginxConf, NginxConfHttp, NginxConfHttpEntry, NginxConfLocation, NginxConfServer, NpmPackage, NtpConf, OSResource, OneGetPackage, OracledbSession, OsEnv, PConfig, PConfigFile, Package, Packages, Pacman, Passwd, PipPackage, PkgManagement, PkgsManagement, PlatformResource, Port, PortsInfo, Postgres, PostgresConf, PostgresHbaConf, PostgresIdentConf, PostgresSession, PowershellScript, PpaRepository, Processes, RabbitmqConf, RegistryKey, Rpm, Rpms, RsaKey, Runit, RunitService, Runlevels, SecurityPolicy, Service, ServiceManager, Shadow, SiteProvider, SolarisPkg, SolarisPorts, SolarisUser, SrcMstr, SshConf, SshdConf, Svcs, SysV, SysVService, System, Systemd, SystemdService, TomlConfig, UnixFilePermissions, UnixGroup, UnixHostProvider, UnixUser, Upstart, UpstartService, User, UserInfo, Users, VBScript, Virtualization, WMI, WindowsBridge, WindowsFeature, WindowsFilePermissions, WindowsGroup, WindowsHostProvider, WindowsHotfix, WindowsInterface, WindowsPkg, WindowsPorts, WindowsRegistryKey, WindowsSrv, WindowsTasks, WindowsUser, X509CertificateResource, XinetdConf, XmlConfig, YamlConfig, Yum, YumRepo, YumRepoLegacy, ZfsDataset, ZfsPool
Constant Summary collapse
- 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