ops-onehit 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ops_onehit-1.0.2/.dockerignore +82 -0
- ops_onehit-1.0.2/.github/ISSUE_TEMPLATE/bug_report.md +59 -0
- ops_onehit-1.0.2/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
- ops_onehit-1.0.2/.github/dependabot.yml +71 -0
- ops_onehit-1.0.2/.github/workflows/ci.yml +477 -0
- ops_onehit-1.0.2/.gitignore +88 -0
- ops_onehit-1.0.2/CHANGELOG.md +144 -0
- ops_onehit-1.0.2/Dockerfile +153 -0
- ops_onehit-1.0.2/Dockerfile.dev +36 -0
- ops_onehit-1.0.2/LICENSE +21 -0
- ops_onehit-1.0.2/MANIFEST.in +30 -0
- ops_onehit-1.0.2/PKG-INFO +1180 -0
- ops_onehit-1.0.2/README.md +1081 -0
- ops_onehit-1.0.2/SECURITY.md +56 -0
- ops_onehit-1.0.2/alembic/README +1 -0
- ops_onehit-1.0.2/alembic/__init__.py +0 -0
- ops_onehit-1.0.2/alembic/env.py +122 -0
- ops_onehit-1.0.2/alembic/script.py.mako +28 -0
- ops_onehit-1.0.2/alembic/versions/20260913_1746_initial.py +518 -0
- ops_onehit-1.0.2/alembic/versions/__init__.py +0 -0
- ops_onehit-1.0.2/alembic.ini +151 -0
- ops_onehit-1.0.2/dashboard/index.html +13 -0
- ops_onehit-1.0.2/dashboard/package-lock.json +3936 -0
- ops_onehit-1.0.2/dashboard/package.json +44 -0
- ops_onehit-1.0.2/dashboard/postcss.config.js +6 -0
- ops_onehit-1.0.2/dashboard/scripts/check-api-contract.mjs +82 -0
- ops_onehit-1.0.2/dashboard/scripts/check-heading-order.mjs +60 -0
- ops_onehit-1.0.2/dashboard/scripts/check-i18n-keys.mjs +62 -0
- ops_onehit-1.0.2/dashboard/scripts/copy-to-static.js +36 -0
- ops_onehit-1.0.2/dashboard/scripts/fix-heading-order.mjs +85 -0
- ops_onehit-1.0.2/dashboard/src/App.vue +84 -0
- ops_onehit-1.0.2/dashboard/src/api/admin.ts +371 -0
- ops_onehit-1.0.2/dashboard/src/api/client.ts +42 -0
- ops_onehit-1.0.2/dashboard/src/api/dashboard.ts +201 -0
- ops_onehit-1.0.2/dashboard/src/api/finops.ts +88 -0
- ops_onehit-1.0.2/dashboard/src/api/notifications.ts +174 -0
- ops_onehit-1.0.2/dashboard/src/api/runbooks.ts +199 -0
- ops_onehit-1.0.2/dashboard/src/components/alerts/AlertChart.vue +37 -0
- ops_onehit-1.0.2/dashboard/src/components/alerts/AlertList.vue +122 -0
- ops_onehit-1.0.2/dashboard/src/components/alerts/RcaPanel.vue +40 -0
- ops_onehit-1.0.2/dashboard/src/components/anomaly/AnomalyChart.vue +39 -0
- ops_onehit-1.0.2/dashboard/src/components/anomaly/AnomalyList.vue +117 -0
- ops_onehit-1.0.2/dashboard/src/components/audit/AuditLog.vue +52 -0
- ops_onehit-1.0.2/dashboard/src/components/common/ChartWrapper.vue +109 -0
- ops_onehit-1.0.2/dashboard/src/components/common/DarkTheme.vue +17 -0
- ops_onehit-1.0.2/dashboard/src/components/common/DataTable.vue +127 -0
- ops_onehit-1.0.2/dashboard/src/components/common/KpiCard.vue +71 -0
- ops_onehit-1.0.2/dashboard/src/components/common/LanguageSwitcher.vue +83 -0
- ops_onehit-1.0.2/dashboard/src/components/common/StatusBar.vue +74 -0
- ops_onehit-1.0.2/dashboard/src/components/episodic/EpisodicMemory.vue +54 -0
- ops_onehit-1.0.2/dashboard/src/components/k8s/K8sPods.vue +61 -0
- ops_onehit-1.0.2/dashboard/src/components/kg/KgStats.vue +22 -0
- ops_onehit-1.0.2/dashboard/src/components/kg/KgTopology.vue +141 -0
- ops_onehit-1.0.2/dashboard/src/components/kpi/KpiCard.vue +71 -0
- ops_onehit-1.0.2/dashboard/src/components/layout/AppShell.vue +248 -0
- ops_onehit-1.0.2/dashboard/src/components/metrics/MetricsTable.vue +34 -0
- ops_onehit-1.0.2/dashboard/src/components/metrics/MetricsTimeSeries.vue +72 -0
- ops_onehit-1.0.2/dashboard/src/components/sop/SopHistory.vue +52 -0
- ops_onehit-1.0.2/dashboard/src/components/sop/SopStatus.vue +33 -0
- ops_onehit-1.0.2/dashboard/src/composables/useA11y.ts +101 -0
- ops_onehit-1.0.2/dashboard/src/composables/useFocusTrap.ts +131 -0
- ops_onehit-1.0.2/dashboard/src/composables/usePrefersReducedMotion.ts +63 -0
- ops_onehit-1.0.2/dashboard/src/i18n/en-US.ts +421 -0
- ops_onehit-1.0.2/dashboard/src/i18n/index.ts +83 -0
- ops_onehit-1.0.2/dashboard/src/i18n/zh-CN.ts +421 -0
- ops_onehit-1.0.2/dashboard/src/i18n.ts +86 -0
- ops_onehit-1.0.2/dashboard/src/locales/en-US.json +343 -0
- ops_onehit-1.0.2/dashboard/src/locales/zh-CN.json +343 -0
- ops_onehit-1.0.2/dashboard/src/main.ts +13 -0
- ops_onehit-1.0.2/dashboard/src/router/index.ts +249 -0
- ops_onehit-1.0.2/dashboard/src/stores/auth.ts +91 -0
- ops_onehit-1.0.2/dashboard/src/stores/live.ts +131 -0
- ops_onehit-1.0.2/dashboard/src/style.css +241 -0
- ops_onehit-1.0.2/dashboard/src/styles/a11y.css +194 -0
- ops_onehit-1.0.2/dashboard/src/utils/labels.ts +91 -0
- ops_onehit-1.0.2/dashboard/src/views/AccuracyView.vue +463 -0
- ops_onehit-1.0.2/dashboard/src/views/CmdbView.vue +411 -0
- ops_onehit-1.0.2/dashboard/src/views/FinopsView.vue +443 -0
- ops_onehit-1.0.2/dashboard/src/views/HomeView.vue +570 -0
- ops_onehit-1.0.2/dashboard/src/views/LoginView.vue +132 -0
- ops_onehit-1.0.2/dashboard/src/views/NotFoundView.vue +33 -0
- ops_onehit-1.0.2/dashboard/src/views/NotificationPrefsView.vue +331 -0
- ops_onehit-1.0.2/dashboard/src/views/NotificationsView.vue +533 -0
- ops_onehit-1.0.2/dashboard/src/views/OverviewView.vue +320 -0
- ops_onehit-1.0.2/dashboard/src/views/RunbookEditorView.vue +708 -0
- ops_onehit-1.0.2/dashboard/src/views/RunbookListView.vue +398 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/AdminDashboardView.vue +164 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/AuditLogView.vue +174 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/OrgDetailView.vue +185 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/OrgListView.vue +205 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/RoleManagerView.vue +149 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/TokenManagerView.vue +165 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/UserDetailView.vue +244 -0
- ops_onehit-1.0.2/dashboard/src/views/admin/UserListView.vue +405 -0
- ops_onehit-1.0.2/dashboard/src/vue-i18n.d.ts +29 -0
- ops_onehit-1.0.2/dashboard/tailwind.config.js +34 -0
- ops_onehit-1.0.2/dashboard/tsconfig.json +29 -0
- ops_onehit-1.0.2/dashboard/vite.config.ts +41 -0
- ops_onehit-1.0.2/dashboard/vitest.a11y.config.ts +26 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/Chart.yaml +36 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/README.md +256 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/_helpers.tpl +62 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/configmap.yaml +17 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/deployment.yaml +161 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/hpa.yaml +40 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/ingress.yaml +45 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/networkpolicy.yaml +35 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/pdb.yaml +26 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/pvc.yaml +24 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/rbac.yaml +36 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/secret.yaml +21 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/service.yaml +29 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/serviceaccount.yaml +24 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/servicemonitor.yaml +28 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/values-multi-region.yaml +157 -0
- ops_onehit-1.0.2/deploy/helm/ops-onehit/values.yaml +272 -0
- ops_onehit-1.0.2/deploy/k8s/01-namespace.yaml +18 -0
- ops_onehit-1.0.2/deploy/k8s/02-configmap.yaml +37 -0
- ops_onehit-1.0.2/deploy/k8s/03-deployment.yaml +140 -0
- ops_onehit-1.0.2/deploy/k8s/04-service.yaml +28 -0
- ops_onehit-1.0.2/deploy/k8s/05-pvc.yaml +31 -0
- ops_onehit-1.0.2/deploy/k8s/06-serviceaccount.yaml +66 -0
- ops_onehit-1.0.2/deploy/k8s/kustomization.yaml +43 -0
- ops_onehit-1.0.2/deployment/.env.example +30 -0
- ops_onehit-1.0.2/deployment/README.md +168 -0
- ops_onehit-1.0.2/deployment/_setup_tools.bat +17 -0
- ops_onehit-1.0.2/deployment/k8s/01-namespace.yaml +16 -0
- ops_onehit-1.0.2/deployment/k8s/02-configmap.yaml +35 -0
- ops_onehit-1.0.2/deployment/k8s/03-deployment.yaml +152 -0
- ops_onehit-1.0.2/deployment/k8s/04-service.yaml +46 -0
- ops_onehit-1.0.2/deployment/k8s/05-pvc.yaml +29 -0
- ops_onehit-1.0.2/deployment/k8s/kustomization.yaml +70 -0
- ops_onehit-1.0.2/deployment/nginx/install_nginx.ps1 +453 -0
- ops_onehit-1.0.2/deployment/nginx/ops-onehit.conf +80 -0
- ops_onehit-1.0.2/deployment/nssm/README.md +109 -0
- ops_onehit-1.0.2/deployment/nssm/install_ops_onehit_web.ps1 +305 -0
- ops_onehit-1.0.2/deployment/nssm/uninstall_ops_onehit_web.ps1 +106 -0
- ops_onehit-1.0.2/docker-compose.dev.yml +38 -0
- ops_onehit-1.0.2/docker-compose.yml +82 -0
- ops_onehit-1.0.2/docs/A11Y.md +524 -0
- ops_onehit-1.0.2/docs/ADMIN.md +486 -0
- ops_onehit-1.0.2/docs/ANOMALY_DETECTION.md +439 -0
- ops_onehit-1.0.2/docs/AUTH.md +513 -0
- ops_onehit-1.0.2/docs/BACKUP.md +482 -0
- ops_onehit-1.0.2/docs/BILLING.md +498 -0
- ops_onehit-1.0.2/docs/CAPABILITY_MATRIX.md +267 -0
- ops_onehit-1.0.2/docs/CHROMADB_MIGRATION.md +189 -0
- ops_onehit-1.0.2/docs/CI_AND_DEPLOYMENT.md +909 -0
- ops_onehit-1.0.2/docs/CLOUD_LLM.md +553 -0
- ops_onehit-1.0.2/docs/CMDB.md +381 -0
- ops_onehit-1.0.2/docs/DASHBOARD.md +803 -0
- ops_onehit-1.0.2/docs/DEMO.md +137 -0
- ops_onehit-1.0.2/docs/DISCOVERY.md +337 -0
- ops_onehit-1.0.2/docs/FINOPS.md +426 -0
- ops_onehit-1.0.2/docs/HA_DEPLOYMENT.md +372 -0
- ops_onehit-1.0.2/docs/I18N.md +161 -0
- ops_onehit-1.0.2/docs/INCIDENTS.md +330 -0
- ops_onehit-1.0.2/docs/K8S_INTEGRATION.md +502 -0
- ops_onehit-1.0.2/docs/KNOWLEDGE_GRAPH.md +543 -0
- ops_onehit-1.0.2/docs/LLM_SETUP.md +509 -0
- ops_onehit-1.0.2/docs/LOG_AGGREGATOR.md +458 -0
- ops_onehit-1.0.2/docs/MULTITENANT.md +339 -0
- ops_onehit-1.0.2/docs/MULTI_HOST.md +432 -0
- ops_onehit-1.0.2/docs/MULTI_SOURCE_COLLECTORS.md +331 -0
- ops_onehit-1.0.2/docs/NOTIFICATIONS.md +520 -0
- ops_onehit-1.0.2/docs/ONBOARDING.md +415 -0
- ops_onehit-1.0.2/docs/PERFORMANCE.md +360 -0
- ops_onehit-1.0.2/docs/PERF_DB.md +250 -0
- ops_onehit-1.0.2/docs/POSTGRES.md +366 -0
- ops_onehit-1.0.2/docs/RBAC_AND_AUDIT.md +445 -0
- ops_onehit-1.0.2/docs/RELEASE.md +233 -0
- ops_onehit-1.0.2/docs/RUNBOOKS.md +328 -0
- ops_onehit-1.0.2/docs/SAML_SSO.md +756 -0
- ops_onehit-1.0.2/docs/SIEM.md +494 -0
- ops_onehit-1.0.2/docs/SLA_REPORTS.md +325 -0
- ops_onehit-1.0.2/docs/SOP.md +344 -0
- ops_onehit-1.0.2/docs/STRIPE_BILLING.md +417 -0
- ops_onehit-1.0.2/docs/TELEMETRY.md +150 -0
- ops_onehit-1.0.2/docs/TRIAL_SIGNUP.md +592 -0
- ops_onehit-1.0.2/docs/USAGE.md +357 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/01-login.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/02-overview-top.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/03-kg-topology.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/04-metrics-timeseries.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/05-alerts-list.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/06-anomaly-list.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/07-sop-history.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/08-audit-log.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/09-episodic-memory.png +0 -0
- ops_onehit-1.0.2/docs/dashboard/screenshots/10-k8s-pods.png +0 -0
- ops_onehit-1.0.2/docs/demo/DEMO_REPORT.md +146 -0
- ops_onehit-1.0.2/docs/demo/gen_placeholder_screenshots.py +29 -0
- ops_onehit-1.0.2/docs/demo/screenshots/01_alert_list.png +0 -0
- ops_onehit-1.0.2/docs/demo/screenshots/02_rca_output.png +0 -0
- ops_onehit-1.0.2/docs/demo/screenshots/03_sop_run.png +0 -0
- ops_onehit-1.0.2/docs/demo/screenshots/04_audit_log.png +0 -0
- ops_onehit-1.0.2/docs/demo/screenshots/05_topology.png +0 -0
- ops_onehit-1.0.2/docs/v1.1_roadmap.md +141 -0
- ops_onehit-1.0.2/finops_budgets.json +15 -0
- ops_onehit-1.0.2/perf_step5_aux.py +123 -0
- ops_onehit-1.0.2/pyproject.toml +455 -0
- ops_onehit-1.0.2/scripts/T6.1_real_rca_test.py +482 -0
- ops_onehit-1.0.2/scripts/_bench_baseline.py +94 -0
- ops_onehit-1.0.2/scripts/_c11_patch_db.py +152 -0
- ops_onehit-1.0.2/scripts/bench.py +378 -0
- ops_onehit-1.0.2/scripts/bench_db.py +493 -0
- ops_onehit-1.0.2/scripts/build_dist.ps1 +92 -0
- ops_onehit-1.0.2/scripts/build_dist.sh +95 -0
- ops_onehit-1.0.2/scripts/dev.sh +53 -0
- ops_onehit-1.0.2/scripts/e2e_b8_dashboard.py +130 -0
- ops_onehit-1.0.2/scripts/e2e_t71_prometheus.py +157 -0
- ops_onehit-1.0.2/scripts/e2e_t77_anomaly.py +179 -0
- ops_onehit-1.0.2/scripts/migrate_rag_to_chromadb.py +346 -0
- ops_onehit-1.0.2/scripts/release.ps1 +81 -0
- ops_onehit-1.0.2/scripts/release.py +407 -0
- ops_onehit-1.0.2/scripts/release.sh +100 -0
- ops_onehit-1.0.2/scripts/seed_dashboard_demo.py +205 -0
- ops_onehit-1.0.2/scripts/smoke_t71.py +39 -0
- ops_onehit-1.0.2/scripts/test_vlm_real.py +106 -0
- ops_onehit-1.0.2/scripts/test_whisper_real.py +120 -0
- ops_onehit-1.0.2/src/ops_onehit/__init__.py +73 -0
- ops_onehit-1.0.2/src/ops_onehit/__main__.py +19 -0
- ops_onehit-1.0.2/src/ops_onehit/admin/__init__.py +27 -0
- ops_onehit-1.0.2/src/ops_onehit/admin/cli.py +631 -0
- ops_onehit-1.0.2/src/ops_onehit/admin/service.py +1103 -0
- ops_onehit-1.0.2/src/ops_onehit/agent/__init__.py +34 -0
- ops_onehit-1.0.2/src/ops_onehit/agent/react.py +392 -0
- ops_onehit-1.0.2/src/ops_onehit/agent/tools.py +1031 -0
- ops_onehit-1.0.2/src/ops_onehit/agent_server/__init__.py +17 -0
- ops_onehit-1.0.2/src/ops_onehit/agent_server/cert_authority.py +130 -0
- ops_onehit-1.0.2/src/ops_onehit/agent_server/router.py +512 -0
- ops_onehit-1.0.2/src/ops_onehit/agents/__init__.py +8 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/__init__.py +33 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/action_scenarios.py +264 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/confidence.py +314 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/correlator.py +420 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/episodic.py +450 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/manager.py +327 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/prompts/__init__.py +1 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/prompts/rca_prompt.txt +53 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/rca_context.py +695 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/rca_engine.py +738 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/rca_runner.py +295 -0
- ops_onehit-1.0.2/src/ops_onehit/alerts/rules.py +294 -0
- ops_onehit-1.0.2/src/ops_onehit/api/__init__.py +25 -0
- ops_onehit-1.0.2/src/ops_onehit/api/admin.py +563 -0
- ops_onehit-1.0.2/src/ops_onehit/api/auth.py +381 -0
- ops_onehit-1.0.2/src/ops_onehit/api/auth_jwt.py +1104 -0
- ops_onehit-1.0.2/src/ops_onehit/api/auth_saml.py +420 -0
- ops_onehit-1.0.2/src/ops_onehit/api/dashboard.py +1102 -0
- ops_onehit-1.0.2/src/ops_onehit/api/dashboard_auth.py +114 -0
- ops_onehit-1.0.2/src/ops_onehit/api/errors.py +273 -0
- ops_onehit-1.0.2/src/ops_onehit/api/finops_api.py +527 -0
- ops_onehit-1.0.2/src/ops_onehit/api/ha.py +105 -0
- ops_onehit-1.0.2/src/ops_onehit/api/incidents.py +744 -0
- ops_onehit-1.0.2/src/ops_onehit/api/onboarding.py +286 -0
- ops_onehit-1.0.2/src/ops_onehit/api/orgs.py +604 -0
- ops_onehit-1.0.2/src/ops_onehit/api/reports.py +251 -0
- ops_onehit-1.0.2/src/ops_onehit/api/runbooks.py +458 -0
- ops_onehit-1.0.2/src/ops_onehit/api/server.py +3366 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AccuracyView-Cq-v-7B3.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AccuracyView-DY5ZPOEk.css +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AdminDashboardView-CzxheHhV.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AuditLogView-CswiKa9N.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/ChartWrapper.vue_vue_type_script_setup_true_lang-Ct88f_mA.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/CmdbView-6KQla_P_.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/DataTable.vue_vue_type_script_setup_true_lang-C-atII5O.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/FinopsView-Dz8CJBFY.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/FinopsView-UyVl5PSP.css +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/HomeView-yiz7G0ww.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/KgTopology.vue_vue_type_script_setup_true_lang-Bgwljw2K.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/KpiCard.vue_vue_type_script_setup_true_lang-B01Dt3B8.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/LoginView-hAH_DSbQ.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/NotFoundView-Dqq68OQD.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/NotificationPrefsView-JORVuOzq.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/NotificationsView-BXNkNoja.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/OrgDetailView-Cpm7dIAZ.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/OrgListView-BxvPlMl8.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/OverviewView-BCtyx16y.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/RoleManagerView-DnKfFGf0.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/RunbookEditorView-CSqbeTUQ.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/RunbookListView-BiaNFgD4.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/TokenManagerView-4fDztipO.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/UserDetailView-BCZqTLiO.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/UserListView-C_SMNvHn.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/admin-DEttt-Ui.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/chart-B1X4VPrN.js +18 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/cytoscape-C5JX3QLV.js +331 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/datatables-l0sNRNKZ.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/index-Cao5u-jj.css +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/index-PCCFbuay.js +28 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/labels-jzRZhRwT.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/notifications-C2mAOFH1.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/runbooks-B5M6vXeS.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/useFocusTrap-Cmy-5_l5.js +1 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/vue-C5ZAxC57.js +30 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/index.html +15 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/index.html +232 -0
- ops_onehit-1.0.2/src/ops_onehit/api/static/onboarding/index.html +445 -0
- ops_onehit-1.0.2/src/ops_onehit/api/websocket.py +190 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/__init__.py +12 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/saml/__init__.py +170 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/saml/metadata.py +252 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/saml/provider.py +406 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/saml/request.py +471 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/saml/response.py +585 -0
- ops_onehit-1.0.2/src/ops_onehit/auth/saml/settings.py +570 -0
- ops_onehit-1.0.2/src/ops_onehit/backup/__init__.py +92 -0
- ops_onehit-1.0.2/src/ops_onehit/backup/archive.py +458 -0
- ops_onehit-1.0.2/src/ops_onehit/backup/cli.py +216 -0
- ops_onehit-1.0.2/src/ops_onehit/backup/core.py +554 -0
- ops_onehit-1.0.2/src/ops_onehit/backup/crypto.py +228 -0
- ops_onehit-1.0.2/src/ops_onehit/backup/scheduler.py +499 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/__init__.py +44 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/api.py +737 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/cli.py +374 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/dashboard.py +347 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/limits.py +648 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/middleware.py +242 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/plans.py +265 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/static/billing/index.html +294 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/store.py +732 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/__init__.py +94 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/checkout.py +303 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/client.py +295 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/endpoints.py +380 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/portal.py +129 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/proration.py +159 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/sync_plans.py +247 -0
- ops_onehit-1.0.2/src/ops_onehit/billing/stripe/webhook.py +765 -0
- ops_onehit-1.0.2/src/ops_onehit/cli.py +155 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/__init__.py +23 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/cli.py +532 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/__init__.py +33 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/aws.py +323 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/base.py +207 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/k8s.py +330 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/vmware.py +422 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/drift.py +292 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/sync.py +248 -0
- ops_onehit-1.0.2/src/ops_onehit/cmdb/topology.py +206 -0
- ops_onehit-1.0.2/src/ops_onehit/core/__init__.py +7 -0
- ops_onehit-1.0.2/src/ops_onehit/core/config.py +254 -0
- ops_onehit-1.0.2/src/ops_onehit/data/__init__.py +27 -0
- ops_onehit-1.0.2/src/ops_onehit/data/cli.py +203 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collector_runner.py +428 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/__init__.py +60 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/docker.py +282 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/http_endpoint.py +366 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/k8s.py +736 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/k8s_cli.py +354 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/prometheus.py +324 -0
- ops_onehit-1.0.2/src/ops_onehit/data/collectors/system.py +448 -0
- ops_onehit-1.0.2/src/ops_onehit/data/db.py +5187 -0
- ops_onehit-1.0.2/src/ops_onehit/data/db_engine.py +491 -0
- ops_onehit-1.0.2/src/ops_onehit/data/schema.py +1109 -0
- ops_onehit-1.0.2/src/ops_onehit/data/tenant.py +132 -0
- ops_onehit-1.0.2/src/ops_onehit/data/types.py +105 -0
- ops_onehit-1.0.2/src/ops_onehit/deployment/__init__.py +22 -0
- ops_onehit-1.0.2/src/ops_onehit/deployment/models.py +307 -0
- ops_onehit-1.0.2/src/ops_onehit/detection/__init__.py +54 -0
- ops_onehit-1.0.2/src/ops_onehit/detection/base.py +170 -0
- ops_onehit-1.0.2/src/ops_onehit/detection/cli.py +360 -0
- ops_onehit-1.0.2/src/ops_onehit/detection/engine.py +529 -0
- ops_onehit-1.0.2/src/ops_onehit/detection/iforest.py +282 -0
- ops_onehit-1.0.2/src/ops_onehit/detection/prophet.py +316 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/__init__.py +59 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/cli.py +331 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/discoverer.py +599 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/health.py +157 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/inference_rules.py +497 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/models.py +163 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/__init__.py +21 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/base.py +58 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/container.py +277 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/port.py +191 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/process.py +222 -0
- ops_onehit-1.0.2/src/ops_onehit/discovery/scheduler.py +144 -0
- ops_onehit-1.0.2/src/ops_onehit/events/__init__.py +233 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/__init__.py +150 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/aggregator.py +241 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/alerter.py +357 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/aliyun.py +252 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/aws.py +239 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/azure.py +232 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/budget.py +366 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/cli.py +457 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/predictor.py +257 -0
- ops_onehit-1.0.2/src/ops_onehit/finops/store.py +156 -0
- ops_onehit-1.0.2/src/ops_onehit/ha/__init__.py +79 -0
- ops_onehit-1.0.2/src/ops_onehit/ha/_redis.py +54 -0
- ops_onehit-1.0.2/src/ops_onehit/ha/cli.py +353 -0
- ops_onehit-1.0.2/src/ops_onehit/ha/health.py +366 -0
- ops_onehit-1.0.2/src/ops_onehit/ha/leader.py +710 -0
- ops_onehit-1.0.2/src/ops_onehit/ha/region_state.py +402 -0
- ops_onehit-1.0.2/src/ops_onehit/incidents/__init__.py +76 -0
- ops_onehit-1.0.2/src/ops_onehit/incidents/bus.py +137 -0
- ops_onehit-1.0.2/src/ops_onehit/incidents/cli.py +659 -0
- ops_onehit-1.0.2/src/ops_onehit/incidents/workflow.py +483 -0
- ops_onehit-1.0.2/src/ops_onehit/kg/__init__.py +57 -0
- ops_onehit-1.0.2/src/ops_onehit/kg/cli.py +494 -0
- ops_onehit-1.0.2/src/ops_onehit/kg/infer.py +646 -0
- ops_onehit-1.0.2/src/ops_onehit/kg/models.py +497 -0
- ops_onehit-1.0.2/src/ops_onehit/kg/store.py +346 -0
- ops_onehit-1.0.2/src/ops_onehit/learning/__init__.py +20 -0
- ops_onehit-1.0.2/src/ops_onehit/learning/feedback.py +349 -0
- ops_onehit-1.0.2/src/ops_onehit/llm/__init__.py +68 -0
- ops_onehit-1.0.2/src/ops_onehit/llm/cloud_client.py +916 -0
- ops_onehit-1.0.2/src/ops_onehit/llm/ollama_client.py +779 -0
- ops_onehit-1.0.2/src/ops_onehit/llm/unified_client.py +399 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/__init__.py +463 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/anonymizer.py +184 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/buffer.py +193 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/cli.py +477 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/elk_config.py +346 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/loki_client.py +229 -0
- ops_onehit-1.0.2/src/ops_onehit/log_aggregator/splunk_client.py +197 -0
- ops_onehit-1.0.2/src/ops_onehit/main.py +2002 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/__init__.py +34 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/buffer.py +301 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/certs/__init__.py +279 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/cli.py +421 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/config.py +226 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/crypto.py +83 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/db.py +92 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/heartbeat.py +111 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/runner.py +300 -0
- ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/uploader.py +206 -0
- ops_onehit-1.0.2/src/ops_onehit/multimodal/__init__.py +54 -0
- ops_onehit-1.0.2/src/ops_onehit/multimodal/processors.py +519 -0
- ops_onehit-1.0.2/src/ops_onehit/multimodal/router.py +180 -0
- ops_onehit-1.0.2/src/ops_onehit/multimodal/types.py +126 -0
- ops_onehit-1.0.2/src/ops_onehit/multimodal/vlm_real.py +381 -0
- ops_onehit-1.0.2/src/ops_onehit/multimodal/whisper_real.py +267 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/__init__.py +111 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/api.py +426 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/channels.py +428 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/cli.py +598 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/crypto_helper.py +165 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/router.py +505 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/store.py +585 -0
- ops_onehit-1.0.2/src/ops_onehit/notifications/templates.py +457 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/__init__.py +12 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/autosetup.py +349 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/cli.py +407 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/seed.py +512 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/__init__.py +111 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/cli.py +252 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/signup.py +842 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/social_login.py +344 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/spam_filter.py +579 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/trial_period.py +523 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/verify.py +504 -0
- ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/welcome_email.py +511 -0
- ops_onehit-1.0.2/src/ops_onehit/org/__init__.py +14 -0
- ops_onehit-1.0.2/src/ops_onehit/org/cli.py +442 -0
- ops_onehit-1.0.2/src/ops_onehit/rag/__init__.py +66 -0
- ops_onehit-1.0.2/src/ops_onehit/rag/embeddings.py +336 -0
- ops_onehit-1.0.2/src/ops_onehit/rag/seed.py +228 -0
- ops_onehit-1.0.2/src/ops_onehit/rag/store.py +758 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/__init__.py +133 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/audit.py +432 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/cli.py +322 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/cli_auth.py +511 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/jwt_utils.py +307 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/mfa.py +348 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/models.py +270 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/oidc.py +528 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/org_store.py +743 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/passwords.py +178 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/permissions.py +210 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/sessions.py +521 -0
- ops_onehit-1.0.2/src/ops_onehit/rbac/store.py +436 -0
- ops_onehit-1.0.2/src/ops_onehit/repairs/__init__.py +64 -0
- ops_onehit-1.0.2/src/ops_onehit/repairs/actions.py +287 -0
- ops_onehit-1.0.2/src/ops_onehit/repairs/executor.py +327 -0
- ops_onehit-1.0.2/src/ops_onehit/repairs/k8s_actions.py +462 -0
- ops_onehit-1.0.2/src/ops_onehit/repairs/permissions.py +62 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/__init__.py +46 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/cli.py +345 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/pdf.py +185 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/render_html.py +307 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/scheduler.py +260 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/sla_report.py +569 -0
- ops_onehit-1.0.2/src/ops_onehit/reports/templates/sla_report.html.j2 +116 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/__init__.py +94 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/actions.py +350 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/cli.py +394 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/db.py +742 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/executor.py +400 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/models.py +129 -0
- ops_onehit-1.0.2/src/ops_onehit/runbook/templates.py +237 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/__init__.py +188 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/cli.py +429 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/elk_client.py +322 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/event.py +570 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/router.py +546 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/sentinel_client.py +329 -0
- ops_onehit-1.0.2/src/ops_onehit/siem/splunk_client.py +285 -0
- ops_onehit-1.0.2/src/ops_onehit/sop/__init__.py +46 -0
- ops_onehit-1.0.2/src/ops_onehit/sop/runner.py +494 -0
- ops_onehit-1.0.2/src/ops_onehit/sop/templates.py +337 -0
- ops_onehit-1.0.2/src/ops_onehit/telemetry/__init__.py +56 -0
- ops_onehit-1.0.2/src/ops_onehit/telemetry/anonymizer.py +311 -0
- ops_onehit-1.0.2/src/ops_onehit/telemetry/collector.py +564 -0
- ops_onehit-1.0.2/src/ops_onehit/telemetry/consent.py +275 -0
- ops_onehit-1.0.2/src/ops_onehit/telemetry/storage.py +431 -0
- ops_onehit-1.0.2/src/ops_onehit/telemetry/store.py +461 -0
- ops_onehit-1.0.2/src/ops_onehit/tools/__init__.py +8 -0
- ops_onehit-1.0.2/src/ops_onehit/ui/__init__.py +53 -0
- ops_onehit-1.0.2/src/ops_onehit/ui/notifier.py +457 -0
- ops_onehit-1.0.2/src/ops_onehit/ui/tray.py +245 -0
- ops_onehit-1.0.2/src/ops_onehit/ui/widget.py +918 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# ops-onehit .dockerignore
|
|
2
|
+
#
|
|
3
|
+
# 排除不应进 Docker build context 的文件,保持 image 小、build 快。
|
|
4
|
+
# 镜像上下文越精简 → 上传 Docker daemon 越快 → build cache 命中越高。
|
|
5
|
+
|
|
6
|
+
# ---- Python 虚拟环境 + 缓存 ----
|
|
7
|
+
.venv/
|
|
8
|
+
.venv.cleantest/
|
|
9
|
+
.venv.freshtest/
|
|
10
|
+
__pycache__/
|
|
11
|
+
*.py[cod]
|
|
12
|
+
*$py.class
|
|
13
|
+
*.so
|
|
14
|
+
|
|
15
|
+
# ---- 构建产物 + 测试缓存 ----
|
|
16
|
+
build/
|
|
17
|
+
dist/
|
|
18
|
+
*.egg-info/
|
|
19
|
+
*.egg
|
|
20
|
+
.installed.cfg
|
|
21
|
+
*.egg-link
|
|
22
|
+
.pytest_cache/
|
|
23
|
+
.coverage
|
|
24
|
+
.coverage.*
|
|
25
|
+
htmlcov/
|
|
26
|
+
coverage.xml
|
|
27
|
+
.cache
|
|
28
|
+
|
|
29
|
+
# ---- Lint / 类型检查缓存 ----
|
|
30
|
+
.mypy_cache/
|
|
31
|
+
.ruff_cache/
|
|
32
|
+
.blackCache/
|
|
33
|
+
|
|
34
|
+
# ---- 运行时数据 + 日志 ----
|
|
35
|
+
data/
|
|
36
|
+
logs/
|
|
37
|
+
*.log
|
|
38
|
+
*.db
|
|
39
|
+
*.sqlite
|
|
40
|
+
*.sqlite3
|
|
41
|
+
*.db-shm
|
|
42
|
+
*.db-wal
|
|
43
|
+
|
|
44
|
+
# ---- 测试 + dev 工具 ----
|
|
45
|
+
tests/
|
|
46
|
+
demo_*.py
|
|
47
|
+
_smoke_*
|
|
48
|
+
_archived_*
|
|
49
|
+
_smoke_test_*
|
|
50
|
+
|
|
51
|
+
# ---- Git + CI ----
|
|
52
|
+
.git/
|
|
53
|
+
.gitignore
|
|
54
|
+
.gitattributes
|
|
55
|
+
.github/
|
|
56
|
+
|
|
57
|
+
# ---- Windows deployment(NSSM + nginx + .env)----
|
|
58
|
+
# Docker 镜像自带,不需要 Windows portable 部署
|
|
59
|
+
deployment/
|
|
60
|
+
|
|
61
|
+
# ---- IDE / 编辑器 ----
|
|
62
|
+
.vscode/
|
|
63
|
+
.idea/
|
|
64
|
+
*.swp
|
|
65
|
+
*.swo
|
|
66
|
+
.DS_Store
|
|
67
|
+
Thumbs.db
|
|
68
|
+
|
|
69
|
+
# ---- 文档占位 + 截图 ----
|
|
70
|
+
docs/screenshots/
|
|
71
|
+
docs/demo/screenshots/
|
|
72
|
+
|
|
73
|
+
# ---- Env / secrets ----
|
|
74
|
+
.env
|
|
75
|
+
.env.local
|
|
76
|
+
.env.*.local
|
|
77
|
+
|
|
78
|
+
# ---- Python 版本文件 ----
|
|
79
|
+
.python-version
|
|
80
|
+
|
|
81
|
+
# ---- 锁文件(Docker build 内重生成) ----
|
|
82
|
+
uv.lock
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: 报告 ops-onehit 的 bug — 崩溃 / 错误行为 / 性能问题 / 文档错误
|
|
4
|
+
title: "[Bug]: "
|
|
5
|
+
labels: ["bug", "triage"]
|
|
6
|
+
assignees: []
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Bug 描述
|
|
10
|
+
|
|
11
|
+
简要清晰地描述 bug 是什么。
|
|
12
|
+
|
|
13
|
+
## 复现步骤
|
|
14
|
+
|
|
15
|
+
1. 运行 `...`
|
|
16
|
+
2. 触发条件 `...`
|
|
17
|
+
3. 看到错误 `...`
|
|
18
|
+
4. 预期行为 `...`
|
|
19
|
+
|
|
20
|
+
## 实际行为
|
|
21
|
+
|
|
22
|
+
实际看到什么? 报错信息、截图、traceback 等。
|
|
23
|
+
|
|
24
|
+
## 期望行为
|
|
25
|
+
|
|
26
|
+
应该看到什么?
|
|
27
|
+
|
|
28
|
+
## 环境
|
|
29
|
+
|
|
30
|
+
- **OS**: [e.g. Windows 11 23H2 / Ubuntu 22.04 / macOS 14]
|
|
31
|
+
- **Python**: [e.g. 3.11.5]
|
|
32
|
+
- **ops-onehit 版本**: [e.g. 1.0.2 — 跑 `ops-onehit --version` 查]
|
|
33
|
+
- **安装方式**: [e.g. `pip install ops-onehit` / `uv sync` / Docker]
|
|
34
|
+
- **LLM 后端**: [e.g. Ollama 0.4.0 + qwen2.5:7b / LM Studio + qwen2.5-72b]
|
|
35
|
+
- **相关模块**: [e.g. RAG / Alerts / SOP / K8s / Anomaly]
|
|
36
|
+
|
|
37
|
+
## 日志
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
# 粘贴 ops-onehit 的报错日志(去掉敏感信息如 token)
|
|
41
|
+
2026-09-13 15:30:00 ERROR ...
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 影响范围
|
|
45
|
+
|
|
46
|
+
- [ ] 阻塞使用
|
|
47
|
+
- [ ] 降级体验
|
|
48
|
+
- [ ] 文档错误
|
|
49
|
+
- [ ] 仅边角场景
|
|
50
|
+
|
|
51
|
+
## 附加信息
|
|
52
|
+
|
|
53
|
+
其他可能有用的信息(配置文件片段、相关 issue 链接等)。
|
|
54
|
+
|
|
55
|
+
## Checklist
|
|
56
|
+
|
|
57
|
+
- [ ] 已搜索 [现有 issues](https://github.com/a1580028209/ops-onehit/issues) 没找到相同问题
|
|
58
|
+
- [ ] 附带最小复现代码 / 命令
|
|
59
|
+
- [ ] 脱敏(token / IP / 业务数据)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature Request
|
|
3
|
+
about: 建议 ops-onehit 新功能 / 改进 / 集成
|
|
4
|
+
title: "[Feature]: "
|
|
5
|
+
labels: ["enhancement", "triage"]
|
|
6
|
+
assignees: []
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 功能描述
|
|
10
|
+
|
|
11
|
+
简要清晰地说你希望 ops-onehit 增加什么。
|
|
12
|
+
|
|
13
|
+
## 解决的痛点
|
|
14
|
+
|
|
15
|
+
当前痛点是什么? 缺了什么导致你工作流卡住?
|
|
16
|
+
|
|
17
|
+
## 提案方案
|
|
18
|
+
|
|
19
|
+
你期望功能怎么工作? 给出 CLI / API / UI 例子(伪代码即可)。
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
# 例:新 CLI 子命令
|
|
23
|
+
ops-onehit my-new-cmd --arg1 foo --arg2 bar
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
# 例:配置文件新字段
|
|
28
|
+
my_new_section:
|
|
29
|
+
enabled: true
|
|
30
|
+
threshold: 0.7
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 备选方案
|
|
34
|
+
|
|
35
|
+
考虑过其他方案吗? 各有什么优缺点?
|
|
36
|
+
|
|
37
|
+
## 优先级
|
|
38
|
+
|
|
39
|
+
- [ ] P0 — 阻塞日常使用
|
|
40
|
+
- [ ] P1 — 显著提升效率
|
|
41
|
+
- [ ] P2 — nice-to-have
|
|
42
|
+
- [ ] P3 — 探索性
|
|
43
|
+
|
|
44
|
+
## 范畴
|
|
45
|
+
|
|
46
|
+
- [ ] CLI
|
|
47
|
+
- [ ] Web API / UI
|
|
48
|
+
- [ ] RAG / 知识库
|
|
49
|
+
- [ ] 告警 / SOP / 修复
|
|
50
|
+
- [ ] K8s 集成
|
|
51
|
+
- [ ] 异常检测
|
|
52
|
+
- [ ] 性能 / 可观测性
|
|
53
|
+
- [ ] 文档
|
|
54
|
+
- [ ] 其他: ___
|
|
55
|
+
|
|
56
|
+
## 替代实现
|
|
57
|
+
|
|
58
|
+
是否考虑过:
|
|
59
|
+
- [ ] 外部工具 / 插件
|
|
60
|
+
- [ ] 改源码
|
|
61
|
+
- [ ] 改 prompt / config
|
|
62
|
+
|
|
63
|
+
## 自愿实现
|
|
64
|
+
|
|
65
|
+
- [ ] 我愿意提 PR
|
|
66
|
+
- [ ] 我需要帮助
|
|
67
|
+
|
|
68
|
+
## 附加信息
|
|
69
|
+
|
|
70
|
+
相关 issue / 文档 / 截图。
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# ops-onehit Dependabot 配置
|
|
2
|
+
#
|
|
3
|
+
# 三个 ecosystem:
|
|
4
|
+
# 1. pip — 每周一检查 pyproject.toml + uv.lock,产出 PR
|
|
5
|
+
# 2. github-actions — 每周一检查 .github/workflows/*.yml,保持 action 版本新
|
|
6
|
+
# 3. docker — 每周一检查 Dockerfile 基础镜像(python:3.11-slim)
|
|
7
|
+
#
|
|
8
|
+
# 设计要点:
|
|
9
|
+
# - 每周一 9:00 UTC 统一发 PR,避免零散打扰
|
|
10
|
+
# - pip PR limit 10(项目大,避免风暴);GitHub Actions + Docker 各 5
|
|
11
|
+
# - 标签 dependabot / python / docker / ci 便于自动 triage
|
|
12
|
+
# - 不开 auto-merge:依赖升级必须人工 review(major version 可能 break)
|
|
13
|
+
# - 显式 ignore major 升级 — major 升级风险高,留人工
|
|
14
|
+
|
|
15
|
+
version: 2
|
|
16
|
+
|
|
17
|
+
updates:
|
|
18
|
+
# ---- Python 依赖 ----
|
|
19
|
+
- package-ecosystem: "pip"
|
|
20
|
+
directory: "/"
|
|
21
|
+
schedule:
|
|
22
|
+
interval: "weekly"
|
|
23
|
+
day: "monday"
|
|
24
|
+
time: "09:00"
|
|
25
|
+
timezone: "UTC"
|
|
26
|
+
open-pull-requests-limit: 10
|
|
27
|
+
labels:
|
|
28
|
+
- "dependabot"
|
|
29
|
+
- "python"
|
|
30
|
+
- "dependencies"
|
|
31
|
+
commit-message:
|
|
32
|
+
prefix: "deps"
|
|
33
|
+
include: "scope"
|
|
34
|
+
# 重大升级风险高,Dependabot 跳过 major 留人工
|
|
35
|
+
ignore:
|
|
36
|
+
- dependency-name: "*"
|
|
37
|
+
update-types: ["version-update:semver-major"]
|
|
38
|
+
|
|
39
|
+
# ---- GitHub Actions ----
|
|
40
|
+
- package-ecosystem: "github-actions"
|
|
41
|
+
directory: "/"
|
|
42
|
+
schedule:
|
|
43
|
+
interval: "weekly"
|
|
44
|
+
day: "monday"
|
|
45
|
+
time: "09:00"
|
|
46
|
+
timezone: "UTC"
|
|
47
|
+
open-pull-requests-limit: 5
|
|
48
|
+
labels:
|
|
49
|
+
- "dependabot"
|
|
50
|
+
- "ci"
|
|
51
|
+
- "github-actions"
|
|
52
|
+
commit-message:
|
|
53
|
+
prefix: "ci"
|
|
54
|
+
include: "scope"
|
|
55
|
+
|
|
56
|
+
# ---- Docker 基础镜像 ----
|
|
57
|
+
- package-ecosystem: "docker"
|
|
58
|
+
directory: "/"
|
|
59
|
+
schedule:
|
|
60
|
+
interval: "weekly"
|
|
61
|
+
day: "monday"
|
|
62
|
+
time: "09:00"
|
|
63
|
+
timezone: "UTC"
|
|
64
|
+
open-pull-requests-limit: 5
|
|
65
|
+
labels:
|
|
66
|
+
- "dependabot"
|
|
67
|
+
- "docker"
|
|
68
|
+
- "dependencies"
|
|
69
|
+
commit-message:
|
|
70
|
+
prefix: "docker"
|
|
71
|
+
include: "scope"
|