{"id":19260589,"url":"https://github.com/mitre/demo-aws-baseline","last_synced_at":"2026-05-16T09:32:23.769Z","repository":{"id":51673522,"uuid":"113051364","full_name":"mitre/demo-aws-baseline","owner":"mitre","description":"Example: AWS InSpec profile for validation of AWS infrastructure","archived":false,"fork":false,"pushed_at":"2022-02-07T05:56:38.000Z","size":53,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-01-05T09:43:49.896Z","etag":null,"topics":["aws","inspec","mitre-corporation","mitre-inspec","s3-security","security","vpc","vpc-security"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-04T14:15:47.000Z","updated_at":"2023-07-12T01:43:44.000Z","dependencies_parsed_at":"2022-08-22T04:20:17.432Z","dependency_job_id":null,"html_url":"https://github.com/mitre/demo-aws-baseline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fdemo-aws-baseline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fdemo-aws-baseline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fdemo-aws-baseline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fdemo-aws-baseline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitre","download_url":"https://codeload.github.com/mitre/demo-aws-baseline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240357372,"owners_count":19788704,"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":["aws","inspec","mitre-corporation","mitre-inspec","s3-security","security","vpc","vpc-security"],"created_at":"2024-11-09T19:21:55.679Z","updated_at":"2026-05-16T09:32:18.743Z","avatar_url":"https://github.com/mitre.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# demo-aws-baseline\n\nInSpec Profile to demo the secure configuration of demo-aws-baseline\n\n## Getting Started  \nIt is intended and recommended that InSpec run this profile from a __\"runner\"__ host (such as a DevOps orchestration server, an administrative management system, or a developer's workstation/laptop) against the target remotely over __ssh__.\n\nThe latest versions and installation options are available at the [InSpec](http://inspec.io/) site.\n\n## Data \n\nhttps://s3.us-east-2.amazonaws.com/eafirstbucket/test2.jpg\n\nhttps://www.terraform.io/docs/providers/aws/r/s3_bucket_object.html\n\nhttps://s3.us-east-2.amazonaws.com/eafirstbucket/test.jpg\n\nhttps://s3.us-east-2.amazonaws.com/eafirstbucket/api_query.txt\n\nhttps://s3.us-east-2.amazonaws.com/eafirstbucket/\n\n# Running This Baseline Directly from Github\n\n```\n# How to run\ninspec exec https://github.com/mitre/demo-aws-baseline/archive/master.tar.gz -t ssh:// --input-file=\u003cpath_to_your_inputs_file/name_of_your_inputs_file.yml\u003e --reporter=cli json:\u003cpath_to_your_output_file/name_of_your_output_file.json\u003e\n```\n\n### Different Run Options\n\n  [Full exec options](https://docs.chef.io/inspec/cli/#options-3)\n\n## Running This Baseline from a local Archive copy \n\nIf your runner is not always expected to have direct access to GitHub, use the following steps to create an archive bundle of this baseline and all of its dependent tests:\n\n(Git is required to clone the InSpec profile using the instructions below. Git can be downloaded from the [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) site.)\n\nWhen the __\"runner\"__ host uses this profile baseline for the first time, follow these steps: \n\n```\nmkdir profiles\ncd profiles\ngit clone https://github.com/mitre/demo-aws-baseline\ninspec archive demo-aws-baseline\ninspec exec \u003cname of generated archive\u003e -t ssh:// --input-file=\u003cpath_to_your_inputs_file/name_of_your_inputs_file.yml\u003e --reporter=cli json:\u003cpath_to_your_output_file/name_of_your_output_file.json\u003e\n```\nFor every successive run, follow these steps to always have the latest version of this baseline:\n\n```\ncd demo-aws-baseline\ngit pull\ncd ..\ninspec archive demo-aws-baseline --overwrite\ninspec exec \u003cname of generated archive\u003e -t ssh:// --input-file=\u003cpath_to_your_inputs_file/name_of_your_inputs_file.yml\u003e --reporter=cli json:\u003cpath_to_your_output_file/name_of_your_output_file.json\u003e\n```\n\n## Viewing the JSON Results\n\nThe JSON results output file can be loaded into __[heimdall-lite](https://heimdall-lite.mitre.org/)__ for a user-interactive, graphical view of the InSpec results. \n\nThe JSON InSpec results file may also be loaded into a __[full heimdall server](https://github.com/mitre/heimdall)__, allowing for additional functionality such as to store and compare multiple profile runs.\n\n## Authors\n* Aaron Lippold\n\n## Special Thanks \n* Mohamed El-Sharkawi - [HackerShark](https://github.com/HackerShark)\n* Shivani Karikar - [karikarshivani](https://github.com/karikarshivani)\n\n## Contributing and Getting Help\nTo report a bug or feature request, please open an [issue](https://github.com/mitre/demo-aws-baseline/issues/new).\n\n## NOTICE\n\n© 2018-2020 The MITRE Corporation.\n\nApproved for Public Release; Distribution Unlimited. Case Number 18-3678.\n\n## NOTICE \n\nMITRE hereby grants express written permission to use, reproduce, distribute, modify, and otherwise leverage this software to the extent permitted by the licensed terms provided in the LICENSE.md file included with this project.\n\n## NOTICE  \n\nThis software was produced for the U. S. Government under Contract Number HHSM-500-2012-00008I, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.  \n\nNo other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.\n\nFor further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA  22102-7539, (703) 983-6000.\n\n## NOTICE\n\nCIS Benchmarks are published by the Center for Internet Security (CIS), see: https://www.cisecurity.org/.   \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Fdemo-aws-baseline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitre%2Fdemo-aws-baseline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Fdemo-aws-baseline/lists"}