{"id":13681308,"url":"https://github.com/grdnrio/windows-security-policy","last_synced_at":"2025-04-30T03:31:09.273Z","repository":{"id":146522705,"uuid":"75605458","full_name":"grdnrio/windows-security-policy","owner":"grdnrio","description":"A cookbook for managing the local security policy on a Windows system","archived":false,"fork":false,"pushed_at":"2021-04-13T16:36:39.000Z","size":44,"stargazers_count":13,"open_issues_count":6,"forks_count":13,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-11-12T00:36:36.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://grdnr.io","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grdnrio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2016-12-05T08:42:41.000Z","updated_at":"2022-10-23T17:16:21.000Z","dependencies_parsed_at":"2023-07-12T11:31:06.667Z","dependency_job_id":null,"html_url":"https://github.com/grdnrio/windows-security-policy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdnrio%2Fwindows-security-policy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdnrio%2Fwindows-security-policy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdnrio%2Fwindows-security-policy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdnrio%2Fwindows-security-policy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grdnrio","download_url":"https://codeload.github.com/grdnrio/windows-security-policy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251635149,"owners_count":21619156,"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-08-02T13:01:29.162Z","updated_at":"2025-04-30T03:31:09.022Z","avatar_url":"https://github.com/grdnrio.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/mt8mscxucota8ywf/branch/master?svg=true)](https://ci.appveyor.com/project/grdnrio/windows-security-policy/branch/master)\n\n# Windows Security Policy Helper Cookbook\n\nProvides a helper security policy resource, and template with attributes for managing your Windows local security and security databases.\n\n## Requirements\n\n### Platforms\n\n- Windows Server 2012 (R1, R2)\n\n### Chef\n\n- Chef 12.1+\n\n## Resources\n\n### security_policy\nThis resource makes use of the secedit.exe tool.\n\n#### Actions\n\n- `:configure` - Applies configuration from a template to an existing SDB.\n- `:export` - Exports SDB settings to the local filesystem.\n- `:import` - Imports from a template into an SDB- can create a new SDB in the process.\n\n#### Properties\n\n- `policy_template` - Path to the template on the filesystem.\n- `database` - The security database (*.sdb) you wish to affect.\n- `log_location` - Location to write logs to.\n\n#### Examples\n\nConfigure an existing security database.\n\n```ruby\nsecurity_policy 'Local Policy' do\n    policy_template 'C:\\Windows\\security\\templates\\chefNewPolicy.inf'\n    database 'C:\\Windows\\security\\database\\chef.sdb'\n    action :configure\nend\n```\n\n## Recipes\n\nThe following recipes are available in this cookbook.\n\n### default\nUnused.\n\n### template\nThis recipe is used to create a template that can be imported using the security_policy resource to configure a security database. All of the accepted settings are attributes in this cookbook.\n\n\n\n## Usage\n\nPlace an explicit dependency on this cookbook (using depends in the cookbook's metadata.rb) from any cookbook where you would like to use the Windows-specific resources/providers that ship with this cookbook.\n\n```ruby\ndepends 'windows-security-policy'\n```\n## To Do\n- Tests\n- Testing on other Windows platforms\n\n## License \u0026 Authors\n\n- Author:: Joe Gardiner ([joe@chef.io](mailto:joe@chef.io))\n- Contributor:: Christoph Hartmann ([chartmann@chef.io](mailto:chartmann@chef.io))\n\n```text\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrdnrio%2Fwindows-security-policy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrdnrio%2Fwindows-security-policy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrdnrio%2Fwindows-security-policy/lists"}