Problem
The client-authored policy body (PolicyDraft) is { name, description?, rules?, scopes?, fallback? }. It no longer carries custom (inline custom-label definitions) or matchers (custom matchers) — those moved out of the policy body into a Recognition type: { custom?: Label[]; matchers?: CustomMatcher[] }.
The problem: in the generated SDK schema, Recognition appears only on Audit (the read-back analysis output). There is no authoring input that accepts a Recognition:
PolicyDraft / CreateWorkspacePolicy / UpdateWorkspacePolicy — no recognition/custom/matchers.
PipelineDefinition — references policies by policyIds only.
CreateAdhocWorkspaceDetection — references policies by policyIds only.
So a client can read what custom labels/matchers a detection used (via Audit), but has no way to author them.
Impact (console)
The policy editor in nvisycom/studio has "Custom Labels" and "Custom Matchers" sections that still render and can be edited, but are silently dropped on save because there is no field to send them to. They are inert until an authoring path exists.
Asks
- Expose an authoring endpoint/payload that accepts custom labels (a
Recognition, or custom back on the policy/pipeline create-update body).
- Confirm whether custom matchers are intentionally gone or should also be authorable. (Studio was told custom labels are still available, but custom matchers may be deliberately removed — please confirm.)
Once landed, studio can re-enable those editor sections; until then they stay inert-on-save.
Problem
The client-authored policy body (
PolicyDraft) is{ name, description?, rules?, scopes?, fallback? }. It no longer carriescustom(inline custom-label definitions) ormatchers(custom matchers) — those moved out of the policy body into aRecognitiontype:{ custom?: Label[]; matchers?: CustomMatcher[] }.The problem: in the generated SDK schema,
Recognitionappears only onAudit(the read-back analysis output). There is no authoring input that accepts aRecognition:PolicyDraft/CreateWorkspacePolicy/UpdateWorkspacePolicy— norecognition/custom/matchers.PipelineDefinition— references policies bypolicyIdsonly.CreateAdhocWorkspaceDetection— references policies bypolicyIdsonly.So a client can read what custom labels/matchers a detection used (via
Audit), but has no way to author them.Impact (console)
The policy editor in
nvisycom/studiohas "Custom Labels" and "Custom Matchers" sections that still render and can be edited, but are silently dropped on save because there is no field to send them to. They are inert until an authoring path exists.Asks
Recognition, orcustomback on the policy/pipeline create-update body).Once landed, studio can re-enable those editor sections; until then they stay inert-on-save.