feat(iwooos): expose wazuh manager registry reviewer validation
Some checks failed
Code Review / ai-code-review (push) Successful in 16s
CD Pipeline / tests (push) Successful in 1m37s
CD Pipeline / build-and-deploy (push) Successful in 4m43s
CD Pipeline / post-deploy-checks (push) Has been cancelled
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled
Some checks failed
Code Review / ai-code-review (push) Successful in 16s
CD Pipeline / tests (push) Successful in 1m37s
CD Pipeline / build-and-deploy (push) Successful in 4m43s
CD Pipeline / post-deploy-checks (push) Has been cancelled
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled
This commit is contained in:
@@ -127,6 +127,10 @@ def validate(root: Path) -> None:
|
||||
str(root / "scripts" / "security" / "wazuh-managed-host-coverage-gate.py")
|
||||
)
|
||||
wazuh_managed_host_coverage_gate["validate"](root)
|
||||
wazuh_manager_registry_reviewer_validation = runpy.run_path(
|
||||
str(root / "scripts" / "security" / "wazuh-manager-registry-reviewer-validation.py")
|
||||
)
|
||||
wazuh_manager_registry_reviewer_validation["validate"](root)
|
||||
telegram_alert_readability_guard = runpy.run_path(
|
||||
str(root / "scripts" / "security" / "telegram-alert-readability-guard.py")
|
||||
)
|
||||
@@ -345,6 +349,15 @@ def validate(root: Path) -> None:
|
||||
iwooos_wazuh_managed_host_coverage_test = (
|
||||
root / "apps" / "api" / "tests" / "test_iwooos_wazuh_managed_host_coverage.py"
|
||||
).read_text(encoding="utf-8")
|
||||
iwooos_wazuh_manager_registry_reviewer_validation_service = (
|
||||
root / "apps" / "api" / "src" / "services" / "iwooos_wazuh_manager_registry_reviewer_validation.py"
|
||||
).read_text(encoding="utf-8")
|
||||
iwooos_wazuh_manager_registry_reviewer_validation_test = (
|
||||
root / "apps" / "api" / "tests" / "test_iwooos_wazuh_manager_registry_reviewer_validation.py"
|
||||
).read_text(encoding="utf-8")
|
||||
wazuh_manager_registry_reviewer_validation_script = (
|
||||
root / "scripts" / "security" / "wazuh-manager-registry-reviewer-validation.py"
|
||||
).read_text(encoding="utf-8")
|
||||
tenants_api_contract = (
|
||||
root / "apps" / "api" / "src" / "api" / "v1" / "platform" / "tenants.py"
|
||||
).read_text(encoding="utf-8")
|
||||
@@ -29529,6 +29542,9 @@ def validate(root: Path) -> None:
|
||||
iwooos_api_client,
|
||||
iwooos_wazuh_managed_host_coverage_service,
|
||||
iwooos_wazuh_managed_host_coverage_test,
|
||||
iwooos_wazuh_manager_registry_reviewer_validation_service,
|
||||
iwooos_wazuh_manager_registry_reviewer_validation_test,
|
||||
wazuh_manager_registry_reviewer_validation_script,
|
||||
]
|
||||
)
|
||||
for expected in [
|
||||
@@ -29551,6 +29567,16 @@ def validate(root: Path) -> None:
|
||||
"Wazuh 主機覆蓋只讀 API 已接上",
|
||||
"wazuh_managed_host_coverage_manager_registry_accepted_count=0",
|
||||
"wazuh_managed_host_coverage_runtime_gate_count=0",
|
||||
"iwooos-wazuh-manager-registry-reviewer-validation-board",
|
||||
"iwooos-wazuh-manager-registry-reviewer-validation-slots",
|
||||
"wazuhManagerRegistryReviewerValidation",
|
||||
"getIwoooSWazuhManagerRegistryReviewerValidation",
|
||||
"apiClient.getIwoooSWazuhManagerRegistryReviewerValidation",
|
||||
"Wazuh manager registry reviewer validation 已讀回",
|
||||
"wazuh_manager_registry_reviewer_validation_owner_registry_export_received_count=0",
|
||||
"wazuh_manager_registry_reviewer_validation_owner_registry_export_accepted_count=0",
|
||||
"wazuh_manager_registry_reviewer_validation_manager_registry_accepted_count=0",
|
||||
"wazuh_manager_registry_reviewer_validation_runtime_gate_count=0",
|
||||
]:
|
||||
assert_text_contains("iwooos_frontend_product_text.wazuh_managed_host_coverage", frontend_product_text, expected)
|
||||
for expected in [
|
||||
@@ -29565,6 +29591,14 @@ def validate(root: Path) -> None:
|
||||
"wazuh_managed_host_coverage_required_evidence_accepted_count=0",
|
||||
"wazuh_agent_reenroll_authorized=false",
|
||||
"wazuh_agent_restart_authorized=false",
|
||||
"/api/v1/iwooos/wazuh-manager-registry-reviewer-validation",
|
||||
"wazuh_manager_registry_reviewer_validation_v1",
|
||||
"iwooos_wazuh_manager_registry_reviewer_validation_readback_v1",
|
||||
"test_iwooos_wazuh_manager_registry_reviewer_validation_api_is_public_safe",
|
||||
"wazuh_manager_registry_reviewer_validation_owner_registry_export_received_count=0",
|
||||
"wazuh_manager_registry_reviewer_validation_owner_registry_export_accepted_count=0",
|
||||
"wazuh_manager_registry_reviewer_validation_manager_registry_accepted_count=0",
|
||||
"wazuh_manager_registry_reviewer_validation_runtime_gate_count=0",
|
||||
]:
|
||||
assert_text_contains(
|
||||
"iwooos_wazuh_managed_host_coverage_source",
|
||||
|
||||
Reference in New Issue
Block a user