Coder Social home page Coder Social logo

powerstigdsc's Introduction

PowerStigDsc (ARCHIVED)

PowerStigDsc HAS MOVED This project has been migrated into PowerStig and is currently archived.

Branch Status
master Build status

PowerStigDsc is a Windows PowerShell Desired State Configuration (DSC) composite resource to manage the configurable items of the DISA STIG's. This is accomplished by using OSS DSC Resources that are specialized to a specific area of the STIG from the PowerShell gallery. PowerStigDsc depends on an external module PowerStig for the STIG data and multiple DSC resources to apply the setting. All of the required dependencies are defined in the module manifest so they are automatically downloaded if you install PowerStigDsc from the PowerShell Gallery.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Contributing

Please check out common DSC Resources contributing guidelines.

Contributors

Thank you to everyone that has reviewed the project and provided feedback through issues. We are especially thankful for those who have contributed pull requests to the code and documentation.

Composite Resources

  • Browser: Provides a mechanism to manage Browser STIG settings.

  • SqlServer: Provides a mechanism to manage SqlServer STIG settings.

  • WindowsDnsServer: Provides a mechanism to manage Windows DNS Server STIG settings.

  • WindowsFirewall: Provides a mechanism to manage the Windows Firewall STIG settings.

  • WindowsServer: Provides a mechanism to manage the Windows Server STIG settings.

Browser

Provides a mechanism to manage Browser STIG settings.

Requirements

None

Parameters

  • [String] BrowserName (Mandatory): The version of the Browser that the configuration is applying to.
  • [String] BrowserVersion (Optional): The Browser version of the STIG you want to apply. If no value is provided, the most recent version of the STIG is applied.
  • [Hashtable] Exception (Optional): A hash table of the exceptions that should be applied to the server. The hashtable must be in the format StigId = Exception.
  • [Xml] OrgSetting (Optional): An XML document that contains the values for settings that contain a range of possible values.

Examples

SqlServer

Provides a mechanism to manage SqlServer STIG settings.

Requirements

None

Parameters

  • [String] SqlVersion (Mandatory): The version of SQL being used.
  • [String] SqlRole (Mandatory): The scope of SQL that the STIG covers. E.g. Instance, Database.
  • [Version] StigVersion (Optional): The version of the STIG you want to apply. If no value is provided, the most recent version of the STIG is applied.
  • [String] ServerInstance (Mandatory): The name of the SQL Instance that the STIG data will be applied to.
  • [String] Database (Optional): The Name of the database that the STIG will be applied to.
  • [Hashtable] Exception (Optional): A hash table of the exceptions to be applied to the server. The hashtable must be in the format StigId = Exception.
  • [Xml] OrgSetting (Optional): This is an XML file that overrides the default settings of allowable ranges in the STIG.
  • [PSObject] SkipRule (Optional): Rule Id/s that you do not want to be applied to the server.
  • [PSObject] SkipRuleType (Optional): Rule type/s that you do not want to be applied to the server.

Examples

WindowsDnsServer

Provides a mechanism to manage Windows Dns Server STIG settings.

Requirements

None

Parameters

  • [String] OsVersion (Mandatory): The version of the server OS that the configuration is applying to.
  • [String] StigVersion (Optional): The version of the STIG you want to apply. If no value is provided, the most recent version of the STIG is applied.
  • [String] ForestName (Optional): The FQDN of the forest the configuration is being applied to. If a domain name is not applied, the domain of the computer used to generate the configuration is used.
  • [String] DomainName (Optional): The FQDN of the domain the configuration is being applied to. If a domain name is not applied, the domain of the computer used to generate the configuration is used.
  • [Hashtable] Exception (Optional): A hash table of the exceptions to be applied to the server. The hashtable must be in the format StigId = Exception.
  • [Xml] OrgSetting (Optional): This is an XML file that overrides the default settings of allowable ranges in the STIG.
  • [PSObject] SkipRule (Optional): Rule Id/s that you do not want to be applied to the server.
  • [PSObject] SkipRuleType (Optional): Rule type/s that you do not want to be applied to the server.

Examples

WindowsFirewall

Provides a mechanism to manage the Windows Firewall STIG settings.

Requirements

None

Parameters

  • [String] StigVersion (Optional): The version of the STIG you want to apply. If no value is provided, the most recent version of the STIG is applied.
  • [Hashtable] Exception (Optional): A hash table of the exceptions to be applied to the server. The hashtable must be in the format StigId = Exception.
  • [Xml] OrgSetting (Optional): This is an XML file that overrides the default settings of allowable ranges in the STIG.
  • [PSObject] SkipRule (Optional): Rule Id/s that you do not want to be applied to the server.
  • [PSObject] SkipRuleType (Optional): Rule type/s that you do not want to be applied to the server.

Examples

WindowsServer

Provides a mechanism to manage the Windows Server STIG settings.

Requirements

None

Parameters

  • [String] OsVersion (Mandatory): The version of the server OS that the configuration is applying to.
  • [String] OsRole (Mandatory): The role of the computer the configuration applies to.
  • [String] StigVersion (Optional): The version of the STIG you want to apply. If no value is provided, the most recent version of the STIG is applied.
  • [String] ForestName (Optional): The FQDN of the forest the configuration is being applied to. If a domain name is not applied, the domain of the computer used to generate the configuration is used.
  • [String] DomainName (Optional): The FQDN of the domain the configuration is being applied to. If a domain name is not applied, the domain of the computer used to generate the configuration is used.
  • [Hashtable] Exception (Optional): A hash table of the exceptions to be applied to the server. The hashtable must be in the format StigId = Exception.
  • [Xml] OrgSetting (Optional): This is an XML file that overrides the default settings of allowable ranges in the STIG.
  • [PSObject] SkipRule (Optional): Rule Id/s that you do not want to be applied to the server.
  • [PSObject] SkipRuleType (Optional): Rule type/s that you do not want to be applied to the server.

Examples

Versions

1.1.0.0

  • Added ModuleVersion parameter to each Import-DscResource for all composite resources
  • Added support for Technology enumeration added to PowerStig 1.1.0.0

1.0.0.0

  • Browser Composite
  • Windows DNS Server Composite
  • Windows Firewall Composite
  • Windows Server Composite

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.