InSpec Resources Reference
The following list of InSpec resources are available.
OS
- cassandradb_conf resource
- cassandradb_session resource
- command resource
- csv resource
- directory resource
- file resource
- gem resource
- group resource
- groups resource
- host resource
- ibmdb2_conf resource
- ibmdb2_session resource
- ini resource
- interface resource
- interfaces resource
- json resource
- key_rsa resource
- mongodb_conf resource
- mongodb_session resource
- mssql_sys_conf resource
- mysql_conf resource
- mysql_session resource
- npm resource
- opa_api resource
- opa_cli resource
- oracledb_conf resource
- oracledb_listener_conf resource
- oracledb_session resource
- os resource
- os_env resource
- package resource
- parse_config resource
- parse_config_file resource
- php_config resource
- pip resource
- port resource
- postfix_conf resource
- postgres_conf resource
- postgres_session resource
- processes resource
- service resource
- ssh_key resource
- ssl resource
- sybase_conf resource
- sybase_session resource
- sys_info resource
- toml resource
- user resource
- users resource
- x509_certificate resource
- xml resource
- yaml resource
Linux
The following resources work on Linux operating systems.
- aide_conf resource
- apache resource
- apache_conf resource
- apt resource
- audit_policy resource
- auditd resource
- auditd_conf resource
- bash resource
- bond resource
- bridge resource
- bsd_service resource
- cgroup resource
- chrony_conf resource
- cpan resource
- cran resource
- cron resource
- crontab resource
- dh_params resource
- docker resource
- docker_container resource
- docker_image resource
- docker_plugin resource
- docker_service resource
- elasticsearch resource
- etc_fstab resource
- etc_group resource
- etc_hosts resource
- etc_hosts_allow resource
- etc_hosts_deny resource
- filesystem resource
- firewalld resource
- grub_conf resource
- http resource
- inetd_conf resource
- ip6tables resource
- iptables resource
- kernel_module resource
- kernel_parameter resource
- kernel_parameters resource
- launchd_service resource
- limits_conf resource
- linux_audit_system resource
- login_defs resource
- lxc resource
- mount resource
- nftables resource
- nginx resource
- nginx_conf resource
- ntp_conf resource
- packages resource
- passwd resource
- postgres_hba_conf resource
- postgres_ident_conf resource
- ppa resource
- rabbitmq_config resource
- routing_table resource
- runit_service resource
- selinux resource
- shadow resource
- ssh_config resource
- sshd_config resource
- systemd_service resource
- sysv_service resource
- timezone resource
- upstart_service resource
- virtualization resource
- xinetd_conf resource
- yum resource
- zfs resource
- zfs_dataset resource
- zfs_pool resource
BSD
The following resources work on BSD operating systems.
Windows
The following resources work on Windows operating systems.
- chocolatey_package resource
- iis_app resource
- iis_site resource
- mssql_session resource
- oneget resource
- powershell resource
- registry_key resource
- security_identifier resource
- security_policy resource
- vbscript resource
- windows_feature resource
- windows_firewall resource
- windows_firewall_rule resource
- windows_hotfix resource
- windows_task resource
- wmi resource
Alibaba
- alicloud_apsaradb_rds_instance Resource
- alicloud_apsaradb_rds_instances Resource
- alicloud_disk Resource
- alicloud_disks Resource
- alicloud_ecs_instance Resource
- alicloud_ecs_instances Resource
- alicloud_ims_user Resource
- alicloud_ram_policies Resource
- alicloud_ram_policy Resource
- alicloud_ram_user Resource
- alicloud_ram_user_mfa Resource
- alicloud_ram_users Resource
AWS
Azure
- azure_active_directory_domain_service Resource
- azure_active_directory_domain_services Resource
- azure_active_directory_object Resource
- azure_active_directory_objects Resource
- azure_aks_cluster Resource
- azure_aks_clusters Resource
- azure_api_management Resource
- azure_api_managements Resource
- azure_application_gateway Resource
- azure_application_gateways Resource
- azure_bastion_hosts_resource Resource
- azure_bastion_hosts_resources Resource
- azure_blob_service Resource
- azure_blob_services Resource
- azure_cdn_profile Resource
- azure_cdn_profiles Resource
- azure_container_group Resource
- azure_container_groups Resource
- azure_container_registries Resource
- azure_container_registry Resource
- azure_cosmosdb_database_account Resource
- azure_data_factories Resource
- azure_data_factory Resource
- azure_data_factory_dataset Resource
- azure_data_factory_datasets Resource
- azure_data_factory_linked_service Resource
- azure_data_factory_linked_services Resource
- azure_data_factory_pipeline Resource
- azure_data_factory_pipeline_run_resource Resource
- azure_data_factory_pipeline_run_resources Resource
- azure_data_factory_pipelines Resource
- azure_data_lake_storage_gen2_filesystem Resource
- azure_data_lake_storage_gen2_filesystems Resource
- azure_data_lake_storage_gen2_path Resource
- azure_data_lake_storage_gen2_paths Resource
- azure_db_migration_service Resource
- azure_db_migration_services Resource
- azure_ddos_protection_resource Resource
- azure_ddos_protection_resources Resource
- azure_dns_zones_resource Resource
- azure_dns_zones_resources Resource
- azure_event_hub_authorization_rule Resource
- azure_event_hub_event_hub Resource
- azure_event_hub_namespace Resource
- azure_express_route_circuit Resource
- azure_express_route_circuits Resource
- azure_express_route_providers Resource
- azure_generic_resource Resource
- azure_generic_resources Resource
- azure_graph_generic_resource Resource
- azure_graph_generic_resources Resource
- azure_graph_user Resource
- azure_graph_users Resource
- azure_hdinsight_cluster Resource
- azure_hpc_asc_operation Resource
- azure_hpc_cache Resource
- azure_hpc_cache_skus Resource
- azure_hpc_caches Resource
- azure_hpc_storage_target Resource
- azure_hpc_storage_targets Resource
- azure_iothub Resource
- azure_iothub_event_hub_consumer_group Resource
- azure_iothub_event_hub_consumer_groups Resource
- azure_key_vault Resource
- azure_key_vault_key Resource
- azure_key_vault_keys Resource
- azure_key_vault_secret Resource
- azure_key_vault_secrets Resource
- azure_key_vaults Resource
- azure_load_balancer Resource
- azure_load_balancers Resource
- azure_lock Resource
- azure_locks Resource
- azure_managed_application Resource
- azure_managed_applications Resource
- azure_management_group Resource
- azure_management_groups Resource
- azure_mariadb_server Resource
- azure_mariadb_servers Resource
- azure_microsoft_defender_pricing Resource
- azure_microsoft_defender_pricings Resource
- azure_microsoft_defender_security_contact Resource
- azure_microsoft_defender_setting Resource
- azure_microsoft_defender_settings Resource
- azure_migrate_assessment Resource
- azure_migrate_assessment_group Resource
- azure_migrate_assessment_groups Resource
- azure_migrate_assessment_machine Resource
- azure_migrate_assessment_machines Resource
- azure_migrate_assessment_project Resource
- azure_migrate_assessment_projects Resource
- azure_migrate_assessments Resource
- azure_migrate_project Resource
- azure_migrate_project_database Resource
- azure_migrate_project_database_instance Resource
- azure_migrate_project_database_instances Resource
- azure_migrate_project_databases Resource
- azure_migrate_project_event Resource
- azure_migrate_project_events Resource
- azure_migrate_project_machine Resource
- azure_migrate_project_machines Resource
- azure_migrate_project_solution Resource
- azure_migrate_project_solutions Resource
- azure_monitor_activity_log_alert Resource
- azure_monitor_activity_log_alerts Resource
- azure_monitor_log_profile Resource
- azure_monitor_log_profiles Resource
- azure_mysql_database Resource
- azure_mysql_database_configuration Resource
- azure_mysql_database_configurations Resource
- azure_mysql_databases Resource
- azure_mysql_server Resource
- azure_mysql_servers Resource
- azure_network_interface Resource
- azure_network_interfaces Resource
- azure_network_security_group Resource
- azure_network_security_groups Resource
- azure_network_watcher Resource
- azure_network_watchers Resource
- azure_policy_assignments Resource
- azure_policy_definition Resource
- azure_policy_definitions Resource
- azure_policy_exemption Resource
- azure_policy_exemptions Resource
- azure_policy_insights_query_result Resource
- azure_policy_insights_query_results Resource
- azure_postgresql_database Resource
- azure_postgresql_databases Resource
- azure_postgresql_server Resource
- azure_postgresql_servers Resource
- azure_power_bi_app Resource
- azure_power_bi_app_capacities Resource
- azure_power_bi_app_dashboard Resource
- azure_power_bi_app_dashboard_tile Resource
- azure_power_bi_app_dashboard_tiles Resource
- azure_power_bi_app_dashboards Resource
- azure_power_bi_app_report Resource
- azure_power_bi_app_reports Resource
- azure_power_bi_apps Resource
- azure_power_bi_capacity_refreshable Resource
- azure_power_bi_capacity_refreshables Resource
- azure_power_bi_capacity_workload Resource
- azure_power_bi_capacity_workloads Resource
- azure_power_bi_dashboard Resource
- azure_power_bi_dashboard_tile Resource
- azure_power_bi_dashboard_tiles Resource
- azure_power_bi_dashboards Resource
- azure_power_bi_dataflow Resource
- azure_power_bi_dataflow_storage_accounts Resource
- azure_power_bi_dataflows Resource
- azure_power_bi_dataset Resource
- azure_power_bi_dataset_datasources Resource
- azure_power_bi_datasets Resource
- azure_power_bi_embedded_capacities Resource
- azure_power_bi_embedded_capacity Resource
- azure_power_bi_gateway Resource
- azure_power_bi_gateways Resource
- azure_public_ip Resource
- azure_redis_cache Resource
- azure_redis_caches Resource
- azure_resource_group Resource
- azure_resource_groups Resource
- azure_resource_health_availability_status Resource
- azure_resource_health_availability_statuses Resource
- azure_resource_health_emerging_issue Resource
- azure_resource_health_emerging_issues Resource
- azure_resource_health_events Resource
- azure_role_definition Resource
- azure_role_definitions Resource
- azure_security_center_policies Resource
- azure_security_center_policy Resource
- azure_service_bus_namespace Resource
- azure_service_bus_namespaces Resource
- azure_service_bus_regions Resource
- azure_service_bus_subscription Resource
- azure_service_bus_subscription_rule Resource
- azure_service_bus_subscription_rules Resource
- azure_service_bus_subscriptions Resource
- azure_service_bus_topic Resource
- azure_service_bus_topics Resource
- azure_service_fabric_mesh_application Resource
- azure_service_fabric_mesh_applications Resource
- azure_service_fabric_mesh_network Resource
- azure_service_fabric_mesh_networks Resource
- azure_service_fabric_mesh_replica Resource
- azure_service_fabric_mesh_replicas Resource
- azure_service_fabric_mesh_service Resource
- azure_service_fabric_mesh_services Resource
- azure_service_fabric_mesh_volume Resource
- azure_service_fabric_mesh_volumes Resource
- azure_snapshot Resource
- azure_snapshots Resource
- azure_sql_database Resource
- azure_sql_database_server_vulnerability_assessment Resource
- azure_sql_database_server_vulnerability_assessments Resource
- azure_sql_databases Resource
- azure_sql_managed_instance Resource
- azure_sql_managed_instances Resource
- azure_sql_server Resource
- azure_sql_servers Resource
- azure_sql_virtual_machine Resource
- azure_sql_virtual_machine_group Resource
- azure_sql_virtual_machine_group_availability_listener Resource
- azure_sql_virtual_machine_group_availability_listeners Resource
- azure_sql_virtual_machine_groups Resource
- azure_sql_virtual_machines Resource
- azure_storage_account Resource
- azure_storage_account_blob_container Resource
- azure_storage_account_blob_containers Resource
- azure_storage_accounts Resource
- azure_streaming_analytics_function Resource
- azure_streaming_analytics_functions Resource
- azure_subnet Resource
- azure_subnets Resource
- azure_subscription Resource
- azure_subscriptions Resource
- azure_synapse_notebook Resource
- azure_synapse_notebooks Resource
- azure_synapse_workspace Resource
- azure_synapse_workspaces Resource
- azure_virtual_machine Resource
- azure_virtual_machine_disk Resource
- azure_virtual_machine_disks Resource
- azure_virtual_machines Resource
- azure_virtual_network Resource
- azure_virtual_network_gateway Resource
- azure_virtual_network_gateway_connection Resource
- azure_virtual_network_gateway_connections Resource
- azure_virtual_network_gateways Resource
- azure_virtual_network_peering Resource
- azure_virtual_network_peerings Resource
- azure_virtual_networks Resource
- azure_virtual_wan Resource
- azure_virtual_wans Resource
- azure_web_app_function Resource
- azure_web_app_functions Resource
- azure_webapp Resource
- azure_webapps Resource
- azurerm_ad_user resource
- azurerm_ad_users resource
- azurerm_aks_cluster resource
- azurerm_aks_clusters resource
- azurerm_cosmosdb_database_account resource
- azurerm_event_hub_authorization_rule resource
- azurerm_event_hub_event_hub resource
- azurerm_event_hub_namespace resource
- azurerm_iothub resource
- azurerm_iothub_event_hub_consumer_group resource
- azurerm_iothub_event_hub_consumer_groups resource
- azurerm_key_vault resource
- azurerm_key_vault_key resource
- azurerm_key_vault_keys resource
- azurerm_key_vault_secret resource
- azurerm_key_vault_secrets resource
- azurerm_key_vaults resource
- azurerm_load_balancer resource
- azurerm_load_balancers resource
- azurerm_locks resource
- azurerm_management_group resource
- azurerm_management_groups resource
- azurerm_monitor_activity_log_alert resource
- azurerm_monitor_activity_log_alerts resource
- azurerm_monitor_log_profile resource
- azurerm_monitor_log_profiles resource
- azurerm_mysql_database resource
- azurerm_mysql_databases resource
- azurerm_mysql_server resource
- azurerm_mysql_servers resource
- azurerm_network_interface resource
- azurerm_network_interfaces resource
- azurerm_network_security_group resource
- azurerm_network_security_groups resource
- azurerm_network_watcher resource
- azurerm_network_watchers resource
- azurerm_postgresql_database resource
- azurerm_postgresql_databases resource
- azurerm_postgresql_server resource
- azurerm_postgresql_servers resource
- azurerm_resource_groups resource
- azurerm_role_definition resource
- azurerm_role_definitions resource
- azurerm_security_center_policies resource
- azurerm_security_center_policy resource
- azurerm_sql_database resource
- azurerm_sql_databases resource
- azurerm_sql_server resource
- azurerm_sql_servers resource
- azurerm_storage_account_blob_container resource
- azurerm_storage_account_blob_containers resource
- azurerm_subnet resource
- azurerm_subnets resource
- azurerm_subscription resource
- azurerm_virtual_machine resource
- azurerm_virtual_machine_disk resource
- azurerm_virtual_machine_disks resource
- azurerm_virtual_machines resource
- azurerm_virtual_network resource
- azurerm_virtual_networks resource
- azurerm_webapp resource
- azurerm_webapps resource
GCP
- google_access_context_manager_access_policies resource
- google_access_context_manager_access_policy resource
- google_access_context_manager_service_perimeter resource
- google_access_context_manager_service_perimeters resource
- google_appengine_standard_app_version resource
- google_appengine_standard_app_versions resource
- google_bigquery_dataset resource
- google_bigquery_datasets resource
- google_bigquery_table resource
- google_bigquery_tables resource
- google_billing_project_billing_info resource
- google_cloud_scheduler_job resource
- google_cloud_scheduler_jobs resource
- google_cloudbuild_trigger resource
- google_cloudbuild_triggers resource
- google_cloudfunctions_cloud_function resource
- google_cloudfunctions_cloud_functions resource
- google_compute_address resource
- google_compute_addresses resource
- google_compute_autoscaler resource
- google_compute_autoscalers resource
- google_compute_backend_bucket resource
- google_compute_backend_buckets resource
- google_compute_backend_service resource
- google_compute_backend_services resource
- google_compute_disk resource
- google_compute_disks resource
- google_compute_firewall resource
- google_compute_firewalls resource
- google_compute_forwarding_rule resource
- google_compute_forwarding_rules resource
- google_compute_global_address resource
- google_compute_global_addresses resource
- google_compute_global_forwarding_rule resource
- google_compute_global_forwarding_rules resource
- google_compute_health_check resource
- google_compute_health_checks resource
- google_compute_http_health_check resource
- google_compute_http_health_checks resource
- google_compute_https_health_check resource
- google_compute_https_health_checks resource
- google_compute_image resource
- google_compute_instance resource
- google_compute_instance_group resource
- google_compute_instance_group_manager resource
- google_compute_instance_group_managers resource
- google_compute_instance_groups resource
- google_compute_instance_template resource
- google_compute_instance_templates resource
- google_compute_instances resource
- google_compute_network resource
- google_compute_network_endpoint_group resource
- google_compute_network_endpoint_groups resource
- google_compute_networks resource
- google_compute_node_group resource
- google_compute_node_groups resource
- google_compute_node_template resource
- google_compute_node_templates resource
- google_compute_project_info resource
- google_compute_region resource
- google_compute_region_backend_service resource
- google_compute_region_backend_services resource
- google_compute_region_instance_group_manager resource
- google_compute_region_instance_group_managers resource
- google_compute_regional_disk resource
- google_compute_regions resource
- google_compute_route resource
- google_compute_router resource
- google_compute_router_nat resource
- google_compute_router_nats resource
- google_compute_routers resource
- google_compute_routes resource
- google_compute_security_policies resource
- google_compute_security_policy resource
- google_compute_snapshot resource
- google_compute_snapshots resource
- google_compute_ssl_certificate resource
- google_compute_ssl_certificates resource
- google_compute_ssl_policies resource
- google_compute_ssl_policy resource
- google_compute_subnetwork resource
- google_compute_subnetwork_iam_binding resource
- google_compute_subnetwork_iam_policy resource
- google_compute_subnetworks resource
- google_compute_target_http_proxies resource
- google_compute_target_http_proxy resource
- google_compute_target_https_proxies resource
- google_compute_target_https_proxy resource
- google_compute_target_pool resource
- google_compute_target_pools resource
- google_compute_target_tcp_proxies resource
- google_compute_target_tcp_proxy resource
- google_compute_url_map resource
- google_compute_url_maps resource
- google_compute_vpn_tunnel resource
- google_compute_vpn_tunnels resource
- google_compute_zone resource
- google_compute_zones resource
- google_container_cluster resource
- google_container_clusters resource
- google_container_node_pool resource
- google_container_node_pools resource
- google_container_regional_cluster resource
- google_container_regional_clusters resource
- google_container_regional_node_pool resource
- google_container_regional_node_pools resource
- google_dataproc_cluster resource
- google_dataproc_clusters resource
- google_dns_managed_zone resource
- google_dns_managed_zones resource
- google_dns_resource_record_set resource
- google_dns_resource_record_sets resource
- google_filestore_instance resource
- google_filestore_instances resource
- google_iam_custom_role resource
- google_iam_custom_roles resource
- google_iam_organization_custom_role resource
- google_iam_organization_custom_roles resource
- google_iam_service_account resource
- google_iam_service_account_key resource
- google_iam_service_account_keys resource
- google_iam_service_accounts resource
- google_kms_crypto_key resource
- google_kms_crypto_key_iam_binding resource
- google_kms_crypto_key_iam_bindings resource
- google_kms_crypto_key_iam_policy resource
- google_kms_crypto_keys resource
- google_kms_key_ring resource
- google_kms_key_ring_iam_binding resource
- google_kms_key_ring_iam_bindings resource
- google_kms_key_ring_iam_policy resource
- google_kms_key_rings resource
- google_logging_folder_exclusion resource
- google_logging_folder_exclusions resource
- google_logging_folder_log_sink resource
- google_logging_folder_log_sinks resource
- google_logging_organization_log_sink resource
- google_logging_organization_log_sinks resource
- google_logging_project_exclusion resource
- google_logging_project_exclusions resource
- google_logging_project_sink resource
- google_logging_project_sinks resource
- google_ml_engine_model resource
- google_ml_engine_models resource
- google_organization resource
- google_organization_iam_binding resource
- google_organization_iam_policy resource
- google_organization_policy resource
- google_organizations resource
- google_project resource
- google_project_alert_policies resource
- google_project_alert_policy resource
- google_project_alert_policy_condition resource
- google_project_iam_binding resource
- google_project_iam_bindings resource
- google_project_iam_custom_role resource
- google_project_iam_custom_roles resource
- google_project_iam_policy resource
- google_project_logging_audit_config resource
- google_project_metric resource
- google_project_metrics resource
- google_project_service resource
- google_project_services resource
- google_projects resource
- google_pubsub_subscription resource
- google_pubsub_subscription_iam_binding resource
- google_pubsub_subscription_iam_policy resource
- google_pubsub_subscriptions resource
- google_pubsub_topic resource
- google_pubsub_topic_iam_binding resource
- google_pubsub_topic_iam_policy resource
- google_pubsub_topics resource
- google_redis_instance resource
- google_redis_instances resource
- google_resourcemanager_folder resource
- google_resourcemanager_folder_iam_binding resource
- google_resourcemanager_folder_iam_policy resource
- google_resourcemanager_folders resource
- google_resourcemanager_organization_policy resource
- google_resourcemanager_project_iam_binding resource
- google_resourcemanager_project_iam_policy resource
- google_runtime_config_config resource
- google_runtime_config_config_iam_binding resource
- google_runtime_config_config_iam_policy resource
- google_runtime_config_configs resource
- google_runtime_config_variable resource
- google_runtime_config_variables resource
- google_service_account resource
- google_service_account_key resource
- google_service_account_keys resource
- google_service_accounts resource
- google_sourcerepo_repositories resource
- google_sourcerepo_repository resource
- google_spanner_database resource
- google_spanner_databases resource
- google_spanner_instance resource
- google_spanner_instance_iam_binding resource
- google_spanner_instance_iam_policy resource
- google_spanner_instances resource
- google_sql_database_instance resource
- google_sql_database_instances resource
- google_sql_user resource
- google_sql_users resource
- google_storage_bucket resource
- google_storage_bucket_acl resource
- google_storage_bucket_iam_binding resource
- google_storage_bucket_iam_bindings resource
- google_storage_bucket_iam_policy resource
- google_storage_bucket_object resource
- google_storage_bucket_objects resource
- google_storage_buckets resource
- google_storage_default_object_acl resource
- google_storage_object_acl resource
- google_user resource
- google_users resource
Habitat
Kubernetes
- k8s_api_resources resource
- k8s_config_map resource
- k8s_config_maps resource
- k8s_container resource
- k8s_containers resource
- k8s_cronjob resource
- k8s_cronjobs resource
- k8s_daemon_set resource
- k8s_daemon_sets resource
- k8s_deployment resource
- k8s_deployments resource
- k8s_exec_file resource
- k8s_job resource
- k8s_jobs resource
- k8s_namespace resource
- k8s_namespaces resource
- k8s_network_policies resource
- k8s_network_policy resource
- k8s_node resource
- k8s_nodes resource
- k8s_pod resource
- k8s_pods resource
- k8s_rbac_cluster_role resource
- k8s_rbac_cluster_roles resource
- k8sobject resource
- k8sobjects resource