Skill v1.0.1
Automated scan100/100+4 new
name: edit-network description: Manages networks, locations, device clusters and tag definitions: create, rename, delete. Dry run unless apply is true. Use when setting up or tidying a network. 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.1" cluster: "inventory-topology" summary: "network structure" maturity: "1" class: write effect: "network" secrets: "false" reversible: "false" tools: "networks, locations, clusters, device tags, collectors, threat exposure"
edit-network
Intent
Manage the objects around a network: the network itself, its locations and device clusters, its device tag definitions (rename or delete; a tag is created by putting it on a device), attaching a registered collector, and, experimental, threat exposure definitions and asset criticality. Putting tags on devices is edit-device-tags; this changes the definitions. It touches no device.
Inputs
What each input means, and the fields per object and action: fwdctl run edit-network --help, or reference/inputs.md, reference/objects.md.
Dry run
Without apply: true nothing changes. The result shows before, after and the undo, and names the exact confirm an irreversible action needs.
Procedure
- Read the current object. A missing one is unknown, nothing changed; a name that already exists is refused.
- Dry run returns the plan. With
apply: true: one call, then read back; a read-back that does not show the change is failed.
Limits
Deleting a network removes its snapshots, checks and settings. Deleting a tag definition removes it from every device across the whole timeline. There is no read of current device locations in the API.
Evidence
One state item: object, action, mode, before, after.
Next actions
inspect-platform (areas locations, tag_definitions) and inspect-networks to see the result.
Running this skill
Run fwdctl run edit-network --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-network < 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
echo '{"object":"network","action":"create","name":"lab"}' | fwdctl run edit-network