{"id":21397601,"url":"https://github.com/multani/inspec-custom-resources","last_synced_at":"2026-01-02T18:10:00.806Z","repository":{"id":136259952,"uuid":"163896746","full_name":"multani/inspec-custom-resources","owner":"multani","description":"A set of custom resources for InSpec (libraries + associated controls)","archived":false,"fork":false,"pushed_at":"2020-07-28T04:18:59.000Z","size":30,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T02:24:47.935Z","etag":null,"topics":["consul","inspec"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/multani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-02T22:37:10.000Z","updated_at":"2021-07-19T17:49:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2bfe728-18ac-49e9-8a2d-930c4a0efc1e","html_url":"https://github.com/multani/inspec-custom-resources","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multani%2Finspec-custom-resources","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multani%2Finspec-custom-resources/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multani%2Finspec-custom-resources/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multani%2Finspec-custom-resources/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multani","download_url":"https://codeload.github.com/multani/inspec-custom-resources/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243886010,"owners_count":20363649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consul","inspec"],"created_at":"2024-11-22T14:43:40.740Z","updated_at":"2026-01-02T18:09:55.750Z","avatar_url":"https://github.com/multani.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Custom resources for [InSpec](https://www.inspec.io/)\n=====================================================\n\nThis is a work in progress to create new InSpec resources.\n\nSee [`libraries`](libraries) for the implementation of the resources,\n[`controls`](controls) for an example on how the new resources can be used.\n\nThis currently provides:\n\n* a [`consul_cluster`](libraries/consul.rb) resource, to check the configuration of\n  [Consul](https://consul.io) cluster.\n\n\nTesting\n-------\n\nYou can test the Consul resource with Docker Compose:\n\n* Run [Ruby Bundler](https://bundler.io/): `bundle install`\n* Start the Consul Docker containers: `docker-compose up -d`\n* Run the InSpec profile with Bundler, which should fail: `bundle exec inspec exec .`\n* Join all the Consul agents: `docker-compose exec consul0 consul join consul1 consul2`\n* Run the InSpec profile again, this time it should work: `bundle exec inspec exec .`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultani%2Finspec-custom-resources","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultani%2Finspec-custom-resources","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultani%2Finspec-custom-resources/lists"}