{"id":32129731,"url":"https://github.com/nexcess/puppet-maldet","last_synced_at":"2026-02-21T03:02:11.668Z","repository":{"id":48552343,"uuid":"74589653","full_name":"nexcess/puppet-maldet","owner":"nexcess","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-26T17:53:50.000Z","size":76,"stargazers_count":6,"open_issues_count":0,"forks_count":8,"subscribers_count":18,"default_branch":"master","last_synced_at":"2026-02-15T08:37:39.035Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nexcess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-23T15:30:45.000Z","updated_at":"2025-01-30T23:16:01.000Z","dependencies_parsed_at":"2024-06-21T07:09:47.922Z","dependency_job_id":"37a5a31a-d160-40c1-8b03-4b4e3aab812d","html_url":"https://github.com/nexcess/puppet-maldet","commit_stats":{"total_commits":53,"total_committers":8,"mean_commits":6.625,"dds":0.679245283018868,"last_synced_commit":"2cb2adb1b144dddc4f84952b8dbc5fd4e99f6f32"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/nexcess/puppet-maldet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcess%2Fpuppet-maldet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcess%2Fpuppet-maldet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcess%2Fpuppet-maldet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcess%2Fpuppet-maldet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexcess","download_url":"https://codeload.github.com/nexcess/puppet-maldet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcess%2Fpuppet-maldet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29672257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-21T01:29:34.814Z","updated_at":"2026-02-21T03:02:11.662Z","avatar_url":"https://github.com/nexcess.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maldet\n\n#### Table of Contents\n\n1. [Description](#description)\n2. [Usage](#usage)\n3. [Reference](#reference)\n4. [Copyright](#copywrite)\n\n## Description\n\nThis module installs and configures Linux Malware Detect (Maldet)\n\nThis module has been tested with Maldet verions:\n  - 1.5\n  - 1.6\n\nBy default Maldet is installed from source using the Maldet {} type/provider. If you prefer to use a package, simply use the \"package_name\" parameter to specify the name of your package, and it will use that instead (assuming any necessary repositories have been enabled).\n\nMaldet will setup a cronjob that runs a daily scan on certain paths on the servers home directory depending on what directories it sees as present on a server.\n\nIt will also setup an inotify service to watch and scan changed files under certain directories (set to /tmp, /var/tmp, /dev/shm, and /var/fcgi_ipc by default).\n\nBoth the cron job and service are managed by the daily_scan and service_ensure parameters, respectively.\n\n## Usage\n\n```\ninclude ::maldet\n```\n\n## Reference\n\n### Classes\n\n#### Public Classes\n\n* maldet: Main class that includes all other classes.\n\n#### Private Classes\n\n* maldet::install: Installs Maldet\n* maldet::config: Manages configuration file and daily malware scan for Maldet\n* maldet::service: Manage Maldet inotify service\n\n### Parameters\n\n`Name`, _Type_, (Default)\n\n#### `version` _String_ ('1.6')\n\nVersion of Maldet to install.\n\n#### `package_name` _String_ ('')\n\nOptional package name to use. Will install from source if left empty.\n\n#### `ensure` _String_ ('present')\n\nWhether to install or remove maldet. Valid values are \"present\" or \"absent\".\n\n#### `service_ensure` _String_ ('running')\n\nWhether the maldet inotify monitor service should be running.\n\n#### `daily_scan` _Boolean_ (true)\n\nWhether to enable maldet's daily scan cron job.\n\n#### `mirror_url` _String_ ('https://cdn.rfxn.com/downloads')\n\nBase URL to download maldet source tarball from. Defaults to 'https://cdn.rfxn.com/downloads'\n\n#### `config` _Hash_ ({ 'autoupdate_version' =\u003e false })\n\nHash of config options to use. Booleans are converted to 0 or 1. Options with multiple values such as email_addr and scan_tmpdir_paths should be specified as an Array. Uses defaults provided from Maldet source, except daily version updates are disabled by default.\n\nSee https://www.rfxn.com/appdocs/README.maldetect for available configuration options.\n\n#### `monitor_mode` _String_ ('disabled')\n\nString matching one of the following:\n1. The word 'disabled'. This will disable the sysconfig configuration for monitor mode.\n2. The word 'users'. This will enable monitor mode in sysconfig for all local linux users.\n3. An absolute path to a line-spaced file, containing a list of paths to monitor.\n\n#### `monitor_paths` _Array[String]_ ({})\n\nList of paths that the maldet service should monitor files under. Note that directories containing.\n\n#### `ignore_file_ext` _Array[String]_ ({})\n\nList of file extensions to ignore.\n\n#### `ignore_inotify` _Array[String]_ ({})\n\nList of paths to exclude from inotify monitor mode.\n\n#### `ignore_paths` _Array[String]_ ({})\n\nList of paths to exclude from scans.\n\n#### `ignore_sigs` _Array[String]_ ({})\n\nList of signatures to exclude.\n\n#### `cron_config` _Hash_ ({})\n\nSeparate hash of config options to override main config options during maldet's daily cron job.\n\n#### `cleanup_old_install` _Boolean_ (true)\n\nWhether old backups of /usr/local/maldetect created by Maldet's install.sh should be removed.\n\n#### `manage_epel` _Boolean_ (true)\n\nSetup epel repository on Redhat based systems (required for some dependencies)\n\n## Limitations\n\nSupported Operating Systems are:\n  - RHEL 6/7\n  - CentOS 6/7\n\n## Copyright\n\n~~~\n   Copyright 2021 Nexcess.net\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexcess%2Fpuppet-maldet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexcess%2Fpuppet-maldet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexcess%2Fpuppet-maldet/lists"}