{"id":22700187,"url":"https://github.com/simp/pupmod-simp-openscap","last_synced_at":"2025-04-13T05:53:27.864Z","repository":{"id":32298711,"uuid":"35873672","full_name":"simp/pupmod-simp-openscap","owner":"simp","description":"The SIMP openscap Puppet Module","archived":false,"fork":false,"pushed_at":"2024-08-20T19:53:29.000Z","size":598,"stargazers_count":7,"open_issues_count":2,"forks_count":18,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-13T05:53:22.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/simp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","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":"2015-05-19T09:49:39.000Z","updated_at":"2024-08-24T08:25:07.000Z","dependencies_parsed_at":"2022-09-26T20:31:15.541Z","dependency_job_id":"2218e71b-41dd-4ade-8616-aba531246dd9","html_url":"https://github.com/simp/pupmod-simp-openscap","commit_stats":{"total_commits":67,"total_committers":15,"mean_commits":4.466666666666667,"dds":0.582089552238806,"last_synced_commit":"c152982a254021caa1cc156307cbb5e15984bff5"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-openscap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-openscap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-openscap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-openscap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","download_url":"https://codeload.github.com/simp/pupmod-simp-openscap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670503,"owners_count":21142901,"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":[],"created_at":"2024-12-10T06:10:23.127Z","updated_at":"2025-04-13T05:53:27.840Z","avatar_url":"https://github.com/simp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/73/badge)](https://bestpractices.coreinfrastructure.org/projects/73)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/simp/openscap.svg)](https://forge.puppetlabs.com/simp/openscap)\n[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/simp/openscap.svg)](https://forge.puppetlabs.com/simp/openscap)\n[![Build Status](https://travis-ci.org/simp/pupmod-simp-openscap.svg)](https://travis-ci.org/simp/pupmod-simp-openscap)\n\n#### Table of Contents\n\n\u003c!-- vim-markdown-toc GFM --\u003e\n\n  * [This is a SIMP module](#this-is-a-simp-module)\n  * [Module Description](#module-description)\n  * [Setup](#setup)\n    * [What simp openscap affects](#what-simp-openscap-affects)\n    * [Setup Requirements](#setup-requirements)\n    * [Beginning with openscap](#beginning-with-openscap)\n  * [Usage](#usage)\n    * [I want to install openscap with default logging](#i-want-to-install-openscap-with-default-logging)\n    * [I have a particular SCAP profile I want to use](#i-have-a-particular-scap-profile-i-want-to-use)\n    * [I want to log daily at a set time](#i-want-to-log-daily-at-a-set-time)\n    * [I want to log on the first and fifteenth day of the month](#i-want-to-log-on-the-first-and-fifteenth-day-of-the-month)\n    * [I want to log to a different directory](#i-want-to-log-to-a-different-directory)\n  * [Reference](#reference)\n  * [Limitations](#limitations)\n* [Development](#development)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n## This is a SIMP module\nThis module is a component of the\n[System Integrity Management Platform](https://simp-project.com),\na compliance-management framework built on Puppet.\n\nIf you find any issues, they can be submitted to our\n[JIRA](https://simp-project.atlassian.net/).\n\nThis module is optimally designed for use within a larger SIMP ecosystem, but it\ncan be used independently:\n* When included within the SIMP ecosystem, security compliance settings will be\n  managed from the Puppet server.\n* In the future, all SIMP-managed security subsystems will be disabled by\n  default and must be explicitly opted into by administrators.  Please review\n  *simp/simp_options* for details.\n\n## Module Description\n\nThis module sets up [openscap](https://www.open-scap.org/) and allows you to\nschedule and log openscap runs.\n\n## Setup\n\n### What simp openscap affects\n\n`simp/openscap` will manage:\n\n* openscap-utils and scap-security-guide packages\n\n`simp/openscap::schedule` will manage:\n\n* A cron job for openscap runs\n* A logging directory for openscap (Default: /var/log/openscap)\n\n### Setup Requirements\n\nThe module can support logrotate if *simp/logrotate* is used. Otherwise, no\nadditional setup is required.\n\n### Beginning with openscap\n\nYou can install openscap by:\n\n```puppet\ninclude 'openscap'\n```\n\n## Usage\n\n### I want to install openscap with default logging\n\nThe following will run a cron job on Monday at 1:30 AM and log to\n/var/log/openscap:\n\n```puppet\nclass { 'openscap':\n  enable_schedule =\u003e true,\n}\n```\n\nOR\n\n```puppet\ninclude 'openscap::schedule'\n```\n\n### I have a particular SCAP profile I want to use\n\n```puppet\nclass { 'openscap::schedule':\n  scap_profile =\u003e 'xccdf_org.ssgproject.content_profile_stig-rhel7-server-upstream',\n}\n```\n\n### I want to log daily at a set time\n\n```puppet\nclass { 'openscap::schedule':\n  minute  =\u003e 00,\n  hour    =\u003e 22,\n  weekday =\u003e '*',\n}\n```\n\n### I want to log on the first and fifteenth day of the month\n\n```puppet\nclass { 'openscap::schedule':\n  monthday =\u003e '1,15',\n}\n```\n\n### I want to log to a different directory\n\n```puppet\nclass { 'openscap::schedule':\n  logdir =\u003e '/opt/scaplogs',\n}\n```\n\n## Reference\n\nPlease see the [REFERENCE.md](./REFERENCE.md).\n\n## Limitations\n\nThis module is designed to work in RHEL-compatible environments.\n\n# Development\n\nPlease read our [Contribution Guide](https://simp.readthedocs.io/en/stable/contributors_guide/index.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fpupmod-simp-openscap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimp%2Fpupmod-simp-openscap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fpupmod-simp-openscap/lists"}