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
- pip resource
- port resource
- postfix_conf resource
- postgres_conf resource
- postgres_session resource
- processes resource
- service 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
- chrony_conf resource
- cpan resource
- cran 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
- launchd_service resource
- limits_conf resource
- login_defs resource
- mount resource
- nginx resource
- nginx_conf resource
- ntp_conf resource
- packages resource
- passwd resource
- postgres_hba_conf resource
- postgres_ident_conf resource
- rabbitmq_config 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_dataset resource
- zfs_pool resource
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
AWS
- aws_alb resource
- aws_albs resource
- aws_auto_scaling_group resource
- aws_auto_scaling_groups resource
- aws_cloudformation_stack resource
- aws_cloudtrail_trail resource
- aws_cloudtrail_trails resource
- aws_cloudwatch_alarm resource
- aws_cloudwatch_log_group resource
- aws_cloudwatch_log_metric_filter resource
- aws_config_delivery_channel resource
- aws_config_recorder resource
- aws_db_subnet_group resource
- aws_db_subnet_groups resource
- aws_dhcp_options resource
- aws_dynamodb_table resource
- aws_ebs_volume resource
- aws_ebs_volumes resource
- aws_ec2_instance resource
- aws_ec2_instances resource
- aws_ecr resource
- aws_ecr_image resource
- aws_ecr_images resource
- aws_ecr_repositories resource
- aws_ecr_repository resource
- aws_ecs_cluster resource
- aws_ecs_clusters resource
- aws_efs_file_system resource
- aws_efs_file_systems resource
- aws_eks_cluster resource
- aws_eks_clusters resource
- aws_elasticache_cluster resource
- aws_elasticache_cluster_node resource
- aws_elasticache_clusters resource
- aws_elb resource
- aws_elbs resource
- aws_flow_log resource
- aws_hosted_zone resource
- aws_hosted_zones resource
- aws_iam_access_key resource
- aws_iam_access_keys resource
- aws_iam_account_alias resource
- aws_iam_group resource
- aws_iam_groups resource
- aws_iam_inline_policy resource
- aws_iam_password_policy resource
- aws_iam_policies resource
- aws_iam_policy resource
- aws_iam_role resource
- aws_iam_roles resource
- aws_iam_root_user resource
- aws_iam_saml_provider resource
- aws_iam_saml_providers resource
- aws_iam_user resource
- aws_iam_users resource
- aws_internet_gateway resource
- aws_internet_gateways resource
- aws_kms_key resource
- aws_kms_keys resource
- aws_lambda resource
- aws_lambdas resource
- aws_launch_configuration resource
- aws_nat_gateway resource
- aws_nat_gateways resource
- aws_organizations_member resource
- aws_rds_cluster resource
- aws_rds_clusters resource
- aws_rds_instance resource
- aws_rds_instances resource
- aws_region resource
- aws_regions resource
- aws_route_table resource
- aws_route_tables resource
- aws_s3_bucket resource
- aws_s3_bucket_object resource
- aws_s3_buckets resource
- aws_security_group resource
- aws_security_groups resource
- aws_sns_subscription resource
- aws_sns_topic resource
- aws_sns_topics resource
- aws_sqs_queue resource
- aws_sqs_queues
- aws_ssm_parameter resource
- aws_ssm_parameters resource
- aws_sts_caller_identity resource
- aws_subnet resource
- aws_subnets resource
- aws_transit_gateway resource
- aws_vpc resource
- aws_vpcs resource
Azure
- azure_generic_resource resource
- azure_resource_group resource
- azure_virtual_machine resource
- azure_virtual_machine_data_disk 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
Was this page helpful?