diff_alias_map
Diff a new cross-protocol asset discovery against the adopted baseline to report added, removed, renamed, and reclassified tags, with a stable or changed verdict.
Instructions
[READ][risk=low] Diff a fresh discovery run against the adopted baseline.
Loads the site's previously adopted alias map, re-runs the cross-protocol
asset model over ``feeds``, and reports how the address space moved: tags
added / removed / renamed (same ref, new alias) / reclassified (same ref+alias,
new semantic class), plus a stable|changed verdict. Adopt a baseline first
with ``adopt_alias_map``.
Args:
feeds: Fresh per-protocol tag feeds (same shape as adopt_alias_map).
site: Site label whose baseline to diff against. Default 'site'.
Returns dict: {site, verdict, counts:{added,removed,renamed,reclassified},
added:[...], removed:[...], renamed:[...], reclassified:[...]}.
Example: diff_alias_map(feeds=[{"protocol":"opcua","source":"l1","tags":[...]}],
site="plant").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | ||
| feeds | Yes |