Skip to main content
fp का उपयोग Cloud टेलीमेट्री को निरीक्षण करने, cloud-managed enforcement (policies, fleet deployments, guardrail decisions) को प्रबंधित करने, और audits, findings, issues, alerts, keys, users, queries, और settings को प्रबंधित करने के लिए करें। स्थानीय hooks, policies, capture, और machine enrollment के लिए failproofai का उपयोग करें। Cloud CLI को एक isolated tool के रूप में install करें:

साइन इन करें

सिंटैक्स

Global options को command से पहले आना चाहिए:
Terminal help के लिए fp COMMAND --help या fp COMMAND SUBCOMMAND --help चलाएं।

CLI commands

Authentication

Events

व्यक्तिगत agent events को सूचीबद्ध करता है। डिफ़ॉल्ट light feed raw payloads को बाहर करता है; --full का उपयोग केवल bounded investigation के लिए करें।
--all --limit तक पaginates करता है, जिसका डिफ़ॉल्ट 50 है — तो अकेले --all 50 rows पर रुकता है। जब यह जल्दी रुकता है तो response एक next_cursor carry करता है; "next_cursor": null का मतलब है कि feed वास्तव में exhausted था।

Sessions

Evaluations

Errors

Usage और filter values

Organizations

API keys

Permission tokens resource:action का उपयोग करते हैं, जैसे events:add। --add को repeat करें, tokens को comma-separate करें, या events:read.add जैसे dotted actions का उपयोग करें।

Queries

Users

Settings

Alerts

Alert severities हैं info, warning, और critical। Trigger kinds हैं metric_threshold, custom_sql, evaluation_score, eval_compound, और per_event। Evaluation intervals 30 और 86,400 seconds के बीच होने चाहिए।

Audits

Audit create options

जब first run को इसकी आवश्यकता हो तो creation के दौरान context को include करें। Creation definition और context को एक साथ commit करता है queued run शुरू होने से पहले।
fp audits run asynchronous है। Latest run के succeed या fail होने तक fp audits runs NAME को poll करें इससे पहले कि आप इसके findings को read करें।

Issues

Valid issue states हैं firing, acknowledged, और resolved। Standalone issue severities हैं info, warning, और critical।

Cloud assistant

Policies

Cloud-managed policy versions। Session-only — यहां हर command एक API key के तहत exit 2 पर जाता है, किसी भी request से पहले, क्योंकि ये root-only write routes हैं जानबूझकर /v1 से अनुपस्थित हैं।

Fleet

कौन से machines कौन सी policies को run करते हैं। Session-only, ऊपर जैसा ही कारण।

Guardrails

Enforcement ने वास्तव में क्या किया। Session-only, ऊपर जैसा ही कारण।

Global flags

--api-key automation के लिए intended है। Login, organization switching, और assistant commands को एक user session की आवश्यकता है।

Environment variables

Explicit flags environment variables को override करते हैं, जो saved configuration को override करते हैं। API-key mode में, --org या FP_ORG के साथ tenant को explicitly select करें।
इन के AGENTEYE_* spellings fp द्वारा read नहीं किए जाते और कभी नहीं थे — CLI FP_* (fp_cli/app.py) को declare करता है, और एक unknown variable एक error नहीं है। AGENTEYE_DASHBOARD_URL को set करने से CLI को retarget नहीं किया जाता; इसे ignore किया जाता है और command silently saved dashboard के against run होता है।AGENTEYE_HOME और AGENTEYE_ENVIRONMENT अभी भी exist करते हैं, लेकिन वे collector और telemetry SDK को belong करते हैं, इस CLI को नहीं।
जो commands delete, revoke, suppress, resolve, या replace configuration करते हैं वे डिफ़ॉल्ट रूप से prompt करते हैं। --yes को केवल active organization और target को verify करने के बाद उपयोग करें।