{"id":17057870,"url":"https://github.com/fluential/wazuhenc","last_synced_at":"2026-05-04T19:34:29.053Z","repository":{"id":150541139,"uuid":"153607050","full_name":"fluential/wazuhenc","owner":"fluential","description":"Puppet external node classifier for distributing wazuh ossec agent IDs","archived":false,"fork":false,"pushed_at":"2018-11-28T10:42:36.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-17T15:57:50.149Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/fluential.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":"2018-10-18T10:35:42.000Z","updated_at":"2018-11-28T17:20:15.000Z","dependencies_parsed_at":"2023-04-09T02:34:56.656Z","dependency_job_id":null,"html_url":"https://github.com/fluential/wazuhenc","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/fluential%2Fwazuhenc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluential%2Fwazuhenc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluential%2Fwazuhenc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluential%2Fwazuhenc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluential","download_url":"https://codeload.github.com/fluential/wazuhenc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066710,"owners_count":20555430,"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-10-14T10:28:18.191Z","updated_at":"2026-05-04T19:34:28.899Z","avatar_url":"https://github.com/fluential.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Wazuh Ossec Puppet external node classifier\n\nRelated to https://github.com/wazuh/wazuh-puppet\n\nWhen distiburing agent keys via puppet, the id generated by fqdn_rand() are not unique.\nWith large number of hosts there are id conflicts.\n\nThis puppet external node classifier is simple python list that provides\nhostname unique ids in default wazuh range: 1 - 14000 to be used by puppet module\n\n### Installation\n1. Drop file into ```/var/lib/puppet/wazuhenc.py```\n2. Add to your puppet master config file ```puppet.conf```:\n\n##### On master\n```\n[master]\n  (...)\n  node_terminus = exec\n  external_nodes = /usr/bin/flock -w 5 /var/lib/puppet/wazuhenc.lock /var/lib/puppet/wazuhenc.py\n```\n\n##### On Client\nInclude the code\n\n```\n  class { '::wazuh::client':\n    agent_name              =\u003e $::fqdn,\n    agent_id                =\u003e $::ossec_agent_id,\n    (...)\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluential%2Fwazuhenc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluential%2Fwazuhenc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluential%2Fwazuhenc/lists"}