feat(web): integrate IwoooS security surfaces
This commit is contained in:
@@ -161,6 +161,7 @@ def validate(root: Path) -> None:
|
||||
"s1_3_low_friction_non_blocking_escalation_lanes",
|
||||
"s2_8_iwooos_frontend_posture_entry",
|
||||
"s2_9_iwooos_posture_projection_contract",
|
||||
"s2_10_iwooos_existing_frontend_surface_integration",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -282,6 +283,23 @@ def validate(root: Path) -> None:
|
||||
rollup_summary["github_primary_ready_count"],
|
||||
)
|
||||
assert_false("iwooos_projection.summary.action_buttons_allowed", iwooos_projection["summary"]["action_buttons_allowed"])
|
||||
expected_iwooos_surface_ids = [
|
||||
"security_compliance",
|
||||
"legacy_security",
|
||||
"legacy_compliance",
|
||||
"alerts",
|
||||
"errors",
|
||||
"authorizations",
|
||||
"governance",
|
||||
"alert_operation_logs",
|
||||
"awooop_approvals",
|
||||
"code_review",
|
||||
]
|
||||
assert_equal(
|
||||
"iwooos_projection.summary.existing_frontend_surface_count",
|
||||
iwooos_projection["summary"]["existing_frontend_surface_count"],
|
||||
len(expected_iwooos_surface_ids),
|
||||
)
|
||||
iwooos_progress = iwooos_projection["progress"]
|
||||
assert_equal("iwooos_projection.progress.overall_percent", iwooos_progress["overall_percent"], progress["overall_percent"])
|
||||
assert_equal(
|
||||
@@ -327,6 +345,35 @@ def validate(root: Path) -> None:
|
||||
item["runtime_execution_authorized"],
|
||||
)
|
||||
assert_true(f"iwooos_projection.posture_pillars.{item['pillar_id']}.not_authorization", item["not_authorization"])
|
||||
iwooos_surfaces = iwooos_projection["existing_frontend_surfaces"]
|
||||
assert_equal(
|
||||
"iwooos_projection.existing_frontend_surfaces.ids",
|
||||
[item["surface_id"] for item in iwooos_surfaces],
|
||||
expected_iwooos_surface_ids,
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.existing_frontend_surfaces.display_order",
|
||||
[item["display_order"] for item in iwooos_surfaces],
|
||||
list(range(1, len(expected_iwooos_surface_ids) + 1)),
|
||||
)
|
||||
for item in iwooos_surfaces:
|
||||
assert_equal(
|
||||
f"iwooos_projection.existing_frontend_surfaces.{item['surface_id']}.display_mode",
|
||||
item["display_mode"],
|
||||
"link_only",
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.existing_frontend_surfaces.{item['surface_id']}.runtime_execution_authorized",
|
||||
item["runtime_execution_authorized"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.existing_frontend_surfaces.{item['surface_id']}.action_buttons_allowed",
|
||||
item["action_buttons_allowed"],
|
||||
)
|
||||
assert_true(
|
||||
f"iwooos_projection.existing_frontend_surfaces.{item['surface_id']}.not_authorization",
|
||||
item["not_authorization"],
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.non_blocking_lane_ids",
|
||||
iwooos_projection["non_blocking_lane_ids"],
|
||||
@@ -344,6 +391,7 @@ def validate(root: Path) -> None:
|
||||
"display_security_posture",
|
||||
"display_progress_estimate",
|
||||
"display_non_blocking_lanes",
|
||||
"display_existing_frontend_security_surfaces",
|
||||
"display_evidence_refs",
|
||||
"display_forbidden_actions",
|
||||
]:
|
||||
|
||||
Reference in New Issue
Block a user