Consider moving cryptopolicy related rules from fips group to crypto group
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- security
調査の方向性
PR 13840、fips と crypto の group.yaml ファイル、および fips_crypto_subpolicy、fips_custom_stig_sub_policy、場合によっては fips_crypto_policy_symlinks の定義と remediation を確認してください。グループの適用可能性とルールの順序、特に fips:stig remediation パスを確認してください。完了とは、ルールが意図されたグループ配置、適用可能性、および機能する remediation の順序になっていることを意味します。
索引モデルが issue の本文から書いたものです。
説明
This issue is a follow-up to https://github.com/ComplianceAsCode/content/pull/13840
Basically, currently we have three rules which are located in the fips group and at the same time they are related to specific modifications of cryptopolicies.
- fips_crypto_subpolicy
- fips_custom_stig_sub_policy
- and possibly also fips_crypto_policy_symlinks
Before the PR mentioned above was merged, the whole fips group had a platform in group.yaml which made it inapplicable in containers, bootc systems etc.
And this mostly makes sense because FIPS mode is achieved differently in containers and immutable systems.
The PR was rather a quick fix.
I think that ideally rules mentioned above should be moved to the crypto group which has no applicability restrictions.
And at the same time, the applicability of rules in the fips group could return back to the group.yml.
The thing which remains to be solved is to later ensure proper rule ordering in the crypto group. Especially the rule fips_custom_stig_sub_policy caused problems when it was placed after the general configure_crypto_policy rule. The problem was that when remediating (imagebuilder), the remediation of configure_crypto_policy could fail in case the fips:stig is configured, because it tries to configure policy which does not exist yet.
Of course, this would not happen if fips:stig would be shipped directly in the distro.
Ideas and comments welcomed.
- 主要言語
- Shell
- スター
- 2.8k
- フォーク
- 847
- 平均マージ
- 3日 7時間
- マージ済み PR(30日)
- 88
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ComplianceAsCode/content のほかの issue
-
triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ComplianceAsCode/content#15241 ·
メンテナーはふだん 2 日以内に返信
-
triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ComplianceAsCode/content#15172 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Rules of audit_rules_dac_modification template are misaligned with DISA再び着手できるかも @macko1 が 43 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンproductization-issue RHEL10 STIG triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ComplianceAsCode/content#15135 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ComplianceAsCode/content#14994 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
triaged
難易度 2/5 半日 初心者へのやさしさ 62/100
ComplianceAsCode/content#12264 ·
メンテナーはふだん 2 日以内に返信
ComplianceAsCode/content の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
area:docs phase:release priority:p0 type:test
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
premises-missing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
WingedGuardian/GENesis-AGI#3917 ·
メンテナーはふだん 1 日以内に返信
-
needs-device
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Non-root first start logs "Base venv updated (stamp mismatch)" instead of the first-run messageオープンarea: infrastructure bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
snapotter-hq/SnapOtter#4573 ·
メンテナーはふだん 1 日以内に返信