Files
awoooi/docs/security/cd-runner-secret-injection-change-evidence-acceptance.snapshot.json
Your Name 5034e715fb
All checks were successful
Code Review / ai-code-review (push) Successful in 14s
CD Pipeline / tests (push) Successful in 1m29s
CD Pipeline / build-and-deploy (push) Successful in 4m8s
CD Pipeline / post-deploy-checks (push) Successful in 1m29s
fix(iwooos): 新增 cd runner secret 變更證據驗收
2026-06-15 03:46:07 +08:00

1229 lines
44 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"blocked_actions": [
"modify_workflow",
"workflow_dispatch_without_approval",
"enable_runner",
"change_runner_label",
"install_runner",
"restart_runner",
"use_runner_admin_token",
"enable_github_hosted_runner",
"collect_secret_value",
"collect_secret_hash",
"collect_partial_token",
"create_repo_secret",
"update_repo_secret",
"rotate_secret",
"delete_secret",
"read_secret_store",
"change_secret_injection_path",
"modify_webhook",
"change_webhook_secret",
"modify_deploy_key",
"rotate_deploy_key",
"change_branch_protection",
"change_codeowners",
"sync_refs",
"force_push",
"switch_github_primary",
"disable_gitea",
"run_cd_pipeline_as_action",
"inject_k8s_secret",
"argocd_sync",
"production_deploy",
"add_action_button"
],
"change_evidence_candidates": [
{
"action_buttons_allowed": false,
"affected_scope": "main push CD、Harbor build / push、K8s secret injection、ArgoCD deploy marker、post-deploy checks",
"argocd_sync_authorized": false,
"blast_radius": "pending_change_evidence",
"blocked_actions": [
"modify_workflow",
"workflow_dispatch_without_approval",
"enable_runner",
"change_runner_label",
"install_runner",
"restart_runner",
"use_runner_admin_token",
"enable_github_hosted_runner",
"collect_secret_value",
"collect_secret_hash",
"collect_partial_token",
"create_repo_secret",
"update_repo_secret",
"rotate_secret",
"delete_secret",
"read_secret_store",
"change_secret_injection_path",
"modify_webhook",
"change_webhook_secret",
"modify_deploy_key",
"rotate_deploy_key",
"change_branch_protection",
"change_codeowners",
"sync_refs",
"force_push",
"switch_github_primary",
"disable_gitea",
"run_cd_pipeline_as_action",
"inject_k8s_secret",
"argocd_sync",
"production_deploy",
"add_action_button"
],
"branch_protection_change_authorized": false,
"cd_pipeline_run_authorized": false,
"change_evidence_accepted": false,
"change_evidence_candidate_id": "cd_runner_secret_injection:cd_pipeline_deploy_marker_and_k8s_secret_injection",
"change_evidence_fields": [
"change_evidence_candidate_id",
"source_refs",
"control_tier",
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"change_evidence_quarantined": false,
"change_evidence_received": false,
"change_evidence_rejected": false,
"codeowners_change_authorized": false,
"control_tier": "C0",
"deploy_key_change_authorized": false,
"deploy_marker_readback_accepted": false,
"deploy_marker_readback_ref": null,
"deploy_marker_write_authorized": false,
"disable_gitea_authorized": false,
"force_push_authorized": false,
"gitea_action_dispatch_authorized": false,
"gitea_action_run_ref": null,
"github_hosted_runner_enable_authorized": false,
"github_primary_switch_authorized": false,
"guard_result_accepted": false,
"guard_result_ref": null,
"k8s_secret_injection_authorized": false,
"log_redaction_review_ref": null,
"maintenance_window": "pending_change_evidence",
"not_approval": true,
"notification_route_owner_ref": null,
"outcome_lanes": [
"waiting_change_evidence",
"quarantine_sensitive_payload",
"reject_unredacted_or_runtime_claim",
"request_supplement",
"ready_for_reviewer_acceptance",
"ready_for_runtime_approval_package",
"waiting_maintenance_window",
"waiting_runtime_gate"
],
"partial_token_collection_allowed": false,
"postcheck_evidence_accepted": false,
"postcheck_evidence_ref": null,
"production_deploy_authorized": false,
"proposed_workflow_or_config_change_ref": null,
"redacted_evidence_refs": [],
"refs_sync_authorized": false,
"repo_secret_change_authorized": false,
"required_evidence_fields": [
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"requires_runtime_approval_package": true,
"reviewer_checks": [
"change_ref_present",
"workflow_diff_ref_only",
"gitea_actions_run_readback_ref_shape",
"deploy_marker_not_runtime_approval",
"runner_owner_attestation_present",
"hosted_minutes_risk_review_present",
"secret_name_parity_ref_only",
"no_secret_value_or_hash",
"secret_injection_path_called_out",
"step_env_with_secret_guard_result_present",
"telegram_route_owner_present",
"deploy_key_and_webhook_material_absent",
"branch_protection_or_required_checks_impact_called_out",
"blast_radius_present",
"maintenance_window_present",
"rollback_owner_present",
"postcheck_evidence_present",
"no_execution_claim",
"cross_project_sync_noted"
],
"reviewer_outcome": "waiting_change_evidence",
"risk": "HIGH",
"rollback_owner": "pending_change_evidence",
"rollback_plan_ref": null,
"runner_attestation_accepted": false,
"runner_attestation_ref": null,
"runner_change_authorized": false,
"runtime_approval_package_ready": false,
"runtime_execution_authorized": false,
"runtime_gate": false,
"secret_hash_collection_allowed": false,
"secret_injection_change_authorized": false,
"secret_injection_route_accepted": false,
"secret_injection_route_ref": null,
"secret_name_parity_accepted": false,
"secret_name_parity_ref": null,
"secret_rotation_authorized": false,
"secret_store_read_authorized": false,
"secret_value_collection_allowed": false,
"source_refs": [
".gitea/workflows/cd.yaml",
"scripts/ci/check-gitea-step-env-secrets.js"
],
"status": "waiting_change_evidence",
"step_env_secret_allowed": false,
"title": "CD pipeline / deploy marker / K8s secret 注入路徑",
"webhook_modification_authorized": false,
"workflow_diff_accepted": false,
"workflow_diff_ref": null,
"workflow_modification_authorized": false,
"workflow_secret_name_refs": [
"ARGOCD_API_TOKEN",
"AWOOOI_GITEA_API_TOKEN",
"AWOOOI_GITEA_WEBHOOK_SECRET",
"AWOOOP_OPERATOR_API_KEY",
"CD_PUSH_TOKEN",
"CLAUDE_API_KEY",
"DATABASE_URL",
"DEPLOY_SSH_KEY",
"GEMINI_API_KEY",
"HARBOR_PASSWORD",
"HARBOR_USERNAME",
"JWT_ALGORITHM",
"JWT_SECRET",
"LANGFUSE_PUBLIC_KEY",
"LANGFUSE_SECRET_KEY",
"MIGRATION_DATABASE_URL",
"NEMOTRON_BOT_TOKEN",
"NVIDIA_API_KEY",
"OPENCLAW_BOT_TOKEN",
"OPENCLAW_TG_USER_WHITELIST",
"REDIS_URL",
"SENTRY_AUTH_TOKEN",
"SENTRY_DSN",
"SMTP_HOST",
"SRE_GROUP_CHAT_ID",
"TELEGRAM_BOT_TOKEN",
"WEBHOOK_HMAC_SECRET"
],
"write_capable": true
},
{
"action_buttons_allowed": false,
"affected_scope": "Code Review、Telegram / AWOOI API notification、deterministic review report、Gitea Actions status",
"argocd_sync_authorized": false,
"blast_radius": "pending_change_evidence",
"blocked_actions": [
"modify_workflow",
"workflow_dispatch_without_approval",
"enable_runner",
"change_runner_label",
"install_runner",
"restart_runner",
"use_runner_admin_token",
"enable_github_hosted_runner",
"collect_secret_value",
"collect_secret_hash",
"collect_partial_token",
"create_repo_secret",
"update_repo_secret",
"rotate_secret",
"delete_secret",
"read_secret_store",
"change_secret_injection_path",
"modify_webhook",
"change_webhook_secret",
"modify_deploy_key",
"rotate_deploy_key",
"change_branch_protection",
"change_codeowners",
"sync_refs",
"force_push",
"switch_github_primary",
"disable_gitea",
"run_cd_pipeline_as_action",
"inject_k8s_secret",
"argocd_sync",
"production_deploy",
"add_action_button"
],
"branch_protection_change_authorized": false,
"cd_pipeline_run_authorized": false,
"change_evidence_accepted": false,
"change_evidence_candidate_id": "cd_runner_secret_injection:code_review_pipeline_secret_and_notification_surface",
"change_evidence_fields": [
"change_evidence_candidate_id",
"source_refs",
"control_tier",
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"change_evidence_quarantined": false,
"change_evidence_received": false,
"change_evidence_rejected": false,
"codeowners_change_authorized": false,
"control_tier": "C0",
"deploy_key_change_authorized": false,
"deploy_marker_readback_accepted": false,
"deploy_marker_readback_ref": null,
"deploy_marker_write_authorized": false,
"disable_gitea_authorized": false,
"force_push_authorized": false,
"gitea_action_dispatch_authorized": false,
"gitea_action_run_ref": null,
"github_hosted_runner_enable_authorized": false,
"github_primary_switch_authorized": false,
"guard_result_accepted": false,
"guard_result_ref": null,
"k8s_secret_injection_authorized": false,
"log_redaction_review_ref": null,
"maintenance_window": "pending_change_evidence",
"not_approval": true,
"notification_route_owner_ref": null,
"outcome_lanes": [
"waiting_change_evidence",
"quarantine_sensitive_payload",
"reject_unredacted_or_runtime_claim",
"request_supplement",
"ready_for_reviewer_acceptance",
"ready_for_runtime_approval_package",
"waiting_maintenance_window",
"waiting_runtime_gate"
],
"partial_token_collection_allowed": false,
"postcheck_evidence_accepted": false,
"postcheck_evidence_ref": null,
"production_deploy_authorized": false,
"proposed_workflow_or_config_change_ref": null,
"redacted_evidence_refs": [],
"refs_sync_authorized": false,
"repo_secret_change_authorized": false,
"required_evidence_fields": [
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"requires_runtime_approval_package": true,
"reviewer_checks": [
"change_ref_present",
"workflow_diff_ref_only",
"gitea_actions_run_readback_ref_shape",
"deploy_marker_not_runtime_approval",
"runner_owner_attestation_present",
"hosted_minutes_risk_review_present",
"secret_name_parity_ref_only",
"no_secret_value_or_hash",
"secret_injection_path_called_out",
"step_env_with_secret_guard_result_present",
"telegram_route_owner_present",
"deploy_key_and_webhook_material_absent",
"branch_protection_or_required_checks_impact_called_out",
"blast_radius_present",
"maintenance_window_present",
"rollback_owner_present",
"postcheck_evidence_present",
"no_execution_claim",
"cross_project_sync_noted"
],
"reviewer_outcome": "waiting_change_evidence",
"risk": "HIGH",
"rollback_owner": "pending_change_evidence",
"rollback_plan_ref": null,
"runner_attestation_accepted": false,
"runner_attestation_ref": null,
"runner_change_authorized": false,
"runtime_approval_package_ready": false,
"runtime_execution_authorized": false,
"runtime_gate": false,
"secret_hash_collection_allowed": false,
"secret_injection_change_authorized": false,
"secret_injection_route_accepted": false,
"secret_injection_route_ref": null,
"secret_name_parity_accepted": false,
"secret_name_parity_ref": null,
"secret_rotation_authorized": false,
"secret_store_read_authorized": false,
"secret_value_collection_allowed": false,
"source_refs": [
".gitea/workflows/code-review.yaml",
"scripts/ci/check-gitea-step-env-secrets.js"
],
"status": "waiting_change_evidence",
"step_env_secret_allowed": false,
"title": "Code Review workflow / notification / secret 使用面",
"webhook_modification_authorized": false,
"workflow_diff_accepted": false,
"workflow_diff_ref": null,
"workflow_modification_authorized": false,
"workflow_secret_name_refs": [
"TELEGRAM_BOT_TOKEN"
],
"write_capable": true
},
{
"action_buttons_allowed": false,
"affected_scope": "Prometheus / Alertmanager rule deploy、notification route、SRE receipt evidence",
"argocd_sync_authorized": false,
"blast_radius": "pending_change_evidence",
"blocked_actions": [
"modify_workflow",
"workflow_dispatch_without_approval",
"enable_runner",
"change_runner_label",
"install_runner",
"restart_runner",
"use_runner_admin_token",
"enable_github_hosted_runner",
"collect_secret_value",
"collect_secret_hash",
"collect_partial_token",
"create_repo_secret",
"update_repo_secret",
"rotate_secret",
"delete_secret",
"read_secret_store",
"change_secret_injection_path",
"modify_webhook",
"change_webhook_secret",
"modify_deploy_key",
"rotate_deploy_key",
"change_branch_protection",
"change_codeowners",
"sync_refs",
"force_push",
"switch_github_primary",
"disable_gitea",
"run_cd_pipeline_as_action",
"inject_k8s_secret",
"argocd_sync",
"production_deploy",
"add_action_button"
],
"branch_protection_change_authorized": false,
"cd_pipeline_run_authorized": false,
"change_evidence_accepted": false,
"change_evidence_candidate_id": "cd_runner_secret_injection:deploy_alerts_and_monitoring_route",
"change_evidence_fields": [
"change_evidence_candidate_id",
"source_refs",
"control_tier",
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"change_evidence_quarantined": false,
"change_evidence_received": false,
"change_evidence_rejected": false,
"codeowners_change_authorized": false,
"control_tier": "C1",
"deploy_key_change_authorized": false,
"deploy_marker_readback_accepted": false,
"deploy_marker_readback_ref": null,
"deploy_marker_write_authorized": false,
"disable_gitea_authorized": false,
"force_push_authorized": false,
"gitea_action_dispatch_authorized": false,
"gitea_action_run_ref": null,
"github_hosted_runner_enable_authorized": false,
"github_primary_switch_authorized": false,
"guard_result_accepted": false,
"guard_result_ref": null,
"k8s_secret_injection_authorized": false,
"log_redaction_review_ref": null,
"maintenance_window": "pending_change_evidence",
"not_approval": true,
"notification_route_owner_ref": null,
"outcome_lanes": [
"waiting_change_evidence",
"quarantine_sensitive_payload",
"reject_unredacted_or_runtime_claim",
"request_supplement",
"ready_for_reviewer_acceptance",
"ready_for_runtime_approval_package",
"waiting_maintenance_window",
"waiting_runtime_gate"
],
"partial_token_collection_allowed": false,
"postcheck_evidence_accepted": false,
"postcheck_evidence_ref": null,
"production_deploy_authorized": false,
"proposed_workflow_or_config_change_ref": null,
"redacted_evidence_refs": [],
"refs_sync_authorized": false,
"repo_secret_change_authorized": false,
"required_evidence_fields": [
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"requires_runtime_approval_package": true,
"reviewer_checks": [
"change_ref_present",
"workflow_diff_ref_only",
"gitea_actions_run_readback_ref_shape",
"deploy_marker_not_runtime_approval",
"runner_owner_attestation_present",
"hosted_minutes_risk_review_present",
"secret_name_parity_ref_only",
"no_secret_value_or_hash",
"secret_injection_path_called_out",
"step_env_with_secret_guard_result_present",
"telegram_route_owner_present",
"deploy_key_and_webhook_material_absent",
"branch_protection_or_required_checks_impact_called_out",
"blast_radius_present",
"maintenance_window_present",
"rollback_owner_present",
"postcheck_evidence_present",
"no_execution_claim",
"cross_project_sync_noted"
],
"reviewer_outcome": "waiting_change_evidence",
"risk": "MEDIUM",
"rollback_owner": "pending_change_evidence",
"rollback_plan_ref": null,
"runner_attestation_accepted": false,
"runner_attestation_ref": null,
"runner_change_authorized": false,
"runtime_approval_package_ready": false,
"runtime_execution_authorized": false,
"runtime_gate": false,
"secret_hash_collection_allowed": false,
"secret_injection_change_authorized": false,
"secret_injection_route_accepted": false,
"secret_injection_route_ref": null,
"secret_name_parity_accepted": false,
"secret_name_parity_ref": null,
"secret_rotation_authorized": false,
"secret_store_read_authorized": false,
"secret_value_collection_allowed": false,
"source_refs": [
".gitea/workflows/deploy-alerts.yaml",
"scripts/ops/deploy-alerts.sh"
],
"status": "waiting_change_evidence",
"step_env_secret_allowed": false,
"title": "Deploy alerts workflow / monitoring notification route",
"webhook_modification_authorized": false,
"workflow_diff_accepted": false,
"workflow_diff_ref": null,
"workflow_modification_authorized": false,
"workflow_secret_name_refs": [
"DEPLOY_SSH_KEY",
"TELEGRAM_BOT_TOKEN"
],
"write_capable": true
},
{
"action_buttons_allowed": false,
"affected_scope": "awoooi-host、self-hosted、ubuntu-latest、harbor、k8s runner labels 與 executor owner",
"argocd_sync_authorized": false,
"blast_radius": "pending_change_evidence",
"blocked_actions": [
"modify_workflow",
"workflow_dispatch_without_approval",
"enable_runner",
"change_runner_label",
"install_runner",
"restart_runner",
"use_runner_admin_token",
"enable_github_hosted_runner",
"collect_secret_value",
"collect_secret_hash",
"collect_partial_token",
"create_repo_secret",
"update_repo_secret",
"rotate_secret",
"delete_secret",
"read_secret_store",
"change_secret_injection_path",
"modify_webhook",
"change_webhook_secret",
"modify_deploy_key",
"rotate_deploy_key",
"change_branch_protection",
"change_codeowners",
"sync_refs",
"force_push",
"switch_github_primary",
"disable_gitea",
"run_cd_pipeline_as_action",
"inject_k8s_secret",
"argocd_sync",
"production_deploy",
"add_action_button"
],
"branch_protection_change_authorized": false,
"cd_pipeline_run_authorized": false,
"change_evidence_accepted": false,
"change_evidence_candidate_id": "cd_runner_secret_injection:runner_label_and_executor_attestation",
"change_evidence_fields": [
"change_evidence_candidate_id",
"source_refs",
"control_tier",
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"change_evidence_quarantined": false,
"change_evidence_received": false,
"change_evidence_rejected": false,
"codeowners_change_authorized": false,
"control_tier": "C0",
"deploy_key_change_authorized": false,
"deploy_marker_readback_accepted": false,
"deploy_marker_readback_ref": null,
"deploy_marker_write_authorized": false,
"disable_gitea_authorized": false,
"force_push_authorized": false,
"gitea_action_dispatch_authorized": false,
"gitea_action_run_ref": null,
"github_hosted_runner_enable_authorized": false,
"github_primary_switch_authorized": false,
"guard_result_accepted": false,
"guard_result_ref": null,
"k8s_secret_injection_authorized": false,
"log_redaction_review_ref": null,
"maintenance_window": "pending_change_evidence",
"not_approval": true,
"notification_route_owner_ref": null,
"outcome_lanes": [
"waiting_change_evidence",
"quarantine_sensitive_payload",
"reject_unredacted_or_runtime_claim",
"request_supplement",
"ready_for_reviewer_acceptance",
"ready_for_runtime_approval_package",
"waiting_maintenance_window",
"waiting_runtime_gate"
],
"partial_token_collection_allowed": false,
"postcheck_evidence_accepted": false,
"postcheck_evidence_ref": null,
"production_deploy_authorized": false,
"proposed_workflow_or_config_change_ref": null,
"redacted_evidence_refs": [],
"refs_sync_authorized": false,
"repo_secret_change_authorized": false,
"required_evidence_fields": [
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"requires_runtime_approval_package": true,
"reviewer_checks": [
"change_ref_present",
"workflow_diff_ref_only",
"gitea_actions_run_readback_ref_shape",
"deploy_marker_not_runtime_approval",
"runner_owner_attestation_present",
"hosted_minutes_risk_review_present",
"secret_name_parity_ref_only",
"no_secret_value_or_hash",
"secret_injection_path_called_out",
"step_env_with_secret_guard_result_present",
"telegram_route_owner_present",
"deploy_key_and_webhook_material_absent",
"branch_protection_or_required_checks_impact_called_out",
"blast_radius_present",
"maintenance_window_present",
"rollback_owner_present",
"postcheck_evidence_present",
"no_execution_claim",
"cross_project_sync_noted"
],
"reviewer_outcome": "waiting_change_evidence",
"risk": "HIGH",
"rollback_owner": "pending_change_evidence",
"rollback_plan_ref": null,
"runner_attestation_accepted": false,
"runner_attestation_ref": null,
"runner_change_authorized": false,
"runtime_approval_package_ready": false,
"runtime_execution_authorized": false,
"runtime_gate": false,
"secret_hash_collection_allowed": false,
"secret_injection_change_authorized": false,
"secret_injection_route_accepted": false,
"secret_injection_route_ref": null,
"secret_name_parity_accepted": false,
"secret_name_parity_ref": null,
"secret_rotation_authorized": false,
"secret_store_read_authorized": false,
"secret_value_collection_allowed": false,
"source_refs": [
"docs/security/source-control-workflow-secret-name-local-evidence.snapshot.json"
],
"status": "waiting_change_evidence",
"step_env_secret_allowed": false,
"title": "Runner label / executor / hosted minutes owner attestation",
"webhook_modification_authorized": false,
"workflow_diff_accepted": false,
"workflow_diff_ref": null,
"workflow_modification_authorized": false,
"workflow_secret_name_refs": [],
"write_capable": true
},
{
"action_buttons_allowed": false,
"affected_scope": "9 個 in-scope repos 的 secret name parity、rotation owner、CD / K8s injection owner",
"argocd_sync_authorized": false,
"blast_radius": "pending_change_evidence",
"blocked_actions": [
"modify_workflow",
"workflow_dispatch_without_approval",
"enable_runner",
"change_runner_label",
"install_runner",
"restart_runner",
"use_runner_admin_token",
"enable_github_hosted_runner",
"collect_secret_value",
"collect_secret_hash",
"collect_partial_token",
"create_repo_secret",
"update_repo_secret",
"rotate_secret",
"delete_secret",
"read_secret_store",
"change_secret_injection_path",
"modify_webhook",
"change_webhook_secret",
"modify_deploy_key",
"rotate_deploy_key",
"change_branch_protection",
"change_codeowners",
"sync_refs",
"force_push",
"switch_github_primary",
"disable_gitea",
"run_cd_pipeline_as_action",
"inject_k8s_secret",
"argocd_sync",
"production_deploy",
"add_action_button"
],
"branch_protection_change_authorized": false,
"cd_pipeline_run_authorized": false,
"change_evidence_accepted": false,
"change_evidence_candidate_id": "cd_runner_secret_injection:repository_secret_name_parity_and_injection_owner",
"change_evidence_fields": [
"change_evidence_candidate_id",
"source_refs",
"control_tier",
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"change_evidence_quarantined": false,
"change_evidence_received": false,
"change_evidence_rejected": false,
"codeowners_change_authorized": false,
"control_tier": "C0",
"deploy_key_change_authorized": false,
"deploy_marker_readback_accepted": false,
"deploy_marker_readback_ref": null,
"deploy_marker_write_authorized": false,
"disable_gitea_authorized": false,
"force_push_authorized": false,
"gitea_action_dispatch_authorized": false,
"gitea_action_run_ref": null,
"github_hosted_runner_enable_authorized": false,
"github_primary_switch_authorized": false,
"guard_result_accepted": false,
"guard_result_ref": null,
"k8s_secret_injection_authorized": false,
"log_redaction_review_ref": null,
"maintenance_window": "pending_change_evidence",
"not_approval": true,
"notification_route_owner_ref": null,
"outcome_lanes": [
"waiting_change_evidence",
"quarantine_sensitive_payload",
"reject_unredacted_or_runtime_claim",
"request_supplement",
"ready_for_reviewer_acceptance",
"ready_for_runtime_approval_package",
"waiting_maintenance_window",
"waiting_runtime_gate"
],
"partial_token_collection_allowed": false,
"postcheck_evidence_accepted": false,
"postcheck_evidence_ref": null,
"production_deploy_authorized": false,
"proposed_workflow_or_config_change_ref": null,
"redacted_evidence_refs": [],
"refs_sync_authorized": false,
"repo_secret_change_authorized": false,
"required_evidence_fields": [
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"requires_runtime_approval_package": true,
"reviewer_checks": [
"change_ref_present",
"workflow_diff_ref_only",
"gitea_actions_run_readback_ref_shape",
"deploy_marker_not_runtime_approval",
"runner_owner_attestation_present",
"hosted_minutes_risk_review_present",
"secret_name_parity_ref_only",
"no_secret_value_or_hash",
"secret_injection_path_called_out",
"step_env_with_secret_guard_result_present",
"telegram_route_owner_present",
"deploy_key_and_webhook_material_absent",
"branch_protection_or_required_checks_impact_called_out",
"blast_radius_present",
"maintenance_window_present",
"rollback_owner_present",
"postcheck_evidence_present",
"no_execution_claim",
"cross_project_sync_noted"
],
"reviewer_outcome": "waiting_change_evidence",
"risk": "HIGH",
"rollback_owner": "pending_change_evidence",
"rollback_plan_ref": null,
"runner_attestation_accepted": false,
"runner_attestation_ref": null,
"runner_change_authorized": false,
"runtime_approval_package_ready": false,
"runtime_execution_authorized": false,
"runtime_gate": false,
"secret_hash_collection_allowed": false,
"secret_injection_change_authorized": false,
"secret_injection_route_accepted": false,
"secret_injection_route_ref": null,
"secret_name_parity_accepted": false,
"secret_name_parity_ref": null,
"secret_rotation_authorized": false,
"secret_store_read_authorized": false,
"secret_value_collection_allowed": false,
"source_refs": [
"docs/security/source-control-workflow-secret-name-export-request.snapshot.json",
"docs/security/source-control-workflow-secret-name-owner-response.snapshot.json"
],
"status": "waiting_change_evidence",
"step_env_secret_allowed": false,
"title": "Repository secret name parity / injection owner",
"webhook_modification_authorized": false,
"workflow_diff_accepted": false,
"workflow_diff_ref": null,
"workflow_modification_authorized": false,
"workflow_secret_name_refs": [],
"write_capable": true
}
],
"change_evidence_fields": [
"change_evidence_candidate_id",
"source_refs",
"control_tier",
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"execution_boundaries": {
"action_buttons_allowed": false,
"argocd_sync_authorized": false,
"branch_protection_change_authorized": false,
"cd_pipeline_run_authorized": false,
"codeowners_change_authorized": false,
"deploy_key_change_authorized": false,
"deploy_marker_write_authorized": false,
"disable_gitea_authorized": false,
"force_push_authorized": false,
"gitea_action_dispatch_authorized": false,
"github_hosted_runner_enable_authorized": false,
"github_primary_switch_authorized": false,
"k8s_secret_injection_authorized": false,
"not_authorization": true,
"partial_token_collection_allowed": false,
"production_deploy_authorized": false,
"refs_sync_authorized": false,
"repo_secret_change_authorized": false,
"runner_change_authorized": false,
"runtime_execution_authorized": false,
"secret_hash_collection_allowed": false,
"secret_injection_change_authorized": false,
"secret_rotation_authorized": false,
"secret_store_read_authorized": false,
"secret_value_collection_allowed": false,
"step_env_secret_allowed": false,
"webhook_modification_authorized": false,
"workflow_modification_authorized": false
},
"generated_at": "2026-06-15T03:20:00+08:00",
"git_commit": "a8ade565",
"mode": "metadata_only_no_secret_value_no_workflow_change",
"operator_interpretation": [
"此帳本只描述 CD / runner / secret injection 變更證據如何收件與拒收,不是 workflow 變更批准。",
"secret 只能以名稱、scope、present-absent、owner 與 redacted evidence ref 呈現,不得保存 value、hash 或 partial token。",
"deploy marker、Gitea Actions success、AwoooP approval 與 UI 可見狀態都不能被解讀成 runtime gate 已開。",
"未來若要修改 workflow、runner、secret injection、webhook、deploy key 或 branch protection仍需獨立 owner response、維護窗口、rollback owner 與 runtime approval package。"
],
"outcome_lanes": [
{
"lane_id": "waiting_change_evidence",
"meaning": "尚未收到 CD / runner / secret injection 變更證據;所有 accepted / runtime count 維持 0。"
},
{
"lane_id": "quarantine_sensitive_payload",
"meaning": "收到 secret value、hash、runner token、webhook secret、private key 或未脫敏截圖時只能隔離。"
},
{
"lane_id": "reject_unredacted_or_runtime_claim",
"meaning": "出現未脫敏 payload 或把 evidence 誤當執行批准時直接拒收。"
},
{
"lane_id": "request_supplement",
"meaning": "缺 workflow diff、runner owner、secret parity、guard result、rollback 或 post-check 時要求補件。"
},
{
"lane_id": "ready_for_reviewer_acceptance",
"meaning": "metadata 合格後只能進 reviewer acceptance不得自動修改 workflow / secret / runner。"
},
{
"lane_id": "ready_for_runtime_approval_package",
"meaning": "reviewer 接受後也只能形成 runtime approval package不自動打開 gate。"
},
{
"lane_id": "waiting_maintenance_window",
"meaning": "若未來要改 workflow / runner / secret injection仍需獨立維護窗口。"
},
{
"lane_id": "waiting_runtime_gate",
"meaning": "change evidence accepted 後 runtime gate 仍等待獨立人工批准。"
}
],
"required_evidence_fields": [
"proposed_workflow_or_config_change_ref",
"workflow_diff_ref",
"runner_attestation_ref",
"secret_name_parity_ref",
"secret_injection_route_ref",
"deploy_marker_readback_ref",
"gitea_action_run_ref",
"guard_result_ref",
"log_redaction_review_ref",
"notification_route_owner_ref",
"blast_radius",
"maintenance_window",
"rollback_owner",
"rollback_plan_ref",
"postcheck_evidence_ref",
"affected_scope",
"redacted_evidence_refs",
"reviewer_outcome",
"not_approval"
],
"reviewer_checks": [
{
"check_id": "change_ref_present",
"instruction": "必須有 proposed workflow / config / policy change ref不能只寫口頭同意。"
},
{
"check_id": "workflow_diff_ref_only",
"instruction": "只能收 workflow diff ref 或 committed patch ref不保存未脫敏 workflow payload。"
},
{
"check_id": "gitea_actions_run_readback_ref_shape",
"instruction": "Gitea Actions run readback 只能是 run id / job id / status ref不保存 token 或 cookie。"
},
{
"check_id": "deploy_marker_not_runtime_approval",
"instruction": "deploy marker 只能當部署證據,不代表資安 runtime approval。"
},
{
"check_id": "runner_owner_attestation_present",
"instruction": "runner label、executor、host alias、owner 與維護窗口必須可追溯。"
},
{
"check_id": "hosted_minutes_risk_review_present",
"instruction": "涉及 hosted runner 時必須標出額度與供應鏈風險,不得自動啟用。"
},
{
"check_id": "secret_name_parity_ref_only",
"instruction": "secret parity 只能保存 secret name / scope / present-absent / owner metadata。"
},
{
"check_id": "no_secret_value_or_hash",
"instruction": "不得出現 secret value、hash、masked token、partial token 或 credential derivative。"
},
{
"check_id": "secret_injection_path_called_out",
"instruction": "涉及 CD / K8s secret injection 時必須標出 injection path 與 owner不得讀 value。"
},
{
"check_id": "step_env_with_secret_guard_result_present",
"instruction": "必須附 `check-gitea-step-env-secrets` 或等價 guard result ref。"
},
{
"check_id": "telegram_route_owner_present",
"instruction": "涉及通知時必須確認 SRE route owner不得新增 legacy Telegram route。"
},
{
"check_id": "deploy_key_and_webhook_material_absent",
"instruction": "不得保存 webhook secret、deploy key private material、runner token 或 write token。"
},
{
"check_id": "branch_protection_or_required_checks_impact_called_out",
"instruction": "影響 required checks / CODEOWNERS / branch protection 時必須標出影響。"
},
{
"check_id": "blast_radius_present",
"instruction": "必須列出 repo、workflow、runner、secret metadata、notification、deploy path 影響範圍。"
},
{
"check_id": "maintenance_window_present",
"instruction": "任何 future workflow / runner / secret injection 變更都必須另有維護窗口。"
},
{
"check_id": "rollback_owner_present",
"instruction": "必須有 rollback owner 與回復方式;不能只寫『可回復』。"
},
{
"check_id": "postcheck_evidence_present",
"instruction": "需有 post-check evidence ref例如 guard result、run status、route smoke 或 notification receipt。"
},
{
"check_id": "no_execution_claim",
"instruction": "不能把本帳本、owner response、CD success 或 AwoooP approval 當執行批准。"
},
{
"check_id": "cross_project_sync_noted",
"instruction": "若影響 AwoooP、IwoooS、agent-bounty、監控或公開服務需有跨專案同步 ref。"
}
],
"schema_version": "cd_runner_secret_injection_change_evidence_acceptance_v1",
"source_paths": [
"docs/security/source-control-workflow-secret-name-local-evidence.snapshot.json",
"docs/security/source-control-workflow-secret-name-export-request.snapshot.json",
"docs/security/source-control-workflow-secret-name-owner-response.snapshot.json",
".gitea/workflows/cd.yaml",
".gitea/workflows/code-review.yaml",
".gitea/workflows/deploy-alerts.yaml",
"scripts/ci/check-gitea-step-env-secrets.js"
],
"status": "change_evidence_acceptance_ledger_ready_no_runtime_action",
"summary": {
"action_button_count": 0,
"blocked_action_count": 32,
"c0_change_evidence_candidate_count": 4,
"c1_change_evidence_candidate_count": 1,
"change_evidence_accepted_count": 0,
"change_evidence_candidate_count": 5,
"change_evidence_received_count": 0,
"deploy_marker_readback_accepted_count": 0,
"export_lane_count": 5,
"export_request_count": 9,
"gitea_workflow_file_count": 12,
"gitea_workflow_runner_coverage_percent_after_acceptance": 72,
"gitea_workflow_runner_coverage_percent_before_acceptance": 70,
"github_workflow_file_count": 21,
"guard_result_accepted_count": 0,
"local_referenced_secret_name_count": 42,
"local_workflow_file_count": 33,
"outcome_lane_count": 8,
"owner_response_accepted_count": 0,
"owner_response_received_count": 0,
"owner_response_template_count": 5,
"postcheck_evidence_accepted_count": 0,
"required_evidence_field_count": 19,
"reviewer_check_count": 19,
"runner_attestation_accepted_count": 0,
"runner_label_count": 5,
"runtime_approval_package_ready_count": 0,
"runtime_gate_count": 0,
"secret_injection_route_accepted_count": 0,
"secret_metadata_coverage_percent_after_acceptance": 68,
"secret_metadata_coverage_percent_before_acceptance": 66,
"secret_name_parity_accepted_count": 0,
"workflow_diff_accepted_count": 0,
"write_capable_candidate_count": 5
}
}