docs: where to find Asset kinds and aliases in the UI (asset model Phase 4) - #15645
Open
devGregA wants to merge 1 commit into
Open
docs: where to find Asset kinds and aliases in the UI (asset model Phase 4)#15645devGregA wants to merge 1 commit into
devGregA wants to merge 1 commit into
Conversation
…ase 4) The identity concepts landed in DefectDojo#15633 while the surfaces were still API-only, so the page said kinds were "available on the Asset itself" without saying where. Both halves now have a UI, and this says which control does what: * Kind is set on the Asset add/edit forms, and shows as a badge beside the Asset name and as an icon on Asset Hierarchy nodes (with the label available from the view's field picker). * The Asset Identity card on the Asset page lists every identifier resolving to the Asset with its provenance, and adds or withdraws them. Namespace is picked before type because only some pairings mean anything, Connector namespaces are not offered because they belong to their sync, and withdrawing a Connector-asserted alias only lasts until its next run. Also notes that `kind` is on `/api/v2/products/` as well as `/api/v2/assets/`, and that DD_V3_ASSET_ALIASES gates the card and the Kind field, not just alias creation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation for the UI half of the asset identity work. The concepts landed in #15633 while both surfaces were still API-only, so the page said kinds were "available on the Asset itself" without saying where — and aliases had no UI to describe at all.
Asset Kinds — says which control sets the kind (the
Kindfield on the Asset add and edit forms), and where it then shows: as a badge with its icon beside the Asset's name, and as an icon in front of each node in the Asset Hierarchy view, with the label available from that view's field picker. Also corrects the API line:kindis on/api/v2/products/as well as/api/v2/assets/.Asset Identity: Aliases — a new subsection for the Asset Identity card on the Asset page. It covers what each row shows (identifier, type, namespace, and where it came from — a Connector's name or
User), why the add form asks for the namespace before the type (only some pairings mean anything: a hostname belongs indns, an image digest inoci), why Connector namespaces are not offered (they belong to that sync), and what withdrawing actually does — for a user-asserted alias, sources fall back to matching by name; for a Connector-asserted one, its next sync asserts it again, so a mapping change is the right fix. Notes that add and withdraw require edit permission on the Asset.Also corrects the flag's scope:
DD_V3_ASSET_ALIASESgates the Asset Identity card and theKindfield, not only alias creation.Docs-only; no code changes. Same release line and batch as the Pro change that adds these surfaces.