← ApiiroCONTENT HISTORY
WHAT CHANGED
Update to Apiiro
Snapshot Nov 25, 2026 · 00:22 UTC · version 1.12.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save Apiiro and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Use when the user asks about known security risks or findings in this repo (\"what risks does this repo have\"), filters Apiiro risks, or wants to accept, ignore, re-level, tag or triage one. Org-wide: guardian-query --global; fixing: guardian-fix. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization.",
"included_files": [],
"name": "guardian-risks",
"skill_md_contents": "---\nname: guardian-risks\ndescription: \"Use when the user asks about known security risks or findings in this repo (\\\"what risks does this repo have\\\"), filters Apiiro risks, or wants to accept, ignore, re-level, tag or triage one. Org-wide: guardian-query --global; fixing: guardian-fix. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization.\"\n---\n\n# Apiiro Risks\n\n## With the Apiiro MCP tools (ChatGPT and Codex)\n\nRules for every Apiiro action:\n- Use the declared MCP tools and their current schemas. Do not invent tool names or arguments.\n- Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision.\n- Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization.\n- Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat.\n- Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it.\n\nResolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key.\n\n- Read risks with `apiiro_risks`: `operation='list'` for current findings, `operation='get'` for a returned `risk_key`, and `operation='statistics'` for counts. Apply repository and severity/category filters supported by the schema. Respect pagination; do not treat one page as a complete total.\n- For a specific user-authorized risk change, use `apiiro_risks_update` with the declared operation and required reason/message. Never use a read operation to change a risk.\n- Export can create a server-side job: do not automatically export to answer a list question. Use it only when the user requests that export.\n\n## With the Apiiro CLI (Codex only, optional)\n\nUse these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically.\n\n### Apiiro Risks\n\nView and inspect risks via the Apiiro CLI.\n\n#### List Risks\n\nRepository is auto-detected from git when `--repo` is omitted.\n\n```bash\napiiro risks # List risks (auto-detect repo)\napiiro risks --repo my-repo-name # Specify repo (defaults to default branch)\napiiro risks --repo my-repo-name --branch master # Pin a specific monitored branch\napiiro risks --repository-id <repo-id> # Specify repo (branch) by ID\napiiro risks --risk-level Critical # Filter by level\napiiro risks --risk-category \"API Security\" # Filter by category\napiiro risks --risk-level High --finding-category \"Secret Detection\"\napiiro risks -o json --page-size 50 # JSON with pagination\napiiro risks -o json --max-pages 20 # Fetch more pages (default 5)\n```\n\nFilters: `--risk-level`, `--risk-category`, `--risk-insight`, `--finding-category`, `--application-id`.\n\nScope: `--repo <name>` (resolves to the repository's default branch), `--branch <name>` (pin a specific monitored branch — repos with multiple monitored branches have one profile per branch, each with its own ID), `--repository-id <id>` (target a branch profile directly). Without any scope, the repository is auto-detected from the current git checkout (including its branch).\n\nLists stop after `--max-pages` pages (default 5). In JSON, `\"truncated\": true` means more risks exist: raise `--max-pages` or narrow the filters before you say \"these are all the risks\".\n\n#### Other Reads\n\nEach accepts only the flags listed; others are rejected. `--trend` prints the API's JSON as is; `--stats-by` and `--design` print `{items, truncated}`. `--category` and `--lifecycle` lists keep every field under `risks` only in `-o json`. An older CLI rejects these flags and `--max-pages` with `error: unknown option '<flag>'`; tell the user to update the CLI.\n\n```bash\napiiro risks --category secrets # A category's own route: oss, sast, secrets, api-security, dast, manualAssessments, artifacts (same filters; artifacts takes no repo)\napiiro risks --lifecycle # Lifecycle records: discovered, resolved, closed reason (same filters)\napiiro risks --stats-by repositories # Counts per repositories, applications or applicationGroups (with --category)\napiiro risks --trend mttr # mttr, top-risks, sla-breach, risk-score (last 7 days; top-risks is current). --repository-id, --application-id, --risk-level; risk-score needs one of the first two and takes no --risk-level\napiiro risks --design # Design risks (--risk-level, --application-id)\n```\n\n#### Get Risk Details\n\n```bash\napiiro risks <risk-id>\napiiro risks <risk-id> -o json\napiiro risks <risk-id> --category dast # The category's own detail route\napiiro risks <risk-id> --lifecycle # The risk's lifecycle record\n```\n\nAn older CLI ignores a bare `<risk-id>` and lists risks instead; there, use `apiiro risks get <risk-id>`.\n\n#### Remediate\n\n```bash\napiiro risks <risk-id> --remediate # curated remediation prompt\n```\n\nOn `error: unknown option '--remediate'` (older CLI), use `apiiro risks remediate <risk-id>`. For fixing risks, use the guardian-fix skill.\n\n#### Change Risks and Triage Findings\n\nThese write to Apiiro. Run them only when the user asks for that change. Your shell cannot answer the CLI's question: without a terminal it sends nothing and exits 130. So show the user the exact command, wait for their approval in chat, then run it with `--yes`.\n\n```bash\napiiro risks update <risk-id> --status Accepted --reason \"Compensating control in place\"\napiiro risks update <risk-id> --status Ignored --ignore-reason FalsePositive # NotRelevant or FalsePositive; required for Ignored\napiiro risks update <risk-id> --level Low --reason \"Internal-only service\"\napiiro risks update <risk-id> --set dueDate=2026-12-31T00:00:00Z\napiiro risks update <risk-id> --set riskTags=Owner:Platform,Env:prod # Replaces all tags; riskTags= clears them\napiiro findings triage <risk-id> # AI triage of a SAST finding: TruePositive, FalsePositive or NeedsManualReview\napiiro findings triage <risk-id> --override FalsePositive --reason \"Test fixture only\"\n```\n\nPass one of `--status`, `--level` or `--set` per call. `--reason` is at most 500 characters (2000 for `--override`). Exit 130 means the change was not confirmed and nothing was sent. On `error: unknown option` for `--status`, `--level` or `--set`, or `unknown command 'findings'` (older CLI), these commands are not available; tell the user to update the CLI.\n\n#### Global Options\n\n`-o, --output <json|text>`, `-f, --file <path>`, `--no-color`.\n"
}SHA-256 of public snapshot: d644139a77ac113814230d564b7d6956f30f11b9856dfbf175cedf9fcee1fa30