<< All versions

Skill v1.0.0

Automated scan
forwardnetworks/forward-skills/edit-checks
──Details
PublishedOctober 21, 2026 at 12:10 AM
Content Hashsha256:50b943bd056a617e...
Git SHA9a9443350f00
──Files
Files (1 file, 3.4 KB)
SKILL.md3.4 KBactive
SKILL.md · 75 lines · 3.4 KB

name: edit-checks description: Creates one check on a snapshot, deactivates one, or raises, links or closes a check's ServiceNow incident. Dry run unless apply. Use when asked to add, switch off or ticket a policy check. compatibility: Reading the skill needs nothing. To run its analyses against Forward: the fwdctl binary on PATH and FORWARD_URL, FORWARD_USERNAME and FORWARD_PASSWORD in the environment. metadata: version: "1.0.0" cluster: "compliance" summary: "create, deactivate or ticket checks" maturity: "3" class: write effect: "snapshot" secrets: "false" reversible: "false" tools: "checks"


edit-checks

Intent

Put a check into Forward, or take one out of service, without touching a device. Checks change verdicts and reports, so nothing happens until apply is true, and the blast radius is stated up front.

Inputs

What each input means, and the fields per object and action: fwdctl run edit-checks --help, or reference/inputs.md.

Dry run

Without apply: true the skill changes nothing. It returns mode: dry_run with the change it would make:

  • create: the name, definition and scope. A name already used on the snapshot gives unknown and creates nothing, so a check is

never doubled.

  • deactivate: the check's name, status and definition.

Show that to the person who asked before applying.

Procedure

  1. Resolve the snapshot. If there is none, unknown, nothing changed.
  2. create: refuse a duplicate name. With apply, create the check non-persistent (local to the snapshot) unless persistent: true,

read what Forward returns (id, status, violations) and report it.

  1. deactivate: read the check first (a missing check is unknown). With apply, deactivate that one check only. The skill never

deactivates a snapshot's checks wholesale.

  1. ServiceNow incidents (raise_incident, link_incident, unlink_incident, close_incident, refresh_incidents): read the

check and its linked incidents first (check-network-compliance view incidents). Raising and closing change the org's ServiceNow and need confirm; a link that does not read back afterwards is unknown. Details in reference/inputs.md.

Undo

  • A created check is undone by deactivating it: the applied change names the exact call. Its history stays readable.
  • A deactivation cannot be undone through the API (there is no reactivate). The change carries the check's definition so it can be

created again, and the finding says so. This is why the skill is not marked reversible.

  • A persistent check is inherited by later snapshots and Predict runs; say that before applying it.

Evidence

One policy item with the name, scope, mode and, once applied, the created id and its status and violations.

Output

The envelope in schema/skill-result.schema.json, with mode and changes.

Next actions

inspect-checks to read the result, check-network-compliance to evaluate a policy.

Running this skill

Run fwdctl run edit-checks --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-checks < input.json. It is a dry run unless the input has "apply": true; add that only after the dry run was accepted. Read status (ok, failed, unknown, error), mode and the limits; unknown is never a pass.

Examples

bash
echo '{"network_id": "<id>", "action": "deactivate", "check_id": "<id>"}' | fwdctl run edit-checks
All versionsv1.0.1 →