Some rules scan the hypershift management cluster
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- security
Hướng nghiên cứu
Bắt đầu với các định nghĩa rule được liệt kê và tài liệu về cách sử dụng management cluster của Hypershift được liên kết trong issue. Xác minh cách mỗi rule sử dụng các biến cluster và namespace-prefix, sau đó quét một hosted cluster trong đó các audit profile của management cluster và guest cluster khác nhau; hoàn tất khi các kiểm tra đánh giá guest cluster một cách nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description of problem:
Some rules don't respect the ocp4-hypershift-cluster and ocp4-hypershift-namespace-prefix variables, so they scan the management cluster and not the guest one, thus produce incorrect results.
List of rules:
ocp4-api-server-anonymous-authocp4-api-server-oauth-https-serving-certocp4-api-server-openshift-https-serving-certocp4-api-server-profiling-protected-by-rbacocp4-api-server-tls-security-profile-custom-min-tls-versionocp4-api-server-tls-security-profile-not-oldocp4-audit-logging-enabledocp4-audit-profile-setocp4-kubelet-configure-tls-cipher-suites-ingresscontrollerocp4-ocp-allowed-registriesocp4-ocp-allowed-registries-for-importocp4-ocp-insecure-allowed-registries-for-importocp4-ocp-insecure-registriesocp4-rbac-debug-role-protects-pprofocp4-scc-limit-container-allowed-capabilitiesocp4-scheduler-profiling-protected-by-rbacocp4-scheduler-service-protected-by-rbac
SCAP Security Guide Version:
0.1.78
Operating System Version:
RHCOS 9.6.20251013-1
Steps to Reproduce:
- Create a Hypershift hosted cluster
- Set for example the audit profile to "None" on the HostedCluster
- Make sure the audit profile is not set to "None" on the management cluster
- Follow the usage docs here to run a scan: https://github.com/ComplianceAsCode/compliance-operator/blob/master/doc/usage.md#how-to-use-compliance-operator-with-hypershift-management-cluster
Actual Results:
The ocp4-audit-logging-enabled check will succeed
Expected Results:
The ocp4-audit-logging-enabled check should fail
Additional Information/Debugging Steps:
N/A
- Ngôn ngữ chính
- Shell
- Star
- 2.8k
- Fork
- 829
- Merge trung bình
- 4 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ComplianceAsCode/content
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ComplianceAsCode/content#15152 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ComplianceAsCode/content#15151 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ComplianceAsCode/content#15144 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Rules of audit_rules_dac_modification template are misaligned with DISACó thể đã có người làm @macko1 đã nhận 6 ngày trước. Đang mởproductization-issue RHEL10 STIG triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ComplianceAsCode/content#15135 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ComplianceAsCode/content#14994 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của ComplianceAsCode/content
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
githubnext/gh-aw-workshop#3969 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Request: Remove l-town appĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
getumbrel/umbrel-apps#6137 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
🎙️ task - fix(deployer): deploy --env prep runs deploy:dev where the repo declares deploy:prepĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: backend good first issue priority: P3 - low size: S type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Mizithra/ActiveTerrain#31 ·