{"id":20706549,"url":"https://github.com/tinuva/csf-formula","last_synced_at":"2026-04-28T03:01:55.841Z","repository":{"id":83262887,"uuid":"41546182","full_name":"tinuva/csf-formula","owner":"tinuva","description":null,"archived":false,"fork":false,"pushed_at":"2015-08-31T15:24:26.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T15:11:41.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"SaltStack","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/tinuva.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}},"created_at":"2015-08-28T12:27:55.000Z","updated_at":"2015-08-28T12:28:58.000Z","dependencies_parsed_at":"2023-03-12T17:47:45.210Z","dependency_job_id":null,"html_url":"https://github.com/tinuva/csf-formula","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinuva/csf-formula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinuva%2Fcsf-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinuva%2Fcsf-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinuva%2Fcsf-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinuva%2Fcsf-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinuva","download_url":"https://codeload.github.com/tinuva/csf-formula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinuva%2Fcsf-formula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32364093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":"2024-11-17T01:23:41.540Z","updated_at":"2026-04-28T03:01:55.826Z","avatar_url":"https://github.com/tinuva.png","language":"SaltStack","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csf-formula\n\nSalt Stack Formula to set up and configure CSF (ConfigServer Security \u0026 Firewall) from http://configserver.com/cp/csf.html\n\n## NOTICE BEFORE YOU USE\n\n* This formula aims to follow the conventions and recommendations described at http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#conventions-formula and http://docs.saltstack.com/en/latest/topics/best_practices.html\n\n## TODO\n\n* add automated cluster configuration\n* test under linux distributions other than CentOS 6/7\n\n## Instructions\n\n1. Add this repository as a `GitFS \u003chttp://docs.saltstack.com/topics/tutorials/gitfs.html\u003e`_ backend in your Salt master config\n\n2. Configure your Pillar top file (``/srv/pillar/top.sls``) and your pillars, see pillar.example.sls\n\n3. Include this Formula within another Formula or simply define your needed states within the Salt top file (``/srv/salt/top.sls``)\n\n4. Assign csf-cluster-master role to the master node in the CSF cluster\n\t* salt \\\u003cnode\\\u003e grains.setval roles ['csf-cluster','csf-cluster-master']\n\n5. Assign csf-cluster role to the remaining nodes in the CSF cluster\n\t* salt \\\u003cnode\\\u003e grains.setval roles ['csf-cluster']\n\n6. Run CSF state on the nodes\n\t* salt \\\u003cnodes\\\u003e state.sls csf\n\n## Available states\n\n``csf``\nSetup and configure a CSF\n\n## Additional resources\n\nThis formula is based on https://github.com/ALinuxNinja/saltstack-csf\n\n## Formula Dependencies\n\nSystem Requirements:\n\n* Internet HTTP access for downloading various libs\n\n### Formulas:\n\n* https://github.com/tinuva/selinux-formula (to disable selinux)\n* https://github.com/tinuva/firewalld-formula (optional, to disable firewalld)\n\n## Contributions\n\nContributions are always welcome. All development guidelines you have to know are\n\n* set a shebang in the first line (e.g. ``#!jinja|yaml``)\n* write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)\n* set sane default settings\n* test your code\n* update README.rst doc\n\n## Salt Compatibility\n\nTested with:\n\n* Salt Development Version (f9ec0bfb5a2c573785d55d02a01267e99848d333)\n\n## OS Compatibility\n\nTested with:\n\n* CentOS 6\n* CentOS 7\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinuva%2Fcsf-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinuva%2Fcsf-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinuva%2Fcsf-formula/lists"}