<< All versions

Skill v1.0.1

currentAutomated scan100/100
forwardnetworks/forward-skills/edit-endpoint-profile

+3 new

──Details
PublishedNovember 14, 2026 at 08:07 PM
Content Hashsha256:79d89e8ca2c513d3...
Git SHA2725a6be534e
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 4.2 KB)
SKILL.md4.2 KBactive
SKILL.md · 72 lines · 4.2 KB

name: edit-endpoint-profile description: Copies an SNMP endpoint profile with extra OIDs, repoints endpoints or deletes one, with before and after. Dry run unless apply is true. Use when changing what endpoints collect. 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: "snapshots" summary: "what endpoints collect" maturity: "1" class: write effect: "org" secrets: "false" reversible: "true" tools: "endpoint profiles, endpoints"


edit-endpoint-profile

Intent

An endpoint profile says what Forward collects from a kind of endpoint (an SNMP profile lists OIDs, a CLI profile commands, an HTTP profile requests). A profile is an organization-wide object: every network sees it and Forward pushes it to the collectors, but only the endpoints assigned to it use it. This skill makes the narrow, reversible change that lets you try an extra OID on one endpoint without touching the profile the others use: create a new SNMP profile as a copy of an existing one plus the extra OIDs, point one endpoint at it, and later point it back and delete the copy. It does not edit an existing profile in place.

Inputs

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

Read before applying (printed by fwdctl run edit-endpoint-profile --help, from reference/inputs.md): What it does not do.

A profile is organization-wide, and its OIDs appear in NQE only after a new collection snapshot.

Reading the profiles first

inspect-platform with area: endpoint_profiles lists every profile (SNMP, CLI, HTTP); inspect-collection view config shows the ones endpoints use. No dry run is needed to read.

Dry run

Without apply: true nothing is changed. The skill reads the network's endpoints and the organization's profiles, refuses what cannot work (an unknown profile or endpoint, a type mismatch, a name that exists, an endpoint with no profile to restore, a profile still used by this network) and returns mode: dry_run with one change per step: the profile to create (its name, the number of OIDs, the ones added), each endpoint's current and new profile, and the delete. Show it to the person who asked, naming the organization-wide effect, before applying.

Procedure

  1. Read the endpoints of the network and every profile. Validate as above; a refusal is failed with nothing sent.
  2. Dry run: return the plan and the undo.
  3. apply: true: create the profile, repoint each endpoint, then delete (when asked). It stops at the first failure and says what was done and how to undo it. It then reads the profile and the endpoints back; a state that is not the requested one is failed, never ok.

Undo

Reassign each endpoint to the profile it had (the change's undo and the finding name them), then delete the new profile: run this skill with assign back, and then delete_profile alone. A delete cannot be undone (its stored connectivity test results go with it): recreate the profile with create_profile. Deleting a profile an endpoint still uses is refused by Forward.

Evidence

The envelope with mode and changes. Read the profiles and endpoints back with inspect-collection (view config).

Next actions

edit-collection to collect, then inspect-inventory or an NQE query over snmpOutputs to see what came back; inspect-collection to read the profiles.

Running this skill

Run fwdctl run edit-endpoint-profile --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-endpoint-profile < 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>", "create_profile": {"name": "try_vendor", "copy_from": "SNMP-10", "add_oids": [{"name": "vendor_root", "oid": "1.3.6.1.4.1.10418.26"}]}, "assign": {"endpoints": ["<endpoint>"], "profile": "new"}}' | fwdctl run edit-endpoint-profile
← v1.0.0All versions