{"id":19260867,"url":"https://github.com/mitre/apache-tomcat-8-cis-baseline","last_synced_at":"2025-04-21T17:30:22.409Z","repository":{"id":51673988,"uuid":"130380081","full_name":"mitre/apache-tomcat-8-cis-baseline","owner":"mitre","description":"(WIP) (Alpha) InSpec profile for CIS Apache Tomcat v8 Benchmark","archived":false,"fork":false,"pushed_at":"2022-06-03T20:58:03.000Z","size":285,"stargazers_count":6,"open_issues_count":7,"forks_count":5,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-01T14:38:37.888Z","etag":null,"topics":["apache","inspec","inspec-profile","mitre-corporation","mitre-inspec","mitre-saf","security","tomcat"],"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":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-20T15:23:43.000Z","updated_at":"2023-07-12T01:38:57.000Z","dependencies_parsed_at":"2022-08-22T04:10:07.213Z","dependency_job_id":null,"html_url":"https://github.com/mitre/apache-tomcat-8-cis-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%2Fapache-tomcat-8-cis-baseline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fapache-tomcat-8-cis-baseline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fapache-tomcat-8-cis-baseline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Fapache-tomcat-8-cis-baseline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitre","download_url":"https://codeload.github.com/mitre/apache-tomcat-8-cis-baseline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250100093,"owners_count":21374866,"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":["apache","inspec","inspec-profile","mitre-corporation","mitre-inspec","mitre-saf","security","tomcat"],"created_at":"2024-11-09T19:23:12.774Z","updated_at":"2025-04-21T17:30:22.128Z","avatar_url":"https://github.com/mitre.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apache-tomcat-8-cis-baseline\n\nInSpec Profile to validate the secure configuration of apache-tomcat-8-cis-baseline, against [CIS'](https://www.cisecurity.org/cis-benchmarks/) Apache Tomcat v8 Benchmark\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## Tailoring to Your Environment\nThe following inputs must be configured in an inputs \".yml\" file for the profile to run correctly for your specific environment. More information about InSpec inputs can be found in the [InSpec Profile Documentation](https://www.inspec.io/docs/reference/profiles/).\n\n```yaml\n# Description: Tomcat home Directory\ntomcat_home: ''\n\n# Description: Tomcat Directory for additional servers\ntomcat_base: ''\n\n# Description: Tomcat App Directory\ntomcat_app_dir: ''\n\n# Description: Tomcat library Directory\ntomcat_lib_dir: ''\n\n# Description: Tomcat service Name\ntomcat_service_name: ''\n\n# Description: Tomcat username\ntomcat_user: ''\n\n# Description: Port of the tomcat instance\ntomcat_port: ''\n\n# Description: Server Info value\ntomcat_server_info: ''\n\n# Description: Server Number value\ntomcat_server_number: ''\n\n# Description: Server Built value\ntomcat_server_built: ''\n\n# Description: Tomcat server configuration file\ntomcat_conf_server: ''\n\n# Description: Tomcat web configuration file\ntomcat_conf_web: ''\n\n# Description: Group owner of files/directories\ntomcat_group: ''\n\n# Description: User owner of files/directories\ntomcat_owner: ''\n\n# Description: A list of Realms that should not be enabled\ntomcat_realms_list: []\n\n# Description: List of extraneous resources that should not exist\ntomcat_extraneous_resource_list: []\n```\n\n# Running This Baseline Directly from Github\n\n```\n# How to run\ninspec exec https://github.com/mitre/apache-tomcat-8-cis-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/apache-tomcat-8-cis-baseline\ninspec archive apache-tomcat-8-cis-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 apache-tomcat-8-cis-baseline\ngit pull\ncd ..\ninspec archive apache-tomcat-8-cis-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* Mohamed El-Sharkawi - [HackerShark](https://github.com/HackerShark)\n* Craig Chaffee\n\n## Special Thanks \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/apache-tomcat-8-cis-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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Fapache-tomcat-8-cis-baseline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitre%2Fapache-tomcat-8-cis-baseline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Fapache-tomcat-8-cis-baseline/lists"}