Firewall and FirewallProfile: Add PolicyStore to allow targeting local group policy
@brajjan がすでに取り組んでいます。
2022年9月3日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- powershell
- 領域
- networking
調査の方向性
まず Firewall と FirewallProfile リソース、およびそれらの Get/Set/Test-TargetResource 関数を見つけ、次に指定されたヘルパーと NetFirewall コマンドの呼び出しをたどります。PolicyStore が指定され、ルールが存在する場合と存在しない場合の Get-FirewallRule に関する 2 つの Pester テストを確認します。両方のリソースがデフォルトとして persistentstore を使用する PolicyStore をサポートし、一覧にあるヘルパー、コマンド、テストのパスがカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Details of the scenario you tried and the problem that is occurring
Enable the "PolicyStore" parameter to be specified to permit targeting the local group policy store of the machine as well as the default persistent store when using both the Firewall and FirewallProfile resources
Verbose logs showing the problem
New Feature request
Suggested solution to the issue
Add "policystore" as a DSC property for both Firewall and FirewallProfile resources
Set the default value of the "policystore" parameter to be "persistentstore" to make it a non-breaking change and accommodate all existing configurations.
Add "policystore" parameter to
- Get/Set/Test-TargetResource functions in both Resources
- Get-FirewallRule and Get-FirewalRulleProperty helper functions in Firewall resource
- Get/Set/New-NetFirewallRule commands in Firewall resource
- Get/Set-NetFirewallProfile commands in FirewallProfile resource
The DSC configuration that is used to reproduce the issue (as detailed as possible)
New Feature request
The operating system the target node is running
Server 2016/2019 - New Feature request
Version and build of PowerShell the target node is running
New Feature request
Version of the DSC module that was used ('dev' if using current dev branch)
dev
I have made and tested the required changes and can happily submit a pull request with the updates to the code and localization strings.
I have also added two Pester tests to the Firewall resources for the helper function "Get-FirewallRule" when the -policystore is specified and the firewall rule is present/absent.
- 主要言語
- PowerShell
- スター
- 234
- フォーク
- 92
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dsccommunity/NetworkingDsc のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dsccommunity/NetworkingDsc#544 ·
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 72/100
dsccommunity/NetworkingDsc#542 ·
-
chore
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
dsccommunity/NetworkingDsc#543 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
dsccommunity/NetworkingDsc#539 ·
-
Add Codeowners fileオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
dsccommunity/NetworkingDsc#538 ·
dsccommunity/NetworkingDsc の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
aidev-iprokszin/ipcam-mcp#15 ·
-
難易度 2/5 1時間未満 初心者へのやさしさ 65/100
qnikst/HaskellNet#125 ·
-
scheduleGrant: a capped grant marks a still-backlogged connection inactive (LteSchedulerEnb.cc:403).オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
FujiNetWIFI/fujinet-firmware#2270 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
Juniper/ansible-junos-stdlib#909 ·