{"id":19260432,"url":"https://github.com/mitre/oracle-database-19c-cis-baseline","last_synced_at":"2025-04-21T16:31:50.611Z","repository":{"id":146198893,"uuid":"566870785","full_name":"mitre/oracle-database-19c-cis-baseline","owner":"mitre","description":"InSpec testing for baseline compliance with the Oracle 19c CIS Benchmark","archived":false,"fork":false,"pushed_at":"2023-09-19T16:26:21.000Z","size":291,"stargazers_count":5,"open_issues_count":6,"forks_count":3,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-04-01T14:37:20.377Z","etag":null,"topics":["inspec","mitre-corporation","mitre-saf","security-automation"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-16T15:37:47.000Z","updated_at":"2025-03-12T08:05:56.000Z","dependencies_parsed_at":"2024-11-09T19:21:50.705Z","dependency_job_id":"3baf0b8b-cf8a-44a0-b3b2-a4b922264011","html_url":"https://github.com/mitre/oracle-database-19c-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%2Foracle-database-19c-cis-baseline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Foracle-database-19c-cis-baseline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Foracle-database-19c-cis-baseline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Foracle-database-19c-cis-baseline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitre","download_url":"https://codeload.github.com/mitre/oracle-database-19c-cis-baseline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250090935,"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","mitre-corporation","mitre-saf","security-automation"],"created_at":"2024-11-09T19:21:02.091Z","updated_at":"2025-04-21T16:31:50.605Z","avatar_url":"https://github.com/mitre.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Oracle 19c CIS Automated Compliance Validation Profile\n\nInSpec profile to validate the secure configuration of Oracle Database 19c against the Oracle Database 19c Benchmark version 1.0.0 [CIS](https://www.cisecurity.org/cis-benchmarks/)\n\n## Oracle 19c CIS Benchmark Overview\n\nThe \u003cb\u003eCIS Oracle Database 19c Benchmark\u003c/b\u003e(https://www.cisecurity.org/cis-benchmarks/) is intended to address the recommended security settings for Oracle Database 19c. Future Oracle Database 19c critical patch updates (CPUs) may impact the recommendations included in this document.\n\nFor more information see [CIS Benchmarks FAQ](https://www.cisecurity.org/cis-benchmarks/cis-benchmarks-faq)\n\nThis InSpec profile automates the validation of Oracle Database 19c against the equivalent CIS Benchmark.\n\n## Getting Started\n\n### Requirements\n\n#### Oracle 19c  \n- Oracle 19c Database\n- An account with at least SYSTEM-level role access to run SQL commands\n\n#### Required software on InSpec Runner\n- [InSpec](https://www.chef.io/products/chef-inspec/)\n\n#### Required software on target of evaluation\n- [SQL\\*Plus](https://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm)\n    - Release 19c\n\n### Setup Environment on Oracle Database machine \n#### Install InSpec\nGoto https://www.inspec.io/downloads/ and consult the documentation for your Operating System to download and install InSpec.\n\n#### Ensure InSpec version is most recent ( \u003e 4.23.X )\n```sh\ninspec --version\n```\n\n### How to execute this instance  \nThis profile can be executed against a remote target using the ssh transport, docker transport, or winrm transport of InSpec. Profiles can also be executed directly on the host where InSpec is installed (see https://www.inspec.io/docs/reference/cli/). \n\n#### Required Inputs\nYou must specify inputs in an `inputs.yml` file. See `example_inputs.yml` in the profile root folder for a sample. Each input is required for proper execution of the profile.\n```yaml\nuser: 'SYSTEM'\npassword: 'password'\nhost: '127.0.0.1'\nservice: 'ORCLCDB'\nsqlplus_bin: 'sqlplus'\nlistener_file: /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora\nmultitenant: false\nversion: '19.0.0.0.0'\nlisteners: ['LISTENER']\n```\nSome default values have been added to `inspec.yml`, but can be overridden by defining new values in `inputs.yml`. No default values have been given for database-specific connection variables like the password or the service name; these must be specified in the input file.\n##### Note\nEnvironment variables will not be interpreted correctly in `inputs.yml` or `inspec.yml`.\nExample:\n```\nlistener_file: $ORACLE_HOME/network/admin/listener.ora # $ORACLE_HOME will not be expanded out correctly!\n```\n#### Execute a single control in the profile \n```bash\ninspec exec \u003cpath to profile on runner\u003e --input-file=inputs.yml --controls=oracle19c-1.1 -t \u003ctarget\u003e\n```\n#### Execute a single control in the profile and save results as JSON\n```bash\ninspec exec \u003cpath to profile on runner\u003e --input-file=inputs.yml --controls=\u003ccontrol id\u003e -t \u003ctarget\u003e --reporter cli json:results.json\n```\n#### Execute all controls in the profile \n```bash\ninspec exec \u003cpath to profile on runner\u003e --input-file=inputs.yml -t \u003ctarget\u003e\n```\n#### Execute all controls in the profile and save results as JSON\n```bash\ninspec exec \u003cpath to profile on runner\u003e --input-file=inputs.yml -t \u003ctarget\u003e --reporter cli json:results.json\n```\n#### Execute the profile directly on the Oracle database host\n```bash\ninspec exec \u003cpath to profile on the host\u003e --input-file=inputs.yml --reporter cli json:results.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Foracle-database-19c-cis-baseline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitre%2Foracle-database-19c-cis-baseline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Foracle-database-19c-cis-baseline/lists"}