{"id":19260457,"url":"https://github.com/mitre/oracle-java-runtime-environment-8-unix-stig-baseline","last_synced_at":"2025-04-21T16:31:50.817Z","repository":{"id":45255653,"uuid":"176781127","full_name":"mitre/oracle-java-runtime-environment-8-unix-stig-baseline","owner":"mitre","description":"Inspec Profile for the JRE 8 STIG","archived":false,"fork":false,"pushed_at":"2021-12-27T16:47:57.000Z","size":52,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-01T14:37:36.301Z","etag":null,"topics":["inspec","jre","mitre-corporation","mitre-inspec","stig"],"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":"2019-03-20T17:10:03.000Z","updated_at":"2023-07-12T01:57:27.000Z","dependencies_parsed_at":"2022-08-27T05:01:18.090Z","dependency_job_id":null,"html_url":"https://github.com/mitre/oracle-java-runtime-environment-8-unix-stig-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%2Foracle-java-runtime-environment-8-unix-stig-baseline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Foracle-java-runtime-environment-8-unix-stig-baseline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Foracle-java-runtime-environment-8-unix-stig-baseline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Foracle-java-runtime-environment-8-unix-stig-baseline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitre","download_url":"https://codeload.github.com/mitre/oracle-java-runtime-environment-8-unix-stig-baseline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250090936,"owners_count":21373281,"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":["inspec","jre","mitre-corporation","mitre-inspec","stig"],"created_at":"2024-11-09T19:21:09.101Z","updated_at":"2025-04-21T16:31:50.460Z","avatar_url":"https://github.com/mitre.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oracle-java-runtime-environment-8-unix-stig-baseline\n\nInSpec profile to validate the secure configuration of JRE 8, against [DISA](https://iase.disa.mil/stigs/)'s JRE 8 Security Technical Implementation Guide (STIG).\n\n#### Container-Ready: Profile updated to adapt checks when the running against a containerized instance of JRE8, based on reference container: (docker pull registry1.dso.mil/ironbank/opensource/gradle/gradle-jre8@latest)\n\n## Getting Started  \n\n__For the best security of the runner, always install on the runner the _latest version_ of InSpec and supporting Ruby language components.__\n\nLatest 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# Set to true if this system is on the SIPRNET\nis_on_siprnet: false\n\n# Java version allowed\njava_version: ''\n\n# Java deployment.config file\ndeployment_config_file: ''\n\n# Java deployment.properties file\ndeployment_properties_file: ''\n\n# Java deployment/exception.sites file\ndeployment_exception_sites_file: ''\n```\n\n# Running This Baseline Directly from Github\n\nAgainst a _**locally-hosted**_ instance (i.e., InSpec installed on the target)\n```\ninspec exec https://github.com/mitre/oracle-java-runtime-environment-8-unix-stig-baseline/archive/master.tar.gz --input-file=\u003cpath_to_your_inputs_file/name_of_your_inputs_file.yml\u003e --reporter json:\u003cpath_to_your_output_file/name_of_your_output_file.json\u003e\n```\nAgainst a _**docker-containerized**_ instance (i.e., InSpec installed on the node hosting the container):\n```bash\ninspec exec https://github.com/mitre/oracle-java-runtime-environment-8-unix-stig-baseline/archive/master.tar.gz -t docker://instance_id --input-file \u003cpath_to_your_input_file/name_of_your_input_file.yml\u003e --reporter 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/oracle-java-runtime-environment-8-unix-stig-baseline\ninspec archive oracle-java-runtime-environment-8-unix-stig-baseline\ninspec exec \u003cname of generated archive\u003e --target=ssh://\u003cyour_target_host_name_or_ip_address\u003e --user=\u003ctarget_account_with_administrative_privileges\u003e --password=\u003cpassword_for_target_account\u003e --sudo --sudo-password=\u003csudo_password_for_target_if_required\u003e --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 oracle-java-runtime-environment-8-unix-stig-baseline\ngit pull\ncd ..\ninspec archive oracle-java-runtime-environment-8-unix-stig-baseline --overwrite\ninspec exec \u003cname of generated archive\u003e --target=ssh://\u003cyour_target_host_name_or_ip_address\u003e --user=\u003ctarget_account_with_administrative_privileges\u003e --password=\u003cpassword_for_target_account\u003e --sudo --sudo-password=\u003csudo_password_for_target_if_required\u003e --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* Alicia Sturtevant - [asturtevant](https://github.com/asturtevant)\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/oracle-java-runtime-environment-8-unix-stig-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\nDISA STIGs are published by DISA IASE, see: https://iase.disa.mil/Pages/privacy_policy.aspx   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Foracle-java-runtime-environment-8-unix-stig-baseline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitre%2Foracle-java-runtime-environment-8-unix-stig-baseline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Foracle-java-runtime-environment-8-unix-stig-baseline/lists"}