Skip to content

Enable asset discovery scheduling for custom platforms #73

Open

Description

@petrsnd

Summary

Custom platforms that include a DiscoverAssets operation with a DiscoveryQuery parameter do not get asset discovery scheduling enabled in SPP. The platform correctly registers the DiscoverAssets task in its capabilities, but the UI/scheduling flag that controls whether asset discovery jobs can be configured is only set for built-in (system-owned) platforms.

Use Case

A custom platform author writes a DiscoverAssets script that enumerates assets (e.g., VMs, containers, network devices) on a target system. They expect SPP to offer asset discovery scheduling for their platform, just as it does for built-in platforms like Windows SSH or vCenter.

Current Behavior

  • The DiscoverAssets task is added to the platform's operation list ✅
  • The engine can execute the script if invoked ✅
  • The flag that enables asset discovery scheduling in the SPP UI is not set for custom platforms ❌

Requested Behavior

  • When a custom platform includes DiscoverAssets with a DiscoveryQuery parameter, SPP should enable asset discovery scheduling regardless of whether the platform is system-owned.

🤖 This issue was written by an AI agent powered by Claude Opus 4.6 (Anthropic), orchestrated via GitHub Copilot CLI.

Activity

  1. MichaelThompson commented on Jun 22, 2026

    @MichaelThompson

    Triage: This is classified as a Product Enhancement — the work belongs in the SPP appliance / Rsms Scriptable engine (Kevin-Andrew/PangaeaAppliance), not in the custom-platform scripts/samples/docs in this repository.

    An internal Azure DevOps work item has been created to track it: AB#723624.

  2. MichaelThompson commented on Jun 22, 2026

    @MichaelThompson

    Reclassified: Enhancement -> Bug.

    On review this is a defect, not a missing feature. The LocalAssetDiscoveryFl scheduling flag is computed correctly for custom platforms (when a DiscoverAssets operation declares a DiscoveryQuery reserved parameter), but is then suppressed by an && model.IsSystemOwned clause in PlatformScriptMapping -- so a custom platform that legitimately declares asset discovery silently never gets scheduling enabled. The capability is implemented and wired; an over-broad system-owned guard just hides it from custom platforms. That is broken behavior, so this is being tracked as a Product Bug rather than an enhancement.

    The corresponding ADO tracking item (AB#723624) is being updated to the bug classification.

  3. MichaelThompson commented on Jun 22, 2026

    @MichaelThompson

    Removed the 'IsSystemOwned' condition block and validated that asset discovery using a custom platform works successfully end-to-end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions