{"id":20611808,"url":"https://github.com/kewalaka/hardenedserverdsc","last_synced_at":"2025-04-15T05:42:49.679Z","repository":{"id":89354563,"uuid":"127343536","full_name":"kewalaka/HardenedServerDSC","owner":"kewalaka","description":"A DSC composite resource for hardening Windows Server OS","archived":false,"fork":false,"pushed_at":"2018-04-03T19:57:36.000Z","size":66,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T05:42:39.378Z","etag":null,"topics":["dsc-resources","hardening","powershell-dsc"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/kewalaka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-03-29T20:23:06.000Z","updated_at":"2023-08-22T22:50:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"607c847e-1ac6-4404-b544-b2355cc900f0","html_url":"https://github.com/kewalaka/HardenedServerDSC","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/kewalaka%2FHardenedServerDSC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kewalaka%2FHardenedServerDSC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kewalaka%2FHardenedServerDSC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kewalaka%2FHardenedServerDSC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kewalaka","download_url":"https://codeload.github.com/kewalaka/HardenedServerDSC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016307,"owners_count":21198828,"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":["dsc-resources","hardening","powershell-dsc"],"created_at":"2024-11-16T10:22:13.506Z","updated_at":"2025-04-15T05:42:49.674Z","avatar_url":"https://github.com/kewalaka.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/sn716it1n4fcy2xu/branch/master?svg=true)](https://ci.appveyor.com/project/kewalaka/hardenedserverdsc)\n\n# Windows server hardening using PowerShell DSC\n\nThis is a composite DSC resource that can be used to harden a Windows OS.  There are a number of configurable parameters,\nA few of which you should set, others have been set to reasonable defaults (based on CIS where it is specific)\n\nThis is incomplete work in progress, feedback is welcome, PRs gladly considered.\n\n## Requirements\n\nThis uses the SecurityPolicyDSC resource.\n\nI have not tested it on anything older than Windows Server 2012R2 \u0026 2016\n\nRequires Powershell 4 on the target server to be secured (primarily tested against PS5.1).\n\n## Example usage\n\nSome examples are provided Examples subfolder, if you're unfamiliar with DSC see the instructions section below for a\nwalkthrough.  Here's a simple example:\n\n```\nConfiguration SimpleExample\n{\n    \n    Import-DscResource -ModuleName HardenedServerDSC\n\n    Node 'localhost'\n    {\n        HardenedServerConfig securebuild {\n            CompanyName          = 'Stu Corp'\n        } \n    }\n}\n\nSimpleExample\n# optionally kick off compliance automatically - this will run on localhost\n# so be careful not to run accidentally on your PC!\n#Start-DscConfiguration -Wait -Verbose -Path .\\SimpleExample -Force\n```\n\n## Instructions\n\nTODO complete instructions for people less familiar with DSC.\n\nTo use, you need to install the AuditPolicyDSC, SecurityPolicyDSC, xNetworking modules.  This can be done from a machine with internet access \u0026 then transfered to the machine that you'd like to secure.  (Powershell modules are simply files \u0026 folders)\n\nThese installation steps require PowerShell 5 (to access the PS Gallery), the target host needs to be at least Powershell v4 (please, make it 5.1 if you can!).\n\nTo install the module dependencies:\n```\nInstall-Module AuditPolicyDSC,SecurityPolicyDSC,xNetworking -Scope -CurrentUser -Force\n```\n\n\n## Copyright\n\nWindows hardening DSC resource.\n\nCopyright 2018 Stu Mace 'kewalaka', released under an Apache License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkewalaka%2Fhardenedserverdsc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkewalaka%2Fhardenedserverdsc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkewalaka%2Fhardenedserverdsc/lists"}