fix(security): restrict executor SSH egress
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m32s
CD Pipeline / build-and-deploy (push) Failing after 6m7s
CD Pipeline / post-deploy-checks (push) Has been skipped

This commit is contained in:
ogt
2026-07-11 01:42:00 +08:00
parent da42d9a7fc
commit 85159f25a0
9 changed files with 284 additions and 42 deletions

View File

@@ -665,7 +665,7 @@ async def lifespan(_app: FastAPI) -> AsyncGenerator[None, None]:
"awooop_ansible_check_mode_worker_schedule_evaluated",
enabled=settings.ENABLE_AWOOOP_ANSIBLE_CHECK_MODE_WORKER,
scheduled_in_api_process=scheduled_task is not None,
production_process_owner="awoooi-worker",
production_process_owner="awoooi-ansible-executor-broker",
interval_seconds=settings.AWOOOP_ANSIBLE_CHECK_MODE_INTERVAL_SECONDS,
)
except Exception as e: